[MPlayer-users] Another duff MXF file?

Mark Himsley mark at mdsh.com
Sat Feb 16 11:38:02 CET 2008


Hi MPlayers,

I have another MXF file that does not play in MPlayer.
Sadly, and this really is the issue I suppose, the file plays in VLC and 
can be converted to other formats with Telestream's FlipFactory and 
Rhozet's Carbon Coder, so to others it looks like mplayer and mencoder 
is broken rather than the other software is copeing with broken MXF.

The broken-ness of the MXF is just a guess on my behalf, I really 
haven't got my head around the output of mxfdump to work out how I'm 
supposed to match it against the specs in the big MXF book.

I have uploaded a 10 second clip of the MXF to 
ftp://upload.mplayerhq.hu/MPlayer/incoming - the title is 34582.mxf. 
Along with it is 34582.mxf.txt which includes the full output of mplayer 
-v 34582.mxf and the mxfdump output.

Here is the start of the output from mplayer - it's abridged because it 
repeats the same for every frame of the 10 second clip and I thought I'd 
save most readers from that... MPlayer is an SVN build from last weekend.

H:\MXF>mplayer -v 34582.mxf
MPlayer dev-SVN-r25963-3.4.2 (C) 2000-2008 MPlayer Team
CPU: Genuine Intel(R) CPU           T2500  @ 2.00GHz (Family: 6, Model: 
14, Stepping: 8)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
get_path('codecs.conf') -> 'D:/bin/mplayer/mplayer/codecs.conf'
Reading D:/bin/mplayer/mplayer/codecs.conf: Can't open 
'D:/bin/mplayer/mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open 
'/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
Configuration: --enable-runtime-cpudetection --codecsdir=codecs 
--enable-menu --enable-static --with-extralibdir=/home/mdsh/live 
--with-extraincdir=/home/mdsh/live --disable-ssse3 --extra-libs=-D
CommandLine: '-v' '34582.mxf'
c:/windows/fonts/arial.ttf doesn't look like a bitmap font description, 
ignoring.
Cannot load bitmap font: c:/windows/fonts/arial.ttf
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Windows native timing
get_path('input.conf') -> 'D:/bin/mplayer/mplayer/input.conf'
Parsing input config file D:/bin/mplayer/mplayer/input.conf
Input config file D:/bin/mplayer/mplayer/input.conf parsed: 53 binds
get_path('34582.mxf.conf') -> 'D:/bin/mplayer/mplayer/34582.mxf.conf'

Playing 34582.mxf.
get_path('sub/') -> 'D:/bin/mplayer/mplayer/sub/'
WINSOCK2 init: 0
WINSOCK2 init: 0
[file] File size is 32021576 bytes
STREAM: [file] 34582.mxf
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
LAVF_check: MXF format
libavformat file format detected.
==> Found video stream: 0
[lavf] Video stream found, -vid 0
======= VIDEO Format ======
  biSize 62
  biWidth 720
  biHeight 608
  biPlanes 0
  biBitCount 0
  biCompression 845639789='mpg2'
  biSizeImage 0
Unknown extra header dump: [0] [0] [1] [b3] [2d] [2] [60] [23] [49] [3e] 
[22] [50] [0] [0] [1] [b5] [18] [54] [0] [1] [0] [80]
===========================
==> Found audio stream: 1
[lavf] Audio stream found, -aid 1
======= WAVE Format =======
Format Tag: 1 (0x1)
Channels: 4
Samplerate: 48000
avg byte/sec: 0
Block align: 1
bits/sample: 16
cbSize: 0
==========================================================================
LAVF: 1 audio and 1 video streams found
LAVF: build 3409664
VIDEO:  [mpg2]  720x608  0bpp  25.000 fps  30000.0 kbps (3662.1 kbyte/s)
[V] filefmt:44  fourcc:0x3267706D  size:720x608  fps:25.00  ftime:=0.0400
get_path('sub/') -> 'D:/bin/mplayer/mplayer/sub/'
<vo_directx><INFO>checking primary surface
<vo_directx><FORMAT PRIMARY>14 BGR32 supported
<vo_directx><INFO>testing supported overlay pixelformats
<vo_directx><FORMAT OVERLAY>0 YV12  supported
<vo_directx><FORMAT OVERLAY>1 I420  not supported
<vo_directx><FORMAT OVERLAY>2 IYUV  not supported
<vo_directx><FORMAT OVERLAY>3 YVU9  supported
<vo_directx><FORMAT OVERLAY>4 YUY2  supported
<vo_directx><FORMAT OVERLAY>5 UYVY  supported
<vo_directx><FORMAT OVERLAY>6 BGR8  not supported
<vo_directx><FORMAT OVERLAY>7 RGB15 not supported
<vo_directx><FORMAT OVERLAY>8 BGR15 not supported
<vo_directx><FORMAT OVERLAY>9 RGB16 not supported
<vo_directx><FORMAT OVERLAY>10 BGR16 not supported
<vo_directx><FORMAT OVERLAY>11 RGB24 not supported
<vo_directx><FORMAT OVERLAY>12 BGR24 not supported
<vo_directx><FORMAT OVERLAY>13 RGB32 not supported
<vo_directx><FORMAT OVERLAY>14 BGR32 not supported
<vo_directx><INFO>Your card supports 4 of 15 overlayformats
<vo_directx><INFO>can mirror up down
<vo_directx><INFO>hardware supports overlay
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 608 (preferred colorspace: Mpeg PES)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
dec_audio: Allocating 2048 + 65536 = 67584 bytes for output buffer.
AUDIO: 48000 Hz, 4 ch, s16le, 0.0 kbit/0.00% (ratio: 0->384000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
Building audio filter chain for 48000Hz/4ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/4ch/s16le
[dummy] Was reinitialized: 48000Hz/4ch/s16le
ao_dsound: Output Devices:
0 Primary Sound Driver <--
1 SigmaTel Audio
ao_dsound: DirectSound initialized
ao_dsound: Samplerate:48000Hz Channels:4 Format:s16le
ao_dsound: Buffersize:384000 bytes (1000 msec)
ao_dsound: primary buffer created
ao_dsound: secondary (stream)buffer created
AO: [dsound] 48000Hz 4ch s16le (2 bytes per sample)
AO: Description: Windows DirectSound audio output
AO: Author: Gabor Szecsi <deje at miki.hu>
Building audio filter chain for 48000Hz/4ch/s16le -> 48000Hz/4ch/s16le...
[dummy] Was reinitialized: 48000Hz/4ch/s16le
[dummy] Was reinitialized: 48000Hz/4ch/s16le
Starting playback...
Increasing filtered audio buffer size from 0 to 65536
VDec: vo config request - 720 x 608 (preferred colorspace: Planar 422P)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
VDec: using Planar 422P as output csp (no 3)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (720x608->810x608,flags=0,'MPlayer',0x50323234)
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 @ 00B52F70]SwScaler: BICUBIC scaler, from yuv422p to yuv420p 
using MMX2
[swscaler @ 00B52F70]SwScaler: using 4-tap MMX scaler for horizontal 
luminance scaling
[swscaler @ 00B52F70]SwScaler: using 4-tap MMX scaler for horizontal 
chrominance scaling
[swscaler @ 00B52F70]SwScaler: using 1-tap MMX "scaler" for vertical 
scaling (YV12 like)
[swscaler @ 00B52F70]SwScaler: 720x608 -> 720x608
REQ: flags=0x417  req=0x0
VO: [directx] 720x608 => 810x608 Planar YV12
VO: Description: Directx DDraw YUV/RGB/BGR renderer
VO: Author: Sascha Sommer <saschasommer at freenet.de>
<vo_directx><INFO>overlay with format YV12  created
*** [scale] Allocating mp_image_t, 720x608x16bpp YUV planar, 875520 bytes
*** [vo] Allocating mp_image_t, 720x608x12bpp YUV planar, 656640 bytes
VDec: vo config request - 720 x 608 (preferred colorspace: Planar 422P)
Trying filter chain: scale vo
VDec: using Planar 422P as output csp (no 3)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (720x608->810x608,flags=0,'MPlayer',0x50323234)
REQ: flags=0x417  req=0x0
VO: [directx] 720x608 => 810x608 Planar YV12
VO: Description: Directx DDraw YUV/RGB/BGR renderer
VO: Author: Sascha Sommer <saschasommer at freenet.de>
<vo_directx><INFO>overlay with format YV12  created
*** [scale] Allocating mp_image_t, 720x608x16bpp YUV planar, 875520 bytes
VDec: vo config request - 720 x 608 (preferred colorspace: Planar 422P)
Trying filter chain: scale vo
VDec: using Planar 422P as output csp (no 3)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (720x608->810x608,flags=0,'MPlayer',0x50323234)
REQ: flags=0x417  req=0x0
VO: [directx] 720x608 => 810x608 Planar YV12
VO: Description: Directx DDraw YUV/RGB/BGR renderer
VO: Author: Sascha Sommer <saschasommer at freenet.de>
<vo_directx><INFO>overlay with format YV12  created
VDec: vo config request - 720 x 608 (preferred colorspace: Planar 422P)
Trying filter chain: scale vo
VDec: using Planar 422P as output csp (no 3)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (720x608->810x608,flags=0,'MPlayer',0x50323234)
REQ: flags=0x417  req=0x0
VO: [directx] 720x608 => 810x608 Planar YV12
VO: Description: Directx DDraw YUV/RGB/BGR renderer
VO: Author: Sascha Sommer <saschasommer at freenet.de>
<vo_directx><INFO>overlay with format YV12  created
VDec: vo config request - 720 x 608 (preferred colorspace: Planar 422P)

<repeat last 10 lines until...>

VDec: vo config request - 720 x 608 (preferred colorspace: Planar 422P)
Trying filter chain: scale vo
VDec: using Planar 422P as output csp (no 3)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (720x608->810x608,flags=0,'MPlayer',0x50323234)
REQ: flags=0x417  req=0x0
VO: [directx] 720x608 => 810x608 Planar YV12
VO: Description: Directx DDraw YUV/RGB/BGR renderer
VO: Author: Sascha Sommer <saschasommer at freenet.de>
<vo_directx><INFO>overlay with format YV12  created
Too many buffered pts
VDec: vo config request - 720 x 608 (preferred colorspace: Planar 422P)
Trying filter chain: scale vo
VDec: using Planar 422P as output csp (no 3)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (720x608->810x608,flags=0,'MPlayer',0x50323234)
REQ: flags=0x417  req=0x0
VO: [directx] 720x608 => 810x608 Planar YV12
VO: Description: Directx DDraw YUV/RGB/BGR renderer
VO: Author: Sascha Sommer <saschasommer at freenet.de>
<vo_directx><INFO>overlay with format YV12  created
ds_fill_buffer: EOF reached (stream: video)
Too many buffered pts
EOF code: 1

Uninit audio filters...
[libaf] Removing filter dummy
Uninit audio: pcm
Uninit video: libmpeg2
WINSOCK2 uninit
ao_dsound: DirectSound uninitialized

Exiting... (End of file)

-- 
Mark





More information about the MPlayer-users mailing list