Page 1 of 1

mp3 transcoder not working with latest VLC 2.1.0 git

Posted: 13 Dec 2012 12:20
by Mauro
I've just compiled VLC from git source code (on a Ubuntu machine with ffmpeg compiled from git as well),
It seems that the mp3 transcoder stopped working, that is the following plays nothing:

cvlc -v 'file:///media/Tera/Media/Audio/mp3/Bob Sinclar - Lala Song.mp3' \
--sout '#transcode{vcodec=none,acodec=mp3,ab=64,channels=2}:duplicate{dst=display}'

while the following plays fine (no transcoding):

cvlc -v 'file:///media/Tera/Media/Audio/mp3/Bob Sinclar - Lala Song.mp3'

and also the following works (vorbis transcoding):

cvlc -v 'file:///media/Tera/Media/Audio/mp3/Bob Sinclar - Lala Song.mp3' \
--sout '#transcode{vcodec=none,acodec=vorbis,ab=64,channels=2}:duplicate{dst=display}'

I append the logs, thanks for any help!

Code: Select all

cvlc -vvv 'file:///media/Tera/Media/Audio/mp3/Bob Sinclar - Lala Song.mp3' --sout '#transcode{vcodec=none,acodec=mp3,ab=64,channels=2}:duplicate{dst=display}' VLC media player 2.1.0-git Rincewind (revision d12e755) [0x1c35108] main libvlc debug: VLC media player - 2.1.0-git Rincewind [0x1c35108] main libvlc debug: Copyright © 1996-2012 the VideoLAN team [0x1c35108] main libvlc debug: revision d12e755 [0x1c35108] main libvlc debug: configured with ./configure '--prefix=/usr/local' '--enable-theora' '--enable-shout' '--enable-run-as-root' '--enable-realrtsp' '--enable-aa' '--enable-merge-ffmpeg' '--enable-vcdx' '--enable-ncurses' '--disable-speex' 'CFLAGS=-I/root/vlc_build/vlcdeps/usr/include' 'LDFLAGS=-L/root/vlc_build/vlcdeps/usr/lib' 'CPPFLAGS=-I/root/vlc_build/vlcdeps/usr/include ' 'CXXFLAGS=-I/root/vlc_build/vlcdeps/usr/include' 'PKG_CONFIG_PATH=/root/vlc_build/vlcdeps/usr/lib/pkgconfig' [0x1c35108] main libvlc debug: searching plug-in modules [0x1c35108] main libvlc debug: loading plugins cache file /usr/local/lib/vlc/plugins/plugins.dat [0x1c35108] main libvlc debug: recursively browsing `/usr/local/lib/vlc/plugins' [0x1c35108] main libvlc debug: saving plugins cache /usr/local/lib/vlc/plugins/plugins.dat [0x1c35108] main libvlc debug: plug-ins loaded: 416 modules [0x1c35108] main libvlc debug: opening config file (/root/.config/vlc/vlcrc) [0x1c35108] main libvlc debug: translation test: code is "C" [0x1c35108] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 FPU [0x1c61738] main input debug: Creating an input for 'Media Library' [0x1c61738] main input debug: Input is a meta file: disabling unneeded options [0x1c61738] main input debug: using timeshift granularity of 50 MiB, in path '/tmp' [0x1c61738] main input debug: `file/xspf-open:///root/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/root/.local/share/vlc/ml.xspf' [0x1c61738] main input debug: creating demux: access='file' demux='xspf-open' location='/root/.local/share/vlc/ml.xspf' file='/root/.local/share/vlc/ml.xspf' [0x1c51708] main demux debug: looking for access_demux module matching "file": 18 candidates [0x1c51708] main demux debug: no access_demux modules matched [0x1c61738] main input debug: creating access 'file' location='/root/.local/share/vlc/ml.xspf', path='/root/.local/share/vlc/ml.xspf' [0x1cfb5d8] main access debug: looking for access module matching "file": 24 candidates [0x1cfb5d8] filesystem access debug: opening file `/root/.local/share/vlc/ml.xspf' [0x1cfb5d8] main access debug: using access module "filesystem" [0x1cfd938] main stream debug: Using stream method for AStream* [0x1cfd938] main stream debug: starting pre-buffering [0x1cfd938] main stream debug: received first data after 0 ms [0x1cfd938] main stream debug: pre-buffering done 296 bytes in 0s - 12044 KiB/s [0x1cfdc98] main stream debug: looking for stream_filter module matching "any": 9 candidates [0x1cfdc98] main stream debug: no stream_filter modules matched [0x1cfdc98] main stream debug: looking for stream_filter module matching "stream_filter_record": 9 candidates [0x1cfdc98] main stream debug: no stream_filter modules matched [0x1c61738] main input debug: creating demux: access='file' demux='xspf-open' location='/root/.local/share/vlc/ml.xspf' file='/root/.local/share/vlc/ml.xspf' [0x1cfdc98] main demux debug: looking for demux module matching "xspf-open": 63 candidates [0x1cfdc98] playlist demux debug: using XSPF playlist reader [0x1cfdc98] main demux debug: using demux module "playlist" [0x1d06bd8] main demux meta debug: looking for meta reader module matching "any": 2 candidates [0x1d06bd8] lua demux meta debug: Trying Lua scripts in /root/.local/share/vlc/lua/meta/reader [0x1d06bd8] lua demux meta debug: Trying Lua scripts in /usr/local/lib/vlc/lua/meta/reader [0x1d06bd8] lua demux meta debug: Trying Lua playlist script /usr/local/lib/vlc/lua/meta/reader/filename.luac [0x1d06bd8] lua demux meta debug: Trying Lua scripts in /usr/local/share/vlc/lua/meta/reader [0x1d06bd8] main demux meta debug: no meta reader modules matched [0x1c61738] main input debug: `file/xspf-open:///root/.local/share/vlc/ml.xspf' successfully opened [0x1ee68f8] main xml reader debug: looking for xml reader module matching "any": 1 candidates [0x1ee68f8] main xml reader debug: using xml reader module "xml" [0x1cfdc98] playlist demux debug: parsed 0 tracks successfully [0x1c61738] main input debug: EOF reached [0x1cfdc98] main demux debug: removing module "playlist" [0x1cfb5d8] main access debug: removing module "filesystem" [0x1c49108] main playlist debug: creating audio output [0x1cfd938] main audio output debug: looking for audio output module matching "any": 6 candidates [0x1cfd938] pulse audio output debug: using library version 1.1.0 [0x1cfd938] pulse audio output debug: (compiled with version 1.1.0, protocol 26) [0x1cfd938] pulse audio output debug: connected locally to unix:/root/.pulse/1e5e4f59f40f3cd26dab72a300000011-runtime/native as client #137 [0x1cfd938] pulse audio output debug: using protocol 26, server protocol 26 [0x1cfd938] main audio output debug: using audio output module "pulse" [0x1cfd938] pulse audio output debug: listing sink alsa_output.pci-0000_03_00.1.hdmi-stereo (0): GF110 High Definition Audio Controller Digital Stereo (HDMI) [0x1cfd938] pulse audio output debug: listing sink alsa_output.pci-0000_00_1b.0.analog-stereo (1): Built-in Audio Analog Stereo [0x1c49108] main playlist debug: keeping audio output [0x1c49108] main playlist debug: adding item `Bob Sinclar - Lala Song.mp3' ( file:///media/Tera/Media/Audio/mp3/Bob Sinclar - Lala Song.mp3 ) [0x7f929c000978] main input debug: Creating an input for 'Bob Sinclar - Lala Song.mp3' [0x1ed8f38] main interface debug: looking for interface module matching "hotkeys,none": 18 candidates [0x1ed8f38] main interface debug: using interface module "hotkeys" [0x1d05f58] main interface debug: looking for interface module matching "globalhotkeys,none": 18 candidates [0x1d05f58] main interface debug: using interface module "globalhotkeys" [0x1d00278] main interface debug: looking for interface module matching "dbus,none": 18 candidates [0x1d00278] dbus interface debug: listening on dbus as: org.mpris.MediaPlayer2.vlc.instance11366 [0x1d00278] main interface debug: using interface module "dbus" [0x1eba048] main interface debug: looking for interface module matching "dummy": 18 candidates [0x1eba048] dummy interface: using the dummy interface module... [0x1eba048] main interface debug: using interface module "dummy" [0x1c49108] main playlist debug: processing request item: null, node: Playlist, skip: 0 [0x1c49108] main playlist debug: rebuilding array of current - root Playlist [0x1c49108] main playlist debug: rebuild done - 1 items, index -1 [0x1c49108] main playlist debug: starting playback of the new playlist item [0x1c49108] main playlist debug: resyncing on Bob Sinclar - Lala Song.mp3 [0x1c49108] main playlist debug: Bob Sinclar - Lala Song.mp3 is at 0 [0x1c49108] main playlist debug: creating new input thread [0x7f9294000ab8] main input debug: Creating an input for 'Bob Sinclar - Lala Song.mp3' [0x1c49108] main playlist debug: no fetch required for Lala Song (Radio Edit) (art currently (null)) [0x7f929c003f78] main stream output debug: using sout chain=`transcode{vcodec=none,acodec=mp3,ab=64,channels=2}:duplicate{dst=display}' [0x7f929c003f78] main stream output debug: stream=`duplicate' [0x7f929c004758] main stream out debug: looking for sout stream module matching "duplicate": 20 candidates [0x7f929c004758] stream_out_duplicate stream out debug: creating 'duplicate' [0x7f929c004758] stream_out_duplicate stream out debug: * adding `display' [0x7f929c003f78] main stream output debug: stream=`display' [0x7f929c002d18] main stream out debug: looking for sout stream module matching "display": 20 candidates [0x7f929c002d18] main stream out debug: using sout stream module "stream_out_display" [0x7f929c004758] main stream out debug: using sout stream module "stream_out_duplicate" [0x7f929c003f78] main stream output debug: stream=`transcode' [0x7f929c002b58] main stream out debug: looking for sout stream module matching "transcode": 20 candidates [0x7f929c002b58] main stream out debug: set config option: sout-transcode-vcodec to none [0x7f929c002b58] main stream out debug: set config option: sout-transcode-acodec to mp3 [0x7f929c002b58] main stream out debug: set config option: sout-transcode-ab to 64 [0x7f929c002b58] main stream out debug: set config option: sout-transcode-channels to 2 [0x7f929c002b58] stream_out_transcode stream out debug: codec audio=mp3 0Hz 2 channels 64Kb/s [0x7f929c002b58] stream_out_transcode stream out debug: codec video=none 0x0 scaling: 0.000000 0kb/s [0x7f929c002b58] main stream out debug: using sout stream module "stream_out_transcode" [0x7f9294000ab8] main input debug: using timeshift granularity of 50 MiB, in path '/tmp' [0x7f9294000ab8] main input debug: `file:///media/Tera/Media/Audio/mp3/Bob Sinclar - Lala Song.mp3' gives access `file' demux `' path `/media/Tera/Media/Audio/mp3/Bob Sinclar - Lala Song.mp3' [0x7f9294000ab8] main input debug: creating demux: access='file' demux='' location='/media/Tera/Media/Audio/mp3/Bob Sinclar - Lala Song.mp3' file='/media/Tera/Media/Audio/mp3/Bob Sinclar - Lala Song.mp3' [0x7f929c000f18] main demux debug: looking for access_demux module matching "file": 18 candidates [0x1d00278] dbus interface debug: Getting All properties [0x7f929c000f18] main demux debug: no access_demux modules matched [0x7f9294000ab8] main input debug: creating access 'file' location='/media/Tera/Media/Audio/mp3/Bob Sinclar - Lala Song.mp3', path='/media/Tera/Media/Audio/mp3/Bob Sinclar - Lala Song.mp3' [0x7f929c001188] main access debug: looking for access module matching "file": 24 candidates [0x7f929c001188] filesystem access debug: opening file `/media/Tera/Media/Audio/mp3/Bob Sinclar - Lala Song.mp3' [0x7f929c001188] main access debug: using access module "filesystem" [0x7f929cc054f8] main stream debug: Using stream method for AStream* [0x7f929cc054f8] main stream debug: starting pre-buffering [0x7f929cc054f8] main stream debug: received first data after 0 ms [0x7f929cc054f8] main stream debug: pre-buffering done 1024 bytes in 0s - 125000 KiB/s [0x7f929c001018] main stream debug: looking for stream_filter module matching "any": 9 candidates [0x7f929c001018] main stream debug: no stream_filter modules matched [0x7f929c001018] main stream debug: looking for stream_filter module matching "stream_filter_record": 9 candidates [0x7f929c001018] main stream debug: no stream_filter modules matched [0x7f9294000ab8] main input debug: creating demux: access='file' demux='' location='/media/Tera/Media/Audio/mp3/Bob Sinclar - Lala Song.mp3' file='/media/Tera/Media/Audio/mp3/Bob Sinclar - Lala Song.mp3' [0x7f929c001018] main demux debug: ID3v2.3 revision 0 tag found, skipping 2355 bytes [0x7f929c001018] main demux debug: looking for demux module matching "any": 63 candidates [0x7f929c001018] es demux debug: xing vbr value present (77) [0x7f929c001018] es demux debug: xing frames&bytes value present (4968869 bytes, 7587 frames, 1152 samples/frame) [0x7f929c001018] es demux debug: detected format mpga [0x7f929cc10c88] main demux packetizer debug: looking for packetizer module matching "any": 20 candidates [0x7f929cc10c88] main demux packetizer debug: using packetizer module "mpeg_audio" [0x7f929cc10c88] mpeg_audio demux packetizer debug: MPGA channels:2 samplerate:44100 bitrate:128 [0x7f9294000ab8] main input debug: selecting program id=0 [0x7f929c001018] main demux debug: using demux module "es" [0x7f9294000ab8] main input debug: looking for a subtitle file in /media/Tera/Media/Audio/mp3/ [0x7f929cc12698] main decoder debug: looking for packetizer module matching "any": 20 candidates [0x7f929cc12698] main decoder debug: using packetizer module "mpeg_audio" [0x7f9294000ab8] main input debug: starting in async mode [0x7f929cc04898] main demux meta debug: looking for meta reader module matching "any": 2 candidates [0x7f929cc04898] main demux meta debug: using meta reader module "taglib" [0x7f929c001018] main demux debug: removing module "taglib" [0x7f9294000ab8] main input debug: `file:///media/Tera/Media/Audio/mp3/Bob Sinclar - Lala Song.mp3' successfully opened [0x7f9294000ab8] main input debug: Buffering 0% [0x7f9294000ab8] main input debug: switching to sync mode [0x7f9294000ab8] main input debug: Buffering 8% [0x7f929cc12698] mpeg_audio decoder debug: MPGA channels:2 samplerate:44100 bitrate:128 [0x7f929c003f78] main stream output debug: adding a new sout input (sout_input:0x7f928c000be0) [0x7f9294000ab8] main input debug: Buffering 17% [0x7f929c002b58] stream_out_transcode stream out debug: creating audio transcoding from fcc=`mpga' to fcc=`mp3 ' [0x7f9294000ab8] main input debug: Buffering 26% [0x7f928c000ce8] main generic debug: looking for decoder module matching "any": 37 candidates [0x7f9294000ab8] main input debug: Buffering 34% [0x7f9294000ab8] main input debug: Buffering 43% [0x7f9294000ab8] main input debug: Buffering 52% [0x7f9294000ab8] main input debug: Buffering 60% [0x7f9294000ab8] main input debug: Buffering 69% [0x7f9294000ab8] main input debug: Buffering 78% [0x7f9294000ab8] main input debug: Buffering 87% [0x7f9294000ab8] main input debug: Buffering 95% [0x7f9294000ab8] main input debug: Stream buffering done (313 ms in 0 ms) [0x1d00278] dbus interface debug: Getting All properties [0x7f928c000ce8] main generic debug: using decoder module "mpeg_audio" [0x7f928c001138] main encoder debug: looking for encoder module matching "any": 14 candidates [0x1d00278] dbus interface debug: Getting property PlaybackStatus [0x1d00278] dbus interface debug: Getting property PlaybackStatus [libmp3lame @ 0x7f928c010720] Channel layout not specified [0x1d00278] dbus interface debug: Getting property Metadata [0x1d00278] dbus interface debug: Getting property Metadata [0x7f928c001138] avcodec encoder debug: found encoder MPEG I/II Layer 3 [0x7f928c001138] main encoder debug: using encoder module "avcodec" [0x7f929c002b58] stream_out_transcode stream out debug: Looking for filter (mpga->s16l, channels 2->2, rate 44100->44100) [0x7f928c074f58] main filter debug: looking for audio converter module matching "any": 12 candidates [0x1d00278] dbus interface debug: Getting All properties [0x7f928c074f58] main filter debug: no audio converter modules matched [0x7f929c002b58] main stream out error: Failed to create audio converter [0x7f928c074f58] main filter debug: looking for audio converter module matching "any": 12 candidates [0x7f928c074f58] mpgatofixed32 filter debug: mpga->fi32, bits per sample: 32 [0x7f928c074f58] main filter debug: using audio converter module "mpgatofixed32" [0x7f929c002b58] main stream out debug: Filter 'mpgatofixed32' (0x7f928c074f58) appended to chain [0x7f928c07f928] main filter debug: looking for audio converter module matching "any": 12 candidates [0x7f928c07f928] audio_format filter debug: fi32->f32l, bits per sample: 32->32 [0x7f928c07f928] main filter debug: using audio converter module "audio_format" [0x7f929c002b58] main stream out debug: Filter 'audio_format' (0x7f928c07f928) appended to chain [0x7f928c07fd38] main filter debug: looking for audio converter module matching "any": 12 candidates [0x7f928c07fd38] audio_format filter debug: f32l->s16l, bits per sample: 32->16 [0x7f928c07fd38] main filter debug: using audio converter module "audio_format" [0x7f929c002b58] main stream out debug: Filter 'audio_format' (0x7f928c07fd38) appended to chain [0x7f929c002b58] stream_out_transcode stream out debug: Got complete audio filter chain [0x7f929c004758] stream_out_duplicate stream out debug: duplicated a new stream codec=mpga (es=0 group=0) [0x7f928c0801b8] main decoder debug: looking for decoder module matching "any": 37 candidates [0x7f928c0801b8] main decoder debug: using decoder module "mpeg_audio" [0x7f929c004758] stream_out_duplicate stream out debug: - added for output 0 [0x7f9294000ab8] main input debug: Decoder buffering done in 12 ms [0x7f928c000ce8] mpeg_audio generic debug: MPGA channels:2 samplerate:44100 bitrate:128 [0x1d00278] dbus interface debug: Getting All properties [0x1d00278] dbus interface debug: Getting property PlaybackStatus [0x1d00278] dbus interface debug: Getting property PlaybackStatus [0x1d00278] dbus interface debug: Getting property Metadata [0x1d00278] dbus interface debug: Getting property Metadata [0x7f929cc10c88] mpeg_audio demux packetizer debug: emulated startcode (no startcode on following frame) [0x7f9294000ab8] main input debug: EOF reached [0x1c49108] main playlist debug: finished input [0x7f929cc12698] main decoder debug: removing module "mpeg_audio" [0x7f929cc12698] main decoder debug: killing decoder fourcc `mpga', 0 PES in FIFO [0x7f929c003f78] main stream output debug: removing a sout input (sout_input:0x7f928c000be0) [0x7f928c001138] avcodec encoder debug: Flushing.. [0x7f928c001138] avcodec encoder debug: Flushing.. [0x7f928c000ce8] main generic debug: removing module "mpeg_audio" [0x7f928c001138] main encoder debug: removing module "avcodec" [0x7f928c0801b8] mpeg_audio decoder debug: waiting for PTS [libmp3lame @ 0x7f928c010720] 7585 frames left in que on closing [0x7f929c002b58] main stream out debug: Filter 0x7f928c074f58 removed from chain [0x7f928c074f58] main filter debug: removing module "mpgatofixed32" [0x7f929c002b58] main stream out debug: Filter 0x7f928c07f928 removed from chain [0x7f928c07f928] main filter debug: removing module "audio_format" [0x7f929c002b58] main stream out debug: Filter 0x7f928c07fd38 removed from chain [0x7f928c07fd38] main filter debug: removing module "audio_format" [0x7f928c0801b8] main decoder debug: removing module "mpeg_audio" [0x7f928c0801b8] main decoder debug: killing decoder fourcc `mpga', 0 PES in FIFO [0x7f929c001018] main demux debug: removing module "es" [0x7f929cc10c88] main demux packetizer debug: removing module "mpeg_audio" [0x7f929c001188] main access debug: removing module "filesystem" [0x1d00278] dbus interface debug: Getting property PlaybackStatus [0x7f9294000ab8] main input debug: Program doesn't contain anymore ES [0x1c49108] main playlist debug: dead input [0x7f929c003f78] main stream output debug: destroying useless sout [0x7f929c002b58] main stream out debug: destroying chain... (name=transcode) [0x7f929c002b58] main stream out debug: removing module "stream_out_transcode" [0x7f929c002b58] main stream out debug: destroying chain done [0x7f929c004758] main stream out debug: destroying chain... (name=duplicate) [0x7f929c004758] main stream out debug: removing module "stream_out_duplicate" [0x7f929c004758] stream_out_duplicate stream out debug: closing a duplication [0x7f929c002d18] main stream out debug: destroying chain... (name=display) [0x7f929c002d18] main stream out debug: removing module "stream_out_display" [0x7f929c002d18] main stream out debug: destroying chain done [0x7f929c004758] main stream out debug: destroying chain done [0x1c49108] main playlist debug: changing item without a request (current 0/1) [0x1c49108] main playlist debug: nothing to play