Problem transcoding MP3 to Vorbis @ 16kb/s
Posted: 05 Jan 2011 15:51
Hello,
I am using VLC 1.1.5 on Mac OSX and cannot transcode MP3 (mono, 64kb/s, 32KHz) to Vorbis @ 16kb/s (other bitrates are fine).
Error Message:
Streaming / Transcoding failed
VLC could not open the encoder.
Any idea why it is failing ?
Here is the log:
main debug: processing request item Streaming/Transcoding Wizard (1/1) node Playlist skip 0
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 2 items, index 1
main debug: starting new item
main debug: creating new input thread
main debug: Creating an input for 'Streaming/Transcoding Wizard (1/1)'
main debug: thread (input) created at priority 22 (input/input.c:214)
main debug: thread started
main debug: using sout chain=`transcode{acodec=vorb,ab=16}:standard{mux=ogg,dst=mp3cp011.ogg,access=file}'
main debug: stream=`standard'
main debug: looking for sout stream module: 1 candidate
main debug: set config option: sout-standard-mux to ogg
main debug: set config option: sout-standard-dst to mp3cp011.ogg
main debug: set config option: sout-standard-access to file
stream_out_standard debug: creating `file/ogg://mp3cp011.ogg'
stream_out_standard debug: extension is ogg
stream_out_standard debug: extension -> mux=ogg
stream_out_standard debug: using `file/ogg://mp3cp011.ogg'
main debug: looking for sout access module: 1 candidate
access_output_file debug: file access output opened (mp3cp011.ogg)
main debug: using sout access module "access_output_file"
main debug: TIMER module_need() : 0.450 ms - Total 0.450 ms / 1 intvls (Avg 0.450 ms)
stream_out_standard debug: access opened
main debug: looking for sout mux module: 1 candidate
mux_ogg: Open
main debug: using sout mux module "mux_ogg"
main debug: TIMER module_need() : 0.254 ms - Total 0.254 ms / 1 intvls (Avg 0.254 ms)
main debug: muxer support adding stream at any time
main debug: muxer prefers to wait for all ES before starting to mux
stream_out_standard debug: mux opened
main debug: using sout stream module "stream_out_standard"
main debug: TIMER module_need() : 1.455 ms - Total 1.455 ms / 1 intvls (Avg 1.455 ms)
main debug: stream=`transcode'
main debug: looking for sout stream module: 1 candidate
main debug: set config option: sout-transcode-acodec to vorb
main debug: set config option: sout-transcode-ab to 16
stream_out_transcode debug: codec audio=vorb 0Hz 0 channels 16Kb/s
main debug: using sout stream module "stream_out_transcode"
main debug: TIMER module_need() : 3.260 ms - Total 3.260 ms / 1 intvls (Avg 3.260 ms)
main debug: using timeshift granularity of 50 MiB
main debug: using timeshift path '/tmp'
main debug: `file:///MP3CP011.MP3' gives access `file' demux `' path `/MP3CP011.MP3'
main debug: creating demux: access='file' demux='' path='/MP3CP011.MP3'
main debug: looking for access_demux module: 2 candidates
main debug: no access_demux module matching "file" could be loaded
main debug: TIMER module_need() : 0.276 ms - Total 0.276 ms / 1 intvls (Avg 0.276 ms)
main debug: creating access 'file' path='/MP3CP011.MP3'
main debug: looking for access module: 3 candidates
access_mmap debug: opening file /MP3CP011.MP3
main debug: using access module "access_mmap"
main debug: TIMER module_need() : 0.230 ms - Total 0.230 ms / 1 intvls (Avg 0.230 ms)
main debug: Using AStream*Block
main debug: pre buffering
main debug: received first data after 0 ms
main debug: prebuffering done 670175 bytes in 0s - 10728979 KiB/s
main debug: looking for stream_filter module: 5 candidates
main debug: no stream_filter module matching "any" could be loaded
main debug: TIMER module_need() : 0.135 ms - Total 0.135 ms / 1 intvls (Avg 0.135 ms)
main debug: looking for stream_filter module: 1 candidate
main debug: using stream_filter module "stream_filter_record"
main debug: TIMER module_need() : 0.121 ms - Total 0.121 ms / 1 intvls (Avg 0.121 ms)
main debug: creating demux: access='file' demux='' path='/MP3CP011.MP3'
main debug: looking for demux module: 51 candidates
es debug: detected format mpga
main debug: looking for packetizer module: 21 candidates
main debug: using packetizer module "mpeg_audio"
main debug: TIMER module_need() : 0.131 ms - Total 0.131 ms / 1 intvls (Avg 0.131 ms)
main debug: using demux module "es"
main debug: TIMER module_need() : 0.352 ms - Total 0.352 ms / 1 intvls (Avg 0.352 ms)
main debug: looking for a subtitle file in /Users/herveld/Desktop/SonoGuide/FCOPY/
main debug: starting in sync mode
main debug: looking for meta reader module: 2 candidates
lua debug: Trying Lua scripts in /Users/herveld/Library/Application Support/org.videolan.vlc/lua/meta/reader
lua debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/share/lua/meta/reader
lua debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/meta/reader/filename.lua
lua debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/share/share/lua/meta/reader
main debug: no meta reader module matching "any" could be loaded
main debug: TIMER module_need() : 1.025 ms - Total 1.025 ms / 1 intvls (Avg 1.025 ms)
main debug: `file:///MP3CP011.MP3' successfully opened
mpeg_audio debug: MPGA channels:1 samplerate:32000 bitrate:64
main debug: selecting program id=0
main debug: looking for packetizer module: 21 candidates
main debug: using packetizer module "mpeg_audio"
main debug: TIMER module_need() : 0.147 ms - Total 0.147 ms / 1 intvls (Avg 0.147 ms)
main debug: thread (decoder) created at priority 22 (input/decoder.c:301)
main debug: thread started
main debug: Buffering 0%
main debug: switching to async mode
main debug: Buffering 12%
main debug: Buffering 24%
mpeg_audio debug: MPGA channels:1 samplerate:32000 bitrate:64
main debug: Buffering 36%
main debug: adding a new sout input (sout_input:0x10519f590)
main debug: Buffering 48%
main debug: Buffering 60%
main debug: Buffering 72%
stream_out_transcode debug: creating audio transcoding from fcc=`mpga' to fcc=`vorb'
main debug: Buffering 84%
main debug: Buffering 96%
main debug: Stream buffering done (324 ms in 0 ms)
main debug: looking for decoder module: 31 candidates
main debug: using decoder module "mpeg_audio"
main debug: TIMER module_need() : 0.279 ms - Total 0.279 ms / 1 intvls (Avg 0.279 ms)
main debug: looking for encoder module: 11 candidates
vorbis error: CBR mode initialisation failed
macosx debug: input has changed, refreshing interface
main debug: TIMER input launching for 'MP3CP011.MP3' : 17.155 ms - Total 17.155 ms / 1 intvls (Avg 17.155 ms)
avcodec debug: libavcodec initialized (interface 0x345e03)
avcodec error: cannot open encoder
main debug: no encoder module matching "any" could be loaded
main debug: TIMER module_need() : 103.070 ms - Total 103.070 ms / 1 intvls (Avg 103.070 ms)
stream_out_transcode error: cannot find audio encoder (module:any fourcc:vorb)
main debug: removing module "mpeg_audio"
stream_out_transcode error: cannot create audio chain
main error: cannot create packetizer output (mpga)
main debug: Decoder buffering done in 103 ms
access_mmap debug: at end of memory mapped file
main debug: EOF reached
main debug: finished input
main debug: removing module "mpeg_audio"
main debug: killing decoder fourcc `mpga', 0 PES in FIFO
main debug: removing module "mpeg_audio"
main debug: removing module "es"
main debug: removing module "stream_filter_record"
main debug: removing module "access_mmap"
main debug: Program doesn't contain anymore ES
main debug: thread ended
main debug: dead input
main debug: destroying useless sout
main debug: destroying chain... (name=transcode)
main debug: removing module "stream_out_transcode"
main debug: destroying chain done
main debug: destroying chain... (name=standard)
mux_ogg: Close
main debug: removing module "mux_ogg"
access_output_file debug: file access output closed
main debug: removing module "access_output_file"
main debug: removing module "stream_out_standard"
main debug: destroying chain done
main debug: changing item without a request (current 1/2)
main debug: nothing to play
macosx debug: input has stopped, refreshing interface
I am using VLC 1.1.5 on Mac OSX and cannot transcode MP3 (mono, 64kb/s, 32KHz) to Vorbis @ 16kb/s (other bitrates are fine).
Error Message:
Streaming / Transcoding failed
VLC could not open the encoder.
Any idea why it is failing ?
Here is the log:
main debug: processing request item Streaming/Transcoding Wizard (1/1) node Playlist skip 0
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 2 items, index 1
main debug: starting new item
main debug: creating new input thread
main debug: Creating an input for 'Streaming/Transcoding Wizard (1/1)'
main debug: thread (input) created at priority 22 (input/input.c:214)
main debug: thread started
main debug: using sout chain=`transcode{acodec=vorb,ab=16}:standard{mux=ogg,dst=mp3cp011.ogg,access=file}'
main debug: stream=`standard'
main debug: looking for sout stream module: 1 candidate
main debug: set config option: sout-standard-mux to ogg
main debug: set config option: sout-standard-dst to mp3cp011.ogg
main debug: set config option: sout-standard-access to file
stream_out_standard debug: creating `file/ogg://mp3cp011.ogg'
stream_out_standard debug: extension is ogg
stream_out_standard debug: extension -> mux=ogg
stream_out_standard debug: using `file/ogg://mp3cp011.ogg'
main debug: looking for sout access module: 1 candidate
access_output_file debug: file access output opened (mp3cp011.ogg)
main debug: using sout access module "access_output_file"
main debug: TIMER module_need() : 0.450 ms - Total 0.450 ms / 1 intvls (Avg 0.450 ms)
stream_out_standard debug: access opened
main debug: looking for sout mux module: 1 candidate
mux_ogg: Open
main debug: using sout mux module "mux_ogg"
main debug: TIMER module_need() : 0.254 ms - Total 0.254 ms / 1 intvls (Avg 0.254 ms)
main debug: muxer support adding stream at any time
main debug: muxer prefers to wait for all ES before starting to mux
stream_out_standard debug: mux opened
main debug: using sout stream module "stream_out_standard"
main debug: TIMER module_need() : 1.455 ms - Total 1.455 ms / 1 intvls (Avg 1.455 ms)
main debug: stream=`transcode'
main debug: looking for sout stream module: 1 candidate
main debug: set config option: sout-transcode-acodec to vorb
main debug: set config option: sout-transcode-ab to 16
stream_out_transcode debug: codec audio=vorb 0Hz 0 channels 16Kb/s
main debug: using sout stream module "stream_out_transcode"
main debug: TIMER module_need() : 3.260 ms - Total 3.260 ms / 1 intvls (Avg 3.260 ms)
main debug: using timeshift granularity of 50 MiB
main debug: using timeshift path '/tmp'
main debug: `file:///MP3CP011.MP3' gives access `file' demux `' path `/MP3CP011.MP3'
main debug: creating demux: access='file' demux='' path='/MP3CP011.MP3'
main debug: looking for access_demux module: 2 candidates
main debug: no access_demux module matching "file" could be loaded
main debug: TIMER module_need() : 0.276 ms - Total 0.276 ms / 1 intvls (Avg 0.276 ms)
main debug: creating access 'file' path='/MP3CP011.MP3'
main debug: looking for access module: 3 candidates
access_mmap debug: opening file /MP3CP011.MP3
main debug: using access module "access_mmap"
main debug: TIMER module_need() : 0.230 ms - Total 0.230 ms / 1 intvls (Avg 0.230 ms)
main debug: Using AStream*Block
main debug: pre buffering
main debug: received first data after 0 ms
main debug: prebuffering done 670175 bytes in 0s - 10728979 KiB/s
main debug: looking for stream_filter module: 5 candidates
main debug: no stream_filter module matching "any" could be loaded
main debug: TIMER module_need() : 0.135 ms - Total 0.135 ms / 1 intvls (Avg 0.135 ms)
main debug: looking for stream_filter module: 1 candidate
main debug: using stream_filter module "stream_filter_record"
main debug: TIMER module_need() : 0.121 ms - Total 0.121 ms / 1 intvls (Avg 0.121 ms)
main debug: creating demux: access='file' demux='' path='/MP3CP011.MP3'
main debug: looking for demux module: 51 candidates
es debug: detected format mpga
main debug: looking for packetizer module: 21 candidates
main debug: using packetizer module "mpeg_audio"
main debug: TIMER module_need() : 0.131 ms - Total 0.131 ms / 1 intvls (Avg 0.131 ms)
main debug: using demux module "es"
main debug: TIMER module_need() : 0.352 ms - Total 0.352 ms / 1 intvls (Avg 0.352 ms)
main debug: looking for a subtitle file in /Users/herveld/Desktop/SonoGuide/FCOPY/
main debug: starting in sync mode
main debug: looking for meta reader module: 2 candidates
lua debug: Trying Lua scripts in /Users/herveld/Library/Application Support/org.videolan.vlc/lua/meta/reader
lua debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/share/lua/meta/reader
lua debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/meta/reader/filename.lua
lua debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/share/share/lua/meta/reader
main debug: no meta reader module matching "any" could be loaded
main debug: TIMER module_need() : 1.025 ms - Total 1.025 ms / 1 intvls (Avg 1.025 ms)
main debug: `file:///MP3CP011.MP3' successfully opened
mpeg_audio debug: MPGA channels:1 samplerate:32000 bitrate:64
main debug: selecting program id=0
main debug: looking for packetizer module: 21 candidates
main debug: using packetizer module "mpeg_audio"
main debug: TIMER module_need() : 0.147 ms - Total 0.147 ms / 1 intvls (Avg 0.147 ms)
main debug: thread (decoder) created at priority 22 (input/decoder.c:301)
main debug: thread started
main debug: Buffering 0%
main debug: switching to async mode
main debug: Buffering 12%
main debug: Buffering 24%
mpeg_audio debug: MPGA channels:1 samplerate:32000 bitrate:64
main debug: Buffering 36%
main debug: adding a new sout input (sout_input:0x10519f590)
main debug: Buffering 48%
main debug: Buffering 60%
main debug: Buffering 72%
stream_out_transcode debug: creating audio transcoding from fcc=`mpga' to fcc=`vorb'
main debug: Buffering 84%
main debug: Buffering 96%
main debug: Stream buffering done (324 ms in 0 ms)
main debug: looking for decoder module: 31 candidates
main debug: using decoder module "mpeg_audio"
main debug: TIMER module_need() : 0.279 ms - Total 0.279 ms / 1 intvls (Avg 0.279 ms)
main debug: looking for encoder module: 11 candidates
vorbis error: CBR mode initialisation failed
macosx debug: input has changed, refreshing interface
main debug: TIMER input launching for 'MP3CP011.MP3' : 17.155 ms - Total 17.155 ms / 1 intvls (Avg 17.155 ms)
avcodec debug: libavcodec initialized (interface 0x345e03)
avcodec error: cannot open encoder
main debug: no encoder module matching "any" could be loaded
main debug: TIMER module_need() : 103.070 ms - Total 103.070 ms / 1 intvls (Avg 103.070 ms)
stream_out_transcode error: cannot find audio encoder (module:any fourcc:vorb)
main debug: removing module "mpeg_audio"
stream_out_transcode error: cannot create audio chain
main error: cannot create packetizer output (mpga)
main debug: Decoder buffering done in 103 ms
access_mmap debug: at end of memory mapped file
main debug: EOF reached
main debug: finished input
main debug: removing module "mpeg_audio"
main debug: killing decoder fourcc `mpga', 0 PES in FIFO
main debug: removing module "mpeg_audio"
main debug: removing module "es"
main debug: removing module "stream_filter_record"
main debug: removing module "access_mmap"
main debug: Program doesn't contain anymore ES
main debug: thread ended
main debug: dead input
main debug: destroying useless sout
main debug: destroying chain... (name=transcode)
main debug: removing module "stream_out_transcode"
main debug: destroying chain done
main debug: destroying chain... (name=standard)
mux_ogg: Close
main debug: removing module "mux_ogg"
access_output_file debug: file access output closed
main debug: removing module "access_output_file"
main debug: removing module "stream_out_standard"
main debug: destroying chain done
main debug: changing item without a request (current 1/2)
main debug: nothing to play
macosx debug: input has stopped, refreshing interface