[MEncoder-users] I encode a video, but i lose the sound

Alwar alwarstudios at gmail.com
Sun Nov 25 01:32:41 CET 2007


I am trying encode a video with Divx but i don't heard the sound in
totem and on divx player of my mobile phone but with mplayer i heard
the sound.
I put this on the console:
mencoder -oac copy -ovc lavc -lavcopts
acodec=mp2:abitrate=64:vcodec=mpeg4:vbitrate=300 -ffourcc DX50 -ofps
12 input.avi -o output.avi

 And get this with mplayer -identify:
AVI file format detected.
ID_VIDEO_ID=0
ID_AUDIO_ID=1
VIDEO:  [DX50]  348x264  24bpp  30.000 fps  298.4 kbps (36.4 kbyte/s)
Clip info:
Software: MEncoder dev-SVN-rUNKNOWN-4.1.2
ID_CLIP_INFO_NAME0=Software
ID_CLIP_INFO_VALUE0=MEncoder dev-SVN-rUNKNOWN-4.1.2
ID_CLIP_INFO_N=1
ID_FILENAME=/media/BigMMC/system/apps/DivXPlayer/Demos/Thunderstruck.avi
ID_DEMUXER=avi
ID_VIDEO_FORMAT=DX50
ID_VIDEO_BITRATE=298424
ID_VIDEO_WIDTH=348
ID_VIDEO_HEIGHT=264
ID_VIDEO_FPS=30.000
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=80
ID_AUDIO_BITRATE=152
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_LENGTH=291.67
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] This driver only supports the 3Dfx Banshee, Voodoo3 and Voodoo 5.
[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)
==========================================================================
ID_VIDEO_CODEC=ffodivx
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 22050 Hz, 2 ch, s16le, 64.0 kbit/9.07% (ratio: 8000->88200)
ID_AUDIO_BITRATE=64000
ID_AUDIO_RATE=22050
ID_AUDIO_NCH=2
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [oss] 22050Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=mp3
Starting playback...
VDec: vo config request - 348 x 264 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.32:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.3182
VO: [xv] 348x264 => 348x264 Planar YV12
A:17075.3 V:  44.6 A-V:17030.619 ct:  4.463 1340/1340  5%  0%  0.4% 17 0
Exiting... (Quit)


What i have to do to heard the sound on all players?
I think that is not correct the information of the chanels because in
the file properties of gnome didn't show audio information, only codec
name.
-- 
Usuario Linux #437264
Maquina Linux #354674
- - -
http://pushthebutton.es



More information about the MEncoder-users mailing list