Hi,

I want to encode a .mov (720x576 mjpga 25FPS and 2CH 44.1 Khz AIFF)movie to mpg2 using the mplayer decode option in FFmpgx cause it gives me the best quality

The video encoding process works fine and it outputs a .mpv file but then the terminal stops without encoding the sound to mp2 or mpa with this Log:


Last login: Tue Apr 1 16:26:42 on ttyp1
pbpaste | sh
Welcome to Darwin!
[OSX10:~] incred% pbpaste | sh
Encoding started on Tue Apr 1 16:30:30 CEST 2003
/usr/bin/mplayer -noframedrop -vo yuv4mpeg -ao pcm -waveheader -v -osdlevel 0 /Volumes/DIGITAL/fuenftes_720x576.mov -aid 0
INFO: [yuvscaler] yuvscaler (version 1.7.0) is a general scaling utility for yuv frames
INFO: [yuvscaler] (C) 2001-2002 Xavier Biquard <xbiquard@free.fr>
INFO: [yuvscaler] yuvscaler -h for help, or man yuvscaler


MPlayer CVS-030118-18:03-3.1 (C) 2000-2003 Arpad Gereoffy (see DOCS)

AltiVec found
Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /Users/incred/.mplayer/config
Reading /Users/incred/.mplayer/codecs.conf: can't open '/Users/incred/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf
CommandLine: '-noframedrop' '-vo' 'yuv4mpeg' '-ao' 'pcm' '-waveheader' '-v' '-osdlevel' '0' '/Volumes/DIGITAL/fuenftes_720x576.mov' '-aid' '0'
get_path('font/font.desc') -> '/Users/incred/.mplayer/font/font.desc'
font: can't open file: /Users/incred/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using Unoptimized OnScreenDisplay
Using usleep() timing
get_path('input.conf') -> '/Users/incred/.mplayer/input.conf'
Can't open input config file /Users/incred/.mplayer/input.conf : No such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) input config
get_path('fuenftes_720x576.mov.conf') -> '/Users/incred/.mplayer/fuenftes_720x576.mov.conf'

Playing /Volumes/DIGITAL/fuenftes_720x576.mov
Not an URL!
File size is 49358974 bytes
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x842e50
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x842e50
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x842e50
Checking for MOV
MOV: 'WIDE' chunk found!
MOV: Movie DATA found!
MOV: Movie DATA found!
MOV: Movie header found!
QuickTime/MOV file format detected.
MOV: Movie header (100 bytes): tscale=25 dur=259
--------------
MOV: Track #0:
MOV: Track header!
tkhd len=84 ver=0 flags=0x0 id=1 dur=259 lay=0 vol=0
MOV: Edit atom!
MOV: Edit list table (1 entries) (ver:0,flags:0)
MOV: entry#0: duration: 259 start time: 18200 speed: 1.0x
MOV: Media stream!
MOV: Media header!
MOV: Handler header: rlhm/ediv (lppa) Apple Video Mediensteuerung
MOV: Media info!
MOV: Video header!
MOV: Handler header: rlhd/sila (lppa) Apple Alias-Datensteuerung
MOV: unknown chunk: dinf 28
MOV: Sample info!
MOV: Description list! (cnt:1)
MOV: desc #0: apjm (0 bytes)
MOV: Sample duration table! (2 blocks)
MOV: Sample->Chunk mapping table! (86 blocks) (ver:0,flags:0)
MOV: Sample size table! (entries=548 ss=0) (ver:0,flags:0)
MOV: Chunk offset table! (86 chunks)
MOV track #0: 86 chunks, 548 samples
pts=54798 scale=2500 time=21.919
EL#0: pts=18200 1st_sample=182 frames=259 (10.360s) pts_offs=-18200
==> Found video stream: 0
MOV: Found unsupported Field-Handling movie atom (10)!
Image size: 720 x 576 (24 bpp)
Display size: 720 x 576
Fourcc: apjm Codec: 'miroMotion JPEG A'
--------------
MOV: Track #1:
MOV: Track header!
tkhd len=84 ver=0 flags=0x0 id=2 dur=259 lay=0 vol=256
MOV: Edit atom!
MOV: Edit list table (1 entries) (ver:0,flags:0)
MOV: entry#0: duration: 259 start time: 321048 speed: 1.0x
MOV: Media stream!
MOV: Media header!
MOV: Handler header: rlhm/nuos (lppa) Apple Ton Mediensteuerung
MOV: Media info!
MOV: Sound header!
MOV: Handler header: rlhd/sila (lppa) Apple Alias-Datensteuerung
MOV: unknown chunk: dinf 28
MOV: Sample info!
MOV: Description list! (cnt:1)
MOV: desc #0: sowt (0 bytes)
MOV: Sample duration table! (1 blocks)
MOV: Sample->Chunk mapping table! (2 blocks) (ver:0,flags:0)
MOV: Sample size table! (entries=966005 ss=1) (ver:0,flags:0)
MOV: Chunk offset table! (43 chunks)
MOV track #1: 43 chunks, 0 samples
pts=966005 scale=44100 time=21.905
==> Found audio stream: 1
Audio bits: 16 chans: 2 rate: 44100
Fourcc: sowt
--------------
Quicktime Clip Info:
MOV: longest streams: A: #1 (43 samples) V: #0 (548 samples)
MOV: selected audio stream (0) does not exists
[V] filefmt:7 fourcc:0x61706A6D size:720x576 fps:25.00 ftime:=0.0400
get_path('sub/') -> '/Users/incred/.mplayer/sub/'
vo_yuv4mpeg: Using (default) progressive frame mode
================================================== ========================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffmjpeg] vfm:ffmpeg (FFmpeg MJPEG decoder)
================================================== ========================
Audio: no sound
Freeing 0 unused audio chunks
Starting playback...
[ffmpeg] aspect_ratio: 0.000000
VDec: vo config request - 720 x 576 (preferred csp: Planar 422P)
VDec: using Planar YV12 as output csp (no 3)
Movie-Aspect is undefined - no prescaling applied.
VO Config (720x576->720x576,flags=0,'MPlayer',0x32315659)
VO: [yuv4mpeg] 720x576 => 720x576 Planar YV12
VO: Description: yuv4mpeg output for mjpegtools (to "stream.yuv")
VO: Author: Robert Kesterson <robertk@robertk.com>
++ WARN: [mpeg2enc] Generating dummy SVCD scan-data offsets to be filled in by "vcdimager"
++ WARN: [mpeg2enc] If you're not using vcdimager you may wish to turn this off using -d
*** [vo] Exporting mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
ds_fill_buffer: EOF reached (stream: video)
EOF code: 1 96% 2283% 0.0% 0 0 0%

uninit video: ffmpeg
DEMUXER: freeing demuxer at 0x842e50
DEMUXER: freeing sh_video at 0x846b00
DEMUXER: freeing sh_audio at 0x847080

Exiting... (End of file)
wait, encoding to mp2 audio with mp2enc...
/Applications/mpg2/ffmpegX.app//Contents/Resources/mencvcdX: audiodump.wav: No such file or directory
INFO: [mplex] mplex version 2.2.1 ($Date: 2002/04/20 19:08:30 $)
INFO: [mplex] File /Volumes/DIGITAL/fuenftes_mencoder.mpv looks like an MPEG Video stream.
**ERROR: [mplex] Unable to open file /Volumes/DIGITAL/fuenftes_mencoder.mpa for reading.
-3 is not a valid mpeg file
(Super) VideoCD xml description created successfully as `/Volumes/DIGITAL/fuenftes_mencoder.1.xml'
++ WARN: initializing libvcd 0.7.12 [darwin5.2/powerpc]
++ WARN:
++ WARN: this is the UNSTABLE development branch!
++ WARN: use only if you know what you are doing
++ WARN: see http://www.hvrlab.org/~hvr/vcdimager/ for more information
++ WARN:
**ERROR: could not stat() file `/Volumes/DIGITAL/fuenftes_mencoder-1.mpg': No such file or directory
rm: /Volumes/DIGITAL/fuenftes_mencoder-1_02_pregap.img: No such file or directory
(Super) VideoCD xml description created successfully as `/Volumes/DIGITAL/fuenftes_mencoder.2.xml'
++ WARN: initializing libvcd 0.7.12 [darwin5.2/powerpc]
++ WARN:
++ WARN: this is the UNSTABLE development branch!
++ WARN: use only if you know what you are doing
++ WARN: see http://www.hvrlab.org/~hvr/vcdimager/ for more information
++ WARN:
**ERROR: could not stat() file `/Volumes/DIGITAL/fuenftes_mencoder-2.mpg': No such file or directory
rm: /Volumes/DIGITAL/fuenftes_mencoder-2_02_pregap.img: No such file or directory
(Super) VideoCD xml description created successfully as `/Volumes/DIGITAL/fuenftes_mencoder.3.xml'
++ WARN: initializing libvcd 0.7.12 [darwin5.2/powerpc]
++ WARN:
++ WARN: this is the UNSTABLE development branch!
++ WARN: use only if you know what you are doing
++ WARN: see http://www.hvrlab.org/~hvr/vcdimager/ for more information
++ WARN:
**ERROR: could not stat() file `/Volumes/DIGITAL/fuenftes_mencoder-3.mpg': No such file or directory
rm: /Volumes/DIGITAL/fuenftes_mencoder-3_02_pregap.img: No such file or directory
Encoding completed on Tue Apr 1 16:34:53 CEST 2003

[OSX10:~] incred%




Can you help me? Is the mencoder binary installed correctly? If not how I do install it correctly (I don't know the commands to use the treminal)


Markus