News:

--

Main Menu

How to cut mp4 without losing quality?

Started by ramiroelliot, February 21, 2025, 02:00:54 AM

Previous topic - Next topic

ramiroelliot

Hello everyone,

I use Avidemux a lot to cut videos quickly and now I have a video with black frames that I want to remove.. but to do this I have to use some codec to apply a filter (instead of just using the "copy" option).

Any recommendations on which one to use? And what settings should I render the new file with to get the same quality as the original video file?

Elstar`

If not cutting on keyframes then saving in copy mode, only lossless codec will get you the same quality as before.

sark

If you select AVC(x264) in the Video Output list, and then in the Configure settings, set the slider to 18, you should produce output that is indistinguishable from the original.

Truly lossless encoding is rarely practical for general playback due to the large file size, and possible incompatibility with some devices.

Elstar`

#3
Quote from: sark on February 21, 2025, 04:21:36 PMIf you select AVC(x264) in the Video Output list, and then in the Configure settings, set the slider to 18, you should produce output that is indistinguishable from the original.
Remember to turn off mbtree (Advanced RC -> Macroblock-tree Rate Control) and psy_rd (Analysis -> Psychovisual Rate, Trellis = 0,00), else you will see much more blurred video in output.

sark

Quote from: Elstar` on Today at 12:17:08 AMRemember to turn off mbtree (Advanced RC -> Macroblock-tree Rate Control) and psy_rd (Analysis -> Psychovisual Rate, Trellis = 0,00), else you will see much more blurred video in output.

Yes, but inactive by default unless you enable the Use Advanced Cofiguration checkbox.