[MPlayer-users] [BUG REPORT] no image with mjpg file

Diego Biurrun diego at biurrun.de
Wed Jun 5 04:49:02 CEST 2002


Hi!

I have a video created by a Pentax digital camera, an avi that
apparently contains mjpg video.  When I try to play it, I get no
video, the MPlayer window remains black.  I tried all different vo and
vc combinations to no avail.

I run Debian Woody with kernel 2.4.18 + O(1) + preempt + lowlatency, X
4.1.0 16bpp with Matrox 2.0 drivers, libc 2.2.5, gcc 2.95.4 and
binutils 2.12.90.0.1.

My hardware is a K6-2 500, a SB Live! and a Matrox MGA G550 AGP
connected to a digital TFT.

Here comes the mplayer -v log.  I have uploaded the file to incoming
as blank_mjpg.avi with this text in a note called blank_mjpg.txt.
Regards

Diego

P.S.: In case you can see the image and wonder who the guy on the
video is, that's me ..




MPlayer CVS-020605-03:46-2.95.4 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU: Advanced Micro Devices K6-2 (Family: 5, Stepping: 12)
CPUflags:  MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX 3DNow

Reading /home/diego/.mplayer/codecs.conf: 34 audio & 93 video codecs
CommandLine:get_path('font/font.desc') -> '/home/diego/.mplayer/font/font.desc'
 '-v' '/var/tmp/IMGP0176.AVI'
Using MMX (with tiny bit 3DNow) Optimized OnScreenDisplay
Font /home/diego/.mplayer/font/font.desc loaded successfully! (206 chars)
Using Linux's hardware RTC timing (1024Hz)
get_path('input.conf') -> '/home/diego/.mplayer/input.conf'
Can't open input config file /home/diego/.mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) input config

Playing /var/tmp/IMGP0176.AVI
Not an URL!
File size is 4295796 bytes
Detected AVI file format!
list_end=0xE6
list_end=0xCC
======= AVI Header =======
us/frame: 66666  (fps=15.000)
max bytes/sec: 768000
padding: 0
MainAVIHeader.dwFlags: (1114128) HAS_INDEX WAS_CAPTUREFILE
frames  total: 450   initial: 0
streams: 1
Suggested BufferSize: 51200
Size:  320 x 240
==> Found video stream: 0
found 'bih', 40 bytes of 40
======= STREAM Header =======
Type: vids   FCC: mjpg (67706A6D)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 15/1 = 15.000
Start: 0   Len: 450
Suggested BufferSize: 51200
Quality 1
Sample size: 0
hdr=Digitization Time  size=18
======= VIDEO Format ======
  biSize 40
  biWidth 320
  biHeight 240
  biPlanes 1
  biBitCount 24
  biCompression 1196444237='MJPG'
  biSizeImage 230400
===========================
Digitization Time: 2002/ 5/30 10:33PM
Broken chunk?  chunksize=0  (id=IDIT)
hdr=Digitization Time  size=18
Digitization Time: 2002/ 5/30 10:33PM
Demuxer info Digitization Time already present
!list_end=0x112
hdr=Software  size=24
Software  : PENTAX Optio 330       
Broken chunk?  chunksize=2  (id=JUNK)
list_end=0x41704C
Found movie at 0x128 - 0x41704C
Reading INDEX block, 450 chunks for 450 frames
Broken chunk?  chunksize=0  (id=idx1)
Reading INDEX block, 450 chunks for 450 frames
AVI index offset: 0x124 (movi=0x128 idx0=0x4 idx1=0x2804)
Auto-selected AVI video ID = 0
AVI_NI: No Audio stream found...  ->nosound
AVI: Searching for audio stream (id:-1)
AVI: No Audio stream found...  ->nosound
AVI video length=4284700
VIDEO:  [MJPG]  320x240  24bpp  15.00 fps  1142.6 kbps (139.5 kbyte/s)
[V] filefmt:3  fourcc:0x47504A4D  size:320x240  fps:15.00  ftime:=0.0667
Clip info: 
 Digitization Time: 2002/ 5/30 10:33PM
 Software: PENTAX Optio 330       
get_path('sub/') -> '/home/diego/.mplayer/sub/'
==========================================================================
Opening video decoder: [vfw] Win32/VfW video codecs
VDec: vo config request - 320 x 240 (preferred csp: Packed YUY2)  
[PP] Using codec's postprocessing, max q = 9
vo_debug: query(Planar I420) returned 0x437 (i=0) 
Movie-Aspect is undefined - no prescaling applied.
video_out->init(320x240->320x240,flags=0,'MPlayer',0x30323449)
VO: [xmga] 320x240 => 320x240 Planar I420 
VO: Description: X11 (Matrox G200/G4x0/G550 overlay in window using /dev/mga_vid)
VO: Author: Zoltan Ponekker <pontscho at makacs.poliod.hu>
X11 opening display: :0
vo: X11 color mask:  FFFF  (R:F800 G:7E0 B:1F)
vo: X11 running at 1280x1024 with depth 16 and 16 bpp (":0" => local display)
[xmga] x: 480 y: 392 w: 320 h: 256
[xmga] dcx: 8 dcy: 53 dx: 0 dy: 0 dw: 320 dh: 256
======= Win32 (VFW) VIDEO Codec init =======
[mga] Using 3 buffers.
get_path('registry') -> '/home/diego/.mplayer/registry'
Loading DLL: 'm3jpeg32.dll'
ICDecompressGetFormat OK
ICDecompressGetFormatSize ret: 40
ICDecompressQuery OK
Starting decompression, format:
  biSize 40
  biWidth 320
  biHeight 240
  biPlanes 1
  biBitCount 24
  biCompression 0x47504a4d ('MJPG')
  biSizeImage 230400
Dest fmt:
  biSize 40
  biWidth 320
  biHeight -240
  biPlanes 1
  biBitCount 12
  biCompression 0x30323449 ('I420')
  biSizeImage 76800
ICDecompressBegin failed: Error -2
VIDEO CODEC Init OK!!! ;-)
Called unk_MessageBeep
Called unk_GetActiveWindow
Called unk_DialogBoxParamA
INFO: Win32 video codec init OK!
Detected video codec: [m3jpeg] vfm:2 (Morgan Motion JPEG Codec)
==========================================================================
Audio: no sound!!!
Freeing 0 unused audio chunks
Start playing...
*** [vo] Allocating mp_image_t, 320x240x12bpp YUV planar, 115200 bytes
[xmga] x: 5 y: 22 w: 320 h: 256
[xmga] dcx: 8 dcy: 53 dx: 0 dy: 0 dw: 320 dh: 256
ds_fill_buffer: EOF reached (stream: video)  
EOF code: 1     6%  1%  0.0% 0 0 0%

vo: uninit!
vo: uninit ...

Exiting... (End of file)




More information about the MPlayer-users mailing list