[MPlayer-users] impossible to encode TV signals with mencoder now; video buffer full droppinf frames

Alain Barthélemy cassandre at bartydeux.be
Wed Aug 23 23:40:33 CEST 2006


I was happy with a SuSE-8.2/AMD Athlon XP 2000+/512 Mb RAM/ATI Radeon
RV250/Pinnacle PCTV/Rave. MPlayer 1.0Pre7 worked perfectly on it for my
modest uses. TV signal encoding was all right with mencoder.

Now I have a AMD Athlon 64 3500+/1Gb RAM with same Video and TV card.

I thought that I would not have problems with MPlayer but...

Debian Sarge: impossible to install correctly MPlayer 1.0Pre8 (no image
when playing an avi file) with 1.0Pre8 sources.

Thus I installed SuSE-10.0. First, difficulties to install manually the
1.0Pre8 sources (no image again, no video vs x11 vesa drivers). Then the
installation crashed. Thus I installed the RPM file from Packman. I can
now read my avi files, DVD's, but, problem with encoding TV signals.

I read my TV signal without problem with following instruction line:

mplayer -tv driver=v4l2:width=720:height=576 tv://

Normally, there should be no problem with mencoder:

Here is my mencoder command line (it has worked for many months on my
previous PC):

/usr/bin/mencoder -tv driver=v4l:width=720:height=576:amode=1 -oac lavc -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=2200:vratetol=32000:mbd=2:psnr:aspect=4/3:acodec=mp3:abitrate=224 -vf crop=672:528:24:24,pp=lb,scale=576:432,hqdn3d=3:2:5 -sws 1 -noodml -ffourcc DIVX tv:// -o temp1.avi -endpos 1380

No encoding but  "video buffer full - dropping frame"

====

Details:

uname-a Linux 2,6,13-15 ... UTC 2005 1686 athlon i386 GNU/Linux (AMD
Athlon 64 3500+)

Video card: ATI Radeon RV250

TV capture card:  Pinnacle PCTV/Rave (Multimedia controller: Brooktree corporation BT878)


MEncoder dev-SVN-rUNKNOWN-4.0.2 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 3500+ (Family: 15, Model: 47, Stepping: 2)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
success: format: 9  data: 0x0 - 0x0
Selected driver: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski <olschewski at zpr.uni-koeln.de>
 comment: first try, more to come ;-)
Selected device: BT878 video (Pinnacle PCTV Stud
 Tuner cap:
 Tuner rxs: MONO
 Capabilites:  video capture  video overlay  VBI capture device  tuner  read/write  streaming
 supported norms: 0 = PAL; 1 = NTSC; 2 = SECAM; 3 = PAL-Nc; 4 = PAL-M; 5 = PAL-N; 6 = NTSC-JP; 7 = PAL-60;
 inputs: 0 = Television; 1 = Composite1; 2 = S-Video;
 Current input: 0
 Current format: YUV420
v4l2: current audio mode is : MONO
Unable to set trigger: 1
Audio block size too low, setting to 8192!
[V] filefmt:9  fourcc:0x32315659  size:720x576  fps:25.00  ftime:=0.0400
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 32000 Hz, 1 ch, s16le, 512.0 kbit/100.00% (ratio: 64000->64000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [hqdn3d=3:2:5]
Opening video filter: [scale w=576 h=432]
Opening video filter: [pp=lb]
Opening video filter: [crop w=672 h=528 x=24 y=24]
Crop: 672 x 528, 24 ; 24
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 720 x 576 (preferred colorspace: 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.
SwScaler: reducing / aligning filtersize 4 -> 4
SwScaler: reducing / aligning filtersize 4 -> 4
SwScaler: reducing / aligning filtersize 4 -> 3
SwScaler: reducing / aligning filtersize 4 -> 3

SwScaler: BILINEAR scaler, from 0x32315659 (21VY) to 0x32315659 (21VY) using MMX2
SwScaler: using 4-tap MMX scaler for horizontal luminance scaling
SwScaler: using 4-tap MMX scaler for horizontal chrominance scaling
SwScaler: using n-tap MMX scaler for vertical scaling (YV12 like)
SwScaler: 672x528 -> 576x432
videocodec: libavcodec (576x432 fourcc=34504d46 [FMP4])
[VE_LAVC] High quality encoding selected (non-realtime)!
Selected video codec: [rawyv12] vfm: raw (RAW YV12)
==========================================================================
Forcing output FourCC to 58564944 [DIVX].
Forcing audio preload to 0, max pts correction to 0.
Pos:   0.0s      1f ( 0%)  0.00fps 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

======

No problem to rip DVD's. Only to read TV signals. Long time ago, I had
dropping frames problems and I reduced the width to 720px and the height
to 576px. What should I modify to avoid these "video buffer full dropping frames". Normally I have a stronger CPU and more RAM now, video card is the same.

-- 
Alain Barthélemy
cassandre at bartydeux.be
http://www.bartydeux.be
Linux User #315631




More information about the MPlayer-users mailing list