![]() To convert in multiple steps, you will need to create separate video and audio files, then combine them into a container. You should still add in your additional flags for quality, etc.) (The commands I'm giving are in their most basic form. To convert to h264+aac all in one step, do something like this:įfmpeg -i M.avi -c:v h264_qsv -c:a aac out.mp4 You should also note that you are performing full re-encoding of the video on your second step, which is a waste of time and is a lossy operation (you will lose video quality). But at least it would give you a starting point :)Īs others have stated, there is no reason to do this in multiple steps, and h264 format cannot hold audio, so that extra step is where you are losing the audio. This is not an ideal solution, as it creates an additional step (as noted in the comments). ![]() ![]() ![]() Ffmpeg ffmpeg version 3.1.1 Copyright (c) 2000-2016 the FFmpeg developersīuilt with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)Ĭonfiguration: -enable-libmfx -enable-nonfree ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |