[MEncoder-users] I want to reset a fps using mencoder from a TV V4L2 source.

Chang Min Jeon jcm1981 at gmail.com
Fri Aug 19 09:56:05 CEST 2005


-ofps options can't reset fps from TV CARD.
 I want to set 10fps from TV CARD.
 But mencoder save tv.avi which has 30fps.
  
[root at e-viola ~]# mencoder -tv 
driver=v4l2:width=352:height=288:chanlist=us-bcas
t:channel=11:norm=ntsc tv:// -o tv.avi -ovc lavc -oac lavc -endpos 10
MEncoder dev-CVS-050630-13:00-3.4.1 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Xeon/Celeron Foster (Family: 8, Stepping: 7)
Detected cache-line size is 64 bytes
CPUflags: Type: 8 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

File not found: 'frameno.avi'
Failed to open frameno.avi
success: format: 9 data: 0x0 - 0x0
TV detected! ;-)
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 (Sigma TVII-FM)
Tuner cap:
Tuner rxs: MONO
Capabilites: video capture video overlay VBI capture device tuner read/wri
te 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;
Current input: 0
Current format: BGR24
v4l2: current audio mode is : MONO
Selected channel: 11 (freq: 199.250)
audio block size too low, setting to 8192!
[V] filefmt:9 fourcc:0x32315659 size:352x288 fps:29.00 ftime:=0.0345
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 1 ch, s16le, 705.6 kbit/100.00% (ratio: 88200->88200)
Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1 (-1=autodetect) osd: 1
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 352 x 288 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
videocodec: libavcodec (352x288 fourcc=34504d46 [FMP4])
Selected video codec: [rawyv12] vfm:raw (RAW YV12)
==========================================================================
Building audio filter chain for 44100Hz/1ch/s16le -> 0Hz/0ch/??...
Building audio filter chain for 44100Hz/1ch/s16le -> 44100Hz/1ch/s16le...
Writing AVI header...
ODML: Aspect information not (yet?) available or unspecified, not writing 
vprp header.
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.
ODML: Aspect information not (yet?) available or unspecified, not writing 
vprp header.
Pos: 0.0s 1f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
1 duplicate frame(s)!
Pos: 0.1s 3f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
1 duplicate frame(s)!
Pos: 1.6s 43f ( 0%) 27fps Trem: 0min 0mb A-V:0.000 [1240:224]
Skipping frame!
Pos: 2.6s 74f ( 0%) 28fps Trem: 0min 0mb A-V:0.000 [1070:224]
Skipping frame!
Pos: 3.6s 105f ( 0%) 28fps Trem: 0min 0mb A-V:0.000 [1091:224]
Skipping frame!
Pos: 4.7s 136f ( 0%) 29fps Trem: 0min 0mb A-V:0.000 [1029:224]
Skipping frame!
Pos: 5.7s 167f ( 0%) 29fps Trem: 0min 0mb A-V:0.000 [998:224]]
Skipping frame!
Pos: 6.7s 198f ( 0%) 29fps Trem: 0min 0mb A-V:0.000 [953:224]
Skipping frame!
Pos: 7.8s 229f ( 0%) 29fps Trem: 0min 0mb A-V:0.000 [921:224]
Skipping frame!
Pos: 8.8s 260f ( 0%) 29fps Trem: 0min 0mb A-V:0.000 [900:224]
Skipping frame!
Pos: 9.8s 291f ( 0%) 30fps Trem: 0min 0mb A-V:0.000 [910:224]
Skipping frame!
Pos: 10.0s 298f ( 0%) 30fps Trem: 0min 0mb A-V:0.000 [906:224]
Flushing video frames

Writing AVI index...
Fixing AVI header...
ODML: Aspect information not (yet?) available or unspecified, not writing 
vprp header.

Video stream: 906.745 kbit/s (113343 bps) size: 1137340 bytes 10.034 secs 
298 frames

Audio stream: 224.173 kbit/s (28021 bps) size: 280353 bytes 10.005 secs
v4l2: 300 frames successfully processed, 0 frames dropped.



More information about the MEncoder-users mailing list