VideoHelp Forum




+ Reply to Thread
Results 1 to 5 of 5
  1. Hello, I have a show that has 23.976p and 29.97p sections throughout the video and I'd like to preserve the 29.97 sections without using something like TIVTC to decimate those sections. Instead, I'd like to follow what the Italian Cowboy Bebop anime Blu-ray did with it's encode and add 3:2 soft pulldown flags for those specific sections and allowing it to change frame rate to 29.97. Is this something that can be done in x264 while being Blu-ray compliant or do I need to use another encoder? The closest I've gotten is to my goal is deinterlacing the 29.97i source to 29.97p (despite the 29.97 sections are actually PsF) and TIVTC the same source and cutting them together in a 29.97 timeline and encoding it with the hard pulldown.
    Quote Quote  
  2. Originally Posted by g0ren View Post
    ..... Is this something that can be done in x264 while being Blu-ray compliant or do I need to use another encoder?
    x264 supports soft pulldown. For 3-2 pulldown try

    --pulldown 32 --pic-struct --fake-interlaced

    http://www.chaneru.com/Roku/HLS/X264_Settings.htm
    Last edited by Sharc; 18th Apr 2023 at 02:03.
    Quote Quote  
  3. But can I use that for one section of the video and then turn off the flag for the 29.97 part of the source?
    Quote Quote  
  4. You may have to isolate these sections with Avisynth's trim() command and encode with pulldown, and eventually concatenate all sections. You would have to try.
    Quote Quote  
  5. Originally Posted by g0ren View Post
    Hello, I have a show that has 23.976p and 29.97p sections throughout the video and I'd like to preserve the 29.97 sections without using something like TIVTC to decimate those sections. Instead, I'd like to follow what the Italian Cowboy Bebop anime Blu-ray did with it's encode and add 3:2 soft pulldown flags for those specific sections and allowing it to change frame rate to 29.97. Is this something that can be done in x264 while being Blu-ray compliant or do I need to use another encoder? The closest I've gotten is to my goal is deinterlacing the 29.97i source to 29.97p (despite the 29.97 sections are actually PsF) and TIVTC the same source and cutting them together in a 29.97 timeline and encoding it with the hard pulldown.
    Variable frame rate? Of course it won't be Bluray compliant so if that's a deal-breaker don't keep reading, but my Bluray player happily plays VFR video via it's USB input. I rarely use it to play Bluray compliant video of any sort.

    TIVTC has a 2 pass mode. It can IVTC the film sections to 23.976fps and de-interlace the video sections to 29.97fps (or just keep them progressive). It'll output a timecodes file which can either be used for muxing, or added to the x264 command line, in which case it'll encode in variable frame rate mode.

    --tcfile-in "D:\Video Timecodes.txt"

    The script output would be at the average frame rate, as Avisynth needs a constant frame rate, but x264 ignores the input frame rate when it's given a timecodes file and uses it instead.

    There's example scripts in the TIVTC zip file. The first pass is run as an analysis pass and creates the metrics files. As long as you disable any filtering following TFM/TDecimate in the script, it's fairly fast. The second pass is the encoding pass and it also creates the timecodes file as soon as the second pass script is opened.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!