[MPlayer-dev-eng] [PATCH] PowerPC ffmpeg fixes

Daniel Egger degger at fhm.edu
Mon May 12 16:19:14 CEST 2003


Am Mon, 2003-05-12 um 13.31 schrieb Jens Axboe:

> What's your test case? As I just wrote, I tried yesterday and it "just
> worked". I had previously tried, and got completely screwed colors and
> lots of pixel problems.

There a lots of problems of totally different kinds. For instance this
one (fresh cvs checkout, compiled with Debians' gcc 3.2.3; I'm
bootstrapping 3.3 right now):

OGG file format detected.
==========================================================================
Opening audio decoder: [libvorbis] Ogg/Vorbis audio decoder
AUDIO: 44100 Hz, 2 ch, 16 bit (0x20), ratio: 12000->176400 (96,0 kbit)
Selected audio codec: [vorbis] afm:libvorbis (OggVorbis Audio Decoder)
==========================================================================
vo: X11 running at 1152x768 with depth 16 and 16 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, big endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Big-Endian)
AO: [oss] 44100Hz 2ch Signed 16-bit (Big-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Starting playback...
 
 
MPlayer interrupted by signal 11 in module: decode_video
...

Using -vc xvid works like a charm (but without altivec... :():

OGG file format detected.
==========================================================================
Opening audio decoder: [libvorbis] Ogg/Vorbis audio decoder
AUDIO: 44100 Hz, 2 ch, 16 bit (0x20), ratio: 12000->176400 (96,0 kbit)
Selected audio codec: [vorbis] afm:libvorbis (OggVorbis Audio Decoder)
==========================================================================
vo: X11 running at 1152x768 with depth 16 and 16 bpp (":0.0" => local display)
==========================================================================
Forced video codec: xvid
Opening video decoder: [xvid] xvid decoder
 
*******************************************************************
**                                                               **
**  Y O U ' R E   U S I N G   U N S T A B L E   S O F T W A R E  **
**                                                               **
** There are bugs, this code could crash, could blow up your PC  **
** or the whole building and do many other nasty things !        **
**                                                               **
** If you want stable code use stable XViD releases (0.9.x).     **
**                                                               **
*******************************************************************
 
VDec: vo config request - 720 x 400 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 720x400 => 720x400 Planar YV12
Selected video codec: [xvid] vfm:xvid (Xvid (MPEG-4))
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, big endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Big-Endian)
AO: [oss] 44100Hz 2ch Signed 16-bit (Big-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Starting playback...
A:   3,2 V:   3,1 A-V:  0,057 ct:  0,107   79/ 79  52% 21%  4,4% 15 0 0%
Exiting... (Quit)



MPEG-PS file format detected.
VIDEO:  MPEG2  480x480  (aspect 2)  29,97 fps  2450,0 kbps (306,2
kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 44100 Hz, 2 ch, 16 bit (0x20), ratio: 24000->176400 (192,0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo: X11 running at 1152x768 with depth 16 and 16 bpp (":0.0" => local
display)
==========================================================================
Forced video codec: ffmpeg12
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg12] vfm:ffmpeg (FFmpeg MPEG 1/2)
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit ->
44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, big endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Big-Endian)
AO: [oss] 44100Hz 2ch Signed 16-bit (Big-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit ->
44100Hz/2ch/16bit...
Starting playback...
 
 
MPlayer interrupted by signal 11 in module: decode_video
...

libmpeg2 works fine but is almost too slow to play DVDs. Works
find with xine for instance.

Hrm, I wish I would get it going at all because that's where
the real fun started last time I looked (MC misplacing parts of the
picture, IDCT fed with wrong values, chroma and luminance swapped,
etc.). Unfortunately all  video sources I have here (OGG XviD, AVI
DivX3, AVI DivX4, VCD, SVCD, DVD) crash ffmpeg. :/

-- 
Servus,
       Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030512/6215c6dc/attachment.pgp>


More information about the MPlayer-dev-eng mailing list