[MPlayer-users] ffmpeg and SDL problem

monsieurploploop monsieurploploop at softhome.net
Fri May 3 02:16:02 CEST 2002


Hello,

I've a little problem while using ffmpeg's codecs and SDL video output
(using
  x11 driver). When I try to play a video using ffmpeg codec, with the
"-vo sdl"
  option, I obtain a black screen. But with some video, I can obtain a
image when
  I use double size mode (press "n"). And others video just play fine in all
  mode. This problem doesn't happen while using win32 codecs, but if you
can help
  me with the ffmpeg codecs...
I've add the 3 verbose output. One of a "working" video (works
perfectly), one
  of a "little working" video (got only an image in double size mode),
and the
  last of a "non working" video (no image at all).
I'm curently using Mplayer0.90pre2, but the problem was also in Mplayer0.60.
If you need more information, just ask for it :)


Here's the information about my system :
Linux mandrake 8.0
krenel 2.4.3-20mdk
libc 2.2.2
Xfree 3.3.6
gcc 2.95.3
ld 2.10.91
binutils 2.10.91

CPU :
vendor_id       : AuthenticAMD
cpu family      : 5
model           : 8
model name      : AMD-K6(tm) 3D processor
stepping        : 12
cpu MHz         : 332.414
cache size      : 64 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr mce cx8 pge mmx syscall 3dnow
k6_mtrr
bogomips        : 663.55

Video card :
ATI 3d rage pro agp 1x/2x
driver : Mach64: accelerated server for ATI Mach64 graphics adaptors
(Patchlevel
  1)

Sound card :
ESS Technology ES1969 Solo-1 Audiodrive using OSS driver.


-----------------------------------------------------------

The "working" output :

CPU vendor name: AuthenticAMD  max cpuid level: 1
CPU: Advanced Micro Devices K6-2 (Type: 5, Stepping: 12)
extended cpuid-level: 5
Reading /home/cedric/.mplayer/codecs.conf: 31 audio & 81 video codecs
  '-vo' 'sdl' '-nosound' '-vfm' '5' '-v' 'plop01.avi'
font: can't open file: /home/cedric/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit 3DNow) Optimized OnScreenDisplay
Not an URL!
list_end=0x176
======= AVI Header =======
us/frame: 33367  (fps=29.970)
max bytes/sec: 94896
padding: 0
MainAVIHeader.dwFlags: (2064) HAS_INDEX TRUST_CKTYPE
frames  total: 33987   initial: 1
streams: 2
Suggested BufferSize: 9111
Size:  360 x 240
list_end=0xEC
======= STREAM Header ======
Type: vids   FCC: div3 (33766964)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 2997/100 = 29.970
Start: 0   Len: 33987
Suggested BufferSize: 9111
Quality 10000
Sample size: 0
======= VIDEO Format =======
   biSize 40
   biWidth 360
   biHeight 240
   biPlanes 1
   biBitCount 24
   biCompression 861292868='DIV3'
   biSizeImage 259200
===========================
list_end=0x176
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 1
Rate: 1991/1 = 1991.000
Start: 0   Len: 2257736
Suggested BufferSize: 67
Quality 10000
Sample size: 1
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 1
Samplerate: 11025
avg byte/sec: 1991
Block align: 1
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=104
mp3.nFramesPerBlock=1
mp3.nCodecDelay=1393
list_end=0x473CBE2
SUB: Detected sub file: plop01.txt
SUB: Could not determine file format
Opening Video Decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec: CPU flags: mmx 3dnow
SDL: Using 0x32315659 (Planar YV12) image format
SDL: deactivating XScreensaver/DPMS
SDL: X11 Resolution 800x600
Disabling DPMS
stat: 1
SDL: Using driver: x11
SDL: using hardware-surface
SDL: setting windowed mode

*** free_stream() called ***
SDL: activating XScreensaver/DPMS
Successfully enabled DPMS

-------------------------------------------------
The "little working" output :


CPU vendor name: AuthenticAMD  max cpuid level: 1
CPU: Advanced Micro Devices K6-2 (Type: 5, Stepping: 12)
extended cpuid-level: 5
Reading /home/cedric/.mplayer/codecs.conf: 31 audio & 81 video codecs
  '-vo' 'sdl' '-nosound' '-vfm' '5' '-v' 'plop02.avi'
font: can't open file: /home/cedric/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit 3DNow) Optimized OnScreenDisplay
Not an URL!
list_end=0x2292
======= AVI Header =======
us/frame: 33367  (fps=29.970)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 3596   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  352 x 288
list_end=0x10F4
======= STREAM Header =======
Type: vids   FCC: div4 (34766964)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 2997/100 = 29.970
Start: 0   Len: 3596
Suggested BufferSize: 5866
Quality 5000
Sample size: 0
======= VIDEO Format ======
   biSize 40
   biWidth 352
   biHeight 288
   biPlanes 1
   biBitCount 24
   biCompression 861292868='DIV3'
   biSizeImage 304128
===========================
list_end=0x2186
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 1
Rate: 1000/1 = 1000.000
Start: 0   Len: 120168
Suggested BufferSize: 463
Quality -1
Sample size: 1
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 1
Samplerate: 8000
avg byte/sec: 1000
Block align: 1
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=72
mp3.nFramesPerBlock=1
mp3.nCodecDelay=1393
list_end=0x2292
list_end=0x402BCE
SUB: Detected sub file: plop02.txt
SUB: Could not determine file format
Opening Video Decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec: CPU flags: mmx 3dnow
SDL: Using 0x32315659 (Planar YV12) image format
SDL: deactivating XScreensaver/DPMS
SDL: X11 Resolution 800x600
Disabling DPMS
stat: 1
SDL: Using driver: x11
SDL: using hardware-surface
SDL: setting windowed mode

*** free_stream() called ***
SDL: activating XScreensaver/DPMS
Successfully enabled DPMS


-------------------------------------------------------

The "non working" output


CPU vendor name: AuthenticAMD  max cpuid level: 1
CPU: Advanced Micro Devices K6-2 (Type: 5, Stepping: 12)
extended cpuid-level: 5
Reading /home/cedric/.mplayer/codecs.conf: 31 audio & 81 video codecs
  '-vo' 'sdl' '-nosound' '-vfm' '5' '-v' 'plop03.avi'
font: can't open file: /home/cedric/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit 3DNow) Optimized OnScreenDisplay
Not an URL!
list_end=0x18A
======= AVI Header =======
us/frame: 33366  (fps=29.971)
max bytes/sec: 232971
padding: 0
MainAVIHeader.dwFlags: (2064) HAS_INDEX TRUST_CKTYPE
frames  total: 1500   initial: 1
streams: 2
Suggested BufferSize: 12209
Size:  416 x 311
list_end=0xF6
======= STREAM Header =======
Type: vids   FCC: div3 (33766964)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 1000000/33366 = 29.971
Start: 0   Len: 1500
Suggested BufferSize: 12209
Quality 10000
Sample size: 0
======= VIDEO Format ======
   biSize 40
   biWidth 416
   biHeight 311
   biPlanes 1
   biBitCount 24
   biCompression 861292868='DIV3'
   biSizeImage 388128
===========================
list_end=0x18A
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 1
Rate: 5972/1 = 5972.000
Start: 0   Len: 298893
Suggested BufferSize: 200
Quality -1
Sample size: 1
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 22050
avg byte/sec: 5972
Block align: 1
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=156
mp3.nFramesPerBlock=1
mp3.nCodecDelay=1393
list_end=0x96F8AC
SUB: Detected sub file: plop03.txt
SUB: Could not determine file format
Opening Video Decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec: CPU flags: mmx 3dnow
SDL: Using 0x32315659 (Planar YV12) image format
SDL: deactivating XScreensaver/DPMS
SDL: X11 Resolution 800x600
Disabling DPMS
stat: 1
SDL: Using driver: x11
SDL: using hardware-surface
SDL: setting windowed mode

*** free_stream() called ***
SDL: activating XScreensaver/DPMS
Successfully enabled DPMS






More information about the MPlayer-users mailing list