[MPlayer-users] Re: [-] TV-recording with mencoder, "video-buffer full"

Matthias Wieser mwieser at gmx.de
Tue Mar 8 22:20:29 CET 2005


Am Montag, 7. März 2005 16:54 schrieb Rainer Hantsch:
> On Thu, 3 Mar 2005, Matthias Wieser wrote:
> | Hi,
> |
> | Am Donnerstag, 3. März 2005 09:16 schrieb Rainer Hantsch:
> | > The script is actually started from 'at' with all of its options.
> | > Another script (not attached) allows "programing" my
> | > "video-recorder". It asks for the station name, date,
> | > start/endtime, checks validy, and finally makes an at-job. If
> | > someone is interested, I can supply it, too.
> |
> | That would be nice.
>
> Ok, I attached it. Have a lot of fun.

Thanks!

> | > What I could not get fixed is:
> | > .) maybe a better image quality (getting away this noise).
> |
> | Let's see...
> |
> | > # Bildformat auswählen / berechnen von Clipping
> | > # PAL     = 720 breit  Es geht aber nur max. 688 px (muß durch 16
> | > teilbar sein)
> | > palw=688
> | > palh=`expr $palw "*" 3 "/" 4`
> | > width=$palw
> | > height=`expr $palh - 8`
> | > [...]
> | > # Aufnehmen...
> | > mencoder -tv on:input=$vinput:driver=v4l:device=/dev/video0:\
> | > width=$palw:height=$palh:fps=25:forceaudio=1:audiorate=48000:\
> |
> | You are capturing at 688x516. Pal is 720x576 (or 768x576 with square
> | pixels).
> | When you capture at 516 lines, deinterlacing will not work properly
> | anymore.
>
> I tried 720x576, but this caused too high load and frame drops at
> recording. So I reduced a little bit and this works.

But maybe that's the reason for the bad colour.

> | > amode=0:forcechan=1:adevice=/dev/dsp \
> | > -oac mp3lame -lameopts cbr:br=128 \
> |
> | abr should be better than cbr.
>
> No. Causes problems with cutting with avidemux.

Just learned that, too.

> | > -ovc lavc -lavcopts vcodec=mpeg4:vqscale=3:vbitrate=1400:keyint=25
> | > \
> |
> | vbitrate <=> vqscale
>
> Don't understand what you mean.

What do you want: variable bitrate (vbitrate) or constant quantisizer 
(vqscale). You can not have both.


> | > -vop crop=$width:$height,denoise3d=8:6:6,pp=md \
> |
> | pp=md produces ugly looking 1x2 pixel blocks.
>
> Does it cause higher CPU load?

Higher than what? The CPU load of pp=[md|fd|lb] is quite low, the CPU load 
of "kendeint" is a bit higher.


Regards,
  Matthias




More information about the MPlayer-users mailing list