Quoting deloptes <delop...@yahoo.com>:

> Marko Randjelovic wrote:
> 
> > I use Squeeze on this machine. It has TV card:
> > Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder
> > 
> > When recording from this TV card with mencoder, every 0.15s on average,
> > a message is output from mencoder:
> > 
> > 1 duplicate frame(s)!
> > 
> > or
> > 
> > Skipping frame!
> > 
> > When playing recorded file, picture and sound are very loosely
> > synchronized.
> > 
> > Everything worked fine until I reinstalled system. After that, I tried
> > to change relevant packages' versions hoping that will resolve the
> > issue, but it didn't.
> > 
> > Regards
> 
> Hi,
> what are the options you are using for mencoder. Perhaps the problem is not
> in the encoder, but your hardware is slow?
> 
> try adjusting the encoder and check if it has effect

I eliminated all but essential options, but nothing changed. I can further try
only without audio to see if the problem is related to mixing audio and video.

Regarding hardware, I've said before reinstall everything was working, and
nothing changed in hardware. I use libx264 and preset=ultrafast which is quite
easy for my CPU. According to 'top', my CPU is 89% idle and mencoder is taking
only 14% of my CPU.

Regards,
Marko

> 
> before it all got HD I used PAL in europe-west
> 
> TV_DRV="driver=v4l2:outfmt=yuy2:width=640:height=480"
> TV_NORM="norm=PAL:normid=0:chanlist=europe-west"
> TV_DEV="device=/dev/video0:input=0"
>
TV_AUD="forceaudio:forcechan=2:audiorate=48000:amode=1:audioid=1:adevice=/dev/dsp1"
> 
> mencoder -tv $TV_DRV:$TV_NORM:channel=$CH:$TV_DEV:$TV_AUD \
>          -ovc lavc -lavcopts \          
>                 vcodec=mpeg4:vqmin=2:vbitrate=1200:mbd=1:keyint=300 \
>          -oac lavc -lavcopts acodec=mp3:abitrate=128 \
>          -vf scale,pp=lb,denoise3d -o output.avi tv://
> 
> and this worked pretty well - but this was like 6y ago. Now I would use at
> least 720x400 
> 
> I hope this helps
> 





Reply via email to