Log in

View Full Version : Best way to encode 29.97p video for Blu-ray?


jrodefeld
1st July 2018, 20:19
Not sure if this is the right forum to post this.

Here's my problem:

I produce some Blu-rays for clients and some of the video that is provided to me is in weird frame rates.

Frequently I receive video files that are 29.97p. If I try and encode them at 23.976p, the video stutters and is jittery. I could also encode at 29.97i, but this seems less than ideal as well since the original video was progressive.

Sometimes I even receive video that is 25fps progressive.

Are there any preferred ways to prepare such video from Blu-ray while keeping smooth motion and the highest image quality?

I'm assuming I could use AviSynth scripts to modify the framerate before encoding, I'm just not sure what scripts to use.

Any suggestions would be appreciated.

Gser
1st July 2018, 20:24
https://forum.doom9.org/showthread.php?t=172077

sneaker_ger
1st July 2018, 20:28
Frequently I receive video files that are 29.97p. If I try and encode them at 23.976p, the video stutters and is jittery.
If the content was originally film then you need to apply "inverse telecine" (IVTC) filtering to get the original 23.976/24 Hz.
http://avisynth.nl/index.php/TIVTC

If the content was originally 29.97 it should to stay that way.

wonkey_monkey
2nd July 2018, 12:35
I could also encode at 29.97i, but this seems less than ideal as well since the original video was progressive.

There isn't really anything "less than ideal" about it. It's the same reason there's no 25p in the standard, and instead there is only 50i - this is because 50i can perfectly encapsulate 25p. I believe the codec falls back to a per-block progressive mode when interlacing isn't required.

jrodefeld
2nd July 2018, 21:26
https://forum.doom9.org/showthread.php?t=172077

Thanks for the link. I'm trying to follow the instructions on that page but I cannot seem to get x264 Encoder to work.

I seem to be typing in the commands properly, but I keep getting this message:

lavf [error]: coult not open input file
raw [error]: raw input requires a resolution
x264 [error]: could not open input file 'program' via any method!

Not sure what I'm doing wrong?

I've also tried a couple of GUI interfaces like MeGUI but when I try to encode, the program just shuts down without creating a file.

Any advice?

Also, I've been typically using MainConcept TotalCode Studio as my main encoding tool. How does x264 Encoder compare?

kuchikirukia
3rd July 2018, 23:47
Frequently I receive video files that are 29.97p. If I try and encode them at 23.976p, the video stutters and is jittery.

If you're the one responsible for the 23.976 fps Babymetal concert Blu-rays I'm going to have to hurt you.



I've also tried a couple of GUI interfaces like MeGUI but when I try to encode, the program just shuts down without creating a file.

MeGUI has a log. What does it say?
Remember, the main program window is for avisynth scripts, so you'd need to write up a simple one with a source filter to feed your source video. To skip that you can use One-click. When in there, select Show Advanced Settings. You'll want to check Keep Input Resolution and uncheck Automatic Deinterlacing in the Advanced tab. Then put your Blu-ray compatible settings in the x264 configuration.
It'll even output to M2TS. (if it's not available as an output container by default, the setting is under one-click profile)