[MEncoder-users] Ipod Video (or missing aac encoding in lavc)
Grozdan Nikolov
microchip at chello.be
Sun Aug 5 00:41:57 CEST 2007
On Saturday 04 August 2007 20:10, Mark Himsley wrote:
> It's embarrassing that I sent this email almost 4 weeks ago but it appears
> it was stuck in a queue.
>
> On Sat, Aug 04, 2007 at 12:07:55PM +0200, Grozdan Nikolov wrote:
> > On Sunday 08 July 2007 21:53, Mark Himsley wrote:
> > > On 8 July 2007 17:11:50 +0200 Fredrik Eriksson wrote:
> > > > Would you care to share the command line? since I've had no success
> > > > yet it would be appreciated...
> > >
> > > I regularly make podcasts using the following (the sourse files are
> > > 16:9 PAL off-air digital recordings, so similar to PAL DVDs)
> >
> > Why don't you use faac for AAC encoding? I use it all the time here
> > without a problem..
> >
> > -faac -faacopts mpeg=4:object=2:br=140
>
> I don't know. I worked out how to use lavc and it worked for me.
> To turn the question around, why should I use faac?
because AFAIK, lavc doesn't support encoding to AAC audio (I might be wrong
though). Use -oac faac -faacopts mpeg=4:br=120:object=2 it's not that
difficult ;)
>
> Actually, should I use a different video codec too?
I don't have a video iPod but AFAIK, you can use either MPEG-4 SP (Simple
Profile) or H.264 video. MPEG-4 SP may not have b-frames in it and other ASP
tweaks to the video stream. H.264 can have at most 2 b-frames... have a look
here http://forum.videohelp.com/topic330839.html
>
> > > mencoder -v \
> > > "$i" \
> > > -o "$d" \
> > > -aspect 1050:576 \
> > > -ofps 25.00 \
> > > -noskip \
> > > -mc 0 \
> > > -vfm ffmpeg \
> > > -vf kerndeint=18:0:0:1:0,crop=648:568:36:4,scale=320:192,harddup \
> > > -ovc lavc \
> > > -oac lavc \
> > > -lavcopts
> > > vglobal=1:vcodec=mpeg4:vbitrate=768:mbd=2:trell:v4mv:last_pred=2:dia=-1
> > >:vma
> > > x_b_frames=0:cmp=3:subcmp=3:autoaspect:aglobal=1:acodec=aac:abitrate=12
> > >8 \ -of lavf \
> > > -lavfopts
> > > format=mp4:i_certify_that_my_video_stream_does_not_use_b_frames
More information about the MEncoder-users
mailing list