I have the possibility to stream some local radio via tvheadend this sends the raw data into an http stream on the form of mpeg2
When i try to read the file with mp123 on rune i get the following output. I am confused as i think it should be read by ffmpeg but if i type ffmpeg in the terminal i get nothing. Ffmpeg is correctly checked on the runeaudio UI
- Code: Select all
pg123 -v -v -v -@ http://192.168.1.178:9981/playlist/channelid//51
Trying output module alsa.
Using default module dir: /usr/lib/mpg123
Module dir: /usr/lib/mpg123
Module path: ./output_alsa.so
Output module 'alsa' chosen.
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
version 1.20.1; written and copyright by Michael Hipp and others
free software (LGPL) without any warranty but with best wishes
Decoder: generic
Note: Disabling all formats.
Note: checking support for 8000Hz/1ch.
Note: result 0x77ff
Note: Want to enable format 8000/1 for encodings 0x77ff.
Note: checking support for 11025Hz/1ch.
Note: result 0x77ff
Note: Want to enable format 11025/1 for encodings 0x77ff.
Note: checking support for 12000Hz/1ch.
Note: result 0x77ff
Note: Want to enable format 12000/1 for encodings 0x77ff.
Note: checking support for 16000Hz/1ch.
Note: result 0x77ff
Note: Want to enable format 16000/1 for encodings 0x77ff.
Note: checking support for 22050Hz/1ch.
Note: result 0x77ff
Note: Want to enable format 22050/1 for encodings 0x77ff.
Note: checking support for 24000Hz/1ch.
Note: result 0x77ff
Note: Want to enable format 24000/1 for encodings 0x77ff.
Note: checking support for 32000Hz/1ch.
Note: result 0x77ff
Note: Want to enable format 32000/1 for encodings 0x77ff.
Note: checking support for 44100Hz/1ch.
Note: result 0x77ff
Note: Want to enable format 44100/1 for encodings 0x77ff.
Note: checking support for 48000Hz/1ch.
Note: result 0x77ff
Note: Want to enable format 48000/1 for encodings 0x77ff.
Note: checking support for 8000Hz/2ch.
Note: result 0x77ff
Note: Want to enable format 8000/2 for encodings 0x77ff.
Note: checking support for 11025Hz/2ch.
Note: result 0x77ff
Note: Want to enable format 11025/2 for encodings 0x77ff.
Note: checking support for 12000Hz/2ch.
Note: result 0x77ff
Note: Want to enable format 12000/2 for encodings 0x77ff.
Note: checking support for 16000Hz/2ch.
Note: result 0x77ff
Note: Want to enable format 16000/2 for encodings 0x77ff.
Note: checking support for 22050Hz/2ch.
Note: result 0x77ff
Note: Want to enable format 22050/2 for encodings 0x77ff.
Note: checking support for 24000Hz/2ch.
Note: result 0x77ff
Note: Want to enable format 24000/2 for encodings 0x77ff.
Note: checking support for 32000Hz/2ch.
Note: result 0x77ff
Note: Want to enable format 32000/2 for encodings 0x77ff.
Note: checking support for 44100Hz/2ch.
Note: result 0x77ff
Note: Want to enable format 44100/2 for encodings 0x77ff.
Note: checking support for 48000Hz/2ch.
Note: result 0x77ff
Note: Want to enable format 48000/2 for encodings 0x77ff.
Audio driver: alsa
Audio device: <none>
Audio capabilities:
(matrix of [S]tereo or [M]ono support for sample format and rate in Hz)
| s16 | u16 | s32 | u32 | s24 | u24 | f32 | s8 | u8 | ulaw | alaw |
------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|
8000 | M/S | M/S | M/S | M/S | M/S | M/S | M/S | M/S | M/S | M/S | M/S |
11025 | M/S | M/S | M/S | M/S | M/S | M/S | M/S | M/S | M/S | M/S | M/S |
12000 | M/S | M/S | M/S | M/S | M/S | M/S | M/S | M/S | M/S | M/S | M/S |
16000 | M/S | M/S | M/S | M/S | M/S | M/S | M/S | M/S | M/S | M/S | M/S |
22050 | M/S | M/S | M/S | M/S | M/S | M/S | M/S | M/S | M/S | M/S | M/S |
24000 | M/S | M/S | M/S | M/S | M/S | M/S | M/S | M/S | M/S | M/S | M/S |
32000 | M/S | M/S | M/S | M/S | M/S | M/S | M/S | M/S | M/S | M/S | M/S |
44100 | M/S | M/S | M/S | M/S | M/S | M/S | M/S | M/S | M/S | M/S | M/S |
48000 | M/S | M/S | M/S | M/S | M/S | M/S | M/S | M/S | M/S | M/S | M/S |
Note: Attempting new-style connection to 192.168.1.178
HTTP request:
GET /playlist/channelid//51 HTTP/1.0
User-Agent: mpg123/1.20.1
Host: 192.168.1.178:9981
Accept: audio/mpeg, audio/x-mpeg, audio/mp3, audio/x-mp3, audio/mpeg3, audio/x-mpeg3, audio/mpg, audio/x-mpg, audio/x-mpegaudio, application/octet-stream, audio/mpegurl, audio/mpeg-url, audio/x-mpegurl, audio/x-scpls, audio/scpls, application/pls, application/x-scpls, */*
Icy-MetaData: 1
HTTP in: HTTP/1.0 200 OK
HTTP in: Server: HTS/tvheadend
HTTP in: Cache-Control: no-cache
HTTP in: Connection: Close
HTTP in: Content-Type: audio/x-mpegurl
HTTP in: Content-Length: 134
HTTP in:
Using playlist from http://192.168.1.178:9981/playlist/channelid//51 ...
Note: Interpreting as M3U playlist
playlist in normal order:
http://192.168.1.178:9981/stream/channelid/51?ticket=FAB04D1F361079A5723F5D1DBF0B4975B4D9A10B&mux=pass
Note: Attempting new-style connection to 192.168.1.178
HTTP request:
GET /stream/channelid/51?ticket=FAB04D1F361079A5723F5D1DBF0B4975B4D9A10B&mux=pass HTTP/1.0
User-Agent: mpg123/1.20.1
Host: 192.168.1.178:9981
Accept: audio/mpeg, audio/x-mpeg, audio/mp3, audio/x-mp3, audio/mpeg3, audio/x-mpeg3, audio/mpg, audio/x-mpg, audio/x-mpegaudio, application/octet-stream, audio/mpegurl, audio/mpeg-url, audio/x-mpegurl, audio/x-scpls, audio/scpls, application/pls, application/x-scpls, */*
Icy-MetaData: 1
HTTP in: HTTP/1.0 200 OK
HTTP in: Server: HTS/tvheadend
HTTP in: Cache-Control: no-cache
HTTP in: Connection: Close
HTTP in: Content-Type: audio/x-mpegts
HTTP in:
[mpg123.c:605] error: Unknown mpeg MIME type audio/x-mpegts - is it perhaps a playlist (use -@)?
[mpg123.c:606] error: If you know the stream is mpeg1/2 audio, then please report this as mpg123 bug
[root@runeaudio ~]#
I am not sure if