Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 533108 - media-video/ffmpeg - applying filters for parts of a movie?
Summary: media-video/ffmpeg - applying filters for parts of a movie?
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL: http://ffmpeg.org/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-20 10:31 UTC by Jan Sever
Modified: 2014-12-21 22:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Sever 2014-12-20 10:31:37 UTC
Is it possible to apply filters (-vf) in ffmpeg only for selected frames? E.g. to apply a filter for first ten minutes and not apply for the rest of movie? I'm now solving a problem of badly deinterlaced movies, which have some parts not deinterlaced while the rest is.

I didn't find this possibility in man page so I assume it's not supported (yet). Is it possible to add the support for example in this form:
ffmpeg ... -vf yadif=0-10:00,20:00-30:00 ...
to get only first and third 10 minutes deinterlaced?

Thank you in advance.

Reproducible: Always

Actual Results:  
Deinterlacing for the whole movie.

Expected Results:  
Deinterlacing for selected parts of a movie.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-12-21 10:45:57 UTC
I'd mark this INVALID because this isn't a forum where you post your general questions. Instead it's UPSTREAM because you're asking in the wrong place, too.

You might ask on https://forums.gentoo.org/ if you like. Or pick an appropriate IRC channel or mailing list for your questions.
Comment 2 Jan Sever 2014-12-21 22:44:13 UTC
I'm sorry for the wrong place: I thought it's more an extension bug than asking for help. But I was totally wrong. The asked possibility has already been in ffmpeg-2 (Timeline-editing [1]) and more, there's very helpful filter ident [2].

Thank you for saying nicely and thanks to ffmpeg-user mailing list [3,4].

[1] https://ffmpeg.org/ffmpeg-filters.html#Timeline-editing
[2] http://ffmpeg.org/pipermail/ffmpeg-user/2014-May/021412.html
[3] https://ffmpeg.org/pipermail/ffmpeg-user/2014-December/024686.html
[4] https://ffmpeg.org/pipermail/ffmpeg-user/2014-December/024688.html