[Mplayer-advusers] mencoder bigendian bug
Attila Kinali
kinali at gmx.net
Sun May 19 21:55:31 CEST 2002
Hi People,
On PPC the avi file headers have the wrong byte order
---schnipp---
mp/main/mencoder -dvd 1 -chapter 2 -ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=1800 -o aerzte.avi -v
MEncoder CVS-020519-22:44-2.95.4 (C) 2000-2002 Arpad Gereoffy (see DOCS!)
Reading /home/chris/.mplayer/codecs.conf: can't open '/home/chris/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/share/mplayer/codecs.conf: 34 audio & 92 video codecs
font: can't open file: /home/chris/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
File not found: 'frameno.avi'
get_path('') -> '/home/chris/.mplayer/'
get_path('DVDKeys') -> '/home/chris/.mplayer/DVDKeys'
Reading disc structure, please wait...
There are 9 titles on this DVD.
There are 15 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened!
[open] audio stream: 0 audio format: ac3 language: unknown aid: 128
[open] number of audio channels on disk: 1.
[open] subtitle ( sid ): 0 language: en
[open] subtitle ( sid ): 1 language: es
[open] subtitle ( sid ): 2 language: ja
[open] number of subtitles on disk: 3
DVD start cell: 0 pack: 0x1320F-0x2B6F3
DVD start=78351 end=177912
success: format: 0 data: 0x9907800 - 0x15B7C000
DVD Seek! lba=0x1320F cell=0 packs: 0x1320F-0x2B6F3
Angle-seek synced! skip=0 new_lba=0x1320F
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x101eca78
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x101eca78
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x101eca78
Checking for MOV
DEMUXER: freeing demuxer at 0x101eca78
Checking for VIVO
header block 1 size: 0
DEMUXER: freeing demuxer at 0x101eca78
Checking for REAL
DEMUXER: freeing demuxer at 0x101eca78
DVD Seek! lba=0x1320F cell=0 packs: 0x1320F-0x2B6F3
Angle-seek synced! skip=0 new_lba=0x1320F
DEMUXER: freeing demuxer at 0x101eca78
DEMUXER: freeing demuxer at 0x101eca78
DVD Seek! lba=0x1320F cell=0 packs: 0x1320F-0x2B6F3
Angle-seek synced! skip=0 new_lba=0x1320F
DEMUXER: freeing demuxer at 0x101eca78
DVD Seek! lba=0x1320F cell=0 packs: 0x1320F-0x2B6F3
Angle-seek synced! skip=0 new_lba=0x1320F
DEMUXER: freeing demuxer at 0x101eca78
DEMUXER: freeing demuxer at 0x101eca78
DVD Seek! lba=0x1320F cell=0 packs: 0x1320F-0x2B6F3
Angle-seek synced! skip=0 new_lba=0x1320F
system stream synced at 0x0 (160462861)!
==> Found video stream: 0
Detected MPEG-PS file format!
==> Found audio stream: 128
Searching for sequence header... OK!
VIDEO: MPEG2 720x576 (aspect 2) 25.00 fps 11250.0 kbps (1406.2 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x576 fps:25.00 ftime:=0.0400
Detected audio codec: [a52] drv:14 (AC3-liba52)
Initializing audio codec...
Selecting Audio Decoder: [liba52] AC3-liba52
dec_audio: Allocating 3840 bytes for input buffer
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer
No accelerated IMDCT transform found
AC3: 2.0 (stereo) 48000 Hz 192.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0x2
No accelerated resampler found
AUDIO: srate=48000 chans=2 bps=2 sfmt=0x20 ratio: 24000->192000
Expand: -1 x -1, -1 ; -1 (-1=autodetect) osd: 1
==========================================================================
Opening Video Decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576, Mpeg PES
[PP] Sorry, postprocessing is not available
vo_debug: query(Mpeg PES) returned 0x0 (i=0)
Couldn't find matching colorspace - retrying with -vop scale...
SwScale: -1 x -1 (-1=no scaling)
vo_debug: query(Mpeg PES) returned 0x0 (i=0)
Sorry, selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening Video Decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
libmpeg2: No accelerated IDCT transform found
libmpeg2: No accelerated motion compensation found
VDec: vo config request - 720 x 576, Planar YV12
[PP] Sorry, postprocessing is not available
vo_debug: query(Planar YV12) returned 0x401 (i=0)
vo_debug: query(Planar I420) returned 0x401 (i=1)
vo_debug: query(Planar IYUV) returned 0x401 (i=2)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
video_out->init(720x576->768x576,flags=0,'MPlayer',0x32315659)
REQ: flags=0x401 req=0x0
videocodec: libavcodec (720x576 fourcc=58564944 [XVID])
High quality encoding selected (non real time)!
Detected video codec: [mpeg12] drv:1 prio:0 (MPEG 1 or 2)
==========================================================================
CBR PCM audio selected
Writing AVI header...
*** [expand] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
Pos: 0.0s 1f ( 0%) 0fps Trem: 0min 35mb A-V:0.000 [0:0] A/Vms 38/25
*** [expand] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
*** [lavc] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
Pos: 0.1s 2f ( 0%) 0fps Trem: 1min 47mb A-V:0.004 [0:0] A/Vms 83/78
*** [expand] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
---schnapp---
---schnapp---
chris at mac:~$ cat /proc/cpuinfo
cpu : 7410, altivec supported
clock : 400MHz
revision : 17.2 (pvr 800c 1102)
bogomips : 797.90
machine : PowerBook3,2
motherboard : PowerBook3,2 MacRISC2 MacRISC Power Macintosh
detected as : 71 (PowerBook Titanium)
pmac flags : 00000003
L2 cache : 1024K unified
memory : 384MB
pmac-generation : NewWorld
---schnapp---
i`ll upload aertzte.avi.i386 and aertzte.avi.ppc onto the ftp in a few minutes
(i think the names are clear :-)
Greetings
Attila Kinali
More information about the MPlayer-advusers
mailing list