[MEncoder-users] problems encoding avis for x-nine pmp500
Marco Caamano
marco.caamano at gmail.com
Fri Jun 15 08:15:55 CEST 2007
Hi,
This is a newbie question.
I am trying to encode some anime into avi for the x-nine pmp500. If I encode
using:
mencoder foo.avi -o foo2.avi -ovc xvid -xvidencopts
cartoon:bitrate=500:max_bframes=0 -vf-add scale=224:176 -ofps 20.0 -aspect
1.33 -noskip -nosound
the resulting avi will playback ok on the player.
But as soon as I add audio the player wil give a file format error (but I
can still see the avi ok using mplayer).
The pmp came with a demo avi and from what mplayer reports it looks like the
audio is enconded the same on both videos but the one I encoded won't
playback.
Any tips on how to figure out what should be the proper audio encoding
settings I should use? any document I should read?
Thanks for any info.
This is the output of the file that came with the pmp and plays ok:
-------------------------------------------------------------------------------------------------------
mplayer Desktop/Vide.avi
MPlayer 2:1.0~rc1-0ubuntu9.1 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 3000+ (Family: 15, Model: 47, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote
control.
Playing Desktop/Vide.avi.
AVI file format detected.
VIDEO: [XVID] 224x176 12bpp 20.000 fps 492.5 kbps (60.1 kbyte/s)
Clip info:
Software: MEncoder Sherpya-MinGW-20060312-4.1.0
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
[VO_TDFXFB] Can't open /dev/fb0: No such file or directory.
[VO_3DFX] Unable to open /dev/3dfx.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Forced audio codec: mad
Opening audio decoder: [libmad] libmad mpeg audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [mad] afm: libmad (libMAD MPEG layer 1-2-3)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 224 x 176 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 224x176 => 234x176 Planar YV12
A: 2.1 V: 2.2 A-V: -0.008 ct: 0.000 44/ 44 3% 0% 1.4% 0 0
Exiting... (Quit)
-------------------------------------------------------------------------------------------------------
this is the output of the encoded video that errors out
-------------------------------------------------------------------------------------------------------
mplayer cowboy4.avi
MPlayer 2:1.0~rc1-0ubuntu9.1 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 3000+ (Family: 15, Model: 47, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote
control.
Playing cowboy4.avi.
AVI file format detected.
VIDEO: [XVID] 224x176 12bpp 20.000 fps 395.0 kbps (48.2 kbyte/s)
Clip info:
Software: MEncoder 2:1.0~rc1-0ubuntu9
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
[VO_TDFXFB] Can't open /dev/fb0: No such file or directory.
[VO_3DFX] Unable to open /dev/3dfx.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Forced audio codec: mad
Opening audio decoder: [libmad] libmad mpeg audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 96.0 kbit/6.80% (ratio: 12000->176400)
Selected audio codec: [mad] afm: libmad (libMAD MPEG layer 1-2-3)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 224 x 176 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 224x176 => 234x176 Planar YV12
A: 2.6 V: 2.5 A-V: 0.018 ct: 0.002 52/ 52 2% 0% 1.5% 0 0
Exiting... (Quit)
-------------------------------------------------------------------------------------------------------
I've tried using the same freq and bitrate and using a lower bitrate, but
both failed...
More information about the MEncoder-users
mailing list