VLC 1.0.0-pre2 deinterlacing doesn't work when converting
Tested with vlc-1.0.0-pre2-20090430-2310-win32.7z
Source: MPEG2 PAL Interlaced 25 fps
Destination: H264 + AAC in MP4 container
When using the built-in converter, even though I tick the box Deinterlace in the GUI no deinterlacing is performed which ends up with a visually crappy video.
{{{
qt4 debug: MRL passed to the Sout: E:/Auto-Source.mpg
qt4 warning: Transcode MRL: sout=#transcode{vcodec=h264,vb=2500,fps=25,scale=1,acodec=mp4a,ab=128,channels=2,samplerate=48000,deinterlace}:duplicate{dst=std{access=file,mux=mp4,dst='E:\4\DVD\Test5.mp4'}
qt4 debug: Adding option: sout=#transcode{vcodec=h264,vb=2500,fps=25,scale=1,acodec=mp4a,ab=128,channels=2,samplerate=48000,deinterlace}:duplicate{dst=std{access=file,mux=mp4,dst='E:\4\DVD\Test5.mp4'}
main debug: adding item Streaming' ( E:/Auto-Source.mpg ) main debug: rebuilding array of current - root Playlist main debug: rebuild done - 1 items, index -1 main debug: processing request item Streaming node null skip 0 main debug: resyncing on Streaming main debug: Streaming is at 0 main debug: starting new item main debug: creating new input thread main debug: Creating an input for 'Streaming' qt4 debug: Adding a new MRL to recent ones: E:/Auto-Source.mpg main debug: thread (input) created at priority 1 (input/input.c:363) qt4 debug: IM: Setting an input 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=mp4,dst='E:\4\DVD\Test5.mp4'}'
main debug: stream=std' main debug: looking for sout stream module: 1 candidate qt4 debug: Updating the geometry qt4 debug: size: 106 - 485 qt4 debug: sizeHint: 106 - 485 qt4 debug: Updating the geometry qt4 debug: size: 106 - 485 qt4 debug: sizeHint: 106 - 485 main debug: set config option: sout-standard-access to file main debug: set config option: sout-standard-mux to mp4 main debug: set config option: sout-standard-dst to E:\4\DVD\Test5.mp4 stream_out_standard debug: creating
file/mp4://E:\4\DVD\Test5.mp4'
stream_out_standard debug: extension is mp4
stream_out_standard debug: extension -> mux=mp4
stream_out_standard debug: using file/mp4://E:\4\DVD\Test5.mp4' main debug: looking for sout access module: 1 candidate access_output_file debug: file access output opened (E:\4\DVD\Test5.mp4) main debug: using sout access module "access_output_file" main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms) stream_out_standard debug: access opened main debug: looking for sout mux module: 1 candidate mux_mp4 debug: Mp4 muxer opened main debug: using sout mux module "mux_mp4" main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) stream_out_standard debug: mux opened main debug: using sout stream module "stream_out_standard" main debug: TIMER module_need() : 3.000 ms - Total 3.000 ms / 1 intvls (Avg 3.000 ms) main debug: using sout stream module "stream_out_duplicate" main debug: TIMER module_need() : 3.000 ms - Total 3.000 ms / 1 intvls (Avg 3.000 ms) main debug: set config option: sout-transcode-vcodec to h264 main debug: set config option: sout-transcode-vb to 2500 main debug: set config option: sout-transcode-fps to 25 main debug: set config option: sout-transcode-scale to 1 main debug: set config option: sout-transcode-acodec to mp4a 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 48000 main debug: set config option: sout-transcode-deinterlace to (null) stream_out_transcode debug: codec audio=mp4a 48000Hz 2 channels 128Kb/s stream_out_transcode debug: codec video=h264 0x0 scaling: 1.000000 2500kb/s main debug: using sout stream module "stream_out_transcode" main debug: TIMER module_need() : 9.000 ms - Total 9.000 ms / 1 intvls (Avg 9.000 ms) main debug: using timeshift granularity of 50 MBytes main debug: using timeshift path 'C:\DOCUME~1\USER\LOCALS~1\Temp' main debug:
E:/Auto-Source.mpg' gives access ' demux
' path E:/Auto-Source.mpg' main debug: creating demux: access=_ demux=_ path='E:/Auto-Source.mpg' main debug: looking for access_demux module: 3 candidates main debug: TIMER module_need() : 24.000 ms - Total 24.000 ms / 1 intvls (Avg 24.000 ms) main debug: creating access '' path='E:/Auto-Source.mpg' main debug: looking for access module: 5 candidates vcd debug: trying .cue file: E:/Auto-Source.cue vcd debug: could not find .cue file access_file debug: opening file
E:/Auto-Source.mpg'
main debug: using access module "access_file"
main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: Using AStream*Stream
main debug: pre buffering
main debug: received first data after 3 ms
main debug: pre-buffering done 1024 bytes in 0s - 333 kbytes/s
main debug: looking for stream_filter module: 2 candidates
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 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.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: creating demux: access=_ demux=_ path='E:/Auto-Source.mpg'
main debug: looking for demux module: 49 candidates
main debug: using demux module "ps"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: looking for a subtitle file in C:\Utils\VLC
main debug: starting in sync mode
main debug: E:/Auto-Source.mpg' successfully opened qt4 debug: New Event: type 1103 qt4 debug: New Event: type 1116 qt4 debug: New caching: 0 qt4 debug: New caching: 0 ps warning: garbage at input, trying to resync... ps warning: found sync code ps debug: we found a length of: 74620222 main debug: selecting program id=0 main debug: looking for packetizer module: 20 candidates main debug: using packetizer module "mpeg_audio" main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: thread (decoder) created at priority 2 (input/decoder.c:315) main debug: thread started main debug: looking for packetizer module: 20 candidates main debug: using packetizer module "packetizer_mpegvideo" main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: thread (decoder) created at priority 0 (input/decoder.c:315) qt4 debug: New Event: type 1112 main debug: thread started qt4 debug: New Event: type 1103 main debug: switching to async mode main debug: Buffering 0% main debug: Buffering 1% main debug: Buffering 2% main debug: Buffering 3% main debug: Buffering 4% main debug: Buffering 5% main debug: Buffering 6% main debug: Buffering 8% main debug: Buffering 9% main debug: Buffering 10% main debug: Buffering 11% main debug: Buffering 12% main debug: Buffering 13% main debug: Buffering 15% main debug: Buffering 16% main debug: Buffering 17% main debug: Buffering 18% main debug: Buffering 19% main debug: Buffering 20% main debug: Buffering 21% packetizer_mpegvideo debug: size 544x576 fps=25.000 main debug: Buffering 23% main debug: Buffering 24% main debug: adding a new sout input (sout_input:0x147d878) stream_out_transcode debug: creating video transcoding from fcc=
mpgv' to fcc=h264' main debug: looking for decoder module: 35 candidates main debug: using decoder module "libmpeg2" main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: looking for encoder module: 12 candidates x264 debug: version x264 0.67.X main debug: Buffering 25% main debug: Buffering 26% main debug: Buffering 27% main debug: Buffering 28% x264 debug: initializing pthread-win32 main debug: Buffering 30% main debug: Buffering 31% main debug: Buffering 32% main debug: Buffering 33% main debug: Buffering 34% main debug: Buffering 35% main debug: Buffering 36% main debug: Buffering 38% main debug: Buffering 39% main debug: Buffering 40% main debug: Buffering 41% main debug: Buffering 42% main debug: using encoder module "x264" main debug: Buffering 43% main debug: TIMER module_need() : 9.000 ms - Total 9.000 ms / 1 intvls (Avg 9.000 ms) main debug: Buffering 45% main debug: Buffering 46% main debug: Buffering 47% main debug: Buffering 48% main debug: Buffering 49% main debug: Buffering 50% main debug: Buffering 52% main debug: Buffering 53% main debug: Buffering 54% main debug: Buffering 55% main debug: Buffering 56% main debug: Buffering 57% main debug: Buffering 58% main debug: Buffering 60% main debug: Buffering 61% main debug: Buffering 62% main debug: Buffering 63% main debug: Buffering 64% main debug: Buffering 65% main debug: Buffering 67% main debug: Buffering 68% main debug: Buffering 69% main debug: Buffering 70% main debug: Buffering 71% main debug: Buffering 72% main debug: Buffering 73% main debug: Buffering 75% main debug: Buffering 76% main debug: Buffering 77% main debug: Buffering 78% main debug: Buffering 79% main debug: Buffering 80% main debug: Buffering 82% main debug: Buffering 83% main debug: Buffering 84% main debug: Buffering 85% main debug: Buffering 86% main debug: Buffering 87% main debug: Buffering 88% main debug: Buffering 90% x264 debug: pthread-win32 deinitialized main debug: removing module "x264" qt4 debug: New Event: type 1119 qt4 debug: New Event: type 1119 qt4 debug: New Event: type 1107 qt4 debug: Updating the geometry qt4 debug: size: 106 - 485 qt4 debug: sizeHint: 106 - 485 qt4 debug: New Event: type 1107 qt4 debug: Updating the geometry qt4 debug: size: 106 - 485 qt4 debug: sizeHint: 106 - 485 qt4 debug: New Event: type 1107 qt4 debug: Updating the geometry qt4 debug: size: 106 - 485 qt4 debug: sizeHint: 106 - 485 qt4 debug: New Event: type 1108 qt4 debug: Updating the geometry qt4 debug: size: 106 - 485 qt4 debug: sizeHint: 106 - 485 qt4 debug: New Event: type 1119 qt4 debug: New Event: type 1112 qt4 debug: New Event: type 1107 qt4 debug: Updating the geometry qt4 debug: size: 106 - 485 qt4 debug: sizeHint: 106 - 485 qt4 debug: New Event: type 1107 qt4 debug: Updating the geometry qt4 debug: size: 106 - 485 qt4 debug: sizeHint: 106 - 485 qt4 debug: New Event: type 1108 qt4 debug: Updating the geometry qt4 debug: size: 106 - 485 qt4 debug: sizeHint: 106 - 485 qt4 debug: New Event: type 1114 qt4 debug: New Event: type 1114 qt4 debug: New Event: type 1114 qt4 debug: New Event: type 1107 qt4 debug: Updating the geometry qt4 debug: size: 106 - 485 qt4 debug: sizeHint: 106 - 485 qt4 debug: New Event: type 1107 qt4 debug: Updating the geometry qt4 debug: size: 106 - 485 qt4 debug: sizeHint: 106 - 485 qt4 debug: New Event: type 1108 qt4 debug: Updating the geometry qt4 debug: size: 106 - 485 qt4 debug: sizeHint: 106 - 485 qt4 debug: New Event: type 1114 qt4 debug: New Event: type 1114 qt4 debug: New Event: type 1114 qt4 debug: New Event: type 1116 qt4 debug: New caching: 90 qt4 debug: New caching: 90 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 main debug: Buffering 91% main debug: Buffering 92% main debug: Buffering 93% main debug: Buffering 94% main debug: Buffering 95% main debug: Buffering 97% main debug: Buffering 98% main debug: Buffering 99% main debug: Stream buffering done (301 ms in 39 ms) main debug: Decoder buffering done in 0 ms libmpeg2 debug: 544x576 (display 544,576), aspect 576000, sar 24:17, 25.000 fps main warning: dts != current_pts (-225486560755) stream_out_transcode debug: drift is too high, resetting master sync stream_out_transcode debug: decoder aspect is 576000:432000 stream_out_transcode debug: source pixel aspect is 1.411765:1 stream_out_transcode debug: scaled pixel aspect is 1.411765:1 stream_out_transcode debug: source 544x576, destination 544x576 stream_out_transcode debug: encoder aspect is 576000:432000 main debug: looking for video filter2 module: 1 candidate deinterlace debug: using blend deinterlace mode deinterlace debug: using blend deinterlace method deinterlace debug: deinterlacing main debug: using video filter2 module "deinterlace" main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms) main debug: Filter 'deinterlace' (0x144666c) appended to chain stream_out_transcode debug: destination (after video filters) 544x576 main debug: looking for encoder module: 12 candidates x264 debug: version x264 0.67.X qt4 debug: New Event: type 1116 qt4 debug: New caching: 100 qt4 debug: New caching: 100 qt4 debug: New Event: type 1116 x264 debug: initializing pthread-win32 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 main debug: using encoder module "x264" qt4 debug: New Event: type 1116 main debug: TIMER module_need() : 6.000 ms - Total 6.000 ms / 1 intvls (Avg 6.000 ms) qt4 debug: New Event: type 1116 stream_out_duplicate debug: duplicated a new stream codec=h264 (es=1 group=0) main debug: adding a new input mux_mp4 debug: adding input stream_out_duplicate debug: - added for output 0 stream_out_transcode debug: drift is too high, resetting master sync qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 qt4 debug: New Event: type 1116 mpeg_audio debug: MPGA channels:2 samplerate:48000 bitrate:192 main debug: adding a new sout input (sout_input:0x1530630) stream_out_transcode debug: creating audio transcoding from fcc=
mpga' to fcc=mp4a' main debug: looking for decoder module: 35 candidates main debug: using decoder module "mpeg_audio" main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: looking for encoder module: 12 candidates avcodec debug: libavcodec initialized (interface 0x341b00) avcodec debug: found encoder MPEG AAC Audio main debug: using encoder module "avcodec" main debug: TIMER module_need() : 12.000 ms - Total 12.000 ms / 1 intvls (Avg 12.000 ms) stream_out_transcode debug: Looking for filter (mpga->s16l, channels 2->2, rate 48000->48000) 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.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: Filter 'mpgatofixed32' (0x13ecdf4) 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.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: Filter 'audio_format' (0x8c01c14) appended to chain stream_out_transcode debug: Got complete audio filter chain stream_out_duplicate debug: duplicated a new stream codec=mp4a (es=0 group=0) main debug: adding a new input mux_mp4 debug: adding input stream_out_duplicate debug: - added for output 0 mpeg_audio debug: MPGA channels:2 samplerate:48000 bitrate:192 stream_out_transcode debug: drift is too high, resetting master sync libmpeg2 debug: 544x576 (display 544,576), aspect 576000, sar 24:17, 25.000 fps main warning: backward_pts != current_pts (80000) libmpeg2 debug: 544x576 (display 544,576), aspect 576000, sar 24:17, 25.000 fps libmpeg2 debug: 544x576 (display 544,576), aspect 576000, sar 24:17, 25.000 fps libmpeg2 debug: 544x576 (display 544,576), aspect 576000, sar 24:17, 25.000 fps mux_mp4 warning: i_length <= 0 mux_mp4 warning: i_length <= 0 libmpeg2 debug: 544x576 (display 544,576), aspect 576000, sar 24:17, 25.000 fps libmpeg2 debug: 544x576 (display 544,576), aspect 576000, sar 24:17, 25.000 fps mux_mp4 warning: i_length <= 0 mux_mp4 warning: i_length <= 0 libmpeg2 debug: 544x576 (display 544,576), aspect 576000, sar 24:17, 25.000 fps libmpeg2 debug: 544x576 (display 544,576), aspect 576000, sar 24:17, 25.000 fps libmpeg2 debug: 544x576 (display 544,576), aspect 576000, sar 24:17, 25.000 fps mux_mp4 warning: i_length <= 0 mux_mp4 warning: i_length <= 0 mux_mp4 warning: i_length <= 0 libmpeg2 debug: 544x576 (display 544,576), aspect 576000, sar 24:17, 25.000 fps mux_mp4 warning: i_length <= 0 mux_mp4 warning: i_length <= 0 mux_mp4 warning: i_length <= 0 mux_mp4 warning: i_length <= 0 mux_mp4 warning: i_length <= 0 mux_mp4 warning: i_length <= 0 [...] libmpeg2 debug: 544x576 (display 544,576), aspect 576000, sar 24:17, 25.000 fps mux_mp4 warning: i_length <= 0 mux_mp4 warning: i_length <= 0 mux_mp4 warning: i_length <= 0 mux_mp4 warning: i_length <= 0 libmpeg2 debug: 544x576 (display 544,576), aspect 576000, sar 24:17, 25.000 fps mux_mp4 warning: i_length <= 0 mux_mp4 warning: i_length <= 0 mux_mp4 warning: i_length <= 0 main debug: EOF reached main debug: waiting decoder fifos to empty main debug: waiting decoder fifos to empty main debug: waiting decoder fifos to empty main debug: finished input main debug: thread times: real 5m6.062500s, kernel 0m0.015625s, user 0m2.828125s main debug: removing module "mpeg_audio" main debug: killing decoder fourcc
mpga', 0 PES in FIFO
main debug: removing a sout input (sout_input:0x1530630)
main debug: TIMER encoding audio frame : 1.000 ms - Total 2529.000 ms / 3095 intvls (Avg 0.817 ms)
main debug: removing module "mpeg_audio"
main debug: removing module "avcodec"
main debug: Filter 'mpgatofixed32' (0x13ecdf4) removed from chain
main debug: removing module "mpgatofixed32"
main debug: Filter 'audio_format' (0x8c01c14) removed from chain
main debug: removing module "audio_format"
mux_mp4 debug: removing input
main debug: thread times: real 5m6.093750s, kernel 0m0.125000s, user 0m9.437500s
main debug: removing module "packetizer_mpegvideo"
main debug: killing decoder fourcc `mpgv', 0 PES in FIFO
main debug: removing a sout input (sout_input:0x147d878)
main debug: TIMER encoding video frame : 255.000 ms - Total 297489.014 ms / 1854 intvls (Avg 160.458 ms)
main debug: removing module "libmpeg2"
x264 debug: pthread-win32 deinitialized
main debug: removing module "x264"
main debug: Filter 'deinterlace' (0x144666c) removed from chain
main debug: removing module "deinterlace"
mux_mp4 debug: removing input
main warning: no more input streams for this mux
main debug: Program doesn't contain anymore ES
main debug: removing module "ps"
main debug: removing module "stream_filter_record"
main debug: removing module "access_file"
main debug: thread ended
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)
mux_mp4 debug: Close
mux_mp4 debug: movie duration 73s
mux_mp4 debug: created 1099 chunks (stco)
mux_mp4 debug: created 1098 chunks (stco)
main debug: removing module "mux_mp4"
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 5m6.328125s, kernel 0m0.125000s, user 0m0.078125s
main debug: changing item without a request (current 0/1)
main debug: nothing to play
qt4 debug: IM: Deleting the input
qt4 debug: Updating the geometry
qt4 debug: size: 106 - 485
qt4 debug: sizeHint: 106 - 485
qt4 debug: Updating the geometry
qt4 debug: size: 106 - 485
qt4 debug: sizeHint: 106 - 485
main debug: Destroying the input for 'Streaming'
main debug: TIMER input launching for 'Streaming' : 43.000 ms - Total 43.000 ms / 1 intvls (Avg 43.000 ms)
}}}