[MPlayer-users] Bug report for mencoder on DVB files...

George Styles ripnetuk at gmail.com
Fri Mar 3 20:33:47 CET 2006


> Hi,
>
> On 3/3/06, George Styles <ripnetuk at gmail.com> wrote:
> > btw I can tell the mpeg is quite broken, as vlc player stutters towards
> the
> > start, but it recovers, so it is parsable. If it were just the one
> video, I
> > would blame that, but it seems that quite a lot of recent DVB broadcasts
> > have the problem :(
>
> I'd suggest getting a better antenna, or make sure its orientation is
> correct.
> As I said: if it's corrupt, there's nothing mplayer can do for you.
>
> Guillaume
>

Hi,

Thanks for the reply. Sorry I top-posted (trying not to do that!). Sorry
also for posting off-list, I just did a reply without checking the to:
header...

I realise that mplayer cannot magically reconstruct the missing data, but
shouldnt it detect a corrupt mpeg packet, and just move onto the next block?

Very strange that it doesnt happen there, are you using the same command
line as me? here is the complete session of processing that file:

[root at mythtv test]#  mencoder badseg2.mpg -oac mp3lame -lameopts
mode=2:cbr:br=1
28 -vf scale=320:240 -sws 2 -ovc lavc -lavcopts
vcodec=mpeg4:vhq:vbitrate=256 -f
fourcc DIVX -o out.avi -vfm ffmpeg
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale

MEncoder dev-CVS-060303-13:04-4.0.1 (C) 2000-2006 MPlayer Team
CPU: Intel Pentium 4/Celeron 4 Northwood; Pentium 4 EE/Xeon
Prestonia,Gallatin (
Family: 15, Stepping: 9)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

success: format: 0  data: 0x0 - 0x4c4b40
TS file format detected.
DEMUX OPEN, AUDIO_ID: -1, VIDEO_ID: -1, SUBTITLE_ID: -2,
PROBING UP TO 2000000, PROG: 0
VIDEO MPEG2(pid=6385)AUDIO MPA(pid=6387) NO SUBS (yet)!  PROGRAM N. 1
Opened TS demuxer, audio: 50(pid 6387), video: 10000002(pid 6385)...POS=1764
VIDEO:  MPEG2  544x576  (aspect 2)  25.000 fps  15000.0 kbps (1875.0kbyte/s)
[V] filefmt:29  fourcc:0x10000002  size:544x576  fps:25.00  ftime:=0.0400
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 64.0 kbit/4.17% (ratio: 8000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [scale w=320 h=240]
==========================================================================
Trying to force video codec driver family ffmpeg...
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
Forcing output fourcc to 58564944 [DIVX]
MP3 audio selected
VDec: vo config request - 544 x 576 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.

SwScaler: BICUBIC scaler, from Planar YV12 to Planar YV12 using MMX2
videocodec: libavcodec (320x240 fourcc=58564944 [DIVX])
High quality encoding selected (non real time)!
Pos:   0.0s      2f ( 4%)  0.00fps Trem:   0min   0mb  A-V:-0.004 [0:0]
1 duplicate frame(s)!
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing
vprp h
eader.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing
vprp h
eader.
Writing header...3f ( 4%)  0.00fps Trem:   0min   0mb  A-V:-0.008 [0:0]
ODML: Aspect information not (yet?) available or unspecified, not writing
vprp h
eader.

1 duplicate frame(s)!
Pos:   0.8s     22f ( 8%)  0.00fps Trem:   0min   0mb  A-V:-0.084 [0:128]
1 duplicate frame(s)!
Pos:   1.3s     32f (10%)  0.00fps Trem:   0min   0mb  A-V:-0.084 [278:128]
1 duplicate frame(s)!
Pos:   1.7s     42f (12%)  0.00fps Trem:   0min   0mb  A-V:-0.084 [267:127]
1 duplicate frame(s)!
Pos:   2.2s     52f (14%)  0.00fps Trem:   0min   0mb  A-V:-0.084 [270:128]
1 duplicate frame(s)!
Pos:   2.6s     62f (16%) 61.69fps Trem:   0min   0mb  A-V:-0.084 [262:128]
1 duplicate frame(s)!
Pos:   3.0s     72f (18%) 62.55fps Trem:   0min   0mb  A-V:-0.084 [246:128]
1 duplicate frame(s)!
Pos:   3.5s     82f (20%) 62.50fps Trem:   0min   0mb  A-V:-0.084 [231:128]
1 duplicate frame(s)!
Pos:   3.9s     92f (21%) 62.93fps Trem:   0min   0mb  A-V:-0.084 [234:127]
1 duplicate frame(s)!
[mpeg2video @ 0x85de928]invalid mb type in I Frame at 28 24-0.060 [238:128]
[mpeg2video @ 0x85de928]ac-tex damaged at 0 28
[mpeg2video @ 0x85de928]ac-tex damaged at 0 29
[mpeg2video @ 0x85de928]ac-tex damaged at 0 30
[mpeg2video @ 0x85de928]invalid mb type in I Frame at 0 31
[mpeg2video @ 0x85de928]invalid mb type in I Frame at 0 32
[mpeg2video @ 0x85de928]invalid mb type in I Frame at 0 33
[mpeg2video @ 0x85de928]invalid mb type in I Frame at 0 34
[mpeg2video @ 0x85de928]invalid mb type in I Frame at 0 35
[mpeg2video @ 0x85de928]Warning MVs not available
[mpeg2video @ 0x85de928]concealing 408 DC, 408 AC, 408 MV errors
Pos:   4.4s    102f (24%) 60.71fps Trem:   0min   0mb  A-V:-0.084 [253:128]
1 duplicate frame(s)!
[mpeg2video @ 0x85de928]ac-tex damaged at 17 18   0mb  A-V:-0.056 [259:128]
[mpeg2video @ 0x85de928]00 motion_type at 13 17
[mpeg2video @ 0x85de928]ac-tex damaged at 26 19
[mpeg2video @ 0x85de928]00 motion_type at 5 19
[mpeg2video @ 0x85de928]slice mismatch
[mpeg2video @ 0x85de928]00 motion_type at 18 21
[mpeg2video @ 0x85de928]00 motion_type at 1 22
[mpeg2video @ 0x85de928]00 motion_type at 1 23
[mpeg2video @ 0x85de928]00 motion_type at 25 24
[mpeg2video @ 0x85de928]00 motion_type at 3 25
[mpeg2video @ 0x85de928]invalid cbp at 8 26
mencoder: swscale_template.c:2730: swScale_MMX2: Assertion `lastInChrBuf + 1
- c
hrSrcSliceY >= 0' failed.
Aborted


thanks
George



More information about the MPlayer-users mailing list