#11436: Changing stream properties (matrix/primaries/transfer) make FFMpeg crash
-------------------------------------+-------------------------------------
             Reporter:  Francesco    |                    Owner:  (none)
  Bucciantini                        |
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  swscale
              Version:  git-master   |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by Francesco Bucciantini):

 To put it down even further, the problem with 7.x and master is when the
 matrix, primaries and transfer are changing, in fact if the file is
 trimmed to isolate the parts where those stay the same, then FFMpeg has no
 problem with them.

 Obviously in the section in which they're all populated it's gonna say:
 Stream #0:0: Video: wrapped_avframe, yuv422p(tv, bt709, top coded first
 (swapped)), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 25 fps, 25 tbn

 while in the one in which they're not populated it's gonna say:
 Stream #0:0: Video: mpeg2video (4:2:2), yuv422p(tv,
 unknown/reserved/reserved, top first), 1920x1080 [SAR 1:1 DAR 16:9], 50000
 kb/s, 25 fps, 25 tbr, 25 tbn

 but it won't crash, however if we don't trim and we let it analyze a file
 with a transition, then we get the aforementioned crash:

 vf#0:0 @ 0000020c8cb36d40] Reconfiguring filter graph because video
 parameters changed to yuv422p(tv, unknown), 1920x1080
 [swscaler @ 0000020c8e93d140] Unsupported input (Error number -129
 occurred): fmt:yuv422p csp:unknown prim:reserved trc:reserved ->
 fmt:yuv422p csp:bt709 prim:reserved trc:reserved
 [vf#0:0 @ 0000020c8cb36d40] Error while filtering: Error number -129
 occurred
 [vf#0:0 @ 0000020c8cb36d40] Task finished with error code: -129 (Error
 number -129 occurred)
 [vf#0:0 @ 0000020c8cb36d40] Terminating thread with return code -129
 (Error number -129 occurred)
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11436#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to