Page 1 of 1

Tweak encoding settings for best quality and compression

Posted: Thu Sep 20, 2018 11:53 am
by macgyver2004
I plan to reencode movies from my camera and my phone (mov,mp4,ts)(in FHD and 4K) to universal format that will work on tv/phone/laptop.

I would like to tweak x264 settings to make quality and compression better (also with audio in stereo):
-v1 -f av_mp4 -m -e x264 --x264-preset veryslow --x264-tune film -q 13 --encoder-level=4.1 -E fdk_aac -B 320 -Q 100 --mixdown stereo -R 48

Can I tweak something more except "-q 13"?

Re: Tweak encoding settings for best quality and compression

Posted: Thu Sep 20, 2018 12:49 pm
by rollin_eng
Could you please post your HB logs, instructions can be found here:

https://handbrake.fr/docs/en/latest/hel ... y-log.html

Re: Tweak encoding settings for best quality and compression

Posted: Thu Sep 20, 2018 1:20 pm
by Woodstock
"Universal format", but you fail to identify which of the target devices has the most limitations.

Re: Tweak encoding settings for best quality and compression

Posted: Thu Sep 20, 2018 1:45 pm
by macgyver2004
Those settings that I provided are working on all of them.
Even specification that I found for my TV is not more specific than:

*.mp4 MP4

H.264 BP / MP / HP
1920x1080 6 ~ 30 fps
25 Mbps
MP3 /ADPCM /AAC

MPEG4
SP / ASP
1920x1080 6 ~ 30 fps
8 Mbps
MP3 /ADPCM /AAC

XVID
1920x1080
6 ~ 30 fps
8 Mbit
MP3 /ADPCM /AAC

Re: Tweak encoding settings for best quality and compression

Posted: Thu Sep 20, 2018 1:46 pm
by mduell
-q 13 is silly

Re: Tweak encoding settings for best quality and compression

Posted: Thu Sep 20, 2018 1:54 pm
by macgyver2004
For me constant quality is better, I have some movies that have a lot of movement and some that are slow moving.
For two pass encoding I would need to pick a good bitrate for those.

Re: Tweak encoding settings for best quality and compression

Posted: Thu Sep 20, 2018 3:44 pm
by Woodstock
If those settings are meeting your goal, what is the issue?

Regardless of the source resolution, with the destination being limited to 1920x1080, "Blu-ray quality" would be obtainable with an RF value of 16 to 18. Using 13 may not be silly, but, given the targets, unnecessary.