You are not logged in.
Pages: 1
Okay, I need to encode avi to mp4 for my phone.
For that I successfully used avidemux with:
- video codec: MPEG-4 ASP (avcodec)
- audio codec: AAC (faac)
I need to setup the same codecs in ffmpeg, because those were the only ones my phone found acceptable.
However, for the above video codec that I used in avidemux, I am unsure which one is it in ffmpeg (from what I understand avcodec is in fact ffmpeg's internal codec?). Clicking 'Configure' in avidemux gives 'avcodec H.263 Configuration' window.
So what codec in ffmpeg codec listing would that be (the one from avidemux)?
Thanks for your help.
Offline
Download winff from AUR. It has presets for all types of devices. And also uses ffmpeg.
Offline
Your post is very confusing, I don't understand what exactly it is you're asking.
MPEG-4 ASP is just that, MPEG-4 ASP. Or with full name, MPEG-4 Part2 Advanced Simple Profile. Avcodec, or rather libavcodec is indeed ffmpeg's library that contains a bunch of codecs, including ASP. Then there's xvid (package 'xvidcore' in Arch), which is also an ASP codec that you can use, and is actually slightly better than libavcodec.
Offline
@Gusar i think he's asking what options to pass to ffmpeg to use those codecs
Give what you have. To someone, it may be better than you dare to think.
Offline
@Gusar i think he's asking what options to pass to ffmpeg to use those codecs
Yeah, exacly...
Offline
wonder wrote:@Gusar i think he's asking what options to pass to ffmpeg to use those codecs
Yeah, exacly...
Ah, that. Well, I don't have experience much with lavc. I'd advise going with xvid, where the defaults are well tuned already, so you just select the desired bitrate.
I do have a file where I wrote down some lavc options, but they're for mencoder, you'd have to go through the mencoder manpage to translate them into the appropriate avidemux options:
vpass=[1|2]:vbitrate=1200:mbd=2:trell:v4mv:cmp=2:subcmp=6:preme=2:dia=-1:predia=3:last_pred=2:vmax_b_frames=1Or just use xvid.
Offline
Pages: 1