[MPlayer-dev-eng] Support request : MMES (Matrox MPEG2 i-frame)

Simon Oualid simon.oualid at gmail.com
Mon Dec 11 00:08:16 CET 2006


Hello,

I'm not giving up, but I'm still having problem with MMES files. Reimar's
tip works very well on "non large files" (< 2GB), like the sample I
uploaded. But I just tried it on a complete movie (6GB) and the dumping
process stops at 2GB (I have compiled MPlayer using --enable-largefiles).

Here is the source file :

------
-rw-r--r-- 1 simon simon 5,6G 2006-12-07 15:07 026949.avi
------

And here is the command used to dump the file :

------
simon at soubuntu:~$ /usr/local/bin/mplayer -dumpvideo 026949.avi
MPlayer 1.0rc1-4.0.3 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (Family: 15, Model: 4, Stepping: 1)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Playing 026949.avi.
AVI file format detected.
** Warning: this is no extended AVI header..
AVI: ODML: Building ODML index (1 superindexchunks).
AVI_NI: No audio stream found -> no sound.
AVI: Missing video stream!? Contact the author, it may be a bug :(
libavformat file format detected.
VIDEO:  [MMES]  720x576  24bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
Core dumped ;)

Exiting... (End of file)
------

But that's not the end of the source file, it stopped at 2GB :

------
-rw-r--r-- 1 simon simon 2,0G 2006-12-07 17:16 stream.dump
------

Do you have any idea on how I can dump large files (> 2GB) ? Maybe it is
something with some fwrite call in mplayer.c and the 2GB limitation (I'm
really noob in c++ ^^) ?

I also tried to use directly the VFW matrox codec by adding it to the
codecs.conf (as described in the doc) :

videocodec matroxmmes
  info "MMES Matrox MPEG-2 i-frame"
  status untested
  fourcc MMES
  driver vfw
  dll "digivcap.dll"

But it crashes MPlayer when I try to use it.

I also putted are other information on my configuration (as described in the
bugreport section). Many thanks, please tell me if I can help. I'd love to
be able to read those damn files with mplayer. :)

---
simon at simon-ubuntu:~/Desktop/MPlayer-1.0rc1$ mplayer -v ../024123.avi
MPlayer 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team
CPU: Genuine Intel(R) CPU            1400  @ 1.83GHz (Family: 6, Model: 6,
Stepping: 5)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
get_path('codecs.conf') -> '/home/simon/.mplayer/codecs.conf'
Reading /home/simon/.mplayer/codecs.conf: Can't open
'/home/simon/.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.
CommandLine: '-v' '../024123.avi'
init_freetype
get_path('font/font.desc') -> '/home/simon/.mplayer/font/font.desc'
font: can't open file: /home/simon/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using nanosleep() timing
get_path('input.conf') -> '/home/simon/.mplayer/input.conf'
Can't open input config file /home/simon/.mplayer/input.conf: No such file
or directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such file
or directory
Falling back on default (hardcoded) input config
get_path('024123.avi.conf') -> '/home/simon/.mplayer/024123.avi.conf'

Playing ../024123.avi.
get_path('sub/') -> '/home/simon/.mplayer/sub/'
[file] File size is 225232384 bytes
STREAM: [file] ../024123.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
AVI file format detected.
list_end=0x2AEC
======= AVI Header =======
us/frame: 40000  (fps=25.000)
max bytes/sec: 3776000
padding: 512
MainAVIHeader.dwFlags: (65584) HAS_INDEX MUST_USE_INDEX WAS_CAPTUREFILE
frames  total: 1501   initial: 0
streams: 1
Suggested BufferSize: 151040
Size:  720 x 576
==========================
list_end=0x29E0
==> Found video stream: 0
====== STREAM Header =====
Type: vids   FCC: MMES (53454D4D)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 25/1 = 25.000
Start: 0   Len: 1501
Suggested BufferSize: 151040
Quality -1
Sample size: 0
==========================
Found 'bih', 252 bytes of 40
======= VIDEO Format ======
  biSize 252
  biWidth 720
  biHeight 576
  biPlanes 1
  biBitCount 24
  biCompression 1397050701='MMES'
  biSizeImage 0
Unknown extra header dump: [2c] [0] [0] [0] [76] [69] [64] [73] [0] [0] [10]
[0] [80] [0] [0] [aa] [0] [38] [9b] [71] [26] [80] [6d] [e0] [46] [db] [cf]
[11] [b4] [d1] [0] [80] [5f] [6c] [bb] [ea] [0] [0] [0] [0] [0] [0] [0] [0]
[0] [0] [0] [0] [e3] [80] [6d] [e0] [46] [db] [cf] [11] [b4] [d1] [0] [80]
[5f] [6c] [bb] [ea] [0] [0] [0] [0] [88] [0] [0] [0] [f8] [c6] [21] [0] [0]
[0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0]
[0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [90] [1] [0] [0] [0]
[0] [80] [1a] [6] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0]
[0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [28] [0] [0] [0]
[d0] [2] [0] [0] [40] [2] [0] [0] [1] [0] [18] [0] [4d] [4d] [45] [53] [0]
[0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0]
[0] [0] [0] [0] [0] [0] [0] [0] [6] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0]
[0] [0] [0] [0] [0]
===========================
====== AVI Super Index Header ========
  FCC (indx) dwSize (10240) wLongsPerEntry(4)
  bIndexSubType (16) bIndexType (0)
  nEntriesInUse (1) dwChunkId (00dc)
  dwReserved[0] (0) dwReserved[1] (0) dwReserved[2] (0)
===========================
ODML (00dc): [0] 0x000000000d6c380c 0x8dec 1501
======= Video Properties Header =======
Format: 2  VideoStandard: 1
VRefresh: 50  HTotal: 864  VTotal: 625
FrameAspect: 4:3  Framewidth: 720  Frameheight: 576
Fields: 0
=======================================
list_end=0x2AEC
AVI: dmlh found (size=248) (total_frames=1501)
list_end=0x2B3C
hdr=Software  size=60
Software  : Matrox MQSink Filter For MPEG. Format: 4. Build: 2.0.0.271
list_end=0xD6BDA00
Found movie at 0x3B50 - 0xD6BDA00
Reading INDEX block, 1503 chunks for 1501 frames (fpos=225171976).
Additional RIFF header...
** Warning: this is no extended AVI header..
AVI index offset: 0x3B4C (movi=0x3B50 idx0=0x14AC idx1=0x2629C)
Auto-selected AVI video ID = 0
AVI_NI: No audio stream found -> no sound.
ChunkID mismatch! raw= idx=00dc
ChunkID mismatch! raw= idx=00dc
ChunkID mismatch! raw= idx=00dc
ChunkID mismatch! raw= idx=00dc
ChunkID mismatch! raw= idx=00dc
ChunkID mismatch! raw= idx=00dc
Seek failed
ds_fill_buffer: EOF reached (stream: video)
AVI: Missing video stream!? Contact the author, it may be a bug :(
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Checking for Nullsoft Streaming Video
Checking for MOV
Checking for VIVO
header block 1 size: 73
AVS: avs_check_file - attempting to open file ../024123.avi
AVS: File is too big, aborting...
Checking for PVA
Checking for MPEG-TS...
TRIED UP TO POSITION 68493, FOUND 47, packet_size= 0, SEEMS A TS? 0
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=21065 size=-130585595
LMLM4 Stream Format not found
sync_mpeg_ps: seems to be ES/PES stream...
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG packet stats: p100: 57  p101: 51 p1B6: 0 p12x: 250 sli: 101 a: 100 b:
100 c: 0 idr: 0 sps: 0 pps: 0 PES: 0  MP3: 671, synced: 0
sync_mpeg_ps: seems to be ES/PES stream...
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG packet stats: p100: 56  p101: 51 p1B6: 0 p12x: 250 sli: 101 a: 100 b:
100 c: 0 idr: 0 sps: 0 pps: 0 PES: 0  MP3: 671, synced: 0
==> Found video stream: 0
ds_fill_buffer: EOF reached (stream: video)
LAVF_check: avi format
libavformat file format detected.
==> Found video stream: 0
======= VIDEO Format ======
  biSize 252
  biWidth 720
  biHeight 576
  biPlanes 0
  biBitCount 24
  biCompression 1397050701='MMES'
  biSizeImage 1244160
Unknown extra header dump: [2c] [0] [0] [0] [76] [69] [64] [73] [0] [0] [10]
[0] [80] [0] [0] [aa] [0] [38] [9b] [71] [26] [80] [6d] [e0] [46] [db] [cf]
[11] [b4] [d1] [0] [80] [5f] [6c] [bb] [ea] [0] [0] [0] [0] [0] [0] [0] [0]
[0] [0] [0] [0] [e3] [80] [6d] [e0] [46] [db] [cf] [11] [b4] [d1] [0] [80]
[5f] [6c] [bb] [ea] [0] [0] [0] [0] [88] [0] [0] [0] [f8] [c6] [21] [0] [0]
[0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0]
[0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [90] [1] [0] [0] [0]
[0] [80] [1a] [6] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0]
[0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [28] [0] [0] [0]
[d0] [2] [0] [0] [40] [2] [0] [0] [1] [0] [18] [0] [4d] [4d] [45] [53] [0]
[0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0]
[0] [0] [0] [0] [0] [0] [0] [0] [6] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0]
[0] [0] [0] [0] [0]
===========================
LAVF: 0 audio and 1 video streams found
LAVF: build 3278336
VIDEO:  [MMES]  720x576  24bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:35  fourcc:0x53454D4D  size:720x576  fps:25.00  ftime:=0.0400
get_path('sub/') -> '/home/simon/.mplayer/sub/'
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1280x800 with depth 24 and 32 bpp (":0.0" => local
display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
==========================================================================
Opening video decoder: [vfw] Win32/VfW video codecs
======= Win32 (VFW) VIDEO Codec init =======
Loading codec DLL: 'digivcap.dll'


MPlayer interrupted by signal 11 in module: init_video_codec
- MPlayer crashed by bad usage of CPU/FPU/RAM.
  Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
  disassembly. Details in
DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't
and
  won't help unless you provide this information when reporting a possible
bug.
vo: uninit ...


---
simon at simon-ubuntu:~/Desktop/MPlayer-1.0rc1$ uname -a
Linux simon-ubuntu 2.6.17-10-generic #2 SMP Fri Oct 13 18:45:35 UTC 2006
i686 GNU/Linux

simon at simon-ubuntu:~/Desktop/MPlayer-1.0rc1$ ls -l /lib/libc[.-]*
-rwxr-xr-x 1 root root 1166796 2006-10-10 16:46 /lib/libc-2.4.so
lrwxrwxrwx 1 root root      11 2006-12-10 00:19 /lib/libc.so.6 ->
libc-2.4.so

simon at simon-ubuntu:~/Desktop/MPlayer-1.0rc1$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu
--enable-libstdcxx-debug --enable-mpfr --enable-checking=release
i486-linux-gnu
Thread model: posix
gcc version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)
simon at simon-ubuntu:~/Desktop/MPlayer-1.0rc1$ ld -v
GNU ld version 2.17 Debian GNU/Linux
simon at simon-ubuntu:~/Desktop/MPlayer-1.0rc1$ as --version
Assembleur GNU 2.17 Debian GNU/Linux
Copyright 2005 Free Software Foundation, Inc.
Ce logiciel est libre; vous pouvez le redistribuer selon les termes de la
licence GNU General Public License. AUCUNE garantie n'est donnée.
Cet assembleur a été configuré pour la cible « i486-linux-gnu ».
simon at simon-ubuntu:~/Desktop/MPlayer-1.0rc1$

---

Simon



More information about the MPlayer-dev-eng mailing list