Hello guest, if you like this forum, why don't you register? https://fanrestore.com/member.php?action=register (December 14, 2021) x


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
x264 BD compliant "perfect" settings
Sorry for the noob question but I've just encoded a quick project I did with Simple x264 to mkv. Everything looks fine but when I search forward & back in VLC it seems to crash. This doesn't happen with any other mkv's I have including ones of a much larger size. Not a massive issue but just wondering if there's a setting that might have introduced this (I can search within the original source file ok as well).


Thanks
Reply
Thanks given by:
Without knowing the encode settings it's hard to say, try remuxing the file to see if it helps
Reply
Thanks given by:
(2020-05-31, 03:54 PM)zoidberg Wrote: try remuxing the file to see if it helps

Worked a treat, thanks!
Reply
Thanks given by:
To reappropriate this for SD content, what would you suggest changing beyond the obvious stuff?

What I can think of:

1. bitrate (I guess 8 Mbps is the absolute max that makes sense here, so maybe 7000 or something depending on the audio and all that)

2. keyint and merange (30 for NTSC interlaced content? or should it be considering fields rather than frames, thus 60?)

3. Adding SAR (storage aspect ratio) for anything sourced from a non-square pixel source, so if I've cropped down to 704 x 480 (from a 720 x 486 LaserDisc capture for instance), I *think* this should be --sar 10:11 to get 4:3 DAR (display aspect ratio)

4. colorprim, transfer and colormatrix, all of which I *think* should be changed to smpte170m for NTSC content

Would there be any other things I should alter? Say, for instance, the bufsize and maxrate? I would guess because I'm targeting a lower average bitrate they shouldn't matter massively, even if they're waaaay higher than they need to be, but maybe I'm wrong there.


EDIT: I went with this in the end, feedback welcome...

Code:
x264 --pass 1 --bitrate 6000 --bluray-compat --level 4.1 --preset veryslow --tune film --keyint 30 --sar 10:11 --slices 4 --vbv-bufsize 7000 --vbv-maxrate 8000 --b-pyramid none --weightp 0 --colorprim smpte170m --transfer smpte170m --colormatrix smpte170m --merange 30 --stats ".stats" --output NUL "script.avs"

x264 --pass 2 --bitrate 6000 --bluray-compat --level 4.1 --preset veryslow --tune film --keyint 30 --sar 10:11 --slices 4 --vbv-bufsize 7000 --vbv-maxrate 8000 --b-pyramid none --weightp 0 --colorprim smpte170m --transfer smpte170m --colormatrix smpte170m --merange 30 --stats ".stats" --output "encode.264" "script.avs"

PAUSE
Reply
Thanks given by:
If your content is 29.97fps, I always follow these guidelines - http://www.x264bluray.com/home/480i-ntsc - this site in general is my goto for settings.

If your content is 23.976fps, then there's different setting for adding 3:2 pull-down.

Of course, these only need to be adheard to if you must have 100% bd compliant settings.
Reply
Thanks given by: pipefan413
(2020-10-24, 10:24 PM)dvdboy Wrote: If your content is 29.97fps, I always follow these guidelines - http://www.x264bluray.com/home/480i-ntsc - this site in general is my goto for settings.

If your content is 23.976fps, then there's different setting for adding 3:2 pull-down.

Of course, these only need to be adheard to if you must have 100% bd compliant settings.

I actually think that was one of the resources I used, thank you for that though: it makes me feel a little less uncertain!

Now, the next thing I need to figure out is how the hell to author working MPEG-2 DVDs that work in a player rather than just a PC... but that's way beyond this particular thread!
Reply
Thanks given by:
Thanks for this thread. I was looking to author an ISO of a project, but ran into a few hitches. It looks like these settings might alleviate the problem. I'll test it over the weekend.
Reply
Thanks given by:
I have a 4k video that I want to make UHD compliant.
Do you think I can use x264 or x265 for this to work?
I use Voukoder on premiere pro, because I don't know how to use FFmpeg or Avisynth
Reply
Thanks given by:
I would use x265 for UHD encodes and yes, you can make UHD compliant using Voukoder plugin in premiere pro.

Film Addict    
Reply
Thanks given by: Falcon
(2023-09-16, 04:22 PM)DoomBot Wrote: I would use x265 for UHD encodes and yes, you can make UHD compliant using Voukoder plugin in premiere pro.

If you have any presets to voukoder I am interested Smile
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
  [Help] Best Topaz Video Enhance settings ? mysun 6 1,298 2024-10-24, 01:01 PM
Last Post: SHM
  [Help] How to convert Dolby Vision Profile 8 to 7 to make it UHD BD compliant? Red41804 5 487 2024-10-24, 12:59 PM
Last Post: SHM
  xvYCC for x264 nightstalkerpoet 10 9,110 2023-03-15, 10:42 PM
Last Post: Falcon
  x265 UHD-BD compliant "perfect" settings spoRv 18 16,977 2021-12-06, 06:12 PM
Last Post: bronan
  I want to change AR, do I have to re-encode? If so, how can I keep original settings? Onti 3 2,462 2021-07-14, 06:28 PM
Last Post: Onti
  x264 - filesize output calculator for 2-pass and CRF ? loa 7 5,464 2020-08-05, 10:30 PM
Last Post: spoRv
  NVenc Test Settings Chewtobacca 2 2,511 2020-08-04, 07:56 PM
Last Post: Chewtobacca
  [Idea] x264 BD compliant "perfect" settings - faster version spoRv 26 21,402 2020-05-11, 08:36 PM
Last Post: Stamper
  Handbrake settings - question JackForrester 3 3,432 2020-03-21, 09:25 PM
Last Post: deleted user
  x264 encoding from Adobe Premiere DoomBot 26 20,683 2019-03-25, 08:26 PM
Last Post: jaminmc

Forum Jump:


Users browsing this thread: 3 Guest(s)