[FFmpeg-trac] #9197(undetermined:new): DNG - aspect ratio suddely changes mid-clip

FFmpeg trac at avcodec.org
Wed Apr 21 15:57:34 EEST 2021


#9197: DNG - aspect ratio suddely changes mid-clip
-------------------------------------+-------------------------------------
             Reporter:  Eugene       |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Description changed by Eugene:

Old description:

> Summary of the bug:
>
> In a DNG (image2) -> H.264 (libx264) transcode, the output aspect ratio
> and frame alignment suddenly changes around frame 12
>
> First 12 frames (as expected, but off color):
> [[Image(https://i.imgur.com/83Fs2Ya.png)]]
>
> Frames 13 onwards (layout distorted):
> [[Image(https://i.imgur.com/tvD8K2N.png)]]
>

> How to reproduce:
>
> Simple repro (25 frames, all identical):
> https://www.dropbox.com/s/556rltwsukogc4q/ffmpeg-repro.tgz?dl=0
>
> {{{ffmpeg -stats -f image2 -start_number 0 -i
> D001_C001_20200907_R0%04d.dng -f mp4 -vcodec libx264 -y -s 1280x720
> -pix_fmt yuv420p out.mp4}}}
>
> Tested with ffmpeg 4.2, 4.4 and 4.5-dev (git-2021-03-20-c361fa9), also
> the same result with a different output encoder and format.

New description:

 Summary of the bug:

 In a DNG (image2) -> H.264 (libx264) transcode, the output aspect ratio
 and frame alignment suddenly changes around frame 12

 First 12 frames (as expected, but off color):
 [[Image(https://i.imgur.com/83Fs2Ya.png, 600px)]]

 Frames 13 onwards (layout distorted):
 [[Image(https://i.imgur.com/tvD8K2N.png, 600px)]]


 How to reproduce:

 Simple repro (25 frames, all identical):
 https://www.dropbox.com/s/556rltwsukogc4q/ffmpeg-repro.tgz?dl=0

 {{{ffmpeg -stats -f image2 -start_number 0 -i
 D001_C001_20200907_R0%04d.dng -f mp4 -vcodec libx264 -y -s 1280x720
 -pix_fmt yuv420p out.mp4}}}

 Tested with ffmpeg 4.2, 4.4 and 4.5-dev (git-2021-03-20-c361fa9), also the
 same result with a different output encoder and format.

--
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9197#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list