I am having problem with VLC 1.0.1. I am unable to convert/stream divx to MPEG2 TS. Error is VLC could not open encoder.
I used MPEG2+MPGA profile
Here is log:
Code: Select all
qt4 debug: MRL passed to the Sout: C:\Documents and Settings\nadir.zlatar\Desktop\The Invasion\The Invasion.avi
qt4 warning: Transcode MRL: sout=#transcode{vcodec=mp2v,vb=800,scale=1,acodec=mpga,ab=128,channels=2,samplerate=44100}:duplicate{dst=std{access=file,mux=ts,dst='C:\Documents and Settings\nadir.zlatar\Desktop\ppp.ts'}
qt4 debug: Adding option: sout=#transcode{vcodec=mp2v,vb=800,scale=1,acodec=mpga,ab=128,channels=2,samplerate=44100}:duplicate{dst=std{access=file,mux=ts,dst='C:\Documents and Settings\nadir.zlatar\Desktop\ppp.ts'}
main debug: adding item `Streaming' ( C:\Documents and Settings\nadir.zlatar\Desktop\The Invasion\The Invasion.avi )
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 2 items, index 0
main debug: processing request item Streaming node null skip 0
main debug: resyncing on Streaming
main debug: Streaming is at 1
main debug: starting new item
main debug: creating new input thread
main debug: Creating an input for 'Streaming'
main debug: thread (input) created at priority 1 (../.././src/input/input.c:230)
qt4 debug: Adding a new MRL to recent ones: C:\Documents and Settings\nadir.zlatar\Desktop\The Invasion\The Invasion.avi
main debug: thread started
main debug: stream=`transcode'
main debug: looking for sout stream module: 1 candidate
main debug: stream=`duplicate'
main debug: looking for sout stream module: 1 candidate
stream_out_duplicate debug: creating 'duplicate'
stream_out_duplicate debug: * adding `std{access=file,mux=ts,dst='C:\Documents and Settings\nadir.zlatar\Desktop\ppp.ts'}'
main debug: stream=`std'
main debug: looking for sout stream module: 1 candidate
main debug: set config option: sout-standard-access to file
main debug: set config option: sout-standard-mux to ts
main debug: set config option: sout-standard-dst to C:\Documents and Settings\nadir.zlatar\Desktop\ppp.ts
stream_out_standard debug: creating `file/ts://C:\Documents and Settings\nadir.zlatar\Desktop\ppp.ts'
stream_out_standard debug: extension is ts
stream_out_standard debug: extension -> mux=ts
stream_out_standard debug: using `file/ts://C:\Documents and Settings\nadir.zlatar\Desktop\ppp.ts'
main debug: looking for sout access module: 1 candidate
access_output_file debug: file access output opened (C:\Documents and Settings\nadir.zlatar\Desktop\ppp.ts)
main debug: using sout access module "access_output_file"
main debug: TIMER module_need() : 89.629 ms - Total 89.629 ms / 1 intvls (Avg 89.629 ms)
stream_out_standard debug: access opened
main debug: looking for sout mux module: 1 candidate
mux_ts debug: shaping=200000 pcr=70000 dts_delay=400000
main debug: using sout mux module "mux_ts"
main debug: TIMER module_need() : 5.655 ms - Total 5.655 ms / 1 intvls (Avg 5.655 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() : 99.033 ms - Total 99.033 ms / 1 intvls (Avg 99.033 ms)
main debug: using sout stream module "stream_out_duplicate"
main debug: TIMER module_need() : 100.248 ms - Total 100.248 ms / 1 intvls (Avg 100.248 ms)
main debug: set config option: sout-transcode-vcodec to mp2v
main debug: set config option: sout-transcode-vb to 800
main debug: set config option: sout-transcode-scale to 1
main debug: set config option: sout-transcode-acodec to mpga
main debug: set config option: sout-transcode-ab to 128
main debug: set config option: sout-transcode-channels to 2
main debug: set config option: sout-transcode-samplerate to 44100
stream_out_transcode debug: codec audio=mpga 44100Hz 2 channels 128Kb/s
stream_out_transcode debug: codec video=mp2v 0x0 scaling: 1.000000 800kb/s
main debug: using sout stream module "stream_out_transcode"
main debug: TIMER module_need() : 107.982 ms - Total 107.982 ms / 1 intvls (Avg 107.982 ms)
main debug: using timeshift granularity of 50 MBytes
main debug: using timeshift path 'C:\DOCUME~1\NADIR~1.ZLA\LOCALS~1\Temp'
main debug: `C:\Documents and Settings\nadir.zlatar\Desktop\The Invasion\The Invasion.avi' gives access `' demux `' path `C:\Documents and Settings\nadir.zlatar\Desktop\The Invasion\The Invasion.avi'
main debug: creating demux: access='' demux='' path='C:\Documents and Settings\nadir.zlatar\Desktop\The Invasion\The Invasion.avi'
main debug: looking for access_demux module: 3 candidates
main debug: TIMER module_need() : 0.654 ms - Total 0.654 ms / 1 intvls (Avg 0.654 ms)
main debug: creating access '' path='C:\Documents and Settings\nadir.zlatar\Desktop\The Invasion\The Invasion.avi'
main debug: looking for access module: 5 candidates
vcd debug: trying .cue file: C:\Documents and Settings\nadir.zlatar\Desktop\The Invasion\The Invasion.cue
vcd debug: could not find .cue file
access_file debug: opening file `C:\Documents and Settings\nadir.zlatar\Desktop\The Invasion\The Invasion.avi'
main debug: using access module "access_file"
main debug: TIMER module_need() : 1.066 ms - Total 1.066 ms / 1 intvls (Avg 1.066 ms)
main debug: Using AStream*Stream
main debug: pre buffering
main debug: received first data after 0 ms
main debug: pre-buffering done 1024 bytes in 0s - 26315 kbytes/s
main debug: looking for stream_filter module: 2 candidates
main debug: TIMER module_need() : 0.143 ms - Total 0.143 ms / 1 intvls (Avg 0.143 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.156 ms - Total 0.156 ms / 1 intvls (Avg 0.156 ms)
main debug: creating demux: access='' demux='' path='C:\Documents and Settings\nadir.zlatar\Desktop\The Invasion\The Invasion.avi'
main debug: looking for demux module: 50 candidates
avi debug: found Chunk fourcc:46464952 (RIFF) size:730718328 pos:0
avi debug: found LIST chunk: 'AVI '
avi debug: <list 'AVI '>
avi debug: found Chunk fourcc:5453494c (LIST) size:8830 pos:12
avi debug: found LIST chunk: 'hdrl'
avi debug: <list 'hdrl'>
avi debug: found Chunk fourcc:68697661 (avih) size:56 pos:24
avi debug: avih: streams:2 flags: HAS_INDEX IS_INTERLEAVED 608x336
avi debug: found Chunk fourcc:5453494c (LIST) size:4244 pos:88
avi debug: found LIST chunk: 'strl'
avi debug: <list 'strl'>
avi debug: found Chunk fourcc:68727473 (strh) size:56 pos:100
avi debug: strh: type:vids handler:0x64697678 samplesize:0 23.98fps
avi debug: found Chunk fourcc:66727473 (strf) size:40 pos:164
avi debug: strf: video:XVID 608x336 planes:1 12bpp
avi debug: found Chunk fourcc:4b4e554a (JUNK) size:4120 pos:212
avi debug: </list 'strl'>
avi debug: found Chunk fourcc:5453494c (LIST) size:4234 pos:4340
avi debug: found LIST chunk: 'strl'
avi debug: <list 'strl'>
avi debug: found Chunk fourcc:68727473 (strh) size:56 pos:4352
avi debug: strh: type:auds handler:0x00000000 samplesize:0 41.67fps
avi debug: found Chunk fourcc:66727473 (strf) size:30 pos:4416
avi debug: strf: audio:0x0055 channels:2 48000Hz 0bits/sample 158kb/s
avi debug: found Chunk fourcc:4b4e554a (JUNK) size:4120 pos:4454
avi debug: </list 'strl'>
avi debug: found Chunk fourcc:5453494c (LIST) size:260 pos:8582
avi debug: found LIST chunk: 'odml'
avi debug: <list 'odml'>
avi debug: found Chunk fourcc:686c6d64 (dmlh) size:248 pos:8594
avi warning: unknown chunk (not loaded)
avi debug: </list 'odml'>
avi debug: </list 'hdrl'>
avi debug: found Chunk fourcc:5453494c (LIST) size:56 pos:8850
avi debug: found LIST chunk: 'INFO'
avi debug: <list 'INFO'>
avi debug: found Chunk fourcc:54465349 (ISFT) size:44 pos:8862
avi debug: ISFT: software : VirtualDubMod 1.5.10.2 (build 2540/release)
avi debug: </list 'INFO'>
avi debug: found Chunk fourcc:4b4e554a (JUNK) size:1318 pos:8914
avi debug: found Chunk fourcc:5453494c (LIST) size:724447392 pos:10240
avi debug: skipping movi chunk
avi debug: found Chunk fourcc:31786469 (idx1) size:6260688 pos:724457640
avi debug: idx1: index entry:391293
avi debug: </list 'AVI '>
avi debug: found Chunk fourcc:4b4e554a (JUNK) size:1912 pos:730718336
avi debug: * LIST-root size:730720256 pos:0
avi debug: + RIFF-AVI size:730718328 pos:0
avi debug: | + LIST-hdrl size:8830 pos:12
avi debug: | | + avih size:56 pos:24
avi debug: | | + LIST-strl size:4244 pos:88
avi debug: | | | + strh size:56 pos:100
avi debug: | | | + strf size:40 pos:164
avi debug: | | | + JUNK size:4120 pos:212
avi debug: | | + LIST-strl size:4234 pos:4340
avi debug: | | | + strh size:56 pos:4352
avi debug: | | | + strf size:30 pos:4416
avi debug: | | | + JUNK size:4120 pos:4454
avi debug: | | + LIST-odml size:260 pos:8582
avi debug: | | | + dmlh size:248 pos:8594
avi debug: | + LIST-INFO size:56 pos:8850
avi debug: | | + ISFT size:44 pos:8862
avi debug: | + JUNK size:1318 pos:8914
avi debug: | + LIST-movi size:724447392 pos:10240
avi debug: | + idx1 size:6260688 pos:724457640
avi debug: + JUNK size:1912 pos:730718336
avi debug: AVIH: 2 stream, flags HAS_INDEX IS_INTERLEAVED
avi debug: stream[0] rate:2997 scale:125 samplesize:0
avi debug: stream[0] video(XVID) 608x336 12bpp 23.976000fps
main debug: selecting program id=0
avi debug: stream[1] rate:48000 scale:1152 samplesize:0
avi debug: stream[1] audio(0x55) 2 channels 48000Hz 0bits
avi debug: stream[0] created 142920 index entries
avi debug: stream[1] created 248373 index entries
avi debug: stream[0] length:5960 (based on index)
avi debug: stream[1] length:5960 (based on index)
main debug: using demux module "avi"
main debug: TIMER module_need() : 298.764 ms - Total 298.764 ms / 1 intvls (Avg 298.764 ms)
main debug: looking for a subtitle file in C:\Documents and Settings\nadir.zlatar\Desktop\The Invasion\
main debug: autodetected subtitle: C:\Documents and Settings\nadir.zlatar\Desktop\The Invasion\The Invasion.srt with priority 4
main debug: `C:\Documents and Settings\nadir.zlatar\Desktop\The Invasion\The Invasion.srt' gives access `' demux `' path `C:\Documents and Settings\nadir.zlatar\Desktop\The Invasion\The Invasion.srt'
main debug: creating demux: access='' demux='subtitle' path='C:\Documents and Settings\nadir.zlatar\Desktop\The Invasion\The Invasion.srt'
main debug: looking for access_demux module: 3 candidates
main debug: TIMER module_need() : 0.594 ms - Total 0.594 ms / 1 intvls (Avg 0.594 ms)
main debug: creating access '' path='C:\Documents and Settings\nadir.zlatar\Desktop\The Invasion\The Invasion.srt'
main debug: looking for access module: 5 candidates
vcd debug: trying .cue file: C:\Documents and Settings\nadir.zlatar\Desktop\The Invasion\The Invasion.cue
vcd debug: could not find .cue file
access_file debug: opening file `C:\Documents and Settings\nadir.zlatar\Desktop\The Invasion\The Invasion.srt'
main debug: using access module "access_file"
main debug: TIMER module_need() : 1.146 ms - Total 1.146 ms / 1 intvls (Avg 1.146 ms)
main debug: Using AStream*Stream
main debug: pre buffering
main debug: received first data after 0 ms
main debug: pre-buffering done 1024 bytes in 0s - 16666 kbytes/s
main debug: looking for stream_filter module: 2 candidates
main debug: TIMER module_need() : 0.149 ms - Total 0.149 ms / 1 intvls (Avg 0.149 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.152 ms - Total 0.152 ms / 1 intvls (Avg 0.152 ms)
main debug: creating demux: access='' demux='subtitle' path='C:\Documents and Settings\nadir.zlatar\Desktop\The Invasion\The Invasion.srt'
main debug: looking for demux module: 3 candidates
vobsub debug: this doesn't seem to be a vobsub file
subtitle debug: Movie fps: 23.976000
subtitle debug: autodetecting subtitle format
subtitle debug: detected SubRIP format
subtitle debug: loading all subtitles...
subtitle debug: loaded 723 subtitles
main debug: using demux module "subtitle"
main debug: TIMER module_need() : 15.232 ms - Total 15.232 ms / 1 intvls (Avg 15.232 ms)
main debug: looking for packetizer module: 21 candidates
main debug: using packetizer module "packetizer_mpeg4video"
main debug: TIMER module_need() : 0.611 ms - Total 0.611 ms / 1 intvls (Avg 0.611 ms)
main debug: thread (decoder) created at priority 0 (../.././src/input/decoder.c:315)
qt4 debug: IM: Setting an input
main debug: thread started
main debug: looking for packetizer module: 21 candidates
main debug: using packetizer module "mpeg_audio"
main debug: TIMER module_need() : 0.670 ms - Total 0.670 ms / 1 intvls (Avg 0.670 ms)
main debug: thread (decoder) created at priority 2 (../.././src/input/decoder.c:315)
main debug: thread started
main debug: looking for packetizer module: 21 candidates
main debug: using packetizer module "packetizer_copy"
main debug: TIMER module_need() : 0.315 ms - Total 0.315 ms / 1 intvls (Avg 0.315 ms)
main debug: thread (decoder) created at priority 0 (../.././src/input/decoder.c:315)
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
main debug: thread started
main debug: starting in sync mode
main debug: `C:\Documents and Settings\nadir.zlatar\Desktop\The Invasion\The Invasion.avi' successfully opened
main debug: Buffering 0%
main debug: switching to async mode
main debug: Buffering 8%
mpeg_audio debug: MPGA channels:2 samplerate:48000 bitrate:32
main debug: adding a new sout input (sout_input:0x1e6e830)
stream_out_transcode debug: creating audio transcoding from fcc=`mpga' to fcc=`mpga'
main debug: looking for decoder module: 36 candidates
main debug: using decoder module "mpeg_audio"
main debug: TIMER module_need() : 0.882 ms - Total 0.882 ms / 1 intvls (Avg 0.882 ms)
main debug: looking for encoder module: 12 candidates
avcodec debug: libavcodec already initialized
avcodec debug: found encoder MPEG Audio layer 1/2
main debug: using encoder module "avcodec"
main debug: TIMER module_need() : 7.759 ms - Total 7.759 ms / 1 intvls (Avg 7.759 ms)
stream_out_transcode debug: Looking for filter (mpga->s16l, channels 2->2, rate 48000->44100)
main debug: looking for audio filter2 module: 8 candidates
mpgatofixed32 debug: mpga->fl32, bits per sample: 0
main debug: using audio filter2 module "mpgatofixed32"
main debug: TIMER module_need() : 0.178 ms - Total 0.178 ms / 1 intvls (Avg 0.178 ms)
main debug: Filter 'mpgatofixed32' (0xe3267c) appended to chain
main debug: looking for audio filter2 module: 8 candidates
bandlimited_resampler debug: fl32/48000KHz/2->fl32/44100KHz/2
main debug: using audio filter2 module "bandlimited_resampler"
main debug: TIMER module_need() : 0.310 ms - Total 0.310 ms / 1 intvls (Avg 0.310 ms)
main debug: Filter 'bandlimited_resampler' (0x1eac414) appended to chain
main debug: looking for audio filter2 module: 8 candidates
audio_format debug: fl32->s16l, bits per sample: 32->16
main debug: using audio filter2 module "audio_format"
main debug: TIMER module_need() : 0.179 ms - Total 0.179 ms / 1 intvls (Avg 0.179 ms)
main debug: Filter 'audio_format' (0x6911cfc) appended to chain
stream_out_transcode debug: Got complete audio filter chain
stream_out_duplicate debug: duplicated a new stream codec=mpga (es=1 group=0)
main debug: adding a new input
mux_ts debug: adding input codec=mpga pid=68
mux_ts debug: new PCR PID is 68
stream_out_duplicate debug: - added for output 0
packetizer_mpeg4video warning: waiting for VOL
packetizer_mpeg4video warning: waiting for VOL
main debug: Buffering 16%
main debug: Buffering 25%
main debug: adding a new sout input (sout_input:0x1f484b8)
stream_out_transcode debug: creating video transcoding from fcc=`mp4v' to fcc=`mp2v'
main debug: looking for decoder module: 36 candidates
avcodec debug: libavcodec already initialized
avcodec debug: using direct rendering
avcodec debug: ffmpeg codec (MPEG-4 Video) started
main debug: using decoder module "avcodec"
main debug: TIMER module_need() : 2.940 ms - Total 2.940 ms / 1 intvls (Avg 2.940 ms)
main debug: looking for encoder module: 12 candidates
avcodec debug: libavcodec already initialized
avcodec debug: found encoder MPEG-2 Video
main debug: using encoder module "avcodec"
main debug: TIMER module_need() : 7.998 ms - Total 7.998 ms / 1 intvls (Avg 7.998 ms)
main debug: removing module "avcodec"
main debug: Buffering 33%
main debug: Buffering 41%
main debug: Buffering 50%
main debug: Buffering 58%
main debug: Buffering 66%
main debug: Buffering 75%
main debug: Buffering 83%
main debug: Buffering 91%
main debug: Buffering 100%
main debug: Stream buffering done (325 ms in 23 ms)
main debug: Decoder buffering done in 0 ms
stream_out_transcode debug: decoder aspect is 781714:432000
stream_out_transcode debug: source pixel aspect is 1.000000:1
stream_out_transcode debug: scaled pixel aspect is 1.000000:1
stream_out_transcode debug: source 608x336, destination 608x336
stream_out_transcode debug: encoder aspect is 781714:432000
stream_out_transcode debug: destination (after video filters) 608x336
main debug: looking for encoder module: 12 candidates
avcodec debug: libavcodec already initialized
[b]avcodec error: cannot open encoder[/b]
main debug: TIMER module_need() : 65.976 ms - Total 65.976 ms / 1 intvls (Avg 65.976 ms)
stream_out_transcode error: cannot find video encoder (module:any fourcc:mp2v)
avcodec debug: ffmpeg codec (MPEG-4 Video) stopped
main debug: removing module "avcodec"
mpeg_audio debug: MPGA channels:2 samplerate:48000 bitrate:32
main debug: adding a new sout input (sout_input:0x1ef4160)
stream_out_transcode debug: not transcoding a stream (fcc=`subt')
stream_out_duplicate debug: duplicated a new stream codec=subt (es=2 group=0)
main debug: adding a new input
mux_ts debug: adding input codec=subt pid=69
stream_out_duplicate debug: - added for output 0
mux_ts debug: adjusting rate at -3600549/208971 (3/26)
mux_ts debug: adjusting rate at -4595656/208970 (3/26)
mux_ts debug: adjusting rate at -3647075/208994 (3/26)
mux_ts debug: adjusting rate at -1865443/208993 (3/26)
mux_ts debug: adjusting rate at -3352803/208962 (3/26)
mux_ts debug: adjusting rate at -4840962/208984 (3/26)
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: New caching: 100
qt4 debug: New caching: 100
mux_ts debug: adjusting rate at -4396885/208961 (3/26)
mux_ts debug: adjusting rate at -7556472/208971 (3/26)
mux_ts debug: adjusting rate at -10238917/208970 (3/26)
mux_ts debug: adjusting rate at -4601765/208993 (3/26)
mux_ts debug: adjusting rate at -11560545/208984 (3/26)
mux_ts debug: adjusting rate at -4155867/208993 (3/26)
mux_ts debug: adjusting rate at -4818917/208970 (3/26)
main debug: incoming request - stopping current input
main debug: dying input
main debug: control type=0
main debug: control: stopping input
main debug: dying input
main debug: thread times: real 0m39.127432s, kernel 0m0.020028s, user 0m0.300432s
main debug: removing module "packetizer_mpeg4video"
main debug: killing decoder fourcc `XVID', 0 PES in FIFO
main debug: removing a sout input (sout_input:0x1f484b8)
main debug: thread times: real 0m39.067344s, kernel 0m0.550792s, user 0m35.360846s
main debug: removing module "mpeg_audio"
main debug: killing decoder fourcc `mpga', 0 PES in FIFO
main debug: removing a sout input (sout_input:0x1e6e830)
main debug: TIMER encoding audio frame : 0.193 ms - Total 4320.626 ms / 26392 intvls (Avg 0.164 ms)
main debug: removing module "mpeg_audio"
main debug: removing module "avcodec"
main debug: Filter 'mpgatofixed32' (0xe3267c) removed from chain
main debug: removing module "mpgatofixed32"
main debug: Filter 'bandlimited_resampler' (0x1eac414) removed from chain
main debug: removing module "bandlimited_resampler"
main debug: Filter 'audio_format' (0x6911cfc) removed from chain
main debug: removing module "audio_format"
mux_ts debug: removing input pid=68
mux_ts debug: new PCR PID is 8191
main debug: thread times: real 0m39.057330s, kernel 0m0.000000s, user 0m0.000000s
main debug: removing module "packetizer_copy"
main debug: killing decoder fourcc `subt', 0 PES in FIFO
main debug: removing a sout input (sout_input:0x1ef4160)
mux_ts debug: removing input pid=69
main warning: no more input streams for this mux
avi debug: free chunk avih
avi debug: free chunk strh
avi debug: free chunk strf
avi debug: free chunk JUNK
avi debug: free chunk LIST
avi debug: free chunk strh
avi debug: free chunk strf
avi debug: free chunk JUNK
avi debug: free chunk LIST
avi warning: unknown chunk (not unloaded)
avi debug: free chunk LIST
avi debug: free chunk LIST
avi debug: free chunk ISFT
avi debug: free chunk LIST
avi debug: free chunk JUNK
avi debug: free chunk LIST
avi debug: free chunk idx1
avi debug: free chunk RIFF
avi debug: free chunk JUNK
avi debug: free chunk LIST
main debug: removing module "avi"
main debug: removing module "stream_filter_record"
main debug: removing module "access_file"
main debug: removing module "subtitle"
main debug: removing module "stream_filter_record"
main debug: removing module "access_file"
main debug: Program doesn't contain anymore ES
main debug: dead input
main debug: destroying useless sout
main debug: destroying chain... (name=transcode)
main debug: destroying chain... (name=duplicate)
stream_out_duplicate debug: closing a duplication
main debug: destroying chain... (name=std)
main debug: removing module "mux_ts"
main debug: thread ended
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: removing module "stream_out_duplicate"
main debug: destroying chain done
main debug: removing module "stream_out_transcode"
main debug: destroying chain done
main debug: thread times: real 0m39.568079s, kernel 0m0.701008s, user 0m0.680979s
qt4 debug: IM: Deleting the input
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
main debug: TIMER input launching for 'Streaming' : 591.495 ms - Total 591.495 ms / 1 intvls (Avg 591.495 ms)