[FFmpeg-trac] #4719(undetermined:new): ffmpeg feature request: new cropdetect based on motionlessness
FFmpeg
trac at avcodec.org
Tue Jul 14 08:43:40 CEST 2015
#4719: ffmpeg feature request: new cropdetect based on motionlessness
-------------------------------------+-------------------------------------
Reporter: pat284e | Type:
Status: new | enhancement
Component: | Priority: normal
undetermined | Version: 2.7
Keywords: "motionless | Blocked By:
pictorial belt", "pictorial outer | Reproduced by developer: 0
frame", "pictorial outer rim", |
"motion-based cropdetect", |
"motionlessness-based cropdetect" |
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
The filter "cropdetect" is helpful to crop off black rectangular rim or
black outer belt. However, I need to crop off a motionless pictorial belt
that surrounds a motionful video content. A motionless pictorial belt
that surrounds a motionful video content may be thought of as a big still
picture into which a small video is overlaid. (Note that the size and
location of the small video inside the big picture is steady and
immutable.)
So, I need a new different kind of "cropdetect" that works based on
motionlessness but not on blackness.
I will try to attach or upload an example video. Here is the code that
composed the sample video.
ffmpeg -f image2 -loop 1 -t 6 -thread_queue_size 500 -i BigPicture.png -i
SmallVideo.mp4 -filter_complex "overlay=140:50" -vcodec h264
VideoWithPictorialBelt.mp4
What I need is to extract the small video by removing the surrounding
motionless pictorial belt. I need some automatic detection of appropriate
parameters for the crop, when I do not know the parameters or when it is
difficult for me to find the parameters.
Key words: "motionless pictorial belt", "pictorial outer frame",
"pictorial outer rim", "motion-based cropdetect", "motionlessness-based
cropdetect"
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4719>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list