[MPlayer-dev-eng] Endian Issues in Mencoder?

hip245 at operamail.com hip245 at operamail.com
Wed Jun 26 18:49:13 CEST 2002


Hi all-

I have been trying to get Mencoder to work on Mac OS X on PowerPC, but I appear to have run into some endian issues. For example, when I run:

mencoder TITLE01-AN1.VOB -ovc lavc -lavcopts vcodec=msmpeg4 -oac mp3lame -o TITLE01-AN1.avi

I get:

MEncoder 0.90pre5-2.95.2 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

Reading /Users/hmason/.mplayer/codecs.conf: 34 audio & 94 video codecs
File not found: 'frameno.avi'
font: can't open file: /Users/hmason/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
success: format: 0  data: 0x0 - 0xC286800
Detected MPEG-PS file format!
VIDEO:  MPEG2  720x480  (aspect 3)  29.97 fps  9375.0 kbps (1171.9 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x480  fps:29.97  ftime:=0.0334
Detected audio codec: [a52] drv:14 (AC3-liba52)
Opening audio decoder: [liba52] AC3-liba52
No accelerated IMDCT transform found
AC3: 5.1 (3f+2r+lfe)  48000 Hz  384.0 kbit/s
No accelerated resampler found
AUDIO: srate=48000  chans=2  bps=2  sfmt=0x20  ratio: 48000->192000
Opening video filter: [expand=-1:-1:-1:-1:1]
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 480 (preferred csp: Mpeg PES)
Couldn't find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
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 480 (preferred csp: Planar YV12)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
videocodec: libavcodec (720x480 fourcc=33766964 [3vid])
Detected video codec: [mpeg12] drv:1 (MPEG 1 or 2)
==========================================================================
MP3 audio selected
Writing AVI header...

In case you missed it, the FourCC is flipped. The output AVI is totally corrupt; not even MPlayer can read it. I used the copy method and the results were the same: Flipped FourCC and useless resulting file. I put an example of one of the files I would get here: http://thegoods.ath.cx/~hmason/TITLE01-AN1.avi (it's only 72k)

Does anyone have any idea what might be going on here? I did make absolutely sure that the configure script set my chip to be big endian. In fact, just to make sure it was an endian problem, I #undef'ed the big endian macros so that it would compile as if it were on a little endian chip: This produced an mplayer and mencoder that wouldn't open any file at all! Am I the only one with this problem?

-Henry Mason

-- 
_______________________________________________
Download the free Opera browser at http://www.opera.com/

Free OperaMail at http://www.operamail.com/

Powered by Outblaze



More information about the MPlayer-dev-eng mailing list