Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Compression Techniques best .mov to mp4 conversion

  • best .mov to mp4 conversion

    Posted by Peter Robertson on July 3, 2013 at 9:13 pm

    Does anyone have a good formula for converting a .mov file to and .mp4 at the same size and quality?

    I’ve tried a number of different ways, too many to list here but none seems to work. I either end up with a ‘black’ screen with only sound or the resulting file does not play at all.

    In the past I have gotten this to work

    ffmpeg -i RabbiFass.mov -vcodec libx264 -vprofile high -preset slow -b:v 500k -maxrate 500k -bufsize 1000k -vf scale=-1:480 -threads 0 -acodec libvo_aacenc -b:a 128k output.mp4

    but now I get the error

    Error while opening encoder for output stream #0:0 – maybe incorrect parameters such as bit_rate, rate, width or height

    ????

    Pedro

    Lou Logan replied 12 years, 10 months ago 2 Members · 1 Reply
  • 1 Reply
  • Lou Logan

    July 5, 2013 at 9:07 pm

    [Peter Robertson] ” Does anyone have a good formula for converting a .mov file to and .mp4 at the same size and quality?

    mov and mp4 are container formats and can contain various multimedia formats meaning you can often stream copy supported formats to and from these containers:

    ffmpeg -i input.mov -codec copy -map 0 output.mp4

    This requires no re-encoding, therefore it is fast and preserves the quality. Adding “-map 0” will copy all streams instead of one of each stream type (see stream selection documentation).

    [Peter Robertson] In the past I have gotten this to work

    ffmpeg -i RabbiFass.mov -vcodec libx264 -vprofile high -preset slow -b:v 500k -maxrate 500k -bufsize 1000k -vf scale=-1:480 -threads 0 -acodec libvo_aacenc -b:a 128k output.mp4

    Please use the code button to format commands and console outputs.

    [Peter Robertson] but now I get the error

    Error while opening encoder for output stream #0:0 – maybe incorrect parameters such as bit_rate, rate, width or height

    You should always include the complete ffmpeg console output. Otherwise we can only guess.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy