View Bug Details

IDProjectCategoryView StatusLast Update
0001299DCP-o-maticFeaturespublic2023-12-22 22:33
Reportermhm Assigned To 
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status acknowledgedResolutionopen 
Summary0001299: Feature suggestion: Overlay "format rectangles" and output from ffmpegs cropdetect filter in player
Description

A nice feature to have fould be to overlay format rectangles in the player. E.g. one pixel wide lines making a rectangle overlayed on the picture to make it easy to see if a smaller aspect ratio format is used in a larger container.

Ideally it should be possible to choose the exact dimension and colour of these overlayed rectangles. Best would also be if they were a bit transparent as to not block the pixels underneath the line

This is very common use case for material for festivals. The most common case is 1.77:1 (1920x1080) material inside a FLAT (1998x1080) container. But other formats/containers appear as well.

I usually use the ffmpeg cropdetect-filter for this, which also would be nice to somehow integrate in the player. Maybe the output from the cropdetect filter could be output as values somewhere in the player window?

Or the cropdetect filter output could be combined with the overlayed format rectangles above to specify them dynamically on the fly?

It would also be nice to be able to adjust the input parameters to the cropdetect filter.

TagsNo tags attached.
Branch
Estimated weeks required
Estimated work requiredUnknown

Activities

Carsten

2018-05-15 12:31

manager   ~0002431

I remember that we had some discussions about a possible automatic letter/pillarbox detector for DCP-o-matic that would make it easier to crop away and compute proper source content aspect ratio. I never heard about the ffmpeg cropdetect filter before. I admit, since automatic functions can go wrong, that I would prefer to have this in semiautomatic form, e.g. that you can select 'black bar detection' over a specific frame of content, the the crop fields would be populated with reasonable numbers, but from then on, could be overridden any time. The major reason to have such a function for me would be that it is not possible to adjust cropping precisely by just looking at the preview window, as it is downscaled.

For the player, I never have that need. My OS X screenshot function allows me to draw a rectangle to capture a specific frame, and it's easy to get the aspect ratio from that. I also regularly load an mxf into VLC and take a video snapshot there (created at source resolution). I then load these 2k or 4k pngs into my image editor/preview application and can easily mark regions at pixel accuracy and read out values.

It's probably not too complicated to add a detection/ar computation snapshot function to the player, I guess, let's see if Carl considers it useful enough. It's certainly not a bad idea to add some analysing tools to the player, as is done already with the 'Verify DCP' option in 2.13.x

  • Carsten

Bug History

Date Modified Username Field Change
2018-05-15 04:29 mhm New Bug
2018-05-15 12:31 Carsten Note Added: 0002431
2023-12-22 22:33 carl Status new => acknowledged