[MPlayer-users] Encoding yv12 files cause a core dump

Joe Black joe at gateway.fasti.net
Tue Aug 20 18:52:01 CEST 2002


I think I can create my mpeg4 files using mp4encode from Mpeg4IP,
however, to use the mp4encode I need the following

The raw audio in the avi file should  be  PCM  format,  16
       bits/sample, little-endian, 2 channels, 44100 samples/sec.

       The raw video in the avi file should be YUV12 format,  aka
       YV12. (FYI: This is a planar format sampled at 4:2:0). Any
       frame size and frame rate are acceptable.

So far, when I try to run the following command to output the yv12 file
I get the following error:



maxbimmer# mencoder 1_1.vob -ovc rawrgb -o 1_1.avi -endpos 10 -vop
format=yv12 -vop scale=320:240 -oac pcm


MEncoder 0.90pre6-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6,
Stepping: 6)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Reading /root/.mplayer/codecs.conf: 38 audio & 104 video codecs
File not found: 'frameno.avi'
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
success: format: 0  data: 0x0 - 0xC800000
Detected MPEG-PS file format!
VIDEO:  MPEG2  720x480  (aspect 2)  29.97 fps  10000.0 kbps (1250.0
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: 2.0 (stereo)  48000 Hz  192.0 kbit/s
Using MMX optimized resampler
AUDIO: srate=48000  chans=2  bps=2  sfmt=0x10  ratio: 24000->192000
Opening video filter: [expand=-1:-1:-1:-1:1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
Opening video filter: [format=yv12]
========================================================================
==
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: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
VDec: vo config request - 720 x 480 (preferred csp: Planar YV12)  
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: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec: CPU flags: mmx mmxext sse
Detected video codec: [ffmpeg12] drv:5 (FFmpeg MPEG 1/2)
========================================================================
==
CBR PCM audio selected
Writing AVI header...
VDec: vo config request - 720 x 480 (preferred csp: Planar YV12)  
Couldn't find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
Sorry, selected video_out device is incompatible with this codec.
init_vo failed
Segmentation fault (core dumped)




More information about the MPlayer-users mailing list