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:


Possibly Related Threads…
Thread Author Replies Views Last Post
  x265 UHD-BD compliant "perfect" settings spoRv 14 4,138 2020-09-29, 10:19 PM
Last Post: Chewtobacca
  x264 - filesize output calculator for 2-pass and CRF ? loa 7 343 2020-08-05, 10:30 PM
Last Post: spoRv
  NVenc Test Settings Chewtobacca 2 183 2020-08-04, 07:56 PM
Last Post: Chewtobacca
  [Idea] x264 BD compliant "perfect" settings - faster version spoRv 26 9,901 2020-05-11, 08:36 PM
Last Post: Stamper
  Handbrake settings - question JackForrester 3 739 2020-03-21, 09:25 PM
Last Post: TomArrow
  x264 encoding from Adobe Premiere DoomBot 26 8,747 2019-03-25, 08:26 PM
Last Post: jaminmc
  Tools and settings for compressing x264? NeonBible 1 866 2019-01-11, 12:01 PM
Last Post: MrBrown
  [Help] DNxHR to x264? Valeyard 2 1,116 2018-12-26, 10:16 AM
Last Post: TomArrow
  x264: 32bit or 64bit? spoRv 15 9,850 2018-03-03, 08:57 PM
Last Post: TomArrow
  xvYCC for x264 nightstalkerpoet 7 3,223 2017-12-30, 09:42 AM
Last Post: nightstalkerpoet

Forum Jump:


Users browsing this thread: 1 Guest(s)