VideoHelp Forum
+ Reply to Thread
Results 1 to 6 of 6
Thread
  1. One hour .mkv file. I need to convert it to .mp4. It is hammering cpu and taking forever. I looks to me like the encoding is the same in .mkv is the same as it will be in .mp4, this should be a fast process. I am blind to something here. Can you explain why this conversion is so much work for my computer?

    ffmpeg -i input.mkv -vcodec h264 -acodec aac output.mp4

    Click image for larger version

Name:	1.png
Views:	122
Size:	70.5 KB
ID:	53808

    Click image for larger version

Name:	2.png
Views:	165
Size:	969.6 KB
ID:	53809

    Click image for larger version

Name:	3.png
Views:	109
Size:	65.7 KB
ID:	53810



    The conversion was successful but seemed like too much work for the computer.
    Last edited by carlarogers; 14th Jun 2020 at 18:13.
    Quote Quote  
  2. You're re-encoding the video and audio

    It should be -vcodec copy , or -c:v copy for video
    Quote Quote  
  3. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    It's re-encoding, that's why it's taking a while.
    If you really want to remux use the command as specifed here:
    https://forum.videohelp.com/threads/377229-Remux-mov-into-mkv-(with-ffmpeg-or-somethin...e)#post2434974
    Quote Quote  
  4. Originally Posted by davexnet View Post
    It's re-encoding, that's why it's taking a while.
    If you really want to remux use the command as specifed here:
    https://forum.videohelp.com/threads/377229-Remux-mov-into-mkv-(with-ffmpeg-or-somethin...e)#post2434974
    I assume remuxing is what you do when you are trying to make changes or add effects. I just wanted a copy.
    Quote Quote  
  5. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    To re-encode just the audio something like
    ffmpeg -i input.mp4 -c:v copy -acodec aac output.mp4
    Quote Quote  
  6. Originally Posted by carlarogers View Post
    Originally Posted by davexnet View Post
    It's re-encoding, that's why it's taking a while.
    If you really want to remux use the command as specifed here:
    https://forum.videohelp.com/threads/377229-Remux-mov-into-mkv-(with-ffmpeg-or-somethin...e)#post2434974
    I assume remuxing is what you do when you are trying to make changes or add effects. I just wanted a copy.
    You have it backwards. Re-multiplexing (remuxing) is simply copying the compressed data from input to output. Re-encoding is the process of decompressing the source, optionally making changes to it, then compressing it again for the output.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!