VideoHelp Forum
+ Reply to Thread
Page 1 of 2
1 2 LastLast
Results 1 to 30 of 31
Thread
  1. Anonymous543
    Guest
    Image
    [Attachment 63029 - Click to enlarge]


    is there anything fast first pass and slow first pass?
    if yes then whats thier advantages and disadvantages?
    Quote Quote  
  2. Using a slower first pass means that a more accurate 1st pass will be used.
    Depending on the encoder and content this might have small benifits in regard of compression ration.
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  3. Anonymous543
    Guest
    Originally Posted by Selur View Post
    Using a slower first pass means that a more accurate 1st pass will be used.
    Depending on the encoder and content this might have small benifits in regard of compression ration.

    do you know how i can enable slow first pass in ffmpeg while using x265?
    Quote Quote  
  4. iirc. it should work with:
    Code:
    --x265-params pass=1:slow-firstpass=1
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  5. Anonymous543
    Guest
    Originally Posted by Selur View Post
    iirc. it should work with:
    Code:
    --x265-params pass=1:slow-firstpass=1
    for simplicity if i chose placebo preset then will it automatically turn on slow first pass? just like x264?
    Quote Quote  
  6. Unlike x264, in x265 the default is to use a fast 1st pass, so: no
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  7. Anonymous543
    Guest
    ohh thanks for info
    Quote Quote  
  8. Anonymous543
    Guest
    btw slow first pass vs. fast first pass which will give better video quality?
    Quote Quote  
  9. slow first pass is more precise and could potentially preserve more details from the source, whether it does or is just a waste of time depends on your source and your settings,....
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  10. Anonymous543
    Guest
    Originally Posted by Selur View Post
    slow first pass is more precise and could potentially preserve more details from the source, whether it does or is just a waste of time depends on your source and your settings,....

    which media encoder you use? or you will recommend?
    Quote Quote  
  11. I'm probably not the right person to ask, but with the knowledge you seem to have, you might want to use Handbrake, VidCoder, may be StaxRip or MeGui if you read up a lot.
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  12. Anonymous543
    Guest
    Originally Posted by Selur View Post
    I'm probably not the right person to ask, but with the knowledge you seem to have, you might want to use Handbrake, VidCoder, may be StaxRip or MeGui if you read up a lot.
    I tried one before it was avidemux I liked that one to encode videos but it's reviews are bad idk why people doesn't like avidemux
    Last edited by Anonymous543; 22nd Jan 2022 at 05:17.
    Quote Quote  
  13. Nothing wrong with avidemux, doesn't support Avisnth/Vapoursynth, but other than that solid tool in my book,..
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  14. Anonymous543
    Guest
    Originally Posted by Selur View Post
    Nothing wrong with avidemux, doesn't support Avisnth/Vapoursynth, but other than that solid tool in my book,..
    What is avisnth/vapoursynth?
    Quote Quote  
  15. Skript based frame works for filtering content.
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  16. Anonymous543
    Guest
    Originally Posted by Selur View Post
    Skript based frame works for filtering content.
    Thanks for info ✨
    Quote Quote  
  17. Anonymous543
    Guest
    Originally Posted by Selur View Post
    iirc. it should work with:
    Code:
    --x265-params pass=1:slow-firstpass=1

    in ffmpeg how can i see which default settings are getting used for libx265 encoder
    because i think by default it uses slow firstpass
    Quote Quote  
  18. Ah, I mixed it up before.
    x264 uses fast first by default and x265 doesn't.
    To know for sure you need to look at the source code in ffmpeg.
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  19. Anonymous543
    Guest
    Originally Posted by Selur View Post
    Ah, I mixed it up before.
    x264 uses fast first by default and x265 doesn't.
    To know for sure you need to look at the source code in ffmpeg.
    i dont understand coding and all can you look in to that and tell me libx265 it uses slow first pass or fast first pass by default
    or may be some one else
    Quote Quote  
  20. There is a simply way to know: try whether pass=1low-firstpass=1 slows things down or not,...
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  21. Anonymous543
    Guest
    Originally Posted by Selur View Post
    There is a simply way to know: try whether pass=1low-firstpass=1 slows things down or not,...
    Code:
    ffmpeg -y -i input.mp4 -c:v libx265 -b:v 100k -preset ultrafast -x265-params pass=1 -f null NUL && ^
    ffmpeg -y -i input.mp4 -c:v libx265 -b:v 100k -preset ultrafast -x265-params pass=1:slow-firstpass=1 -f null NUL && ^
    ffmpeg -y -i input.mp4 -c:v libx265 -b:v 100k -preset ultrafast -x265-params pass=1:slow-firstpass=0 -f null NUL && ^
    tried, but its hard to tell because input video length was 30 secs thats why encoding time diffrences is in miliseconds and everytime it gives diffrent time diffrencess
    Quote Quote  
  22. to state the obvious: Why not simply use a longer souce? (at least I don't plan to spend time searching through ffmpegs source code to varify something that you can easily test)
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  23. Send the first pass video output to a file rather than NUL. Then you can see all the encoding parameters with MediaInfo.

    And using the ultrafast preset to check this makes no sense.
    Quote Quote  
  24. Anonymous543
    Guest
    soo... i changed preset to slow and results are.....

    Code:
    ffmpeg -y -i input.mp4 -c:v libx265 -b:v 100k -preset slow -x265-params pass=1 -f null NUL && ^
    without specifying anything ,takes 88.19seconds for 1st pass


    Code:
    ffmpeg -y -i input.mp4 -c:v libx265 -b:v 100k -preset slow -x265-params pass=1:slow-firstpass=1 -f null NUL && ^
    with specifying -x265-params pass=1:slow-firstpass=1 takes 87.58seconds for 1st pass


    Code:
    ffmpeg -y -i input.mp4 -c:v libx265 -b:v 100k -preset slow -x265-params pass=1:slow-firstpass=0 -f null NUL && ^
    with specifying -x265-params pass=1:slow-firstpass=0 takes 22.06seconds for 1st pass



    looks like slow first pass is enabled by default for ffmpeg libx265(hevc) but still for confirmation i'll make one more thread on it.
    Quote Quote  
  25. Anonymous543
    Guest
    Originally Posted by Selur View Post
    Unlike x264, in x265 the default is to use a fast 1st pass, so: no
    i think x265 the default is to use slow 1st pass
    Quote Quote  
  26. x264 uses fast first by default and x265 doesn't.
    That is what I wrote after that statement you quoted,....
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  27. Anonymous543
    Guest
    Originally Posted by Selur View Post
    x264 uses fast first by default and x265 doesn't.
    That is what I wrote after that statement you quoted,....

    So do you know what defaults ffmpeg x265 uses for 1st pass?
    Am a bit more intrested in ffmpeg x265
    Quote Quote  
  28. https://x265.readthedocs.io/en/master/presets.html with preset medium shows the defaults that are directly changed through presets.
    Looking through the option https://x265.readthedocs.io/en/master/cli.html you can also see for each option it's default value.
    Also like jagabo mentioned you could also simple do a encode and look at the output with MediaInfo to see the settings that were used,...

    Cu Selur

    Ps.: this seems to be going in circles, I'm off this thread, but I wish you luck in your endevours.
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  29. Originally Posted by kirito View Post
    So do you know what defaults ffmpeg x265 uses for 1st pass?
    You could just read the docs:
    https://x265.readthedocs.io/en/master/cli.html?highlight=slow-first-pass#cmdoption-slow-firstpass
    Quote Quote  
  30. Anonymous543
    Guest
    Damm it was in documentation , and i was just wasting my time in doing weird tests and all ,anyways thank you selur and jagabo
    Quote Quote  



Similar Threads

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