[MPlayer-users] Again: duplicate 1 frame(s)!!!

rene at bartschnet.de rene at bartschnet.de
Thu Jan 31 03:25:02 CET 2002


Hi,

I also do have a duplicate Frames problem with my DVB-Recordings
(Convergence driver, VDR).

My encoding skript works fine with VOBs, but with DVB files I
can not encode anything.

-aid X fails completely and without -aid I get the duplicate
frames messages. Also mc 0 and -ofps 23.976 doesn't work.

[root at echelon 2002-01-13.20.12.50.50.rec]# sh vob2divx.sh
Starting DivX compression pass 1


MEncoder CVS-020127-01:08-3.0.2 (C) 2000-2001 Arpad Gereoffy
(see DOCS!)

Reading /root/.mplayer/codecs.conf: can't open '/root/.mplayer/codecs.conf':
No such file or directory
Reading /usr/local/share/mplayer/codecs.conf: 28 audio & 75 video
codecs
CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Type:
6, Stepping: 10)
Testing OS support for SSE... yes.
Testing OS support for SSE unmasked exceptions... yes.
Tests of OS support for SSE passed.
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2:
0
Not an URL!
Datei nicht gefunden: 'frameno.avi'
Not an URL!
success: format: 0  data: 0x0 - 0x17AB8770
header block 1 size: 0
MPEG-PES Dateiformat erkannt!
VIDEO:  MPEG2  720x576  (aspect 2)  25.00 fps  18750.0 kbps (2343.8
kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25.00  ftime:=0.0400
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Type:
6, Stepping: 10)
Testing OS support for SSE... yes.
Testing OS support for SSE unmasked exceptions... yes.
Tests of OS support for SSE passed.
mp3lib: made decode tables with MMX optimization
init layer2&3 finished, tables done
mp3lib: using MMX optimized decore!
MPEG 1.0, Layer II, 48000 Hz 192 kbit Stereo, BPF: 576
Channels: 2, copyright: No, original: No, CRC: Yes, emphasis:
0
AUDIO: srate=48000  chans=2  bps=2  sfmt=0x10  ratio: 24000->192000
MP3 audio selected
Writing AVI header...
A:24735.1 V:24734.8 A-V:  0.239 oAV:  0.464 diff: -0.145 ct:
-0.084 vpc: -0.084
duplicate 1 frame(s)!!!
A:24735.5 V:24735.2 A-V:  0.293 oAV:  0.480 diff: -0.108 ct:
-0.123 vpc: -0.083
duplicate 1 frame(s)!!!
A:24736.3 V:24735.9 A-V:  0.320 oAV:  0.464 diff: -0.066 ct:
-0.162 vpc: -0.082
duplicate 1 frame(s)!!!
A:24839.2 V:24838.8 A-V:  0.351 oAV:  0.480 diff: -0.053 ct:
-0.200 vpc: -0.080
duplicate 1 frame(s)!!!
A:24854.3 V:24853.9 A-V:  0.400 oAV:  0.464 diff: -0.038 ct:
-0.190 vpc: -0.030

CBR audio effective bitrate:  128.000 kbit/s  (16000 bytes/sec)

Writing AVI index...
Fixup AVI header...

Video stream:    0.799 kbit/s  (99 bps)  size: 12000 bytes  120.160
secs  3000 frames

Audio stream:  128.000 kbit/s  (16000 bps)  size: 1929984 bytes
 120.624 secs
*** free_stream() called ***
Starting DivX compression pass 2


MEncoder CVS-020127-01:08-3.0.2 (C) 2000-2001 Arpad Gereoffy
(see DOCS!)

Reading /root/.mplayer/codecs.conf: can't open '/root/.mplayer/codecs.conf':
No such file or directory
Reading /usr/local/share/mplayer/codecs.conf: 28 audio & 75 video
codecs
CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Type:
6, Stepping: 10)
Testing OS support for SSE... yes.
Testing OS support for SSE unmasked exceptions... yes.
Tests of OS support for SSE passed.
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2:
0
Not an URL!
AVI Dateiformat erkannt!
MainAVIHeader.dwFlags: (2320) HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE
VIDEO:  [FrNo]  0x0  24bpp  25.00 fps  129.0 kbps (15.7 kbyte/s)
Using pass3 control file: frameno.avi
Not an URL!
success: format: 0  data: 0x0 - 0x17AB8770
header block 1 size: 0
MPEG-PES Dateiformat erkannt!
VIDEO:  MPEG2  720x576  (aspect 2)  25.00 fps  18750.0 kbps (2343.8
kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25.00  ftime:=0.0400
Detected video codec: [mpeg12] drv:1 prio:0 (MPEG 1 or 2)
mpeg2dec-0.2.0-release (C) 2000-2001 Aaron Holtzman & Michel
Lespinasse
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
Divx: 2-pass logfile: divx2pass.log
audiocodec: framecopy (format=55 chans=2 rate=48000 bits=0)
Writing AVI header...
V:24733.9
SwScaler: BICUBIC scaler with YV12 output using MMX2
V:24734.8
duplicate 1 frame(s)!!!
V:24735.2
duplicate 1 frame(s)!!!
V:24735.9
duplicate 1 frame(s)!!!
V:24838.8
duplicate 1 frame(s)!!!
V:24853.9
Writing AVI index...
Fixup AVI header...

Video stream:  815.799 kbit/s  (101974 bps)  size: 12253296 bytes
 120.160 secs  3000 frames

Audio stream:  128.000 kbit/s  (15999 bps)  size: 1929920 bytes
 120.620 secs
*** free_stream() called ***
Starting DivX compression pass 3


MEncoder CVS-020127-01:08-3.0.2 (C) 2000-2001 Arpad Gereoffy
(see DOCS!)

Reading /root/.mplayer/codecs.conf: can't open '/root/.mplayer/codecs.conf':
No such file or directory
Reading /usr/local/share/mplayer/codecs.conf: 28 audio & 75 video
codecs
CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Type:
6, Stepping: 10)
Testing OS support for SSE... yes.
Testing OS support for SSE unmasked exceptions... yes.
Tests of OS support for SSE passed.
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2:
0
Not an URL!
AVI Dateiformat erkannt!
MainAVIHeader.dwFlags: (2320) HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE
VIDEO:  [FrNo]  0x0  24bpp  25.00 fps  129.0 kbps (15.7 kbyte/s)
Using pass3 control file: frameno.avi
Not an URL!
success: format: 0  data: 0x0 - 0x17AB8770
header block 1 size: 0
MPEG-PES Dateiformat erkannt!
VIDEO:  MPEG2  720x576  (aspect 2)  25.00 fps  18750.0 kbps (2343.8
kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25.00  ftime:=0.0400
Detected video codec: [mpeg12] drv:1 prio:0 (MPEG 1 or 2)
mpeg2dec-0.2.0-release (C) 2000-2001 Aaron Holtzman & Michel
Lespinasse
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
Divx: 2-pass logfile: divx2pass.log
audiocodec: framecopy (format=55 chans=2 rate=48000 bits=0)
Writing AVI header...
V:24733.9
SwScaler: BICUBIC scaler with YV12 output using MMX2
V:24734.8
duplicate 1 frame(s)!!!
V:24735.2
duplicate 1 frame(s)!!!
V:24735.9
duplicate 1 frame(s)!!!
V:24838.8 9.1 9.1
duplicate 1 frame(s)!!!
V:24853.9
Writing AVI index...
Fixup AVI header...

Video stream:  787.079 kbit/s  (98384 bps)  size: 11821921 bytes
 120.160 secs  3000 frames

Audio stream:  128.000 kbit/s  (15999 bps)  size: 1929920 bytes
 120.620 secs
*** free_stream() called ***
DivX compression ready!
[root at echelon 2002-01-13.20.12.50.50.rec]#

Then MPlayer complains there wouldn't be a video stream in the
avi.

bash-2.05$ mplayer -vo xv -ao null /mnt/echelon1/video/%Independence_Day/2002-01-13.20.12.50.50.rec/003-DVB.divx


MPlayer CVS-020129-21:31-3.0.2 (C) 2000-2002 Arpad Gereoffy (siehe
DOCS!)

CPU vendor name: AuthenticAMD  max cpuid level: 1
CPU: Advanced Micro Devices Athlon K75 Pluto,Orion (Type: 6,
Stepping: 1)
extended cpuid-level: 6
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2:
0
Compiled for x86 CPU with features: MMX MMX2 3DNow 3DNowEx
Reading /mnt/echelon1/home/renne/.mplayer/codecs.conf: 28 audio
& 74 video codecs
font: can't open file: /mnt/echelon1/home/renne/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Linux RTC init: ioctl (rtc_pie_on): Permission denied
Using usleep() timing
Spiele /mnt/echelon1/video/%Independence_Day/2002-01-13.20.12.50.50.rec/003-DVB.divx
Not an URL!
AVI Dateiformat erkannt!
MainAVIHeader.dwFlags: (2320) HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE

DEMUXER: Zu viele (4096 in 4096 bytes) Audiopakete im Puffer!
Vielleicht spielst du einen non-interleaved Stream/Datei oder
der Codec funktioniert nicht.
AVI: Vermisse Videostream!? Kontaktiere den Author, möglicherweise
ein Bug :(
*** free_stream() called ***


Mencoder forces Lame to use CBR, not VBR configured in script.
Seems to be sync/input/audio codec detection problem with MPEG2
in mencoder ...

Any ideas how I can solve that problem?

Thanx

Rene



--- Original Message ---
Arpi <arpi at thot.banki.hu> Wrote on 
Wed, 30 Jan 2002 11:41:40 +0200 (CEST)
 ------------------ 
[Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
Hi,

> > -ofps 23.976
> > not 24...
> >
> 
> Sorry, my mistake. But I stil get a couple of skipped frames
and some (2
> till now) duplicate frames.

it's normal. it's done to maintain a-v sync.
if you don't like it, disable with -mc 0
but get ready for unrecoverable possible a-v desync in resulting
file


A'rpi / Astral & ESP-team

--
mailto:arpi at thot.banki.hu
http://esp-team.scene.hu

_______________________________________________
RTFM!!!  http://www.MPlayerHQ.hu/DOCS
Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
http://mplayerhq.hu/mailman/listinfo/mplayer-users

-----
Sent using MailStart.com ( http://MailStart.Com/welcome.html )
The FREE way to access your mailbox via any web browser, anywhere!




More information about the MPlayer-users mailing list