Will ffmpeg always use the existing orig.parameters when no new are specified on cmdline for re-encoding?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Will ffmpeg always use the existing orig.parameters when no new are specified on cmdline for re-encoding?

Ben Stover
Assume I have an original video file (AVI, MP4 or MKV).

I want to re-encode it to a new (lower) video bitrate.

When I enter at the command line a ffmpeg command and specify (beside input and output file name) only the new video bitrate:
Will ffmpeg ALWAYS automatically take the remaining parameters from the existing video?

In otehr words: Will e.g. the frames per second, the max keyframe interval, the resolution, the audio bitrate and codec always be the same as the original?

If not: Can I tell ffmpeg explicitely, manually to use them? Similar to

ffmpeg.exe -i ....  -b:v 2200k -useotherparmsfrominput ......

Ben
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Will ffmpeg always use the existing orig.parameters when no new are specified on cmdline for re-encoding?

Moritz Barsnick
On Thu, Oct 25, 2018 at 14:23:37 +0200, Ben wrote:
> When I enter at the command line a ffmpeg command and specify (beside input and output file name) only the new video bitrate:
> Will ffmpeg ALWAYS automatically take the remaining parameters from the existing video?
>
> In otehr words: Will e.g. the frames per second, the max keyframe interval, the resolution, the audio bitrate and codec always be the same as the original?

FPS; Yes, if possible. Depends on input and output formats (and
possibly other stuff).

Key frame interval: no.

Resolution: yes.

Bitrates and codecs: No.

ffmpeg does not have such a mode. Some wrapper tools or GUIs may
though.

> If not: Can I tell ffmpeg explicitely, manually to use them? Similar to
> ffmpeg.exe -i ....  -b:v 2200k -useotherparmsfrominput ......

No.

Moritz
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".