[MPlayer-users] mencoder skipping frames every 2-3 secs on PAL DVD

vitko vitk0 at seznam.cz
Fri Feb 10 10:54:52 CET 2006


I've noticed some PAL DVD's recently on which mencoder mysteriously
skips frames all the time.

mplayer playback is fine, no problems whatsoever; but mencoder says
it is skipping frame rougly every 2-3 seconds:

...
Pos:  12.8s    327f ( 0%)   0fps Trem:   3min 1196mb  A-V:0.080 [0:1536] A/Vms 
   0/0 D/B/S 0/0/6
Skipping frame!
Pos:  15.2s    386f ( 0%)   0fps Trem:   3min 1165mb  A-V:0.080 [0:1536] A/Vms 
0/0 D/B/S 0/0/7
Skipping frame!
Pos:  17.5s    446f ( 0%)   0fps Trem:   3min 1144mb  A-V:0.080 [0:1536] A/Vms 
0/0 D/B/S 0/0/8
Skipping frame!
...

I can see the same behavior also when trying to encode dumped stream 
(stream.dump file), so it is probably more MPEG-PS decodeing issue than DVD 
reading one.

Thanks for any help or hint.

Vit




Full mencoder output follows:

$ mencoder dvd://1 -dvd-device . -ovc frameno -oac copy -o frameno.avi -v
MEncoder dev-CVS-060131-16:08-3.3.5 (C) 2000-2006 MPlayer Team
CPU: Advanced Micro Devices Athlon 64 Newcastle,Winchester,San Diego,Venice; 
Sempron Palermo (Family: 15, Stepping: 0)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
...
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
URL: dvd://1
libdvdread: Couldn't find device name.
Reading disc structure, please wait...
There are 13 titles on this DVD.
There are 12 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
[open] audio stream: 0 audio format: ac3 (5.1) language: cs aid: 128
[open] audio stream: 1 audio format: ac3 (5.1) language: en aid: 129
[open] audio stream: 2 audio format: dts (5.1/6.1) language: en aid: 138
[open] number of audio channels on disk: 3.
[open] subtitle ( sid ): 0 language: cs
[open] number of subtitles on disk: 1
DVD start cell: 0  pack: 0x0-0x3B757
DVD start=0 end=2954820
STREAM: [null] dvd://1
STREAM: Description: DVD stream
STREAM: Author:
STREAM: Comment:
success: format: 0  data: 0x0 - 0x68b22000
DVD Seek! lba=0x0  cell=0  packs: 0x0-0x3B757
Angle-seek synced by cell/vob IDN search!
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename dvd://1 ext: (null)
DVD Seek! lba=0x0  cell=0  packs: 0x0-0x3B757
Angle-seek synced by cell/vob IDN search!
Checking for Nullsoft Streaming Video
DVD Seek! lba=0x0  cell=0  packs: 0x0-0x3B757
Angle-seek synced by cell/vob IDN search!
Checking for MOV
Checking for VIVO
header block 1 size: 0
AVS: avs_check_file - attempting to open file dvd://1
AVS: File is too big, aborting...
Checking for PVA
Checking for MPEG-TS...
TRIED UP TO POSITION 70477, FOUND 47, packet_size= 0, SEEMS A TS? 0
DVD Seek! lba=0x22  cell=0  packs: 0x0-0x3B757
Angle-seek synced by cell/vob IDN search!
DVD Seek! lba=0x0  cell=0  packs: 0x0-0x3B757
Angle-seek synced by cell/vob IDN search!
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=0 size=1140851708
LMLM4 Stream Format not found
system stream synced at 0xD (13)!
==> Found video stream: 0
DVD Seek! lba=0x168AA7  cell=4  packs: 0x12F76E-0x19A882
Angle-seek synced by cell/vob IDN search!
==> Found audio stream: 138
==> Found audio stream: 129
==> Found audio stream: 128
DVD Seek! lba=0x2D154F  cell=12  packs: 0x2A967D-0x2D1644
Angle-seek synced by cell/vob IDN search!
--- END OF CELL !!! ---
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
DVD Seek! lba=0x0  cell=0  packs: 0x0-0x3B757
Angle-seek synced by cell/vob IDN search!
MPEG-PS file format detected.
Searching for sequence header... OK!
VIDEO:  MPEG2  720x576  (aspect 3)  25.000 fps  6800.0 kbps (850.0 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25.00  ftime:=0.0400
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
dec_audio: Allocating 131072 + 65536 = 196608 bytes for output buffer.
FFmpeg's libavcodec audio codec
INFO: libavcodec init OK!
Stream with high frequencies VQ coding
AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [ffdts] afm: ffmpeg (DTS)
==========================================================================
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
audiocodec: framecopy (format=2001 chans=2 rate=48000 bits=16 B/s=192000 sample-1)
Muxer frame buffer sending 2 frame(s) to muxer.
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.
==> Found subtitle: 1 0%)   0fps Trem:   0min   0mb  A-V:0.000 [0:0] A/Vms 0/20 
D/B/S 0/0/0
==> Found subtitle: 0
Pos:   0.9s     22f ( 0%)   0fps Trem:   0min   0mb  A-V:0.084 [0:1536] A/Vms 
0/1 D/B/S 0/0/0
Skipping frame!
Pos:   1.6s     41f ( 0%)   0fps Trem:   0min   0mb  A-V:0.081 [0:1536] A/Vms 
0/0 D/B/S 0/0/1
Skipping frame!
Pos:   3.6s     93f ( 0%)   0fps Trem:   0min   0mb  A-V:0.080 [0:1536] A/Vms 
0/0 D/B/S 0/0/2
Skipping frame!
Pos:   6.0s    153f ( 0%)   0fps Trem:   0min   0mb  A-V:0.080 [0:1536] A/Vms 
0/0 D/B/S 0/0/3
Skipping frame!
Pos:   8.2s    210f ( 0%)   0fps Trem:   4min 1368mb  A-V:0.080 [0:1536] A/Vms 
0/0 D/B/S 0/0/4
Skipping frame!
Pos:  10.6s    270f ( 0%)   0fps Trem:   3min 1255mb  A-V:0.081 [0:1536] A/Vms 
0/0 D/B/S 0/0/5
Skipping frame!
Pos:  12.8s    327f ( 0%)   0fps Trem:   3min 1196mb  A-V:0.080 [0:1536] A/Vms 
0/0 D/B/S 0/0/6
Skipping frame!
Pos:  15.2s    386f ( 0%)   0fps Trem:   3min 1165mb  A-V:0.080 [0:1536] A/Vms 
0/0 D/B/S 0/0/7
Skipping frame!
Pos:  17.5s    446f ( 0%)   0fps Trem:   3min 1144mb  A-V:0.080 [0:1536] A/Vms 
0/0 D/B/S 0/0/8
Skipping frame!
Pos:  19.8s    503f ( 0%)   0fps Trem:   3min 1119mb  A-V:0.081 [0:1536] A/Vms 
0/0 D/B/S 0/0/9
Skipping frame!
Pos:  22.1s    563f ( 0%)   0fps Trem:   2min 1100mb  A-V:0.081 [0:1536] A/Vms 
0/0 D/B/S 0/0/10
Skipping frame!
Pos:  24.4s    620f ( 0%)   0fps Trem:   2min 1088mb  A-V:0.080 [0:1536] A/Vms 
0/0 D/B/S 0/0/11
Skipping frame!
Pos:  26.7s    679f ( 0%)   0fps Trem:   2min 1083mb  A-V:0.081 [0:1536] A/Vms 
0/0 D/B/S 0/0/12
Skipping frame!
Pos:  29.0s    738f ( 0%)   0fps Trem:   2min 1096mb  A-V:0.080 [0:1536] A/Vms 
0/0 D/B/S 0/0/13
Skipping frame!
Pos:  31.2s    795f ( 0%)   0fps Trem:   2min 1090mb  A-V:0.080 [0:1536] A/Vms 
0/0 D/B/S 0/0/14
Skipping frame!
Pos:  33.6s    855f ( 0%) 850fps Trem:   2min 1083mb  A-V:0.081 [0:1536] A/Vms 
0/0 D/B/S 0/0/15
Skipping frame!
Pos:  35.8s    912f ( 0%) 850fps Trem:   2min 1078mb  A-V:0.080 [0:1536] A/Vms 
0/0 D/B/S 0/0/16
Skipping frame!
Pos:  38.2s    971f ( 0%) 852fps Trem:   2min 1073mb  A-V:0.080 [0:1536] A/Vms 
0/0 D/B/S 0/0/17
Skipping frame!
Pos:  40.5s   1031f ( 0%) 846fps Trem:   2min 1073mb  A-V:0.080 [0:1536] A/Vms 
0/0 D/B/S 0/0/18
Skipping frame!
...




More information about the MPlayer-users mailing list