VLC 2.0.4, Windows, Transcoding to MPEG2 broken?

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
bzbit
Blank Cone
Blank Cone
Posts: 21
Joined: 23 Feb 2012 01:07
VLC version: 2.0.3
Operating System: Windows

VLC 2.0.4, Windows, Transcoding to MPEG2 broken?

Postby bzbit » 21 Oct 2012 21:34

I seem to be unable to transcode any media into MPEG2 using VLC 2.0.4. This command line worked on previous versions of VLC.
Now I get the error:

[mpeg2video @ 0177ab80] a vbv buffer size is needed, for encoding with a maximum bitrate
[034578f0] avcodec encoder error: cannot open encoder

[034578f0] main encoder error: Streaming / Transcoding failed
[034578f0] main encoder error: VLC could not open the encoder.
[0171e3c8] stream_out_transcode stream out error: cannot find video encoder (module:ffmpeg fourcc:mp2v). Take a look few lines earlier to see possible reason.
[0171e3c8] stream_out_transcode stream out error: cannot create video chain
[01785380] main decoder error: cannot create packetizer output (mp4v)

Using the command line:

"C:\Program Files\VideoLAN\VLC\vlc.exe" -I dummy --dummy-quiet --ffmpeg-hurry-up --no-loop --no-repeat --ffmpeg-skiploopfilter 4 --audio-language=any --start-time 0 --sout "#transcode{venc=ffmpeg,vcodec=mp2v,vb=7000,acodec=a52,ab=384,samplerate=48000,deinterlace}:std{access=file,mux=ts,dst="test.mpg"}" --sout-transcode-width 480 --sout-transcode-height 320 --sout-ffmpeg-keyint=3 "C:\Media\sample.avi" "vlc://quit"

I have tried adding in an option for vbv-bufsize like this 'venc=ffmpeg{vbv-bufsize=1600}' but that does not help. It also doesn't seem to matter if I use the ps muxer, change the audio or use a different kind of input file.

Any ideas what might be the problem?

Julia
New Cone
New Cone
Posts: 1
Joined: 21 Oct 2012 23:33

Re: VLC 2.0.4, Windows, Transcoding to MPEG2 broken?

Postby Julia » 21 Oct 2012 23:37

I am having the same issue, running VLC 2.0.4 on a MAC.

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: VLC 2.0.4, Windows, Transcoding to MPEG2 broken?

Postby Jean-Baptiste Kempf » 22 Oct 2012 12:35

Please run -vvv
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.

bzbit
Blank Cone
Blank Cone
Posts: 21
Joined: 23 Feb 2012 01:07
VLC version: 2.0.3
Operating System: Windows

Re: VLC 2.0.4, Windows, Transcoding to MPEG2 broken?

Postby bzbit » 23 Oct 2012 02:27

Thanks for the reply, Jean-Baptiste

as requested, here is the output from -vvv, I hope this helps :D !

[01661568] main libvlc debug: VLC media player - 2.0.4 Twoflower
[01661568] main libvlc debug: Copyright ? 1996-2012 VLC authors and VideoLAN
[01661568] main libvlc debug: revision 2.0.4-0-g811b771
[01661568] main libvlc debug: configured with ../extras/package/win32/../../../configure '--enable-update-check' '--enable-lua' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-twolame' '--enable-quicktime' '--enable-avcodec' '--enable-merge-ffmpeg' '--enable-dca' '--enable-mpc' '--enable-libass' '--enable-x264' '--enable-schroedinger' '--enable-realrtsp' '--enable-live555' '--enable-dvdread' '--enable-shout' '--enable-goom' '--enable-caca' '--disable-portaudio' '--disable-sdl' '--enable-qt4' '--enable-skins2' '--enable-sse' '--enable-mmx' '--enable-libcddb' '--enable-zvbi' '--disable-telx' '--enable-sqlite' '--disable-dirac' '--host=i586-mingw32msvc' 'host_alias=i586-mingw32msvc'

[01661568] main libvlc debug: searching plug-in modules
[01661568] main libvlc debug: loading plugins cache file C:\Program Files\VideoLAN\VLC\plugins\plugins.dat
[01661568] main libvlc debug: recursively browsing `C:\Program Files\VideoLAN\VLC\plugins'
[01661568] main libvlc debug: saving plugins cache C:\Program Files\VideoLAN\VLC\plugins\plugins.dat
[01661568] main libvlc debug: plug-ins loaded: 389 modules
[01661568] main libvlc debug: opening config file (C:\Users\Adam\AppData\Roaming\vlc\vlcrc)
[01661568] main libvlc debug: translation test: code is "C"

[01661568] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 FPU
[01661568] main libvlc debug: looking for memcpy module: 4 candidates
[01661568] main libvlc debug: using memcpy module "memcpymmxext"
[00798480] main input debug: Creating an input for 'Media Library'
[00798480] main input debug: selected audio language[0] any
[00798480] main input debug: selected audio language[1] any
[00798480] main input debug: Input is a meta file: disabling unneeded options
[00798480] main input debug: using timeshift granularity of 50 MiB, in path 'C:\Users\Adam\AppData\Local\Temp'

[00798480] main input debug: `file/xspf-open:///C:/Users/Adam/AppData/Roaming/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/C:/Users/Adam/AppData/Roaming/vlc/ml.xspf'
[00798480] main input debug: creating demux: access='file' demux='xspf-open' location='/C:/Users/Adam/AppData/Roaming/vlc/ml.xspf' file='C:\Users\Adam\AppData\Roaming\vlc\ml.xspf'
[0167f770] main demux debug: looking for access_demux module: 3 candidates
[0167f770] main demux debug: no access_demux module matching "file" could be loaded
[0167f770] main demux debug: TIMER module_need() : 254.646 ms - Total 254.646 ms / 1 intvls (Avg 254.646 ms)
[00798480] main input debug: creating access 'file' location='/C:/Users/Adam/AppData/Roaming/vlc/ml.xspf', path='C:\Users\Adam\AppData\Roaming\vlc\ml.xspf'
[0167f770] main access debug: looking for access module: 3 candidates
[0167f770] filesystem access debug: opening file `C:\Users\Adam\AppData\Roaming\vlc\ml.xspf'
[0167f770] main access debug: using access module "filesystem"
[0167f770] main access debug: TIMER module_need() : 5.617 ms - Total 5.617 ms / 1 intvls (Avg 5.617 ms)

[0167fa20] main stream debug: Using stream method for AStream*
[0167fa20] main stream debug: starting pre-buffering
[0167fa20] main stream debug: received first data after 0 ms
[0167fa20] main stream debug: pre-buffering done 304 bytes in 0s - 1434 KiB/s
[016fc480] main stream debug: looking for stream_filter module: 4 candidates
[016fc480] main stream debug: no stream_filter module matching "any" could be loaded
[016fc480] main stream debug: TIMER module_need() : 10.426 ms - Total 10.426 ms / 1 intvls (Avg 10.426 ms)

[016fc480] main stream debug: looking for stream_filter module: 1 candidate
[016fc480] main stream debug: using stream_filter module "stream_filter_record"
[016fc480] main stream debug: TIMER module_need() : 0.761 ms - Total 0.761 ms / 1 intvls (Avg 0.761 ms)
[00798480] main input debug: creating demux: access='file' demux='xspf-open' location='/C:/Users/Adam/AppData/Roaming/vlc/ml.xspf' file='C:\Users\Adam\AppData\Roaming\vlc\ml.xspf'
[016e6580] main demux debug: looking for demux module: 1 candidate
[016e6580] playlist demux debug: using XSPF playlist reader
[016e6580] main demux debug: using demux module "playlist"
[016e6580] main demux debug: TIMER module_need() : 250.702 ms - Total 250.702 ms / 1 intvls (Avg 250.702 ms)
[01709650] main demux meta debug: looking for meta reader module: 2 candidates
[01709650] lua demux meta debug: Trying Lua scripts in C:\Users\Adam\AppData\Roaming\vlc\lua\meta\reader
[01709650] lua demux meta debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\reader
[01709650] lua demux meta debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\reader\filename.luac

[01709650] main demux meta debug: no meta reader module matching "any" could be loaded
[01709650] main demux meta debug: TIMER module_need() : 256.457 ms - Total 256.457 ms / 1 intvls (Avg 256.457 ms)
[00798480] main input debug: `file/xspf-open:///C:/Users/Adam/AppData/Roaming/vlc/ml.xspf' successfully opened
[016fc6d8] main xml reader debug: looking for xml reader module: 1 candidate
[016fc6d8] main xml reader debug: using xml reader module "xml"
[016fc6d8] main xml reader debug: TIMER module_need() : 2.967 ms - Total 2.967 ms / 1 intvls (Avg 2.967 ms)

[016e6580] playlist demux debug: parsed 0 tracks successfully
[00798480] main input debug: EOF reached
[016e6580] main demux debug: removing module "playlist"
[016fc480] main stream debug: removing module "stream_filter_record"
[0167f770] main access debug: removing module "filesystem"
[00798480] main input debug: TIMER input launching for 'Media Library' : 1529.316 ms - Total 1529.316 ms / 1 intvls (Avg 1529.316 ms)
[016fc818] main interface debug: looking for interface module: 1 candidate
[016fc818] main interface debug: using interface module "hotkeys"
[016fc818] main interface debug: TIMER module_need() : 250.146 ms - Total 250.146 ms / 1 intvls (Avg 250.146 ms)
[016f15f8] main playlist debug: playlist threads correctly activated
[016f15f8] main playlist debug: adding item `quit' ( vlc://quit )
[016f15f8] main playlist debug: adding item `sample.avi' ( file:///C:/Media/sample.avi )
[016fc778] main interface debug: looking for interface module: 1 candidate
[00798480] main input debug: Creating an input for 'quit'
[016f15f8] main playlist debug: meta ok for (null), need to fetch art

[00798e10] main input debug: Creating an input for 'sample.avi'
[016f15f8] main playlist debug: rebuilding array of current - root Playlist
[016f15f8] main playlist debug: rebuild done - 2 items, index -1
[016fc778] main interface debug: using interface module "globalhotkeys"
[016fc778] main interface debug: TIMER module_need() : 263.779 ms - Total 263.779 ms / 1 intvls (Avg 263.779 ms)
[016fc6d8] main interface debug: looking for interface module: 1 candidate
[016fc6d8] dummy interface: VLC media player - 2.0.4 Twoflower
[016f15f8] [016fc6d8] main playlist debug: dummy interface: meta ok for (null), need to fetch art
Copyright ? 1996-2012 VLC authors and VideoLAN
[016fc6d8] dummy interface:
Warning: if you cannot access the GUI anymore, open a command-line window, go to the directory where you installed VLC and run "vlc -I qt"

[0173c080] [016fc6d8] main demux meta debug: dummy interface: looking for meta fetcher module: 1 candidate
using the dummy interface module...
[016fc6d8] main interface debug: using interface module "dummy"
[016fc6d8] main interface debug: TIMER module_need() : 507.665 ms - Total 507.665 ms / 1 intvls (Avg 507.665 ms)
[0173c080] lua demux meta debug: Trying Lua scripts in C:\Users\Adam\AppData\Roaming\vlc\lua\meta\fetcher
[0173c080] lua demux meta debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\fetcher
[0173c080] lua demux meta debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac
[0173c080] [016f15f8] main playlist debug: processing request item: null, node: Playlist, skip: 0
[016f15f8] main playlist debug: starting playback of the new playlist item
[016f15f8] main playlist debug: resyncing on sample.avi
[016f15f8] main playlist debug: sample.avi is at 0
[016f15f8] main playlist debug: creating new input thread
[00798e10] main demux meta debug: main input debug: Creating an input for 'sample.avi'
using meta fetcher module "lua"
[0173c080] main demux meta debug: TIMER module_need() : 502.690 ms - Total 502.690 ms / 1 intvls (Avg 502.690 ms)
[0173c080] main demux meta debug: removing module "lua"
[016f15f8] main playlist debug: searching art for quit
[01735fc8] main art finder debug: looking for art finder module: 2 candidates
[00798e10] main input debug: selected audio language[0] any
[00798e10] main input debug: selected audio language[1] any
[0167f770] main stream output debug: using sout chain=`transcode{venc=ffmpeg,vcodec=mp2v,vb=7000,acodec=a52,ab=384,samplerate=48000,deinterlace}:std{access=file,mux=ts,dst=deleteme21.tmp}'
[0167f770] main stream output debug: stream=`std'
[01735fc8] lua art finder debug: [016edf70] Trying Lua scripts in C:\Users\Adam\AppData\Roaming\vlc\lua\meta\art
main stream out debug: looking for sout stream module: 1 candidate
[01735fc8] lua art finder debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\art

[01735fc8] lua art finder debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
[01735fc8] lua art finder debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac
[01735fc8] lua art finder debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac
[016edf70] main stream out debug: set config option: sout-standard-access to file
[016edf70] main stream out debug: set config option: sout-standard-mux to ts

[01735fc8] [016edf70] lua art finder debug: main stream out debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac
set config option: sout-standard-dst to deleteme21.tmp
[0173dfe8] main access out debug: looking for sout access module: 1 candidate
[01735fc8] main art finder debug: no art finder module matching "any" could be loaded
[01735fc8] main art finder debug: TIMER module_need() : 511.269 ms - Total 511.269 ms / 1 intvls (Avg 511.269 ms)
[016f15f8] main playlist debug: art not found for quit

[01709650] main demux meta debug: looking for meta fetcher module: 1 candidate
[01709650] lua demux meta debug: Trying Lua scripts in C:\Users\Adam\AppData\Roaming\vlc\lua\meta\fetcher
[01709650] lua demux meta debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\fetcher
[01709650] lua demux meta debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac
[0173dfe8] access_output_file access out debug: file access output opened (deleteme21.tmp)
[0173dfe8] main access out debug: using sout access module "access_output_file"

[0173dfe8] main access out debug: TIMER module_need() : 264.658 ms - Total 264.658 ms / 1 intvls (Avg 264.658 ms)
[01709650] main demux meta debug: using meta fetcher module "lua"
[01709650] main demux meta debug: TIMER module_need() : 8.509 ms - Total 8.509 ms / 1 intvls (Avg 8.509 ms)
[01709650] [01713710] main demux meta debug: main mux debug: removing module "lua"
looking for sout mux module: 1 candidate
[016f15f8] main playlist debug: searching art for sample.avi
[01736270] main art finder debug: looking for art finder module: 2 candidates
[01736270] lua art finder debug: Trying Lua scripts in C:\Users\Adam\AppData\Roaming\vlc\lua\meta\art
[01736270] lua art finder debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\art
[01736270] lua art finder debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
[01736270] lua art finder debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac
[01736270] lua art finder debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac
[01736270] lua art finder debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac
[01736270] main art finder debug: no art finder module matching "any" could be loaded
[01736270] main art finder debug: TIMER module_need() : 14.448 ms - Total 14.448 ms / 1 intvls (Avg 14.448 ms)
[016f15f8] main playlist debug: art not found for sample.avi

[01713710] mux_ts mux debug: shaping=200000 pcr=70000 dts_delay=400000
[01713710] main mux debug: using sout mux module "mux_ts"
[01713710] main mux debug: TIMER module_need() : 27.643 ms - Total 27.643 ms / 1 intvls (Avg 27.643 ms)
[0167f770] main stream output debug: muxer support adding stream at any time
[0167f770] main stream output debug: muxer prefers to wait for all ES before starting to mux
[016edf70] stream_out_standard stream out debug: using `file/ts://deleteme21.tmp'
[016edf70] main stream out debug: using sout stream module "stream_out_standard"

[016edf70] main stream out debug: TIMER module_need() : 801.573 ms - Total 801.573 ms / 1 intvls (Avg 801.573 ms)
[0167f770] main stream output debug: stream=`transcode'
[016ee0c0] main stream out debug: looking for sout stream module: 1 candidate

[016ee0c0] main stream out debug: set config option: sout-transcode-venc to ffmpeg
[016ee0c0] main stream out debug: set config option: sout-transcode-vcodec to mp2v
[016ee0c0] main stream out debug: set config option: sout-transcode-vb to 7000
[016ee0c0] main stream out debug: set config option: sout-transcode-acodec to a52
[016ee0c0] main stream out debug: set config option: sout-transcode-ab to 384
[016ee0c0] main stream out debug: set config option: sout-transcode-samplerate to 48000
[016ee0c0] main stream out debug: set config option: sout-transcode-deinterlace to (null)

[016ee0c0] stream_out_transcode stream out debug: codec audio=a52 48000Hz 0 channels 384Kb/s
[016ee0c0] stream_out_transcode stream out debug: codec video=mp2v 480x320 scaling: 0.000000 7000kb/s
[016ee0c0] main stream out debug: using sout stream module "stream_out_transcode"
[016ee0c0] main stream out debug: TIMER module_need() : 4.552 ms - Total 4.552 ms / 1 intvls (Avg 4.552 ms)
[00798e10] main input debug: using timeshift granularity of 50 MiB, in path 'C:\Users\Adam\AppData\Local\Temp'
[00798e10] main input debug: `file:///C:/Media/sample.avi' gives access `file' demux `' path `/C:/Media/sample.avi'

[00798e10] main input debug: creating demux: access='file' demux='' location='/C:/Media/sample.avi' file='C:\Media\sample.avi'
[0173e0a0] main demux debug: looking for access_demux module: 3 candidates
[0173e0a0] main demux debug: no access_demux module matching "file" could be loaded
[0173e0a0] main demux debug: TIMER module_need() : 0.399 ms - Total 0.399 ms / 1 intvls (Avg 0.399 ms)
[00798e10] main input debug: creating access 'file' location='/C:/Media/sample.avi', path='C:\Media\sample.avi'
[01741fe8] main access debug: looking for access module: 3 candidates

[01741fe8] filesystem access debug: opening file `C:\Media\sample.avi'
[01741fe8] main access debug: using access module "filesystem"
[01741fe8] main access debug: TIMER module_need() : 0.585 ms - Total 0.585 ms / 1 intvls (Avg 0.585 ms)
[0167fa20] main stream debug: Using stream method for AStream*
[0167fa20] main stream debug: starting pre-buffering
[0167fa20] main stream debug: received first data after 0 ms
[0167fa20] main stream debug: pre-buffering done 1024 bytes in 0s - 14084 KiB/s
[0325ae70] main stream debug: looking for stream_filter module: 4 candidates

[0325ae70] main stream debug: no stream_filter module matching "any" could be loaded
[0325ae70] main stream debug: TIMER module_need() : 0.651 ms - Total 0.651 ms / 1 intvls (Avg 0.651 ms)
[0325ae70] main stream debug: looking for stream_filter module: 1 candidate
[0325ae70] main stream debug: using stream_filter module "stream_filter_record"
[0325ae70] main stream debug: TIMER module_need() : 0.145 ms - Total 0.145 ms / 1 intvls (Avg 0.145 ms)
[00798e10] main input debug: creating demux: access='file' demux='' location='/C:/Media/sample.avi' file='C:\Media\sample.avi'
[0173e0a0] main demux debug: looking for demux module: 55 candidates
[0325ae70] avi stream debug: <list 'AVI '>
[0325ae70] avi stream debug: <list 'hdrl'>
[0325ae70] avi stream debug: <list 'strl'>
[0325ae70] avi stream debug: </list 'strl'>
[0325ae70] avi stream debug: <list 'strl'>
[0325ae70] avi stream debug: </list 'strl'>
[0325ae70] avi stream debug: <list 'odml'>
[0325ae70] avi stream warning: unknown chunk (not loaded)
[0325ae70] avi stream debug: </list 'odml'>
[0325ae70] avi stream debug: </list 'hdrl'>
[0325ae70] avi stream debug: <list 'INFO'>
[0325ae70] avi stream debug: </list 'INFO'>
[0325ae70] avi stream debug: skipping movi chunk
[0325ae70] avi stream debug: </list 'AVI '>
[0325ae70] avi stream debug: * LIST-root size:9771008 pos:0
[0325ae70] avi stream debug: + RIFF-AVI size:9770322 pos:0
[0325ae70] avi stream debug: | + LIST-hdrl size:8818 pos:12
[0325ae70] avi stream debug: | | + avih size:56 pos:24
[0325ae70] avi stream debug: | | + LIST-strl size:4244 pos:88
[0325ae70] avi stream debug: | | | + strh size:56 pos:100
[0325ae70] avi stream debug: | | | + strf size:40 pos:164
[0325ae70] avi stream debug: | | | + JUNK size:4120 pos:212
[0325ae70] avi stream debug: | | + LIST-strl size:4222 pos:4340
[0325ae70] avi stream debug: | | | + strh size:56 pos:4352
[0325ae70] avi stream debug: | | | + strf size:18 pos:4416
[0325ae70] avi stream debug: | | | + JUNK size:4120 pos:4442
[0325ae70] avi stream debug: | | + LIST-odml size:260 pos:8570
[0325ae70] avi stream debug: | | | + dmlh size:248 pos:8582
[0325ae70] avi stream debug: | + LIST-INFO size:28 pos:8838
[0325ae70] avi stream debug: | | + ISFT size:15 pos:8850
[0325ae70] avi stream debug: | + JUNK size:1358 pos:8874
[0325ae70] avi stream debug: | + LIST-movi size:9721834 pos:10240
[0325ae70] avi stream debug: | + idx1 size:38240 pos:9732082
[0325ae70] avi stream debug: + JUNK size:670 pos:9770330
[0173e0a0] avi demux debug: AVIH: 2 stream, flags HAS_INDEX IS_INTERLEAVED
[0173e0a0] avi demux debug: stream[0] rate:2500000 scale:104271 samplesize:0
[0173e0a0] avi demux debug: stream[0] video(XVID) 720x400 12bpp 23.975986fps
[00798e10] main input debug: selecting program id=0
[0173e0a0] avi demux debug: stream[1] rate:48000 scale:1 samplesize:1
[0173e0a0] avi demux debug: stream[1] audio(0x2000 - A52 Audio (aka AC3)) 5 channels 48000Hz 0bits
[0173e0a0] avi demux debug: selected standard index for stream[0]
[0173e0a0] avi demux debug: selected standard index for stream[1]
[0173e0a0] avi demux debug: stream[0] created 1200 index entries
[0173e0a0] avi demux debug: stream[1] created 1190 index entries
[0173e0a0] avi demux debug: stream[0] length:50 (based on index)
[0173e0a0] avi demux debug: stream[1] length:50 (based on index)
[0173e0a0] main demux debug: using demux module "avi"
[0173e0a0] main demux debug: TIMER module_need() : 2.872 ms - Total 2.872 ms / 1 intvls (Avg 2.872 ms)
[00798e10] main input debug: looking for a subtitle file in C:\Media\
[016f4d40] main decoder debug: looking for packetizer module: 21 candidates

[016f4d40] main decoder debug: using packetizer module "packetizer_mpeg4video"
[016f4d40] main decoder debug: TIMER module_need() : 6.680 ms - Total 6.680 ms / 1 intvls (Avg 6.680 ms)

[016f6e70] main decoder debug: looking for packetizer module: 21 candidates
[016f6e70] main decoder debug: using packetizer module "a52"
[016f6e70] main decoder debug: TIMER module_need() : 2.723 ms - Total 2.723 ms / 1 intvls (Avg 2.723 ms)

[00798e10] main input debug: starting in sync mode
[01709650] main demux meta debug: looking for meta reader module: 2 candidates
[01709650] lua demux meta debug: Trying Lua scripts in C:\Users\Adam\AppData\Roaming\vlc\lua\meta\reader
[01709650] lua demux meta debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\reader
[01709650] lua demux meta debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\reader\filename.luac
[01709650] main demux meta debug: no meta reader module matching "any" could be loaded

[01709650] main demux meta debug: TIMER module_need() : 1.643 ms - Total 1.643 ms / 1 intvls (Avg 1.643 ms)
[00798e10] main input debug: `file:///C:/Media/sample.avi' successfully opened
[00798e10] main input debug: Buffering 0%
[00798e10] main input debug: switching to async mode
[00798e10] main input debug: Buffering 8%
[00798e10] main input debug: Buffering 16%
[00798e10] main input debug: Buffering 25%
[00798e10] main input debug: Buffering 33%
[00798e10] main input debug: Buffering 41%
[00798e10] main input debug: Buffering 50%

[00798e10] main input debug: Buffering 58%
[00798e10] main input debug: Buffering 66%
[00798e10] main input debug: Buffering 75%
[00798e10] main input debug: Buffering 83%
[00798e10] main input debug: Buffering 91%
[00798e10] main input debug: Buffering 100%
[00798e10] main input debug: Stream buffering done (325 ms in 2 ms)
[016f6e70] a52 decoder debug: A/52 channels:6 samplerate:48000 bitrate:384000
[0167f770] main stream output debug: adding a new sout input (sout_input:0172d880)
[016ee0c0] stream_out_transcode stream out debug: creating audio transcoding from fcc=`a52 ' to fcc=`a52 '

[01719100] main generic debug: looking for decoder module: 32 candidates
[016f4d40] packetizer_mpeg4video decoder warning: waiting for VOL
[016f4d40] packetizer_mpeg4video decoder warning: waiting for VOL
[0167f770] main stream output debug: adding a new sout input (sout_input:0172b730)

[01719100] main generic debug: using decoder module "a52"
[01719100] main generic debug: TIMER module_need() : 8.238 ms - Total 8.238 ms / 1 intvls (Avg 8.238 ms)
[01705780] main encoder debug: looking for encoder module: 13 candidates

[01705780] avcodec encoder debug: libavcodec initialized (interface 0x361e00)

[ac3 @ 0323a900] channel_layout not specified
[ac3 @ 0323a900] No channel layout specified. The encoder will guess the layout, but it might be incorrect.
[01705780] avcodec encoder debug: found encoder A52 Audio (aka AC3)
[01705780] main encoder debug: using encoder module "avcodec"
[01705780] main encoder debug: TIMER module_need() : 6.443 ms - Total 6.443 ms / 1 intvls (Avg 6.443 ms)
[016ee0c0] stream_out_transcode stream out debug: Looking for filter (a52 ->f32l, channels 6->6, rate 48000->48000)
[01708e90] main filter debug: looking for audio filter module: 13 candidates

[01708e90] main filter debug: using audio filter module "a52tofloat32"
[01708e90] main filter debug: TIMER module_need() : 1.893 ms - Total 1.893 ms / 1 intvls (Avg 1.893 ms)
[016ee0c0] main stream out debug: Filter 'A/52' (01708e90) appended to chain
[016ee0c0] stream_out_transcode stream out debug: Got complete audio filter chain
[01713710] main mux debug: adding a new input
[01713710] mux_ts mux debug: adding input codec=a52 pid=68
[01713710] mux_ts mux debug: new PCR PID is 68
[016ee0c0] stream_out_transcode stream out debug: creating video transcoding from fcc=`mp4v' to fcc=`mp2v'

[017091c0] main generic debug: looking for decoder module: 32 candidates
[017091c0] avcodec generic debug: libavcodec already initialized
[017091c0] avcodec generic debug: trying to use direct rendering
[017091c0] avcodec generic debug: allowing 3 thread(s) for decoding

[017091c0] avcodec generic debug: ffmpeg codec (MPEG-4 Video) started
[017091c0] avcodec generic debug: using frame thread mode with 3 threads
[017091c0] main generic debug: using decoder module "avcodec"
[017091c0] main generic debug: TIMER module_need() : 3.623 ms - Total 3.623 ms / 1 intvls (Avg 3.623 ms)
[0174f420] main encoder debug: looking for encoder module: 1 candidate
[0174f420] avcodec encoder debug: libavcodec already initialized

[mpeg2video @ 032ccea0] a vbv buffer size is needed, for encoding with a maximum bitrate
[0174f420] avcodec encoder error: cannot open encoder
[0174f420] main encoder error: Streaming / Transcoding failed
[0174f420] main encoder error: VLC could not open the encoder.
[0174f420] main encoder debug: no encoder module matching "ffmpeg" could be loaded
[0174f420] main encoder debug: TIMER module_need() : 1.944 ms - Total 1.944 ms / 1 intvls (Avg 1.944 ms)
[016ee0c0] stream_out_transcode stream out error: cannot find video encoder (module:ffmpeg fourcc:mp2v). Take a look few lines earlier to see possible reason.

[017091c0] main generic debug: removing module "avcodec"
[017091c0] avcodec generic debug: ffmpeg codec (MPEG-4 Video) stopped
[016ee0c0] stream_out_transcode stream out error: cannot create video chain
[016f4d40] main decoder error: cannot create packetizer output (mp4v)
[00798e10] main input debug: Decoder buffering done in 26 ms
[01719100] a52 generic debug: A/52 channels:6 samplerate:48000 bitrate:384000

The Command Line I used is:

"C:\Program Files\VideoLAN\VLC\vlc.exe" -I dummy --dummy-quiet --ffmpeg-hurry-up --no-loop --no-repeat -vvv --ffmpeg-skiploopfilter 4 --audio-language=any --start-time 0 --sout "#transcode{venc=ffmpeg,vcodec=mp2v,vb=7000,acodec=a52,ab=384,samplerate=48000,deinterlace}:std{access=file,mux=ts,dst="deleteme21.tmp"}" --sout-transcode-width 480 --sout-transcode-height 320 --sout-ffmpeg-keyint=3 "C:\Media\sample.avi" "vlc://quit"

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: VLC 2.0.4, Windows, Transcoding to MPEG2 broken?

Postby Jean-Baptiste Kempf » 25 Oct 2012 14:01

Yes. Try to change the --sout-ffmpeg-rc-buffer-size too
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.

bzbit
Blank Cone
Blank Cone
Posts: 21
Joined: 23 Feb 2012 01:07
VLC version: 2.0.3
Operating System: Windows

Re: VLC 2.0.4, Windows, Transcoding to MPEG2 broken?

Postby bzbit » 26 Oct 2012 01:24

Thank you, I can confirm that that flag works fine.

Unfortunately the command line I posted above crashes VLC once the flag is used but I'm pretty sure the problem is the same as this one:

viewtopic.php?f=14&t=105229

the a52 codec seems to have the same problem as the mp4a codec mentioned, however using the new flag and switching to mp2a for the audio works fine.

Thank you.

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: VLC 2.0.4, Windows, Transcoding to MPEG2 broken?

Postby Jean-Baptiste Kempf » 27 Oct 2012 18:17

This is a separate issue, I think.
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.

bzbit
Blank Cone
Blank Cone
Posts: 21
Joined: 23 Feb 2012 01:07
VLC version: 2.0.3
Operating System: Windows

Re: VLC 2.0.4, Windows, Transcoding to MPEG2 broken?

Postby bzbit » 02 Nov 2012 01:50

Sorry for the long delay in a reply Jean-Baptiste, I had no power due to hurricane Sandy.

Would you like me to create a new issue for the a52 transcode crash with -vvv debug for it? Or would you like me to report it as a bug?

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: VLC 2.0.4, Windows, Transcoding to MPEG2 broken?

Postby Jean-Baptiste Kempf » 05 Nov 2012 12:51

yes.
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.

aqua
New Cone
New Cone
Posts: 1
Joined: 25 Dec 2012 16:46

Re: VLC 2.0.4, Windows, Transcoding to MPEG2 broken?

Postby aqua » 25 Dec 2012 17:06

Hi all,
wonder whether the origin of the demux error I experienced when playing a DVD might be the same as the one described above.

Here is what I get after having played the DVD (Windows 7, VLC versions 2.0.4 and 2.0.5) flawlessly for ~1:11 h,
using the start command
vlc --file-logging -vvv

(to be honest, having learned how to switch on verbose logging in VLC, I restarted the DVD and jumped forward to the crashing point in the stream...
that's why there is a lot of 'main debug: Buffering xx%' messages in the log which I cut away....)

The crash itself is such that VLC closes the output window without any error messages at the front end.
However, a VLC file selector box showing the DVD drive entry remains open.

BTW:
Windows Media player shows a short disturbance with some block artifacts in the picture, but it manages to continue the movie.
A ONKYO DVD player attached to my TV just continues the movie without any artifacts.

In case this turns out to be ( or belong to) a completely different issue,
I would appreciate if the forum admin would just move my message to the appropriate thread or open a new one.

Regards
aqua

Here go the last lines of the log file:

...
...
main debug: Buffering 95%
main debug: Buffering 96%
main debug: Buffering 96%
main debug: Stream buffering done (308 ms in 161 ms)
main debug: Decoder buffering done in 12 ms
main warning: resampling stopped after 19949776 usec (drift: 5313)
dvdnav debug: DVDNAV_NOP
dvdnav debug: DVDNAV_CELL_CHANGE
dvdnav debug: - cellN=19
dvdnav debug: - pgN=14
dvdnav debug: - cell_length=9244800
dvdnav debug: - pg_length=39034800
dvdnav debug: - pgc_length=543474000
dvdnav debug: - cell_start=377161200
dvdnav debug: - pg_start=347371200
dvdnav debug: DVDNAV_SPU_CLUT_CHANGE
dvdnav debug: DVDNAV_SPU_STREAM_CHANGE
dvdnav debug: - physical_wide=128
dvdnav debug: - physical_letterbox=128
dvdnav debug: - physical_pan_scan=128
dvdnav debug: buttonUpdate not done b=2 t=1
dvdnav debug: DVDNAV_AUDIO_STREAM_CHANGE
dvdnav debug: - physical=2
dvdnav warning: cannot get next block (Expected NAV packet but none found.)
main debug: finished input
main warning: can't get output picture
avcodec warning: disabling direct rendering
main warning: can't get output picture
main debug: removing module "avcodec"
avcodec debug: ffmpeg codec (MPEG-1/2 Video) stopped
main debug: killing decoder fourcc `mpgv', 11 PES in FIFO
main debug: saving a free vout
main debug: reusing provided vout
main debug: removing module "packetizer_mpegvideo"
main debug: removing module "a52"
main debug: killing decoder fourcc `a52 ', 0 PES in FIFO
main debug: removing module "a52tofloat32"
main debug: removing module "scaletempo"
main debug: removing module "samplerate"
main debug: removing module "aout_directx"
aout_directx debug: closing audio device
aout_directx debug: DirectSoundThread exiting
main debug: removing module "audio_format"
main debug: removing module "float32_mixer"
main debug: releasing audio output
main debug: removing module "dvdnav"
main debug: Program doesn't contain anymore ES
main debug: dead input
mainq td4e bduegb:u gc:h aInMg:i nDge lietteimn gw itthheo uitn pau t
request (current 0/1)
main debug: nothing to play
main debug: destroying useless vout
main debug: removing module "direct3d"
direct3d debug: Direct3D scene released successfully
main debug: TIMER input launching for 'D:' : 7034.675 ms - Total 7034.675 ms / 1 intvls (Avg 7034.675 ms)
direct3d debug: DirectXEventThread terminating
direct3d debug: DirectXCloseWindow
direct3d debug: WinProc WM_DESTROY
qt4 debug: releasing video...
qt4 debug: Video is not needed anymore
main debug: removing module "freetype"
main debug: removing module "yuvp"
main debug: removing module "swscale"
main debug: exiting
main debug: deactivating the playlist
main debug: deactivating the playlist
main debug: saving Medienbibliothek to file C:\Users\mn\AppData\Roaming\vlc\ml.xspf
main debug: looking for playlist export module: 1 candidate
main debug: using playlist export module "export"
main debug: TIMER module_need() : 23.343 ms - Total 23.343 ms / 1 intvls (Avg 23.343 ms)
main debug: removing module "export"
main debug: playlist correctly deactivated
main debug: removing all services discovery tasks
main debug: removing module "windrive"
main debug: deleting item `D:'
main debug: deleting item `Lokale Laufwerke'
main debug: deleting item `Discs'
main debug: removing all interfaces
main debug: removing module "qt4"
qt4 debug: requesting exit...
qt4 debug: waiting for UI thread...
qt4 debug: QApp exec() finished
qt4 debug: Video is not needed anymore
qt4 debug: Killing extension dialog provider
qt4 debug: ExtensionsDialogProvider is quitting...
main debug: removing module "lua"
lua debug: Deactivating all loaded extensions
lua debug: All extensions are now deactivated
qt4 debug: Playlist Destroyed
main debug: removing module "globalhotkeys"
main debug: removing module "logger"
-- logger module stopped --


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 24 guests