[MPlayer-users] IVTC Rehashed!!!

Jeremy Mann Jeremy.R.Mann at integracarehh.com
Wed May 14 22:56:47 CEST 2003


I need help with IVTC of a pure NTSC film source.  My command line is:
nice -+19 mencoder -oac copy -o potter-preview.avi -ovc lavc -lavcopts
vcodec=mpeg4:vbitrate=825:vhq:vpass=1:vqmin=2:vqmax=16:mbqmin=2:mbqmax=1
6 -vop detc=dr=1,scale=640:272,crop=720:364:0:56,pp=lb -ss 0:20 -endpos
0:30 Potter-001.vob

It is my understanding the detc=dr=1 causes a frame drop every 5 frames.
In watching the output of this small clip(from harry potter DVD) I see a
telecine pattern of repeated frames, and therefore jerky motion.  What
am I doing wrong?  I am also curious how to get rid of the duplicate
frame message(unless by fixing my ivtc I fix that problem).

Mencoder output follows(I didn't -v, I can if needed)



debian:~/Potter/vob/001# nice -+19 mencoder -oac copy -o
potter-preview.avi -ovc lavc -lavcopts
vcodec=mpeg4:vbitrate=825:vhq:vpass=1:vqmin=2:vqmax=16:mbqmin=2:mbqmax=1
6 -vop detc=dr=1,scale=640:272,crop=720:364:0:56,pp=lb -ofps 23.976 -ss
0:20 -endpos 0:30 Potter-001.vob
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MEncoder 0.90rc5-3.2.3 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices Duron MG Morgan (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Reading /root/.mplayer/codecs.conf: can't open
'/root/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: 50 audio & 136 video codecs
AVI file format detected.
VIDEO:  [FrNo]  720x480  24bpp  29.97 fps    0.8 kbps ( 0.1 kbyte/s)
Using pass3 control file: frameno.avi
Reading config file /root/.mplayer/mencoder: No such file or directory
success: format: 0  data: 0x0 - 0x40000000
MPEG-PS file format detected.
VIDEO:  MPEG2  720x480  (aspect 3)  29.97 fps  7500.0 kbps (937.5
kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x480  fps:29.97  ftime:=0.0334
========================================================================
==
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe)  48000 Hz  384.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 48000->192000 (384.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
========================================================================
==
Opening video filter: [expand=-1:-1:-1:-1:1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
Opening video filter: [detc=dr=1]
Opening video filter: [scale=640:272]
Opening video filter: [crop=720:364:0:56]
Crop: 720 x 364, 0 ; 56
Opening video filter: [pp=lb]
========================================================================
==
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
[PP] Using external postprocessing filter, max q = 6.
Could not find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
VDec: vo config request - 720 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 1.78:1 - prescaling to correct movie aspect.
SwScaler: reducing / aligning filtersize 6 -> 8
SwScaler: reducing / aligning filtersize 6 -> 8
SwScaler: reducing / aligning filtersize 7 -> 6
SwScaler: reducing / aligning filtersize 7 -> 6

SwScaler: BICUBIC scaler, from Planar YV12 to Planar YV12 using MMX2
videocodec: libavcodec (640x272 fourcc=58564944 [DIVX])
High quality encoding selected (non real time)!
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
========================================================================
==
audiocodec: framecopy (format=2000 chans=2 rate=48000 bits=16 bps=48000
sample=1)
Writing AVI header...
New_Face failed. Maybe the font path is wrong.  1mb  A-V:0.000 [0:0]
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Pos:   0.2s      5f ( 1%)   0fps Trem:   0min   4mb  A-V:0.000 [0:0]
1 duplicate frame(s)!
Pos:   0.3s      7f ( 1%)   0fps Trem:   0min   4mb  A-V:0.000 [0:0]
1 duplicate frame(s)!
Pos:   0.5s     12f ( 1%)   0fps Trem:   0min   5mb  A-V:0.000 [0:0]
demux_mpg: 3:2 TELECINE detected, enabling inverse telecine fx. FPS
changed to 23.976!
Pos:   0.5s     13f ( 1%)   0fps Trem:   0min   6mb  A-V:0.000 [0:0]
1 duplicate frame(s)!
Pos:   0.7s     17f ( 1%)   0fps Trem:   0min   8mb  A-V:0.000 [0:384]
1 duplicate frame(s)!
Pos:   1.0s     25f ( 1%)   0fps Trem:   0min   9mb  A-V:0.000 [878:384]
1 duplicate frame(s)!
Pos:   1.1s     27f ( 1%)   0fps Trem:   0min  11mb  A-V:0.000 [853:384]
Writing AVI index...
Fixing AVI header...

Video stream:  853.335 kbit/s  (106666 bps)  size: 115672 bytes  1.084
secs  27 frames

Audio stream:  384.000 kbit/s  (48000 bps)  size: 96000 bytes  2.000
secs
debian:~/Potter/vob/001#




More information about the MPlayer-users mailing list