ffmpeg guide link
h264 - https://trac.ffmpeg.org/wiki/Encode/H.264
I visited h264 guide link ,in that under overwriting default preset settings section it says we can overwrite default presets with -x264-params option
Question 1. Will it overwrite settings for a single encode or save those new settings forever and use that new settings for every next encode?
Currently I don't have pc that's why I can't experiment..
+ Reply to Thread
Results 1 to 11 of 11
-
Anonymous543Guest
-
Anonymous543Guest
@jagabo you answered that question in other thread but you also said me to test my self ,so I thought you are also not sure about it and for testing I don't have pc ,currently it's gone for repair
That's why....
And @poisondeathray or any experts check
ffmpeg h265 encoding guide here - https://trac.ffmpeg.org/wiki/Encode/H.265
It uses that -x265-params option for 2 pass encoding so if I specify something with -x265-params like -x265-param -g 1
So this will only affect to my current instance? or it will affect on my future instances also?
Am getting confusion because in h264 guide it written as OVERWRITE default presets
but not mentioned that it will overwrite for current instance or overwrite forever ,untill delete ffmpeg.exe and download new one. -
It's the same as libx264 (and every other encoder in ffmpeg, I believe) -- anything you specify on the command line only effects that particular encoding. Nothing is remembered.
It means only for that particular encoding. It is not remembered for future encodings. Every time you start x264 it starts with the same default settings.Last edited by jagabo; 14th Dec 2021 at 13:17.
-
ffmpeg libx264 and libx265 are only affected by current session. Nothing is saved from previous sessions
While -preset chooses the best possible settings for you, you can overwrite these with the x264-params option,
any options you specify will change the current settings to those you specify. If you specify no options in the current or any session, then the default settings used
sometimes one setting will change other settings; for example for ffmpeg libx264, the default setting for pass 1 is a "fast" first pass. Multiple settings are changed that increase speed for the 1st pass. -
Again, instead of asking over and over again, just test for yourself and see. It will only take you a few minutes.
1) Encode a short video at default settings.
2) Encode the same short video with several overrides.
3) Encode the same video at the default settings again.
Compare MediaInfo reports of all three. Which two match?
Similar Threads
-
How can i recompress from H264 to H265 with no quality loss in FFMPEG?
By Unknown01 in forum Newbie / General discussionsReplies: 4Last Post: 13th Nov 2021, 17:07 -
Will give 100$ for FFMPEG output formats related list
By alexander121 in forum Video ConversionReplies: 19Last Post: 9th Oct 2017, 16:55 -
Can we decode H264 in ffmpeg?
By nothingnew in forum Newbie / General discussionsReplies: 22Last Post: 18th Aug 2017, 03:47 -
ffmpeg hardware encoding H264
By marcorocchini in forum Newbie / General discussionsReplies: 53Last Post: 21st Jul 2017, 12:54 -
Help with H264 related artifact
By xAlienxx in forum Newbie / General discussionsReplies: 1Last Post: 27th Dec 2016, 19:58