[MPlayer-users] mencoder TV Capture - video buffer full

Andre Bruce abruce at ig.com.br
Wed Aug 20 16:07:41 CEST 2003


I have a duron 950mhz, 512 ram and had the same problem.
The problem is that my CPU (maybe yours too) is not fast enough to
compress in realtime. My solution was NOT to encode audio.
Change your -aoc mp3lame to -oac copy (or pcm) and you wont get video
buffer full anymore(i didnt.. )
The file will be bigger because sound wont be compressed.
Then just run mencoder and re-encode sound:
mencoder  -oac mp3lame -ovc copy input_file.avi -o output_file.avi
That way i can record everything running kde, and even run some
programs!! (if i run lot o f things, i get video buffer full :P )

What i usually do is: i have 1 script for recording, and after recording
it automatcly re-encodes! You should do something like that!

Andre (brazil)


On Wed, 2003-08-13 at 22:31, David Frey wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> I am trying to record from my Phoebe TV Master in Canada using
> mencoder.  My computer is an Athlon XP2400+ with 512 MB of RAM and
> plenty of free HD space.  I looked through the man page for mencoder and
> googled a bit.  I came up with the following command to record 30
> seconds.  I am trying to use the onboard audio capture rather than the
> line in so that's why I am using dsp1.
> 
> mencoder -tv
> on:driver=v4l:width=640:height=480:fps=29.97:norm=NTSC:chanlist=us-cable:channel=8:adevice=/dev/dsp1 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1460:keyint=300 -oac mp3lame -lameopts cbr:br=128 -endpos 30 -vop pp=lb,pp=tn:3 -info name="test" -o test.avi
> 
> After I run the command, I can see my memory usage rising quickly in
> gkrellm.  Once the memory is almost all used up, this error is printed
> over and over quite quickly "video buffer full - dropping frame".  I
> have included the full output (minus the repeating error at the end)
> below.  I can view the TV using both mplayer and xawtv.  Another issue
> is that once I try to start recording, the audio is played through my
> speakers for some reason and then after I terminate the recording, the
> sound won't stop until I unload the bttv module.  Any ideas?
> 
> Using GNU internationalization
> Original domain: messages
> Original dirname: /usr/share/locale
> Current domain: mplayer
> Current dirname: /usr/share/locale
> 
> 
> MEncoder 0.90rc5-3.3.1 (C) 2000-2003 Arpad Gereoffy (see DOCS)
> 
> CPU: Advanced Micro Devices  (Family: 6, Stepping: 1)
> Detected cache-line size is 64 bytes
> MMX2 supported but disabled
> CPUflags: Type: 6 MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
> Reading /home/dfrey/.mplayer/mencoder_codecs.conf: can't open
> '/home/dfrey/.mplayer/mencoder_codecs.conf': No such file or directory
> Reading /etc/mplayer/mencoder_codecs.conf: 50 audio & 136 video codecs
> File not found: 'frameno.avi'
> Reading config file /home/dfrey/.mplayer/mencoder: No such file or
> directory
> success: format: 0  data: 0x0 - 0x0
> TV detected! ;-)
> Selected driver: v4l
>  name: Video 4 Linux input
>  author: Alex Beregszaszi <alex at naxine.org>
>  comment: under development
> Selected device: BT878(Askey CPH06X TView99)
>  Capabilites: capture tuner overlay clipping frameram scales 
>  Device type: 235
>  Supported sizes: 48x32 => 924x576
>  Inputs: 4
>   0: Television: tuner audio tv camera  (tuner:1, norm:pal)
>   1: Composite1: audio camera  (tuner:0, norm:pal)
>   2: S-Video: audio camera  (tuner:0, norm:pal)
>   3: Composite3: audio camera  (tuner:0, norm:pal)
> Unable to set trigger: 1
> audio block size too low, setting to 8192!
> Using input 'Television'
> Selected channel: 8 (freq: 181.250)
> [V] filefmt:9  fourcc:0x32315659  size:640x480  fps:29.97  ftime:=0.0334
> ==========================================================================
> Opening audio decoder: [pcm] Uncompressed PCM audio decoder
> AUDIO: 44100 Hz, 1 ch, 16 bit (0x10), ratio: 88200->88200 (705.6 kbit)
> Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)
> ==========================================================================
> Opening video filter: [expand=-1:-1:-1:-1:1]
> Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
> Opening video filter: [pp=lb]
> Opening video filter: [pp=tn:3]
> ==========================================================================
> Opening video decoder: [raw] RAW Uncompressed Video
> VDec: vo config request - 640 x 480 (preferred csp: Planar YV12)
> [PP] Using external postprocessing filter, max q = 6.
> VDec: using Planar YV12 as output csp (no 0)
> Movie-Aspect is undefined - no prescaling applied.
> videocodec: libavcodec (640x480 fourcc=58564944 [DIVX])
> Selected video codec: [rawyv12] vfm:raw (RAW YV12)
> ==========================================================================
> MP3 audio selected
> Building audio filter chain for 44100Hz/1ch/16bit ->
> 44100Hz/1ch/16bit...
> Forcing audio preload to 0, max pts correction to 0
> New_Face failed. Maybe the font path is wrong.
> Please supply the text font file (~/.mplayer/subfont.ttf).
> subtitle font: load_sub_face failed.
> Writing AVI header...
> Pos:   0.0s      1f ( 0%)   0fps Trem:   0min   0mb  A-V:0.000 [0:0]
> video buffer full - dropping frame
> 
> video buffer full - dropping frame
> 
> video buffer full - dropping frame
> 
> video buffer full - dropping frame
> 
> video buffer full - dropping frame
> 
> video buffer full - dropping frame
> 
> video buffer full - dropping frame
> 
> video buffer full - dropping frame
> 
> 
> _______________________________________________
> RTFM!!!  http://www.MPlayerHQ.hu/DOCS
> Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
> http://mplayerhq.hu/mailman/listinfo/mplayer-users
> 



More information about the MPlayer-users mailing list