Transcode a live stream to AAC/Shoutcast

About encoding, codec settings, muxers and filter usage
sta2008
New Cone
New Cone
Posts: 9
Joined: 08 Mar 2009 05:18

Transcode a live stream to AAC/Shoutcast

Postby sta2008 » 05 Jun 2009 05:52

A Shoutcast instance (I'm talking specifically Shoutcast, not Icecast) can take in an MP3 or AAC stream and relay it. There's a DSP plugin for Winamp (on Winamp.com's plugins section) that'll broadcast to a Shoutcast instance in either AAC or MP3. I've tested it myself.

I can get VLC to connect and feed an mp3 stream to a Shoutcast instance. I haven't been able to get VLC to connect and feed an AAC stream to Shoutcast.

My command line for AAC:

vlc -vvv --play-and-exit -I dummy SOURCE --sout '#transcode{acodec=mp4a, ab=64, channels=2, samplerate=44100, aenc=ffmpeg}:std{access=shout{bitrate=64, samplerate=44100, channels=2}, mux=ogg, dst=USER:PASSWORD@IP:PORT//}'

If I replace 'mp4a' with 'mp3' VLC will successfully connect and broadcast an mp3 stream to Shoutcast.

I'm using VLC 0.9.9a on Ubuntu 8.04. The source stream works (I can play it from any computer), the Shoutcast instance and VLC are on the same server, the firewall isn't blocking either.

The error message:

[00000360] access_output_shout access out warning: failed to connect using 'icy' (shoutcast) protocol
[00000360] access_output_shout access out warning: failed to connect using 'http' (icecast 2.x) protocol
[00000360] access_output_shout access out warning: unable to establish connection, retrying...

I know IP, port, username, and password are correct because if I use 'mp3' instead of 'mp4a' it will work.

My guess is that Shoutcast is rejecting it because I'm just slightly off with my command line. I could have the wrong codec or mux or something. Has anyone had any success?

Err one last thing, I compiled VLC from source and included faac, faad, liblame, etc etc.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Transcode a live stream to AAC/Shoutcast

Postby Jean-Baptiste Kempf » 08 Jun 2009 11:11

Can you give more messages, please?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

sta2008
New Cone
New Cone
Posts: 9
Joined: 08 Mar 2009 05:18

Re: Transcode a live stream to AAC/Shoutcast

Postby sta2008 » 12 Jun 2009 01:49

I figured out that if --sout-shout-mp3 is not set to 1 VLC will not be able to connect to a Shoutcast instance.

My command now to try output AAC to a Shoutcast instance is this:

vlc -vvv --play-and-exit -I dummy SOURCE --sout '#transcode{acodec=mp4a, ab=64, channels=2, samplerate=44100, aenc=ffmpeg}:std{access=shout{mp3=1,bitrate=64, samplerate=44100, channels=2}, mux=ogg, dst=USER:PASSWORD@IP:PORT//}'

According to Winamp, this is still MPEG audio and not AAC specifically. Winamp will report "Content-Type: audio/aacp" for AAC audio and "Content-Type: audio/mpeg" for MP3/MPEG audio.

Perhaps VLC at this point can create AAC audio and AAC streams via RTSP but not Shoutcast?

I cleaned out references to my machine's IP, port, username, and password but here's VLC's output:

VLC media player 0.9.9a Grishenko
[00000001] main libvlc debug: VLC media player - version 0.9.9a Grishenko - (c) 1996-2009 the VideoLAN team
[00000001] main libvlc debug: libvlc was configured with ./configure '--enable-static' '--enable-shared' '--enable-release' '--enable-switcher' '--disable-debug' '--enable-shout' '--disable-dc1394' '--disable-dv' '--disable-dvdread' '--disable-v4l' '--disable-pvr' '--disable-vcdx' '--enable-faad' '--enable-twolame' '--enable-real' '--enable-realrtsp' '--enable-flac' '--disable-theora' '--enable-ogg' '--enable-vorbis' '--disable-dca' '--enable-x264' '--enable-sout' '--enable-gme' '--disable-dbus' '--disable-hal' '--disable-fribidi' '--disable-glx' '--disable-skins' '--disable-skins2' '--disable-remoteosd' '--disable-qt4' '--disable-hd1000v' '--disable-hd1000a' '--enable-live555' '--disable-pulse' '--disable-zvbi' '--disable-telx' '--disable-swscale' '--disable-imgresample' '--disable-dvb' '--disable-dvbpsi' '--disable-v4l2' '--disable-libv4l2' '--with-live555-tree=./extras/live' '--disable-bonjour' '--disable-gnomevfs' '--enable-a52' '--disable-lua' 'CFLAGS=-mtune=native -O3' 'CPPFLAGS=-mtune=native -O3'
[00000001] main libvlc debug: translation test: code is "C"
[00000001] main libvlc debug: checking builtin modules
[00000001] main libvlc debug: checking plugin modules
[00000001] main libvlc debug: loading plugins cache file /home/jgonzalez/.cache/vlc/plugins-04041e.dat
[00000001] main libvlc debug: recursively browsing `/usr/local/lib/vlc'
[00000001] main libvlc debug: module bank initialized, found 228 modules
[00000001] main libvlc debug: opening config file (/home/jgonzalez/.config/vlc/vlcrc)
[00000001] main libvlc debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU
[00000001] main libvlc debug: looking for memcpy module: 3 candidates
[00000001] main libvlc debug: using memcpy module "memcpymmxext"
[00000312] main interaction debug: thread started
[00000312] main interaction debug: thread 3082812304 (Interaction control) created at priority 0 (interface/interaction.c:382)
[00000314] main input debug: Creating an input for 'Media Library'
[00000314] main input debug: Input is a meta file: disabling unneeded options
[00000314] main input debug: `file/xspf-open:///home/jgonzalez/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/jgonzalez/.local/share/vlc/ml.xspf'
[00000314] main input debug: creating access 'file' path='/home/jgonzalez/.local/share/vlc/ml.xspf'
[00000315] main access debug: looking for access module: 3 candidates
[00000315] access_file access debug: opening file `/home/jgonzalez/.local/share/vlc/ml.xspf'
[00000315] main access debug: using access module "access_file"
[00000315] main access debug: TIMER module_Need() : 0.362 ms - Total 0.362 ms / 1 intvls (Avg 0.362 ms)
[00000320] main stream debug: Using AStream*Stream
[00000320] main stream debug: pre-buffering...
[00000320] main stream debug: received first data for our buffer
[00000314] main input debug: creating demux: access='file' demux='xspf-open' path='/home/jgonzalez/.local/share/vlc/ml.xspf'
[00000321] main demux debug: looking for demux module: 1 candidate
[00000321] playlist demux debug: using XSPF playlist reader
[00000321] main demux debug: using demux module "playlist"
[00000321] main demux debug: TIMER module_Need() : 0.232 ms - Total 0.232 ms / 1 intvls (Avg 0.232 ms)
[00000314] main input debug: `file/xspf-open:///home/jgonzalez/.local/share/vlc/ml.xspf' successfully opened
[00000336] main xml debug: looking for xml module: 1 candidate
[00000336] main xml debug: using xml module "xtag"
[00000336] main xml debug: TIMER module_Need() : 0.105 ms - Total 0.105 ms / 1 intvls (Avg 0.105 ms)
[00000321] playlist demux debug: parsed 0 tracks successfully
[00000336] main xml debug: removing module "xtag"
[00000314] main input debug: EOF reached
[00000314] main input debug: control type=1
[00000321] main demux debug: removing module "playlist"
[00000315] main access debug: removing module "access_file"
[00000314] main input debug: TIMER input launching for 'Media Library' : 2.255 ms - Total 2.255 ms / 1 intvls (Avg 2.255 ms)
[00000338] main preparser debug: thread started
[00000338] main preparser debug: waiting for thread initialization
[00000338] main preparser debug: thread 3074374544 (preparser) created at priority 0 (playlist/thread.c:79)
[00000339] main fetcher debug: thread started
[00000339] main fetcher debug: waiting for thread initialization
[00000339] main fetcher debug: thread 3061689232 (fetcher) created at priority 0 (playlist/thread.c:108)
[00000313] main playlist debug: thread started
[00000313] main playlist debug: waiting for thread initialization
[00000313] main playlist debug: rebuilding array of current - root Playlist
[00000313] main playlist debug: rebuild done - 0 items, index -1
[00000313] main playlist debug: thread 3053296528 (playlist) created at priority 0 (playlist/thread.c:117)
[00000340] main interface debug: looking for interface module: 1 candidate
[00000340] main interface debug: using interface module "hotkeys"
[00000340] main interface debug: TIMER module_Need() : 0.122 ms - Total 0.122 ms / 1 intvls (Avg 0.122 ms)
[00000340] main interface debug: thread started
[00000340] main interface debug: thread 3044903824 (interface) created at priority 0 (interface/interface.c:168)
[00000313] main playlist debug: adding item `http://wm-high1.107mix.com/dk4_live_12/top40?.wma' ( http://wm-high1.107mix.com/dk4_live_12/top40?.wma )
[00000342] main interface debug: looking for interface module: 13 candidates
[00000342] main interface debug: using interface module "signals"
[00000342] main interface debug: TIMER module_Need() : 0.133 ms - Total 0.133 ms / 1 intvls (Avg 0.133 ms)
[00000342] main interface debug: thread started
[00000342] main interface debug: thread 3028118416 (interface) created at priority 0 (interface/interface.c:168)
[00000344] main interface debug: looking for interface module: 13 candidates
[00000344] dummy interface: using the dummy interface module...
[00000344] main interface debug: using interface module "dummy"
[00000344] main interface debug: TIMER module_Need() : 0.198 ms - Total 0.198 ms / 1 intvls (Avg 0.198 ms)
[00000344] main interface debug: thread started
[00000344] main interface debug: thread 3019725712 (interface) created at priority 0 (interface/interface.c:168)
[00000313] main playlist debug: starting new item
[00000313] main playlist debug: processing request item null node Playlist skip 0
[00000313] main playlist debug: rebuilding array of current - root Playlist
[00000313] main playlist debug: rebuild done - 1 items, index -1
[00000313] main playlist debug: creating new input thread
[00000353] main input debug: Creating an input for 'http://wm-high1.107mix.com/dk4_live_12/top40?.wma'
[00000353] main input debug: thread started
[00000353] main input debug: waiting for thread initialization
[00000353] main input debug: thread 3011333008 (input) created at priority 10 (input/input.c:370)
[00000354] main stream output debug: stream=`transcode'
[00000355] main stream out debug: looking for sout stream module: 1 candidate
[00000354] main stream output debug: stream=`std'
[00000358] main stream out debug: looking for sout stream module: 1 candidate
[00000358] main stream out debug: set config option: sout-standard-access to shout{bitrate=64, samplerate=44100, channels=2, mp3=1}
[00000358] main stream out debug: set config option: sout-standard-mux to ogg
[00000358] main stream out debug: set config option: sout-standard-dst to USER:PASSWORD@IP:PORT//
[00000358] stream_out_standard stream out debug: creating `shout{bitrate=64, samplerate=44100, channels=2, mp3=1}/ogg://USER:PASSWORD@IP:PORT//'
[00000358] stream_out_standard stream out debug: extension is 8:8020//
[00000358] stream_out_standard stream out debug: extension -> mux=(null)
[00000358] stream_out_standard stream out debug: using `shout{bitrate=64, samplerate=44100, channels=2, mp3=1}/ogg://USER:PASSWORD@IP:PORT//'
[00000360] main access out debug: looking for sout access module: 1 candidate
[00000360] main access out debug: set config option: sout-shout-bitrate to 64
[00000360] main access out debug: set config option: sout-shout-samplerate to 44100
[00000360] main access out debug: set config option: sout-shout-channels to 2
[00000360] main access out debug: set config option: sout-shout-mp3 to 1
[00000360] access_output_shout access out debug: connected using 'icy' (shoutcast) protocol
[00000360] access_output_shout access out debug: shout access output opened (USER@IP:PORT//)
[00000360] main access out debug: using sout access module "access_output_shout"
[00000360] main access out debug: TIMER module_Need() : 19.568 ms - Total 19.568 ms / 1 intvls (Avg 19.568 ms)
[00000358] stream_out_standard stream out debug: access opened
[00000362] main mux debug: looking for sout mux module: 1 candidate
[00000362] mux_ogg mux: Open
[00000362] main mux debug: using sout mux module "mux_ogg"
[00000362] main mux debug: TIMER module_Need() : 0.141 ms - Total 0.141 ms / 1 intvls (Avg 0.141 ms)
[00000354] main stream output debug: muxer support adding stream at any time
[00000354] main stream output debug: muxer prefers to wait for all ES before starting to mux
[00000358] stream_out_standard stream out debug: mux opened
[00000358] main stream out debug: using sout stream module "stream_out_standard"
[00000358] main stream out debug: TIMER module_Need() : 21.042 ms - Total 21.042 ms / 1 intvls (Avg 21.042 ms)
[00000355] main stream out debug: set config option: sout-transcode-acodec to mp4a
[00000355] main stream out debug: set config option: sout-transcode-ab to 64
[00000355] main stream out debug: set config option: sout-transcode-channels to 2
[00000355] main stream out debug: set config option: sout-transcode-samplerate to 44100
[00000355] main stream out debug: set config option: sout-transcode-aenc to ffmpeg
[00000355] stream_out_transcode stream out debug: codec audio=mp4a 44100Hz 2 channels 64Kb/s
[00000355] main stream out debug: using sout stream module "stream_out_transcode"
[00000355] main stream out debug: TIMER module_Need() : 23.584 ms - Total 23.584 ms / 1 intvls (Avg 23.584 ms)
[00000353] main input debug: `http://wm-high1.107mix.com/dk4_live_12/top40?.wma' gives access `http' demux `' path `wm-high1.107mix.com/dk4_live_12/top40?.wma'
[00000353] main input debug: creating demux: access='http' demux='' path='wm-high1.107mix.com/dk4_live_12/top40?.wma'
[00000364] main demux debug: looking for access_demux module: 0 candidates
[00000364] main demux warning: no access_demux module matched "http"
[00000364] main demux debug: TIMER module_Need() : 0.053 ms - Total 0.053 ms / 1 intvls (Avg 0.053 ms)
[00000353] main input debug: creating access 'http' path='wm-high1.107mix.com/dk4_live_12/top40?.wma'
[00000365] main access debug: looking for access module: 2 candidates
[00000365] access_http access debug: http: server='wm-high1.107mix.com' port=80 file='/dk4_live_12/top40?.wma
[00000365] main access debug: net: connecting to wm-high1.107mix.com port 80
[00000365] main access debug: connection: Operation now in progress
[00000365] main access debug: connection succeeded (socket = 3)
[00000365] access_http access debug: protocol 'HTTP' answer code 200
[00000365] access_http access debug: Content-Type: video/x-ms-asf
[00000365] access_http access debug: Server: Cougar/9.01.01.5000
[00000365] access_http access debug: this frame size=145
[00000365] access_http access debug: Pragma: no-cache, xResetStrm=1
[00000365] access_http access debug: Connection: close
[00000365] main access debug: using access module "access_http"
[00000365] main access debug: TIMER module_Need() : 594.114 ms - Total 594.114 ms / 1 intvls (Avg 594.114 ms)
[00000367] main stream debug: Using AStream*Stream
[00000367] main stream debug: pre-buffering...
[00000367] main stream debug: received first data for our buffer
[00000353] main input debug: creating demux: access='http' demux='' path='wm-high1.107mix.com/dk4_live_12/top40?.wma'
[00000368] main demux debug: looking for demux module: 54 candidates
[00000368] playlist demux debug: found valid PLS playlist file
[00000368] main demux debug: using demux module "playlist"
[00000368] main demux debug: TIMER module_Need() : 4.507 ms - Total 4.507 ms / 1 intvls (Avg 4.507 ms)
[00000353] main input debug: starting in sync mode
[00000353] main input debug: `http://wm-high1.107mix.com/dk4_live_12/top40?.wma' successfully opened
[00000313] main playlist debug: deleting item `http://wm-high1.107mix.com/dk4_live_12/top40?.wma'
[00000313] main playlist debug: rebuilding array of current - root Playlist
[00000313] main playlist debug: rebuild done - 1 items, index -1
[00000313] main playlist debug: no fetch required for mms://wm-high1.107mix.com/dk4_live_12/top40?.wma&MSWMExt=.asf (art currently (null))
[00000353] main input debug: EOF reached
[00000353] main input debug: control type=1
[00000313] main playlist debug: finished input
[00000365] main access debug: waitpipe: object killed
[00000313] main playlist debug: dying input
[00000313] main playlist debug: no fetch required for mms://62.23.4.20:80/dk4_live_12/top40?.wma&MSWMExt=.asf (art currently (null))
[00000313] main playlist debug: dying input
[00000368] main demux debug: removing module "playlist"
[00000365] main access debug: removing module "access_http"
[00000313] main playlist debug: dying input
[00000353] main input debug: thread ended
[00000313] main playlist debug: dead input
[00000353] main input debug: thread 3011333008 joined (playlist/engine.c:244)
[00000353] main input debug: TIMER input launching for 'http://wm-high1.107mix.com/dk4_live_12/top40?.wma' : 624.062 ms - Total 624.062 ms / 1 intvls (Avg 624.062 ms)
[00000355] main stream out debug: destroying chain... (name=transcode)
[00000358] main stream out debug: destroying chain... (name=std)
[00000362] mux_ogg mux: Close
[00000362] main mux debug: removing module "mux_ogg"
[00000360] access_output_shout access out debug: shout access output closed
[00000360] main access out debug: removing module "access_output_shout"
[00000358] main stream out debug: removing module "stream_out_standard"
[00000358] main stream out debug: destroying chain done
[00000355] main stream out debug: removing module "stream_out_transcode"
[00000355] main stream out debug: destroying chain done
[00000313] main playlist debug: starting new item
[00000313] main playlist debug: changing item without a request (current -1/1)
[00000313] main playlist debug: rebuilding array of current - root Playlist
[00000313] main playlist debug: rebuild done - 2 items, index -1
[00000313] main playlist debug: using item 0
[00000313] main playlist debug: creating new input thread
[00000391] main input debug: Creating an input for 'mms://wm-high1.107mix.com/dk4_live_12/top40?.wma&MSWMExt=.asf'
[00000391] main input debug: thread started
[00000391] main input debug: waiting for thread initialization
[00000391] main input debug: thread 3011333008 (input) created at priority 10 (input/input.c:370)
[00000392] main stream output debug: stream=`transcode'
[00000393] main stream out debug: looking for sout stream module: 1 candidate
[00000392] main stream output debug: stream=`std'
[00000395] main stream out debug: looking for sout stream module: 1 candidate
[00000395] main stream out debug: set config option: sout-standard-access to shout{bitrate=64, samplerate=44100, channels=2, mp3=1}
[00000395] main stream out debug: set config option: sout-standard-mux to ogg
[00000395] main stream out debug: set config option: sout-standard-dst to USER:PASSWORD@IP:PORT//
[00000395] stream_out_standard stream out debug: creating `shout{bitrate=64, samplerate=44100, channels=2, mp3=1}/ogg://USER:PASSWORD@IP:PORT//'
[00000395] stream_out_standard stream out debug: extension is 8:8020//
[00000395] stream_out_standard stream out debug: extension -> mux=(null)
[00000395] stream_out_standard stream out debug: using `shout{bitrate=64, samplerate=44100, channels=2, mp3=1}/ogg://USER:PASSWORD@IP:PORT//'
[00000396] main access out debug: looking for sout access module: 1 candidate
[00000396] main access out debug: set config option: sout-shout-bitrate to 64
[00000396] main access out debug: set config option: sout-shout-samplerate to 44100
[00000396] main access out debug: set config option: sout-shout-channels to 2
[00000396] main access out debug: set config option: sout-shout-mp3 to 1
[00000396] access_output_shout access out warning: failed to connect using 'icy' (shoutcast) protocol
[00000396] access_output_shout access out warning: failed to connect using 'http' (icecast 2.x) protocol
[00000396] access_output_shout access out warning: unable to establish connection, retrying...
[00000396] access_output_shout access out debug: connected using 'icy' (shoutcast) protocol
[00000396] access_output_shout access out debug: shout access output opened (USER@IP:PORT//)
[00000396] main access out debug: using sout access module "access_output_shout"
[00000396] main access out debug: TIMER module_Need() : 30023.984 ms - Total 30023.984 ms / 1 intvls (Avg 30023.983 ms)
[00000395] stream_out_standard stream out debug: access opened
[00000397] main mux debug: looking for sout mux module: 1 candidate
[00000397] mux_ogg mux: Open
[00000397] main mux debug: using sout mux module "mux_ogg"
[00000397] main mux debug: TIMER module_Need() : 0.105 ms - Total 0.105 ms / 1 intvls (Avg 0.105 ms)
[00000392] main stream output debug: muxer support adding stream at any time
[00000392] main stream output debug: muxer prefers to wait for all ES before starting to mux
[00000395] stream_out_standard stream out debug: mux opened
[00000395] main stream out debug: using sout stream module "stream_out_standard"
[00000395] main stream out debug: TIMER module_Need() : 30025.325 ms - Total 30025.325 ms / 1 intvls (Avg 30025.324 ms)
[00000393] main stream out debug: set config option: sout-transcode-acodec to mp4a
[00000393] main stream out debug: set config option: sout-transcode-ab to 64
[00000393] main stream out debug: set config option: sout-transcode-channels to 2
[00000393] main stream out debug: set config option: sout-transcode-samplerate to 44100
[00000393] main stream out debug: set config option: sout-transcode-aenc to ffmpeg
[00000393] stream_out_transcode stream out debug: codec audio=mp4a 44100Hz 2 channels 64Kb/s
[00000393] main stream out debug: using sout stream module "stream_out_transcode"
[00000393] main stream out debug: TIMER module_Need() : 30027.716 ms - Total 30027.716 ms / 1 intvls (Avg 30027.715 ms)
[00000391] main input debug: `mms://wm-high1.107mix.com/dk4_live_12/top40?.wma&MSWMExt=.asf' gives access `mms' demux `' path `wm-high1.107mix.com/dk4_live_12/top40?.wma&MSWMExt=.asf'
[00000391] main input debug: creating demux: access='mms' demux='' path='wm-high1.107mix.com/dk4_live_12/top40?.wma&MSWMExt=.asf'
[00000398] main demux debug: looking for access_demux module: 0 candidates
[00000398] main demux warning: no access_demux module matched "mms"
[00000398] main demux debug: TIMER module_Need() : 0.053 ms - Total 0.053 ms / 1 intvls (Avg 0.053 ms)
[00000391] main input debug: creating access 'mms' path='wm-high1.107mix.com/dk4_live_12/top40?.wma&MSWMExt=.asf'
[00000399] main access debug: looking for access module: 1 candidate
[00000399] access_mms access debug: waiting for connection...
[00000399] main access debug: net: connecting to wm-high1.107mix.com port 1755
[00000399] main access debug: connection: Operation now in progress
[00000399] main access debug: connection succeeded (socket = 7)
[00000399] access_mms access debug: connection(tcp) with "wm-high1.107mix.com:1755" successful
[00000399] access_mms access debug: generated guid: babac001-8e19-0e2c-b4e04c2fe84a8ac6
[00000399] access_mms access debug: recv command start_sequence:0x4a000001 command_id:0xb00bface length:128 len8:16 sequence 0x00000000 len8_II:14 dir_comm:0x00040001
[00000399] access_mms access debug: 0x01 --> server_version:"9.01.01.5000" tool_version:"" update_player_url:"" encryption_type:"NTLM"
[00000399] access_mms access debug: recv command start_sequence:0x4a000001 command_id:0xb00bface length:80 len8:10 sequence 0x00000001 len8_II:8 dir_comm:0x00040002
[00000399] access_mms access debug: recv command start_sequence:0x4a000001 command_id:0xb00bface length:136 len8:17 sequence 0x00000002 len8_II:15 dir_comm:0x00040006
[00000399] access_mms access debug: media file name/path accepted
[00000399] access_mms access debug: answer 0x06 flags:0x02000000 media_length:0s packet_length:5976l packet_count:0 max_bit_rate:131762 header_size:5159
[00000399] access_mms access debug: reading header
[00000399] access_mms access debug: recv command start_sequence:0x4a000001 command_id:0xb00bface length:40 len8:5 sequence 0x00000003 len8_II:3 dir_comm:0x00040011
[00000399] access_mms access debug: header complete(5159)
[00000399] access_mms access: selecting stream[0x1] audio (125 kb/s)
[00000399] access_mms access debug: recv command start_sequence:0x4a000001 command_id:0xb00bface length:32 len8:4 sequence 0x00000004 len8_II:2 dir_comm:0x00040021
[00000399] access_mms access: connection successful
[00000399] access_mms access debug: connected to wm-high1.107mix.com:1755
[00000399] access_mms access debug: recv command start_sequence:0x4a000001 command_id:0xb00bface length:56 len8:7 sequence 0x00000005 len8_II:5 dir_comm:0x00040005
[00000399] access_mms access debug: streaming started
[00000401] main generic debug: thread started
[00000401] main generic debug: thread 3002940304 (mmstu keepalive thread) created at priority 0 (mmstu.c:211)
[00000399] main access debug: using access module "access_mms"
[00000399] main access debug: TIMER module_Need() : 1852.209 ms - Total 1852.209 ms / 1 intvls (Avg 1852.209 ms)
[00000402] main stream debug: Using AStream*Stream
[00000402] main stream debug: pre-buffering...
[00000402] main stream debug: received first data for our buffer
[00000402] main stream debug: pre-buffering done 35856 bytes in 1s - 33 kbytes/s
[00000391] main input debug: creating demux: access='mms' demux='' path='wm-high1.107mix.com/dk4_live_12/top40?.wma&MSWMExt=.asf'
[00000403] main demux debug: looking for demux module: 54 candidates
[00000402] asf stream debug: found object guid: 0x75b22630-0x668e-0x11cf-0xa6d900aa0062ce6c size:5109
[00000402] asf stream debug: read "header object" subobj:8, reserved1:1, reserved2:2
[00000402] asf stream debug: found object guid: 0x75b22633-0x668e-0x11cf-0xa6d900aa0062ce6c size:46
[00000402] asf stream debug: read "content description object" title:"" artist:"" copyright:"MMIX." description:"" rating:""
[00000402] asf stream debug: found object guid: 0x7bf875ce-0x468d-0x11d1-0x8d82006097c9a2b2 size:38
[00000402] asf stream debug: read "stream bitrate properties object"
[00000402] asf stream debug: - stream=1 bitrate=128642
[00000402] asf stream debug: - stream=2 bitrate=3120
[00000402] asf stream debug: found object guid: 0x8cabdca1-0xa947-0x11cf-0x8ee400c00c205365 size:104
[00000402] asf stream debug: read "file properties object" file_id:0x98fe3b93-0xdaa0-0x4185-0x9ffaa431bdcb8d12 file_size:5159 creation_date:128892182070460000 data_packets_count:4294967295 play_duration:0 send_duration:0 preroll:3000 flags:9 min_data_packet_size:5976 max_data_packet_size:5976 max_bitrate:131762
[00000402] asf stream debug: found object guid: 0x5fbf03b5-0xa92e-0x11cf-0x8ee300c00c205365 size:4361
[00000402] asf stream debug: read "header extension object" reserved1:0xabd3d211-0xa9ba-0x11cf-0x8ee600c00c205365 reserved2:6 header_extension_size:4315
[00000402] asf stream debug: found object guid: 0x7c4346a9-0xefe0-0x4bfc-0xb229393ede415c85 size:39
[00000402] asf stream debug: read "language list object" 1 entries
[00000402] asf stream debug: - 'en-us'
[00000402] asf stream debug: found object guid: 0x14e6a5cb-0xc672-0x4332-0x8399a96952065b5a size:88
[00000402] asf stream debug: read "extended stream properties object":
[00000402] asf stream debug: - start=0 end=0
[00000402] asf stream debug: - data bitrate=128016 buffer=1579 initial fullness=0
[00000402] asf stream debug: - alternate data bitrate=128016 buffer=1579 initial fullness=0
[00000402] asf stream debug: - maximum object size=5945
[00000402] asf stream debug: - flags=0x0
[00000402] asf stream debug: - stream number=1 language=0
[00000402] asf stream debug: - average time per frame=0
[00000402] asf stream debug: - stream name count=0
[00000402] asf stream debug: - payload extension system count=0
[00000402] asf stream debug: found object guid: 0x14e6a5cb-0xc672-0x4332-0x8399a96952065b5a size:88
[00000402] asf stream debug: read "extended stream properties object":
[00000402] asf stream debug: - start=0 end=0
[00000402] asf stream debug: - data bitrate=1500 buffer=3000 initial fullness=0
[00000402] asf stream debug: - alternate data bitrate=1500 buffer=3000 initial fullness=0
[00000402] asf stream debug: - maximum object size=0
[00000402] asf stream debug: - flags=0x0
[00000402] asf stream debug: - stream number=2 language=0
[00000402] asf stream debug: - average time per frame=0
[00000402] asf stream debug: - stream name count=0
[00000402] asf stream debug: - payload extension system count=0
[00000402] asf stream debug: found object guid: 0x26f18b5d-0x4584-0x47ec-0x9f5f0e651f0452c9 size:26
[00000402] asf stream warning: unknown asf object (not loaded)
[00000402] asf stream debug: found object guid: 0xc5f8cbea-0x5baf-0x4877-0x8467aa8c44fa4cca size:122
[00000402] asf stream debug: read "metadata object" 2 entries
[00000402] asf stream debug: - IsVBR=0
[00000402] asf stream debug: - DeviceConformanceTemplate=L1
[00000402] asf stream debug: found object guid: 0x1806d474-0xcadf-0x4509-0xa4ba9aabcb96aae8 size:3952
[00000402] asf stream warning: unknown asf object (not loaded)
[00000402] asf stream debug: found object guid: 0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365 size:114
[00000402] asf stream debug: read "stream Properties object" stream_type:0xf8699e40-0x5b4d-0x11cf-0xa8fd00805f5c442b error_correction_type:0xbfc3cd50-0x618f-0x11cf-0x8bb200aa00b4e220 time_offset:0 type_specific_data_length:28 error_correction_data_length:8 flags:0x1 stream_number:1
[00000402] asf stream debug: found object guid: 0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365 size:78
[00000402] asf stream debug: read "stream Properties object" stream_type:0x59dacfc0-0x59e6-0x11d0-0xa3ac00a0c90348f6 error_correction_type:0x20fb5700-0x5b55-0x11cf-0xa8fd00805f5c442b time_offset:0 type_specific_data_length:0 error_correction_data_length:0 flags:0x2 stream_number:2
[00000402] asf stream debug: found object guid: 0xd2d0a440-0xe307-0x11d2-0x97f000a0c95ea850 size:164
[00000402] asf stream debug: read "extended content description object"
[00000402] asf stream debug: - 'WMFSDKVersion' = '10.00.00.3997'
[00000402] asf stream debug: - 'WMFSDKNeeded' = '0.0.0.0000'
[00000402] asf stream debug: - 'IsVBR' = 'false'
[00000402] asf stream debug: found object guid: 0x86d15240-0x311d-0x11d0-0xa3a400a0c90348f6 size:174
[00000402] asf stream debug: read "codec list object" reserved_guid:0x86d15241-0x311d-0x11d0-0xa3a400a0c90348f6 codec_entries_count:1
[00000402] asf stream debug: - codec[0] audio name:"Windows Media Audio 9.1" description:"128 kbps, 44 kHz, stereo 1-pass CBR" information_length:2
[00000402] asf stream debug: found object guid: 0x75b22636-0x668e-0x11cf-0xa6d900aa0062ce6c size:50
[00000402] asf stream debug: read "data object" file_id:0x98fe3b93-0xdaa0-0x4185-0x9ffaa431bdcb8d12 total data packet:0 reserved:257
[00000402] asf stream debug: + 'Unknown' GUID 0x0-0x0-0x0-0x0000000000000000 size:0pos:0
[00000402] asf stream debug: + 'Header' GUID 0x75b22630-0x668e-0x11cf-0xa6d900aa0062ce6c size:5109pos:0
[00000402] asf stream debug: | + 'Content Description' GUID 0x75b22633-0x668e-0x11cf-0xa6d900aa0062ce6c size:46pos:30
[00000402] asf stream debug: | + 'Stream Bitrate Properties' GUID 0x7bf875ce-0x468d-0x11d1-0x8d82006097c9a2b2 size:38pos:76
[00000402] asf stream debug: | + 'File Properties' GUID 0x8cabdca1-0xa947-0x11cf-0x8ee400c00c205365 size:104pos:114
[00000402] asf stream debug: | + 'Header Extension' GUID 0x5fbf03b5-0xa92e-0x11cf-0x8ee300c00c205365 size:4361pos:218
[00000402] asf stream debug: | | + 'Language List' GUID 0x7c4346a9-0xefe0-0x4bfc-0xb229393ede415c85 size:39pos:264
[00000402] asf stream debug: | | + 'Extended Stream Properties' GUID 0x14e6a5cb-0xc672-0x4332-0x8399a96952065b5a size:88pos:303
[00000402] asf stream debug: | | + 'Extended Stream Properties' GUID 0x14e6a5cb-0xc672-0x4332-0x8399a96952065b5a size:88pos:391
[00000402] asf stream debug: | | + 'Unknown' GUID 0x26f18b5d-0x4584-0x47ec-0x9f5f0e651f0452c9 size:26pos:479
[00000402] asf stream debug: | | + 'Metadata' GUID 0xc5f8cbea-0x5baf-0x4877-0x8467aa8c44fa4cca size:122pos:505
[00000402] asf stream debug: | | + 'Padding' GUID 0x1806d474-0xcadf-0x4509-0xa4ba9aabcb96aae8 size:3952pos:627
[00000402] asf stream debug: | + 'Stream Properties' GUID 0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365 size:114pos:4579
[00000402] asf stream debug: | + 'Stream Properties' GUID 0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365 size:78pos:4693
[00000402] asf stream debug: | + 'Extended content description' GUID 0xd2d0a440-0xe307-0x11d2-0x97f000a0c95ea850 size:164pos:4771
[00000402] asf stream debug: | + 'Codec List' GUID 0x86d15240-0x311d-0x11d0-0xa3a400a0c90348f6 size:174pos:4935
[00000402] asf stream debug: + 'Data' GUID 0x75b22636-0x668e-0x11cf-0xa6d900aa0062ce6c size:50pos:5109
[00000403] asf demux debug: found 2 streams
[00000391] main input debug: selecting program id=0
[00000403] asf demux debug: added new audio stream(codec:0x161,ID:1)
[00000403] asf demux debug: ignoring not selected stream(ID:2) (by access)
[00000403] main demux debug: using demux module "asf"
[00000403] main demux debug: TIMER module_Need() : 0.946 ms - Total 0.946 ms / 1 intvls (Avg 0.946 ms)
[00000404] main packetizer debug: looking for packetizer module: 17 candidates
[00000404] main packetizer debug: using packetizer module "packetizer_copy"
[00000404] main packetizer debug: TIMER module_Need() : 1.686 ms - Total 1.686 ms / 1 intvls (Avg 1.686 ms)
[00000391] main input debug: stream out mode -> no decoder thread
[00000391] main input debug: starting in sync mode
[00000399] access_mms access warning: unimplemented query in control
[00000391] main input debug: `mms://wm-high1.107mix.com/dk4_live_12/top40?.wma&MSWMExt=.asf' successfully opened
[00000404] packetizer_copy packetizer debug: need dts > 0
[00000391] main input debug: control type=1
[00000392] main stream output debug: adding a new sout input (sout_input:0x81571b8)
[00000393] stream_out_transcode stream out debug: creating audio transcoding from fcc=`wma2' to fcc=`mp4a'
[00000436] main decoder debug: looking for decoder module: 27 candidates
[00000436] avcodec decoder debug: libavcodec initialized (interface 3412992 )
[00000436] avcodec decoder warning: Physical channel configuration not set : guessing
[00000436] avcodec decoder debug: ffmpeg codec (Windows Media Audio 2) started
[00000436] main decoder debug: using decoder module "avcodec"
[00000436] main decoder debug: TIMER module_Need() : 8.653 ms - Total 8.653 ms / 1 intvls (Avg 8.653 ms)
[00000437] main encoder debug: looking for encoder module: 1 candidate
[00000437] avcodec encoder debug: libavcodec already initialized
[00000437] avcodec encoder debug: found encoder MPEG AAC Audio
[00000437] main encoder debug: using encoder module "avcodec"
[00000437] main encoder debug: TIMER module_Need() : 13.237 ms - Total 13.237 ms / 1 intvls (Avg 13.237 ms)
[00000397] main mux debug: adding a new input
[00000397] mux_ogg mux debug: adding input
[00000397] mux_ogg mux debug: mp4a stream
[00000404] main packetizer debug: switching to async mode
[00000397] mux_ogg mux debug: writing header
[00000397] mux_ogg mux debug: creating header for mp4a
[00000399] access_mms access debug: recv command start_sequence:0x4a000001 command_id:0xb00bface length:32 len8:4 sequence 0x00000006 len8_II:2 dir_comm:0x0004001b
[00000342] signals interface error: Caught Terminated signal, exiting...
[00000342] main interface debug: thread ended
[00000001] main libvlc debug: removing all interfaces
[00000344] main interface debug: thread ended
[00000344] main interface debug: thread 3019725712 joined (interface/interface.c:188)
[00000344] main interface debug: removing module "dummy"
[00000342] main interface debug: thread 3028118416 joined (interface/interface.c:188)
[00000342] main interface debug: removing module "signals"
[00000340] main interface debug: thread ended
[00000340] main interface debug: thread 3044903824 joined (interface/interface.c:188)
[00000340] main interface debug: removing module "hotkeys"
[00000001] main libvlc debug: removing all services discovery tasks
[00000001] main libvlc debug: removing playlist
[00000399] main access debug: waitpipe: object killed
[00000399] access_mms access warning: cannot fill buffer
[00000399] access_mms access warning: cannot receive header (1/10)
[00000391] main input debug: control type=0
[00000391] main input debug: control: stopping input
[00000402] asf stream debug: free asf object 0x75b22633-0x668e-0x11cf-0xa6d900aa0062ce6c
[00000402] asf stream debug: free asf object 0x7bf875ce-0x468d-0x11d1-0x8d82006097c9a2b2
[00000402] asf stream debug: free asf object 0x8cabdca1-0xa947-0x11cf-0x8ee400c00c205365
[00000402] asf stream debug: free asf object 0x7c4346a9-0xefe0-0x4bfc-0xb229393ede415c85
[00000402] asf stream debug: free asf object 0x14e6a5cb-0xc672-0x4332-0x8399a96952065b5a
[00000402] asf stream debug: free asf object 0x14e6a5cb-0xc672-0x4332-0x8399a96952065b5a
[00000402] asf stream warning: unknown asf object 0x26f18b5d-0x4584-0x47ec-0x9f5f0e651f0452c9
[00000402] asf stream debug: free asf object 0xc5f8cbea-0x5baf-0x4877-0x8467aa8c44fa4cca
[00000402] asf stream warning: unknown asf object 0x1806d474-0xcadf-0x4509-0xa4ba9aabcb96aae8
[00000402] asf stream debug: free asf object 0x5fbf03b5-0xa92e-0x11cf-0x8ee300c00c205365
[00000402] asf stream debug: free asf object 0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365
[00000402] asf stream debug: free asf object 0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365
[00000402] asf stream debug: free asf object 0xd2d0a440-0xe307-0x11d2-0x97f000a0c95ea850
[00000402] asf stream debug: free asf object 0x86d15240-0x311d-0x11d0-0xa3a400a0c90348f6
[00000402] asf stream debug: free asf object 0x75b22630-0x668e-0x11cf-0xa6d900aa0062ce6c
[00000402] asf stream debug: free asf object 0x75b22636-0x668e-0x11cf-0xa6d900aa0062ce6c
[00000404] main packetizer debug: removing module "packetizer_copy"
[00000404] main packetizer debug: killing decoder fourcc `wma2', 0 PES in FIFO
[00000392] main stream output debug: removing a sout input (sout_input:0x81571b8)
[00000437] main encoder debug: TIMER encoding audio frame : 1.109 ms - Total 1271.458 ms / 580 intvls (Avg 2.192 ms)
[00000436] avcodec decoder debug: ffmpeg codec (Windows Media Audio 2) stopped
[00000436] main decoder debug: removing module "avcodec"
[00000437] main encoder debug: removing module "avcodec"
[00000397] mux_ogg mux debug: removing input
[00000397] main mux warning: no more input streams for this mux
[00000391] main input debug: Program doesn't contain anymore ES
[00000403] main demux debug: removing module "asf"
[00000401] main generic debug: thread ended
[00000401] main generic debug: thread 3002940304 joined (mmstu.c:228)
[00000399] access_mms access debug: Connection closed
[00000399] access_mms access error: failed to send command
[00000399] main access debug: removing module "access_mms"
[00000391] main input debug: thread ended
[00000391] main input debug: thread 3011333008 joined (playlist/engine.c:244)
[00000391] main input debug: TIMER input launching for 'mms://wm-high1.107mix.com/dk4_live_12/top40?.wma&MSWMExt=.asf' : 32921.165 ms - Total 32921.165 ms / 1 intvls (Avg 32921.163 ms)
[00000393] main stream out debug: destroying chain... (name=transcode)
[00000395] main stream out debug: destroying chain... (name=std)
[00000397] mux_ogg mux: Close
[00000397] mux_ogg mux debug: writing footer
[00000397] main mux debug: removing module "mux_ogg"
[00000396] access_output_shout access out debug: shout access output closed
[00000396] main access out debug: removing module "access_output_shout"
[00000395] main stream out debug: removing module "stream_out_standard"
[00000395] main stream out debug: destroying chain done
[00000393] main stream out debug: removing module "stream_out_transcode"
[00000393] main stream out debug: destroying chain done
[00000313] main playlist debug: saving Media Library to file /home/jgonzalez/.local/share/vlc/ml.xspf
[00000313] main playlist debug: looking for playlist export module: 1 candidate
[00000313] main playlist debug: using playlist export module "export"
[00000313] main playlist debug: TIMER module_Need() : 0.208 ms - Total 0.208 ms / 1 intvls (Avg 0.208 ms)
[00000313] main playlist debug: removing module "export"
[00000338] main preparser debug: thread ended
[00000338] main preparser debug: thread 3074374544 joined (playlist/engine.c:521)
[00000339] main fetcher debug: thread ended
[00000339] main fetcher debug: thread 3061689232 joined (playlist/engine.c:523)
[00000313] main playlist debug: thread ended
[00000313] main playlist debug: thread 3053296528 joined (libvlc.c:993)
[00000338] main preparser debug: Destroyed
[00000339] main fetcher debug: Destroyed
[00000313] main playlist debug: Destroyed
[00000001] main libvlc debug: removing interaction
[00000312] main interaction debug: thread ended
[00000312] main interaction debug: thread 3082812304 joined (interface/interaction.c:400)
[00000001] main libvlc debug: removing all video outputs
[00000001] main libvlc debug: TIMER ML Load : Total 2.545 ms / 1 intvls (Avg 2.545 ms)
[00000001] main libvlc debug: TIMER Items array build : Total 0.077 ms / 4 intvls (Avg 0.019 ms)
[00000001] main libvlc debug: TIMER ML Dump : Total 0.278 ms / 1 intvls (Avg 0.278 ms)
[00000001] main libvlc debug: removing stats
[00000001] main libvlc debug: removing module "memcpymmxext"
[00000001] main libvlc debug: writing plugins cache /home/jgonzalez/.cache/vlc/plugins-04041e.dat

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Transcode a live stream to AAC/Shoutcast

Postby Jean-Baptiste Kempf » 12 Jun 2009 10:33

I am not sure VLC can put mp4 in ogg.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 16 guests