Working with a 30 fps disk that came from 24 fps source

General questions or discussion about HandBrake, Video and/or audio transcoding, trends etc.
Post Reply
keybounce
Posts: 22
Joined: Thu Jan 26, 2017 10:43 pm

Working with a 30 fps disk that came from 24 fps source

Post by keybounce »

So lets say I have a DVD that is 30 fps, and it was originally a 24 fps source. I can see, very consistently: two copies of one frame, a frame that is a mix of 2, and then three copies of the next frame.

My goal is to output a 24 fps video that has just the 2/3 pattern, skipping the mix frame.

How can this be done?
mduell
Veteran User
Posts: 8207
Joined: Sat Apr 21, 2007 8:54 pm

Re: Working with a 30 fps disk that came from 24 fps source

Post by mduell »

Turn on the detelecine filter.
User avatar
JohnAStebbins
HandBrake Team
Posts: 5726
Joined: Sat Feb 09, 2008 7:21 pm

Re: Working with a 30 fps disk that came from 24 fps source

Post by JohnAStebbins »

keybounce wrote: Mon May 01, 2017 3:03 am So lets say I have a DVD that is 30 fps, and it was originally a 24 fps source. I can see, very consistently: two copies of one frame, a frame that is a mix of 2, and then three copies of the next frame.

My goal is to output a 24 fps video that has just the 2/3 pattern, skipping the mix frame.

How can this be done?
A HandBrake scan log of the disc would tell us *a lot* more. Your description fits a couple of possibilities. The detelecine filter may do the trick, or it may just hork things up worse.
keybounce
Posts: 22
Joined: Thu Jan 26, 2017 10:43 pm

Re: Working with a 30 fps disk that came from 24 fps source

Post by keybounce »

Here's the activity window
https://gist.github.com/keybounce/3ed20 ... a786aa3978

Where can I find the actual log file, if it contains more info?
User avatar
JohnAStebbins
HandBrake Team
Posts: 5726
Joined: Sat Feb 09, 2008 7:21 pm

Re: Working with a 30 fps disk that came from 24 fps source

Post by JohnAStebbins »

Thanks. I think the detelecine filter is the right advice here.

Most of the time, 24fps content is signalled with special flags in the video that allows HandBrake to convert from the native 29.97 DVD framerate back to 24fps. So the detelecine filter is not needed in these cases and can actually cause jitter issues due to misdetecting a telecine pattern in non-telecined content. But these flags are not present in your video, so the detelecine filter is necessary to find the repeating pattern and reverse the process.
keybounce
Posts: 22
Joined: Thu Jan 26, 2017 10:43 pm

Re: Working with a 30 fps disk that came from 24 fps source

Post by keybounce »

Great. So two questions:
1. What settings do I need? Do I need to turn on telecine, and turn the frame rate from 30 to 24? Do I want the 23.9-something-something instead of 24? What else?

2. Grumble grumble grumble. The disk has 4 episodes, and "play all" plays all 4. But title 1 only found 2 episodes (it's 1:28, each episode is 0:44). Is there anything in that log file that would indicate why / what would need to be done? For now I'm just ripping the 4 episodes into separate files. (If it makes a difference: episode 3 has a director's commentary audio; the others do not.)

Edit: 3: Grr, the forum does NOT send me an email automatically when a reply is made. How do I turn this on to automatically get emails when someone replies to me?
mduell
Veteran User
Posts: 8207
Joined: Sat Apr 21, 2007 8:54 pm

Re: Working with a 30 fps disk that came from 24 fps source

Post by mduell »

1) Turn on detelecine. Leave the framerate as 30fps VFR.

2) The other episodes are in another title.
keybounce
Posts: 22
Joined: Thu Jan 26, 2017 10:43 pm

Re: Working with a 30 fps disk that came from 24 fps source

Post by keybounce »

Thank you.
(I'll be sure to forward that last response to Mario)
keybounce
Posts: 22
Joined: Thu Jan 26, 2017 10:43 pm

Re: Working with a 30 fps disk that came from 24 fps source

Post by keybounce »

So I don't need/want either Deinterlace: decomb, nor interlace detection?
mduell
Veteran User
Posts: 8207
Joined: Sat Apr 21, 2007 8:54 pm

Re: Working with a 30 fps disk that came from 24 fps source

Post by mduell »

you could turn on decomb to pick up anything that detelecine doesn't catch, but you shouldn't need it
keybounce
Posts: 22
Joined: Thu Jan 26, 2017 10:43 pm

Re: Working with a 30 fps disk that came from 24 fps source

Post by keybounce »

So it's saving about 1/7th of the output (about 50 MB per 44 minute episode) with just detelecine. Output frames all look sharp, with no frame intermixing.

Even the CGI spaceship battle manages to keep the motion blur and remove the frame stutter.

With the output still claiming to be 29.97xxx. Not 23.9xx. I won't pretend to understand how that worked (if you eliminate frames, you reduce the fps, right?), but it does. Thank you.
mduell
Veteran User
Posts: 8207
Joined: Sat Apr 21, 2007 8:54 pm

Re: Working with a 30 fps disk that came from 24 fps source

Post by mduell »

Post the encode log.
keybounce
Posts: 22
Joined: Thu Jan 26, 2017 10:43 pm

Re: Working with a 30 fps disk that came from 24 fps source

Post by keybounce »

If that's different from what I posted in the log window, where do I find it?
mduell
Veteran User
Posts: 8207
Joined: Sat Apr 21, 2007 8:54 pm

Re: Working with a 30 fps disk that came from 24 fps source

Post by mduell »

Same place.
Post Reply