Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 11th January 2025, 15:32   #1  |  Link
cubicibo
Registered User
 
Join Date: Feb 2022
Posts: 181
x264 mod to encode mixed framerate in CFR container

I was reading Blu-ray.com, found about a new release with mixed framerate content that used hard pulldown, and I decided I had enough.

So, here are two tools to encode VFR content in CFR containers, exploiting the soft pull-down capabilities of H.264. x265 support to come later. Blu-ray compatible, of course.

VS-PicStruct - VapourSynth tool to analyze a VFR clip and produce a sequence of pulldown instructions that have to be used by the encoder to achieve the container framerate. Porting this to AviSynth should be straightforward.
x264 - x264 mod adding a --psfile option to parse the pull-down instructions and put them in the stream appropriately.

All pull-downs supported (18/1.001 -> 23.976, 24/1.001 -> 29.97, 23.976->29.97, 23.976 -> 59.94p, etc.) and the pattern can change anytime according to your own desires! A test x264 build is provided on the release page, enjoy.

Last edited by cubicibo; 30th January 2025 at 22:37.
cubicibo is offline   Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 16:26.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.