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 > Capturing and Editing Video > HDTV / DVB / TiVo

Reply
 
Thread Tools Search this Thread Display Modes
Old 5th January 2017, 20:08   #1  |  Link
zambelli
Doom9ing since 2001
 
zambelli's Avatar
 
Join Date: Oct 2001
Location: Seattle, WA, USA
Posts: 2,002
Detecting and removing progressive pulldown with FFmpeg

When 24p films get broadcast on 720p60 channels in North America, they get converted to 60p by using a 3:2:3:2 pulldown pattern, so that for every 4 unique film frames there are 10 video frames. Like this:

ABCD --> AABBBCCDDD

Some broadcast encoders do this by using repeat flags (therefore leaving the original 24p cadence intact and relying on decoders to produce 60p output), but many just encode it as native 60p.

I'm looking for ways with FFmpeg to:
  1. Analyze and detect unique and repeated frames in a source. The idet video filter has a function for finding repeated fields, but it only works on fields - I'd like something similar for frame-based sources.
  2. Once detected (could be dual pass), reverse the progressive pulldown to restore the native 24p sequence. Existing fieldmatch, dejudder and decimate all seem to work exclusively with interlaced 3:2 pulldown (30i) sources. Is there a way to make them work with progressive pulldown?

Thanks!
zambelli is offline   Reply With Quote
Old 10th January 2017, 18:12   #2  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,371
Did you try "pullup" ?

Code:
 -vf pullup,fps=24000/1001

Another approach might be to select even or odd (drop half the frames), then the regular decimate (1 in 5)
poisondeathray is offline   Reply With Quote
Reply

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 21:45.


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