[FFmpeg-trac] #6383(avformat:new): Incorrect scan type (AVI DV)
FFmpeg
trac at avcodec.org
Wed Nov 22 13:12:28 EET 2017
#6383: Incorrect scan type (AVI DV)
-------------------------------------+------------------------------------
Reporter: laurfb | Owner:
Type: defect | Status: new
Priority: normal | Component: avformat
Version: git-master | Resolution:
Keywords: avi dvvideo | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+------------------------------------
Comment (by t.rapp):
Unfortunately the "pal_dv_Ok.avi" file does not contain field order
information in the AVI container (i.e. there is no "vprp" chunk). I assume
that MediaInfo displays the information of the coded DV frame instead.
You can verify whether some file contains a "vprp" chunk by using
[https://mediaarea.net/MediaTrace MediaTrace] (included in MediaInfo).
Example: `MediaInfo --Details=1 MyFile.avi`
{{{
...
000010F4 Video properties (76 bytes)
000010F4 Header (8 bytes)
000010F4 Name: vprp
000010F8 Size: 68 (0x00000044)
000010FC VideoFormatToken: 0 (0x00000000)
00001100 VideoStandard: 0 (0x00000000)
00001104 VerticalRefreshRate: 25 (0x00000019)
00001108 HTotalInT: 720 (0x000002D0)
0000110C VTotalInLines: 576 (0x00000240)
00001110 FrameAspectRatio Height: 144 (0x0090)
00001112 FrameAspectRatio Width: 197 (0x00C5)
00001114 FrameWidthInPixels: 720 (0x000002D0)
00001118 FrameHeightInLines: 576 (0x00000240)
0000111C FieldPerFrame: 1 (0x00000001)
00001120 Field (32 bytes)
00001120 CompressedBMHeight: 576 (0x00000240)
00001124 CompressedBMWidth: 720 (0x000002D0)
00001128 ValidBMHeight: 576 (0x00000240)
0000112C ValidBMWidth: 720 (0x000002D0)
00001130 ValidBMXOffset: 0 (0x00000000)
00001134 ValidBMYOffset: 0 (0x00000000)
00001138 VideoXOffsetInT: 0 (0x00000000)
0000113C VideoYValidStartLine: 0 (0x00000000)
...
}}}
The "FieldPerFrame: 1" line indicates that the video stream is
progressive. An interlaced file would have "FieldPerFrame: 2" and two set
of "Field (32 bytes)" information blocks.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6383#comment:10>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list