[FFmpeg-user] prevent clean aperture value cropping

Christian Sievers sievers at khm.de
Thu May 15 14:24:09 EEST 2025


Hello,

It looks a lot like the file is actually cropped. At least, I can’t find a player or tool that tells me that the 720 px are still there. See the bottom for mediainfo and exiftool reports for the FFV1 file.

Yes, the strange thing is, I did run frameMD5 checks on original and resulting copy, and ffmpeg tells me they’re identical. Does that mean that ffmpeg calculates the MD5s from the clean aperture value frames; ignoring the video content outside?

I may be wrong (hey, sounds more likely than the option that I just noticed something strange that nobody else has), but to me it does look like ffmpeg is deleting info without telling me. 

Here’s another sample file, with the original v210 video track. It's 4 seconds long and 55 MB in size. https://videolooper.de/1913_trim.mov

At this point, this is about to turn into an academic question, because we might just keep our v210 files for now. But I’m happy to assist where I can, if anyone thinks this is something that needs to be fixed in ffmpeg.

Best,
Christian


Output from MediaInfo, using the -f flag for full info:

Video
Count                                    : 394
Count of stream of this kind             : 1
Kind of stream                           : Video
Kind of stream                           : Video
Stream identifier                        : 0
StreamOrder                              : 0
ID                                       : 1
ID                                       : 1
Unique ID                                : 957260683933986406
Format                                   : FFV1
Format                                   : FFV1
Commercial name                          : FFV1
Format version                           : Version 3.4
Format settings, GOP                     : N=1
Format settings, Slice count             : 16
Format settings, Slice count             : 16 slices per frame
Codec ID                                 : V_MS/VFW/FOURCC / FFV1
Codec ID/Url                             : http://ffdshow-tryout.sourceforge.net/
Duration                                 : 31040.000000
Duration                                 : 31 s 40 ms
Duration                                 : 31 s 40 ms
Duration                                 : 31 s 40 ms
Duration                                 : 00:00:31.040
Duration                                 : 00:00:31:01
Duration                                 : 00:00:31.040 (00:00:31:01)
Bit rate mode                            : VBR
Bit rate mode                            : Variable
Bit rate                                 : 62622943
Bit rate                                 : 62.6 Mb/s
Width                                    : 702
Width                                    : 702 pixels
Height                                   : 576
Height                                   : 576 pixels
Pixel aspect ratio                       : 1.067
Display aspect ratio                     : 1.300
Display aspect ratio                     : 4:3
Frame rate mode                          : CFR
Frame rate mode                          : Constant
Frame rate                               : 25.000
Frame rate                               : 25.000 FPS
FrameRate_Num                            : 25
FrameRate_Den                            : 1
Frame count                              : 776
Color space                              : YUV
Chroma subsampling                       : 4:2:2
Chroma subsampling                       : 4:2:2
Bit depth                                : 8
Bit depth                                : 8 bits
Scan type                                : Interlaced
Scan type                                : Interlaced
Scan type, store method                  : InterleavedFields
Scan type, store method                  : Interleaved fields
Scan order                               : TFF
Scan order                               : Top Field First
Compression mode                         : Lossless
Compression mode                         : Lossless
Bits/(Pixel*Frame)                       : 6.195
Delay                                    : 0
Delay                                    : 00:00:00.000
Delay                                    : 00:00:00:00
Delay                                    : 00:00:00.000 (00:00:00:00)
Delay, origin                            : Container
Delay, origin                            : Container
Time code of first frame                 : 10:43:59:02
TimeCode_DropFrame                       : No
Time code source                         : Matroska tags
Stream size                              : 242977017
Stream size                              : 232 MiB (96%)
Stream size                              : 232 MiB
Stream size                              : 232 MiB
Stream size                              : 232 MiB
Stream size                              : 231.7 MiB
Stream size                              : 232 MiB (96%)
Proportion of this stream                : 0.95664
Writing library                          : Lavc61.19.101 ffv1
Writing library                          : Lavc61.19.101 ffv1
Language                                 : en
Language                                 : English
Language                                 : English
Language                                 : en
Language                                 : eng
Language                                 : en
Default                                  : Yes
Default                                  : Yes
Forced                                   : No
Forced                                   : No
colour_description_present               : Yes
colour_description_present_Source        : Container
Color range                              : Limited
colour_range_Source                      : Container
Color primaries                          : BT.601 PAL
colour_primaries_Source                  : Container
Transfer characteristics                 : BT.709
transfer_characteristics_Source          : Container
Matrix coefficients                      : BT.601
matrix_coefficients_Source               : Container
VENDOR_ID                                : KeyG
coder_type                               : Golomb Rice
MaxSlicesCount                           : 16
ErrorDetectionType                       : Per slice






Output from exiftool:

ExifTool Version Number         : 13.25
File Name                       : 696_komp_fits_komp_52_betasp_FFV1.mkv
Directory                       : .
File Size                       : 254 MB
File Modification Date/Time     : 2025:05:08 17:30:37+02:00
File Access Date/Time           : 2025:05:15 09:49:11+02:00
File Inode Change Date/Time     : 2025:05:15 12:47:48+02:00
File Permissions                : -rw-r--r--
File Type                       : MKV
File Type Extension             : mkv
MIME Type                       : video/x-matroska
EBML Version                    : 1
EBML Read Version               : 1
Doc Type                        : matroska
Doc Type Version                : 4
Doc Type Read Version           : 2
Timecode Scale                  : 1 ms
Muxing App                      : Lavf61.7.100
Writing App                     : Lavf61.7.100
Video Frame Rate                : 25
Video Codec ID                  : V_MS/VFW/FOURCC
Image Width                     : 702
Image Height                    : 576
Video Scan Type                 : Interlaced
Display Width                   : 13
Display Height                  : 10
Display Unit                    : Display Aspect Ratio
Audio Channels                  : 2
Audio Sample Rate               : 48000
Audio Bits Per Sample           : 16
Track Number                    : 3
Track UID                       : 8e8f4bdf20315445
Track Language                  : eng
Codec ID                        : S_TEXT/ASS
Track Type                      : Subtitle
Major Brand                     : qt
Minor Version                   : 537199360
Compatible Brands               : qt
Vendor Id                       : [0][0][0][0]
Timecode                        : 10:43:59:02
Tag Track UID                   : 8e8f4bdf20315445
Handler Name                    : .Closed Caption Media Handler
Encoder                         : Lavc61.19.101 ssa
Duration                        : 00:00:00.000000000
Image Size                      : 702x576
Megapixels                      : 0.404



More information about the ffmpeg-user mailing list