I re-encode my FullHD/4K (no lower resolution !) smartphone videos with Avidemux in order to save space . I succeeded by now to reduce the video size 2-3 times using the following parameters :
- CRF quality : 23
- motion est. method : UMH
- subpixel refinement: 5
- max. motion vector search range : 32
- max. ref. frames 6
- max. consecutive B-frames : 16
- no DCT decimation
- no strong intra smoothing
Details are important to me, their loss is visible when zooming parts of the image in the video. I'm aware that every re-encode contributes to quality loss, but I want to keep it as low as possible while reducing the bitrate without noticeing it.
Does setting the "subpixel refinement" to 7 really sharpen the image (as in image/video filters) or is it just a claim of some which don't see a real benefit (marginal detail preservation over the drastically increased encoding time) ?
All videos from my phone camera are H.265 recordings (20 Mbps FullHD, 50 Mbps 4K).
It might sound silly, but what is better : conversion to H.265 or "back" to H.264 ?
Some say x264 is better in preserving details, but what would be the bitrate reduction benefit in my case ? Would 4K bitrate have "realistic values" at all ?
Thanks.
+ Reply to Thread
Results 1 to 3 of 3
-
-
Does setting the "subpixel refinement" to 7 really sharpen the image (as in image/video filters) or is it just a claim of some which don't see a real benefit (marginal detail preservation over the drastically increased encoding time) ?
It might sound silly, but what is better : conversion to H.265 or "back" to H.264 ?
Some say x264 is better in preserving details, but what would be the bitrate reduction benefit in my case ?users currently on my ignore list: deadrats, Stears555 -
Code:
@echo off setlocal ENABLEDELAYEDEXPANSION chcp 1250 >NUL dir /b *.mp4 | findstr /v /i "edited)" >list.txt for /F "delims=;" %%F in (list.txt) do ( echo --------------------------------------------------------------------------------------------------- echo File: "%%~dF%%~pF%%F" echo --------------------------------------------------------------------------------------------------- echo. ( echo name1="%%F" echo ffms2^(name1, atrack=-1^) echo ApplyGradationCurves^(lumaPoints="16,16,255,235"^) echo TemporalDegrain2^(postFFT=3^) echo lsfplus^(preset="slow", strength=25^) REM echo Histogram echo Prefetch ) >%%F.avs ffmpeg.exe -hide_banner -avisynth_flags +all -i "%%F.avs" -c:v libsvtav1 -preset 4 -crf 27 -c:a aac -b:a 192k "%%~nF (AV1+edited).mp4" del "%%F.avs" del "%%F.index" ) del list.txt >NUL pause
You can also use -c:a copy for the audio track (untested).
Similar Threads
-
Currect way to use custom x265 parameters for Staxrip
By iKron in forum Newbie / General discussionsReplies: 2Last Post: 3rd May 2022, 19:02 -
What parameters to use to convert videos to av1 with SVT-AV1 with FFmpeg
By ignace72 in forum Video ConversionReplies: 4Last Post: 19th Mar 2022, 09:52 -
Low quality videos encoded in H.265 (NVEnc) even with High Quality and CQ=1
By bookagood in forum Newbie / General discussionsReplies: 13Last Post: 18th Aug 2021, 12:18 -
The purpose of '--aud' and '--hrd' parameters in x265 HDR encoding
By FuegoJohnson in forum Video ConversionReplies: 5Last Post: 9th Feb 2021, 03:45 -
x265-Slow/Slower quality
By shazzla in forum Video ConversionReplies: 0Last Post: 3rd Feb 2021, 03:13