[MEncoder-users] Ipod Video (or missing aac encoding in lavc)

Fredrik Eriksson feffese at yahoo.se
Sun Jul 8 15:57:53 CEST 2007


Hello.

Once upon a time I created ipod-compatible videos using a command like this:

$ mencoder -channels 2 -sws 9 -of lavf -lavfopts 
format=psp:i_certify_that_my_video_stream_does_not_use_b_frames -oac 
lavc -ovc lavc -lavcopts 
aglobal=1:vglobal=1:coder=1:vcodec=mpeg4:vbitrate=1600:acodec=aac:abitrate=160:mbd=2:v4mv:keyint=300:trell:qns=3:mv0:cbp:last_pred=3:predia=2:dia=2:vmax_b_frames=0:precmp=2:cmp=2:subcmp=2:preme=2:nr=1000 
-vf scale=640:-10,harddup <input file.avi> -o output.mp4

that was quite a while ago though. When I tried again a few days ago I 
get an error:

"Audio LAVC, couldn't find encoder for codec aac."

So somewhere the lavc aac encoder was thrown out?

I've made a few attempts using -oac faac instead, but with no luck so 
far. Staring at the mplayer docs I found an example of how to encode for 
psp (which I would think is similar to ipod videos), but that example 
tells me to use the lavc aac encoder as well.

So:

- Is there supposed to be a aac encoder in lavc? (the man page says no)

- Has anyone successfully used the faac audio codec (or some other 
smart/strange/irritating way) to encode ipod compatible videos?

- Am I just doing something wrong again?



More information about the MEncoder-users mailing list