Answers.Body: <p>Looks like it is a FFmpeg bug.</p>
  
  <p>I tested to remux an AVI with DV to AVI with latest FFmpeg, and the resulting "video properties" chunk indicates progressive, even if the source AVI has the right "video properties" chunk:</p>
  
  <pre><code>010F4   Video properties (76 bytes)
  010F4    Header (8 bytes)
  010F4     Name:                               vprp
  010F8     Size:                               68 (0x00000044)
  010FC    VideoFormatToken:                    0 (0x00000000)
  01100    VideoStandard:                       0 (0x00000000)
  01104    VerticalRefreshRate:                 50 (0x00000032)
  01108    HTotalInT:                           720 (0x000002D0)
  0110C    VTotalInLines:                       576 (0x00000240)
  01110    FrameAspectRatio Height:             3 (0x0003)
  01112    FrameAspectRatio Width:              4 (0x0004)
  01114    FrameWidthInPixels:                  720 (0x000002D0)
  01118    FrameHeightInLines:                  576 (0x00000240)
  0111C    FieldPerFrame:                       1 (0x00000001)
  01120    Field (32 bytes)
  01120     CompressedBMHeight:                 576 (0x00000240)
  01124     CompressedBMWidth:                  720 (0x000002D0)
  01128     ValidBMHeight:                      576 (0x00000240)
  0112C     ValidBMWidth:                       720 (0x000002D0)
  01130     ValidBMXOffset:                     0 (0x00000000)
  01134     ValidBMYOffset:                     0 (0x00000000)
  01138     VideoXOffsetInT:                    0 (0x00000000)
  0113C     VideoYValidStartLine:               0 (0x00000000)
  </code></pre>
  
  <p>It should be </p>
  
  <pre><code>010F4   Video properties (108 bytes)
  010F4    Header (8 bytes)
  010F4     Name:                               vprp
  010F8     Size:                               100 (0x00000064)
  010FC    VideoFormatToken:                    0 (0x00000000)
  01100    VideoStandard:                       0 (0x00000000)
  01104    VerticalRefreshRate:                 50 (0x00000032)
  01108    HTotalInT:                           720 (0x000002D0)
  0110C    VTotalInLines:                       576 (0x00000240)
  01110    FrameAspectRatio Height:             3 (0x0003)
  01112    FrameAspectRatio Width:              4 (0x0004)
  01114    FrameWidthInPixels:                  720 (0x000002D0)
  01118    FrameHeightInLines:                  576 (0x00000240)
  0111C    FieldPerFrame:                       2 (0x00000002)
  01120    Field (32 bytes)
  01120     CompressedBMHeight:                 288 (0x00000120)
  01124     CompressedBMWidth:                  720 (0x000002D0)
  01128     ValidBMHeight:                      288 (0x00000120)
  0112C     ValidBMWidth:                       720 (0x000002D0)
  01130     ValidBMXOffset:                     0 (0x00000000)
  01134     ValidBMYOffset:                     0 (0x00000000)
  01138     VideoXOffsetInT:                    0 (0x00000000)
  0113C     VideoYValidStartLine:               1 (0x00000001)
  01140    Field (32 bytes)
  01140     CompressedBMHeight:                 288 (0x00000120)
  01144     CompressedBMWidth:                  720 (0x000002D0)
  01148     ValidBMHeight:                      288 (0x00000120)
  0114C     ValidBMWidth:                       720 (0x000002D0)
  01150     ValidBMXOffset:                     0 (0x00000000)
  01154     ValidBMYOffset:                     0 (0x00000000)
  01158     VideoXOffsetInT:                    0 (0x00000000)
  0115C     VideoYValidStartLine:               0 (0x00000000)
  </code></pre>
  
  <p>I have open a <a href="https://trac.ffmpeg.org/ticket/8605" rel="nofollow noreferrer">bug ticket at FFmpeg tracker</a> with an example about how to reproduce the issue.</p>
  
  <p>Note that the DV stream is correctly remuxed only (it is still interlaced, no conversion), the issue is only a piece of metadata in the created AVI file, reason you see both "progressive" (from AVI) and "interlaced" (from DV) in the MediaInfo output.</p>
  
  <p>Jérôme, main developer of <a href="https://MediaArea.net/MediaIno" rel="nofollow noreferrer">MediaInfo</a>.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-04-18T23:33:53.407Z
Answers.Text: Just made 3 years. No more comments on the bug yet. I just stumbled into it now.
Answers.UserDisplayName: Ronan Paixão
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-04-08T11:37:57.007Z
Answers.LastActivityDate: 2020-04-08T11:37:57.007Z
Answers.UserDisplayName: Jérôme Martinez
Body: <p>I have a large video file that I try to chop into smaller pieces. The command I use is
  <code>ffmpeg.exe -i VideoTape-2007_09_09_19-20_05.avi -vcodec copy -acodec copy -ss 00:00:00.000 -t 00:10:33.761 VideoTape-2007_09_09_19-20_05-01.avi</code></p>
  
  <p>According to MediaInfo, the original file is interlaced:</p>
  
  <pre><code>Video
  ID                                       : 0
  Format                                   : DV
  Commercial name                          : DVCPRO
  Duration                                 : 56 min 22 s
  Bit rate mode                            : Constant
  Bit rate                                 : 24.4 Mb/s
  Encoded bit rate                         : 28.8 Mb/s
  Width                                    : 720 pixels
  Height                                   : 576 pixels
  Display aspect ratio                     : 4:3
  Frame rate mode                          : Constant
  Frame rate                               : 25.000 FPS
  Standard                                 : PAL
  Chroma subsampling                       : 4:2:0
  Bit depth                                : 8 bits
  Scan type                                : Interlaced
  Scan order                               : Bottom Field First
  Compression mode                         : Lossy
  Bits/(Pixel*Frame)                       : 2.357
  Time code of first frame                 : 00:02:26:16
  Time code source                         : Subcode time code
  Stream size                              : 11.3 GiB (100%)
  Encoding settings                        : ae mode=full automatic / wb mode=automatic / white balance= / fcm=manual focus
  </code></pre>
  
  <p>after cutting, the output file has the following info:</p>
  
  <pre><code>Video
  ID                                       : 0
  Format                                   : DV
  Commercial name                          : DVCPRO
  Codec ID                                 : dvsd
  Codec ID/Hint                            : Sony
  Duration                                 : 10 min 33 s
  Bit rate mode                            : Constant
  Bit rate                                 : 24.4 Mb/s
  Encoded bit rate                         : 28.8 Mb/s
  Width                                    : 720 pixels
  Height                                   : 576 pixels
  Display aspect ratio                     : 4:3
  Frame rate mode                          : Constant
  Frame rate                               : 25.000 FPS
  Standard                                 : PAL
  Color space                              : YUV
  Chroma subsampling                       : 4:2:0
  Bit depth                                : 8 bits
  Scan type                                : Progressive
  Original scan type                       : Interlaced
  Original scan order                      : Bottom Field First
  Compression mode                         : Lossy
  Bits/(Pixel*Frame)                       : 2.357
  Time code of first frame                 : 00:00:00:02
  Time code source                         : Subcode time code
  Stream size                              : 2.12 GiB (97%)
  Encoding settings                        : ae mode=full automatic / wb mode=automatic / white balance= / fcm=manual focus
  </code></pre>
  
  <p>Why is the Scan Type changed from Interlaced to Progressive? I just want to split the video.</p>
  
  <p>I have also noticed that the resulting file in disproportionally large.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-04-07T16:20:18.577Z
Comments.Text: Could be a mediainfo quirk/bug. *resulting file in disproportionally large* --> how so? Looks to be proportionate as per mediainfo Stream size
Comments.UserDisplayName: Gyan
Tags: <ffmpeg>
Title: why ffmpeg changes video stream from interlaced to progressive when it is set to copy the the stream
UserDisplayName: Nafas
ThreadText: # why ffmpeg changes video stream from interlaced to progressive when it is set to copy the the stream
  
  (Asked by: username_0 on 2020-04-07)
  
  I have a large video file that I try to chop into smaller pieces. The command I use is
  `ffmpeg.exe -i VideoTape-2007_09_09_19-20_05.avi -vcodec copy -acodec copy -ss 00:00:00.000 -t 00:10:33.761 VideoTape-2007_09_09_19-20_05-01.avi`
  
  According to MediaInfo, the original file is interlaced:
  
  ```
  Video
  ID                                       : 0
  Format                                   : DV
  Commercial name                          : DVCPRO
  Duration                                 : 56 min 22 s
  Bit rate mode                            : Constant
  Bit rate                                 : 24.4 Mb/s
  Encoded bit rate                         : 28.8 Mb/s
  Width                                    : 720 pixels
  Height                                   : 576 pixels
  Display aspect ratio                     : 4:3
  Frame rate mode                          : Constant
  Frame rate                               : 25.000 FPS
  Standard                                 : PAL
  Chroma subsampling                       : 4:2:0
  Bit depth                                : 8 bits
  Scan type                                : Interlaced
  Scan order                               : Bottom Field First
  Compression mode                         : Lossy
  Bits/(Pixel*Frame)                       : 2.357
  Time code of first frame                 : 00:02:26:16
  Time code source                         : Subcode time code
  Stream size                              : 11.3 GiB (100%)
  Encoding settings                        : ae mode=full automatic / wb mode=automatic / white balance= / fcm=manual focus
  
  ```
  
  after cutting, the output file has the following info:
  
  ```
  Video
  ID                                       : 0
  Format                                   : DV
  Commercial name                          : DVCPRO
  Codec ID                                 : dvsd
  Codec ID/Hint                            : Sony
  Duration                                 : 10 min 33 s
  Bit rate mode                            : Constant
  Bit rate                                 : 24.4 Mb/s
  Encoded bit rate                         : 28.8 Mb/s
  Width                                    : 720 pixels
  Height                                   : 576 pixels
  Display aspect ratio                     : 4:3
  Frame rate mode                          : Constant
  Frame rate                               : 25.000 FPS
  Standard                                 : PAL
  Color space                              : YUV
  Chroma subsampling                       : 4:2:0
  Bit depth                                : 8 bits
  Scan type                                : Progressive
  Original scan type                       : Interlaced
  Original scan order                      : Bottom Field First
  Compression mode                         : Lossy
  Bits/(Pixel*Frame)                       : 2.357
  Time code of first frame                 : 00:00:00:02
  Time code source                         : Subcode time code
  Stream size                              : 2.12 GiB (97%)
  Encoding settings                        : ae mode=full automatic / wb mode=automatic / white balance= / fcm=manual focus
  
  ```
  
  Why is the Scan Type changed from Interlaced to Progressive? I just want to split the video.
  
  I have also noticed that the resulting file in disproportionally large.
  
  **Tags:** ffmpeg
  
  > **Comments:**
  > **username_1**: Could be a mediainfo quirk/bug. *resulting file in disproportionally large* --> how so? Looks to be proportionate as per mediainfo Stream size  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2020-04-08. Score: 4 | Accepted answer
  
  Looks like it is a FFmpeg bug.
  
  I tested to remux an AVI with DV to AVI with latest FFmpeg, and the resulting "video properties" chunk indicates progressive, even if the source AVI has the right "video properties" chunk:
  
  ```
  010F4   Video properties (76 bytes)
  010F4    Header (8 bytes)
  010F4     Name:                               vprp
  010F8     Size:                               68 (0x00000044)
  010FC    VideoFormatToken:                    0 (0x00000000)
  01100    VideoStandard:                       0 (0x00000000)
  01104    VerticalRefreshRate:                 50 (0x00000032)
  01108    HTotalInT:                           720 (0x000002D0)
  0110C    VTotalInLines:                       576 (0x00000240)
  01110    FrameAspectRatio Height:             3 (0x0003)
  01112    FrameAspectRatio Width:              4 (0x0004)
  01114    FrameWidthInPixels:                  720 (0x000002D0)
  01118    FrameHeightInLines:                  576 (0x00000240)
  0111C    FieldPerFrame:                       1 (0x00000001)
  01120    Field (32 bytes)
  01120     CompressedBMHeight:                 576 (0x00000240)
  01124     CompressedBMWidth:                  720 (0x000002D0)
  01128     ValidBMHeight:                      576 (0x00000240)
  0112C     ValidBMWidth:                       720 (0x000002D0)
  01130     ValidBMXOffset:                     0 (0x00000000)
  01134     ValidBMYOffset:                     0 (0x00000000)
  01138     VideoXOffsetInT:                    0 (0x00000000)
  0113C     VideoYValidStartLine:               0 (0x00000000)
  
  ```
  
  It should be
  
  ```
  010F4   Video properties (108 bytes)
  010F4    Header (8 bytes)
  010F4     Name:                               vprp
  010F8     Size:                               100 (0x00000064)
  010FC    VideoFormatToken:                    0 (0x00000000)
  01100    VideoStandard:                       0 (0x00000000)
  01104    VerticalRefreshRate:                 50 (0x00000032)
  01108    HTotalInT:                           720 (0x000002D0)
  0110C    VTotalInLines:                       576 (0x00000240)
  01110    FrameAspectRatio Height:             3 (0x0003)
  01112    FrameAspectRatio Width:              4 (0x0004)
  01114    FrameWidthInPixels:                  720 (0x000002D0)
  01118    FrameHeightInLines:                  576 (0x00000240)
  0111C    FieldPerFrame:                       2 (0x00000002)
  01120    Field (32 bytes)
  01120     CompressedBMHeight:                 288 (0x00000120)
  01124     CompressedBMWidth:                  720 (0x000002D0)
  01128     ValidBMHeight:                      288 (0x00000120)
  0112C     ValidBMWidth:                       720 (0x000002D0)
  01130     ValidBMXOffset:                     0 (0x00000000)
  01134     ValidBMYOffset:                     0 (0x00000000)
  01138     VideoXOffsetInT:                    0 (0x00000000)
  0113C     VideoYValidStartLine:               1 (0x00000001)
  01140    Field (32 bytes)
  01140     CompressedBMHeight:                 288 (0x00000120)
  01144     CompressedBMWidth:                  720 (0x000002D0)
  01148     ValidBMHeight:                      288 (0x00000120)
  0114C     ValidBMWidth:                       720 (0x000002D0)
  01150     ValidBMXOffset:                     0 (0x00000000)
  01154     ValidBMYOffset:                     0 (0x00000000)
  01158     VideoXOffsetInT:                    0 (0x00000000)
  0115C     VideoYValidStartLine:               0 (0x00000000)
  
  ```
  
  I have open a [bug ticket at FFmpeg tracker](https://trac.ffmpeg.org/ticket/8605) with an example about how to reproduce the issue.
  
  Note that the DV stream is correctly remuxed only (it is still interlaced, no conversion), the issue is only a piece of metadata in the created AVI file, reason you see both "progressive" (from AVI) and "interlaced" (from DV) in the MediaInfo output.
  
  username_2, main developer of [MediaInfo](https://MediaArea.net/MediaIno).
  
  > **Comments:**
  > **username_3**: Just made 3 years. No more comments on the bug yet. I just stumbled into it now.  
  
  ---
  
  