Hi,
Please help me to convert mpeg files to video encoded in h264 and audio encoded in aac format using aconv,
Thanking You,Code:avconv -i infut.mpeg -c:v libx264 -c:a ??? output.mkv
Ras
Hi,
Please help me to convert mpeg files to video encoded in h264 and audio encoded in aac format using aconv,
Thanking You,Code:avconv -i infut.mpeg -c:v libx264 -c:a ??? output.mkv
Ras
See the x264 and AAC encoding guides. Those are strictly speaking for ffmpeg, but AFAIK the syntax should still work with avconv.
To check which AAC encoders you have, use
...and then consult the AAC encoding guide for how to use it.Code:avconv -codecs | grep aac
Please mark your thread as solved if you get a satisfactory solution to your problem.
Thnaks, please let me know how to improve video (and audio) quality? I think the default is not sufficient.
Is it possible to use similar to -tune option in ffmpeg with avconv?
You're probably not going to get better quality by encoding to a different format.
Yes. I know, but it is now losing quality!
Check out the guides I linked to in my first post, those show how to set the quality. I think the should work with avconv, but I've been using ffmpeg eclusively for about a year, so I don't know if the syntax is still 100% compatible (the only way to find out would be to give it a go).
Please mark your thread as solved if you get a satisfactory solution to your problem.
Bookmarks