#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):
Yes, it is indeed a breaking change compared to the 6.x branch, so I also agree with emcodem on the fact that it should be opt-in rather than opt- out. Using the suggested method by emcodem works, namely: {{{ ffmpeg -reinit_filter:v 0 -i Interview.mxf -f null - }}} however as soon as we insert -pix_fmt to convert from yv16 to yv12 (i.e from 4:2:2 8bit planar to 4:2:0 8bit planar): {{{ ffmpeg -reinit_filter:v 0 -i Interview.mxf -pix_fmt yuv420p -f null - }}} it fails with the following error: Changing video frame properties on the fly is not supported by all filters. One could work around the issue by setting the set info in the filter graph at the very beginning, like, in this case, that would be: {{{ setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709 }}} however that's more of a workaround than a solution. The best thing would be to get the same behavior as the FFMpeg 6.x branch to avoid making this a breaking change which would hinder compatibility with a lot of scripts and BAT files unless rewritten ad hoc. -- Ticket URL: <https://trac.ffmpeg.org/ticket/11436#comment:5> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
_______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org https://ffmpeg.org/mailman/listinfo/ffmpeg-trac To unsubscribe, visit link above, or email ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".