VideoHelp Forum




+ Reply to Thread
Results 1 to 11 of 11
  1. Anonymous543
    Guest
    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..
    Quote Quote  
  2. All commands only affect the current instance
    Quote Quote  
  3. This question was already answered for you in other threads.
    Quote Quote  
  4. Anonymous543
    Guest
    @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.
    Quote Quote  
  5. Originally Posted by kirito View Post
    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?
    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.

    Originally Posted by kirito View Post
    Am getting confusion because in h264 guide it written as OVERWRITE default presets
    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.
    Quote Quote  
  6. Anonymous543
    Guest
    @jagabo you sure? because you said "I believe"
    Quote Quote  
  7. I'm sure about x264 and x265 and several others I've used.. But there are dozens of encoders in ffmpeg and I haven't used them all. So I can't say with absolute certainty that none of them remembers some settings.
    Quote Quote  
  8. Anonymous543
    Guest
    @jagabo so in x264 and x265 it won't save settings for future instances?
    Quote Quote  
  9. 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,
    a better chose of words would be "override"

    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.
    Quote Quote  
  10. 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?
    Quote Quote  
  11. Anonymous543
    Guest
    Thanks for info
    Quote Quote  



Similar Threads

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