INDEX  F.A.Q.  SEARCH  LATEST POSTS     Rules  Register  Profile  Private messages  Login


Login:   Username:  Password:   Log me on automatically    
Register I forgot my password I forgot my username Resend the activation key

AAC in MENCODER

Forum Index -> Video -> Linux Printer-friendly version
Reply to topic
Author Message
banon
Member


Joined: 02 Oct 2008
Location: Zimbabwe

Post Posted: Oct 02, 2008 02:05 Posts Comp View users profile Send private message Reply with quote

Hello.
I installed and compiled mplayer with memcoder from here-> http://debian-multimedia.org/pool/main/m/mplayer/mplayer_1.0.rc2s ... rig.tar.gz

I tried to encode vob to mp4 (for PSP)

found this command line in some tutorial:

Code:
./mencoder test.vob -oac lavc -ovc lavc -of lavf -lavcopts aglobal=1:vglobal=1:vcodec=mpeg4:acodec=aac -af lavcresample=24000 -vf harddup -lavfopts format=psp -ofps 30000/1001 -vf scale=320:240 -o test.mp4


but it gave me following error:

Code:
MEncoder dev-SVN-rUNKNOWN-4.1.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Xeon(R) CPU           X5355  @ 2.66GHz (Family: 6, Model: 15, Stepping: 7)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

success: format: 0  data: 0x0 - 0xc69f800
MPEG-PS file format detected.
VIDEO:  MPEG2  720x576  (aspect 2)  25.000 fps  6000.0 kbps (750.0 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25.000  ftime:=0.0400
==========================================================================
Opening audio decoder: [dvdpcm] Uncompressed DVD/VOB LPCM audio decoder
AUDIO: 48000 Hz, 2 ch, s16be, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [dvdpcm] afm: dvdpcm (Uncompressed DVD/VOB LPCM)
==========================================================================
** MUXER_LAVF *****************************************************************
REMEMBER: MEncoder's libavformat muxing is presently broken and can generate
INCORRECT files in the presence of B-frames. Moreover, due to bugs MPlayer
will play these INCORRECT files as if nothing were wrong!
*******************************************************************************
OK, exit.
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [scale w=320 h=240]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES)
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
Audio LAVC, couldn't find encoder for codec aac.


I know i need to install/recompile mplayer+memcoder with aac libs, but how? where do i find it and how to do it?


Last edited by banon on Oct 03, 2008 05:09, edited 1 time in total


Placio74
Member


Joined: 22 Dec 2006
Location: Poland

Post Posted: Oct 02, 2008 07:10 Posts Comp View users profile Send private message Reply with quote

Use libfaac instead aac.


And why not try libx264 instead mpeg4?


banon
Member


Joined: 02 Oct 2008
Location: Zimbabwe

Post Posted: Oct 03, 2008 07:27 Posts Comp View users profile Send private message Reply with quote

ok i got libfaac but don't know how to add it to mencoder.
tried adding "libfaac" folder to mplayer directory tree but without any result.

here's my mplayer dir


and here are the contents of libfaac dir (dunno if i copied good files)


i ain't got root access on this server so i had to compile it with --prefix=/tmp/mplayer command

please tell me how to add libfaac to mencoder, i think adding any other codec will be similar.


Reply to topic All times are GMT - 6 Hours
Forum Index -> Video -> Linux Page 1 of 1





You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Jump to:  
Display:   
DVDFab DVD to DVD lets you backup DVDs to DVDr, AVI or MP4 for portable devices. More info or download trial!
About   Advertise   Forum Archive   RSS Feeds   Statistics