[MPlayer-users] Trouble with grab tv via mencoder

yopt prayer at list.ru
Sat Dec 23 22:47:17 CET 2006


Hi.

I need to digitize video cassete. I use mencoder for this.
But i have some trouble: 
when i tried digitize tv program I receive something like that:

mencoder -tv
device=/dev/bktr0:driver=bsdbt848:norm=PAL:input=4:chanlist=russia:width=400:height=300
tv:// -ovc lavc -oac lavc -lavcopts
acodec=mp2:abitrate=256:vcodec=msmpeg4:vbitrate=1300:mbd=2 -vf pp=fd -o
test.avi MEncoder dev-SVN-r21740-3.4.4 (C) 2000-2006 MPlayer Team CPU:
AMD Athlon(tm) Processor (Family: 6, Model: 4, Stepping: 2) CPUflags:
Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0 Compiled for
x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx

success: format: 9  data: 0x0 - 0x0
TV file format detected.
Selected driver: bsdbt848
 name: Brooktree848 Support
 author: Charles Henrich
 comment: in development
dsp open: Device busy
setfrag: Bad file descriptor
tunerfreq:ioctl: Invalid argument
START
[V] filefmt:9  fourcc:0x59565955  size:400x300  fps:25.00  ftime:=0.0400
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [pp=fd]
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 400 x 300 (preferred colorspace: Packed UYVY)
[PP] Using external postprocessing filter, max q = 6.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Packed UYVY as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 9 -> 8
SwScaler: BICUBIC scaler, from uyvy422 to yuv420p using MMX2
SwScaler: using 4-tap MMX scaler for horizontal luminance scaling
SwScaler: using 4-tap MMX scaler for horizontal chrominance scaling
SwScaler: using 1-tap MMX "scaler" for vertical scaling (YV12 like)
SwScaler: 400x300 -> 400x300
videocodec: libavcodec (400x300 fourcc=33766964 [div3])
[VE_LAVC] High quality encoding selected (non-realtime)!
Selected video codec: [rawuyvy] vfm: raw (RAW UYVY)
==========================================================================
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.
Compiler did not align stack variables. Libavcodec has been miscompiled
and may be very slow or crash. This is not a bug in libavcodec,
but in the compiler. Do not report crashes to FFmpeg developers.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not
writing vprp header. Writing header...
ODML: Aspect information not (yet?) available or unspecified, not
writing vprp header. Pos:   0.2s      5f ( 0%)  0.00fps Trem:   0min
0mb  A-V:0.000 [0:0] 1 duplicate frame(s)!
Pos:   1.2s     30f ( 0%) 18.20fps Trem:   0min   0mb  A-V:0.000
[2741:0] 2 duplicate frame(s)!
Pos:   1.8s     42f ( 0%) 18.80fps Trem:   0min   0mb  A-V:0.000
[2198:0] 2 duplicate frame(s)!
Pos:   5.1s    123f ( 0%) 22.41fps Trem:   0min   0mb  A-V:0.000
[1608:0] 1 duplicate frame(s)!
Pos:   6.0s    145f ( 0%) 22.97fps Trem:   0min   0mb  A-V:0.000
[1552:0] 1 duplicate frame(s)!
Pos:  11.2s    273f ( 0%) 23.75fps Trem:   0min   0mb  A-V:0.000
[1410:0] 1 duplicate frame(s)!
Pos:  13.1s    319f ( 0%) 23.89fps Trem:   0min   0mb  A-V:0.000
[1405:0] 1 duplicate frame(s)!
^CPos:  14.4s    352f ( 0%) 23.91fps Trem:   0min   0mb  A-V:0.000
[1385:0] Flushing video frames.
Writing index...
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not
writing vprp header.

Video stream: 1385.783 kbit/s  (173222 B/s)  size: 2501338 bytes
14.440 secs  352 frames

duplicate frame(s) - them it is not appreciable almost.

But if i press play on taperecorder...

..........
4 duplicate frame(s)!
Pos:   1.8s     33f ( 0%) 16.89fps Trem:   0min   0mb  A-V:0.000
[1501:0] 6 duplicate frame(s)!
Pos:   2.3s     40f ( 0%) 16.18fps Trem:   0min   0mb  A-V:0.000
[1304:0] 14 duplicate frame(s)!
Pos:   3.1s     46f ( 0%) 14.05fps Trem:   0min   0mb  A-V:0.000
[1056:0] 10 duplicate frame(s)!
Pos:   3.7s     51f ( 0%) 13.16fps Trem:   0min   0mb  A-V:0.000 [949:0]
5 duplicate frame(s)!
Pos:   4.4s     62f ( 0%) 13.74fps Trem:   0min   0mb  A-V:0.000 [926:0]
1 duplicate frame(s)!
.........
Why so many duplicate frame(s)???
It is video it is impossible to look.

Really sorry for my english



More information about the MPlayer-users mailing list