[MEncoder-users] flicking video

Ludovit Koren Ludovit_Koren at tempest.sk
Fri Aug 10 13:28:56 CEST 2007




Hi, 

I am trying to convert video which was saved by satellite receiver to
the DVD and replay it on Sony Home Theater. I played with settings and
command line options to mencoder to no avail. Produced video is
flicking on the DVD player, although is fine on my computer. Can
anybody help to point me what I am doing wrong, because I am basically
lost.

What I did follows:

>mencoder inputfile.ts -ss 00:26:00 -endpos 300mb -ofps 24000/1001 -oac copy -o outputfile.avi -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=10000:v4mv:mbd=2:trell:cmp=3:subcmp=3:autoaspect:mv0:cbp:last_pred=3:predia=2:dia=2:vmax_b_frames=2:vb_strategy=1:sc_factor=6:precmp=2:preme=2:vpass=1 -vf pullup,softskip,crop=720:576:0:0,hqdn3d=2:1:2,spp,scale=720:576,harddup
MPlayer 1.0rc1-3.4.6 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) M processor 2.00GHz (Family: 6, Model: 13, Stepping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Playing 20070708 1455 - CT SPORT - Wimbledon 2007.ts.
TS file format detected.
VIDEO MPEG2(pid=166) AUDIO MPA(pid=102) NO SUBS (yet)!  PROGRAM N. 8007
VIDEO:  MPEG2  720x576  (aspect 3)  25.000 fps  3986.8 kbps (498.4 kbyte/s)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 720x576 => 1024x576 Planar YV12 
....
>mencoder inputfile.ts -ss 00:26:00 -endpos 300mb -ofps 24000/1001 -oac copy -o outputfile.avi -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=10000:v4mv:mbd=2:trell:cmp=3:subcmp=3:autoaspect:mv0:cbp:last_pred=3:predia=2:dia=2:vmax_b_frames=2:vb_strategy=1:sc_factor=6:precmp=2:preme=2:vpass=2 -vf pullup,softskip,crop=720:576:0:0,hqdn3d=2:1:2,spp,scale=720:576,harddup

>mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd:tsaf -srate 48000 -af lavcresample=48000 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=9800:keyint=15:trell:mbd=2:precmp=2:subcmp=2:cmp=2:dia=-10:predia=-10:cbp:mv0:vqmin=1:lmin=1:dc=10:vstrict=0:aspect=16/9 -ofps 25 -vf scale=720:576:1,harddup -o outputfile.mpg inputfile.avi

>dvdauthor -o dvd -x dvdauthor.xml

and dvdauthor.xml

<dvdauthor>
    <vmgm />
    <titleset>
        <titles>
            <pgc>
                <vob file="outputfile.mpg" />
            </pgc>
        </titles>
    </titleset>
</dvdauthor>

>growisofs -speed=1 -Z /dev/cd0 -dvd-video dvd

It is sport program, there are high motion scenes which cause
flicking. I changed vbitrate between 800 and 2400. It seems to be a
little bit better on lower bitrate, but the picture is no good. In the
above, I tried no to setup any limits.

Any help appreciated. Thank you in advance

Regards,

lk



More information about the MEncoder-users mailing list