[MEncoder-users] duplicate frame problem

Grozdan microchip at telenet.be
Sun Dec 14 23:08:54 CET 2008


On Sunday 14 December 2008 23:04:40 Jason Cumiskey wrote:
> Hi All,
>
> I have a script that I have been using for a number of years and it has
> worked well for me but recently, I get tons of duplicate frames and the
> video "stutters" on output. I checked the archives of mencoder-users and
> tried the suggestion of using harddup. It has no effect.  Here is my
> script.  If you see anything that looks not right or have any
> suggestions, it would be much appreciated!!

Hi,

Remove -mc 0 from mencoder's parameters. Does the stuttering still occurs? 
Which version of mencoder are you using? (I hope it's not 1.0rc2 as it is 
VERY outdated)

>
> Thanks, Jason
>
> # Change this if different device or recording from an image
> DVDDEVICE="/dev/dvd"
>
> # Which title?  Typically, it will be 1
> TITLE=1
>
> # Must enable this in order for this to work for NTSC source.
> # For PAL source, you must take this out.
> FPS="-ofps 24000/1001 "
> #FPS=""
>
> # CROPPING
> # --------
>
> # Run the movie with mplayer dvd://1 -vf cropdetect first.
> # Enter the crop value below.
> CROP="720:480:0:0"
>
> # This is for some extra options if the source is interlaced or
> # mixed progressive and interlaced.  By default, pullup and softskip
> # are enabled.  Even if the source is all progressive, it is alright
> # to leave this in.  If still getting skipped frames, try the older
> # method of softpulldown,ivtc=1.
> #EXTRA="pullup,softskip,"
> EXTRA="softpulldown,ivtc=1,"
>
> # Prompt for name of file
> echo "Enter the name for this avi file (don't include extension):"
> read name
> #-oac copy -vf ${EXTRA}crop=${CROP},hqdn3d=2:1:2 -ovc xvid -xvidencopts \
>
> # Pass 1
> eval "mencoder -dvd-device $DVDDEVICE dvd://$TITLE ${FPS}-ffourcc DIVX
> -alang eng \ -oac mp3lame -lameopts cbr:br=224 -mc 0 \
> -vf ${EXTRA}crop=${CROP},hqdn3d=2:1:2,harddup -ovc xvid -xvidencopts \
> pass=1:chroma_opt:vhq=4:bvhq=1:quant_type=mpeg \
> -o $name.avi"
>
> # Pass 2
> eval "mencoder -dvd-device $DVDDEVICE dvd://$TITLE ${FPS}-ffourcc DIVX
> -alang eng \ -oac mp3lame -lameopts cbr:br=224 -mc 0 \
> -vf ${EXTRA}crop=${CROP},hqdn3d=2:1:2,harddup -ovc xvid -xvidencopts \
> pass=2:bitrate=1400:chroma_opt:vhq=4:bvhq=1:quant_type=mpeg \
> -o $name.avi"
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users



-- 
Regards

http://h264enc.sourceforge.net



More information about the MEncoder-users mailing list