VideoHelp Forum




+ Reply to Thread
Results 1 to 10 of 10
  1. Member
    Join Date
    Jan 2015
    Location
    Denmark
    Search Comp PM
    Hi.
    Is there a free program that can convert bluray-files "m2ts" to mkv, like Handbrake, but with the ability to adjust brightness, contrast, and saturation? I know Dvdfab has the ability, but it's expensive and not very good at it.
    Quote Quote  
  2. Clever FFmpeg-GUI.
    Load your m2ts, click encode videostream, set the encoder, click adjustment, make you settings, you can also preview the result, and click encode.
    If done, mux the streams to mkv.
    Last edited by ProWo; 11th Dec 2025 at 04:30.
    Quote Quote  
  3. Member
    Join Date
    Jan 2015
    Location
    Denmark
    Search Comp PM
    Thanks. Will try.
    Quote Quote  
  4. Member
    Join Date
    Jan 2015
    Location
    Denmark
    Search Comp PM
    It works fine. But there is one thing. Can I force it to 4 reference frames in x264 mode when I use the preset "slower"? You can do that in Handbrake. And if I don't, it automatically becomes 8. And it causes pixel errors, on my LG Oled tv. "Slower" gives a little better quality than "slow" does.
    Quote Quote  
  5. You can achieve this with a workaround.
    Make your settings in video encoding and click on “to batch” instead of “encode.”
    Then close the program. In your target folder, you will find a BT_open.txt file. Open it with a text editor, search for
    Code:
    -preset slower
    and add the following immediately after:
    Code:
    -x264opts ref=4
    Make sure there is a space before and after the addition.
    Save the file.

    Start clever FFmpeg-GUI, click on Batch tasks, execute.
    Your newly created video file will have 4 reference frames.
    Last edited by ProWo; 12th Dec 2025 at 04:59.
    Quote Quote  
  6. Member
    Join Date
    Jan 2015
    Location
    Denmark
    Search Comp PM
    Thank you so much.
    Last edited by bagmand; 12th Dec 2025 at 05:25.
    Quote Quote  
  7. Member
    Join Date
    Jan 2015
    Location
    Denmark
    Search Comp PM
    One last thing: Is it possible to do a 2-pass encoding, with x264, instead of only CRF?
    I prefere that.
    Quote Quote  
  8. Originally Posted by bagmand View Post
    One last thing: Is it possible to do a 2-pass encoding, with x264, instead of only CRF?
    I prefere that.
    Not with the GUI. You have to encode it manually.
    The reason:
    FFmpeg's x264 2-Pass focuses on achieving a
    specific file size, analyzing video in pass one and encoding in pass two for efficient bitrate allocation, ideal for streaming/storage limits; CRF (Constant Rate Factor) prioritizes consistent visual quality, adjusting bitrate dynamically per scene, better for general quality control where file size isn't fixed, with lower CRF numbers meaning higher quality and larger files. Use 2-Pass when file size is paramount, and CRF for best quality/size balance without strict size constraints, using the slowest preset for better results.
    clever FFmpeg-GUI is focused on quality output, so CRF is his choice.
    Quote Quote  
  9. Member
    Join Date
    Jan 2015
    Location
    Denmark
    Search Comp PM
    Thanks for quick reply.
    Quote Quote  
  10. Originally Posted by bagmand View Post
    It works fine. But there is one thing. Can I force it to 4 reference frames in x264 mode when I use the preset "slower"? You can do that in Handbrake. And if I don't, it automatically becomes 8. And it causes pixel errors, on my LG Oled tv. "Slower" gives a little better quality than "slow" does.
    You should explicitly specify h264 level to maximum supported by your decoder - there is more limitations than just number of reference frames.
    Usually this can be made in ffmpeg by calling x264 "-x264opts -x264-params" in ffmpeg commandline.
    For example:

    Code:
    SET x264opts "level=4.0:bluray_compat=1"
    ffmpeg -x264opts %x264opts% -x264-params %x264opts%
    Quote Quote  



Similar Threads

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