[MPlayer-users] Frame size and color change problem in mplayer
Ricardo Oliveira
rveloso at cs.ucla.edu
Wed Nov 26 18:28:49 CET 2003
Any ideas to solve the frame size problem?(please see bellow)
I also want to know how can I change the number of colors in ffmpeg
(other than YUV420)?
Thanks again!
--Ricardo
Hi all,
I'm using ffserver to stream a mpg4 video to a client using mplayer.
At some point the frame size of the video stream
changes(new_height=old_height/2 and new_width=old_width/2).
But for some reason mplayer can't handle this frame size change and
crashes. The video is being decoded by ffmpeg libavcodec.
Is this supposed to happen?
Here's a short output from mplayer(please find more details in the file
attached):
--------------------------------------------------------
MPlayer 1.0pre2-3.2.2 (C) 2000-2003 MPlayer Team
...
Playing
http_proxy://192.168.8.105:9999/http://192.168.8.105:20080/dhl_mp4.avi
Failed to create AF_INET6 socket:
Connecting to server 192.168.8.105[192.168.8.105]:9999 ...
Cache size set to 320 KBytes
Connected to server: 192.168.8.105
AVI file format detected.
** empty list?!
Could not determine number of frames (for absolute seek)
VIDEO: [DIV3] 640x480 24bpp 29.970 fps -17179870.0 kbps (-2097152.0
kbyte/s)
========================================================================
==
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 8000->192000 (64.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
========================================================================
==
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0" => local
display)
========================================================================
==
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4
v3))
========================================================================
==
Checking audio filter chain for 48000Hz/2ch/16bit ->
48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit ->
48000Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 640 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 640x480 => 640x480 Planar YV12
...
-->frame size changes at this point
error while decoding block: 27 x 0 (2)
Error at MB: 27
I frame too long, ignoring ext header
concealing errors
--------------------------------------------------------
Any feedback will be appreciated.
Thanks!
--Ricardo
More information about the MPlayer-users
mailing list