[FFmpeg-trac] #11020(ffmpeg:new): Invalid color range error on ffmpeg 7.0

FFmpeg trac at avcodec.org
Tue May 21 17:25:15 EEST 2024


#11020: Invalid color range error on ffmpeg 7.0
--------------------------------+-------------------------------------
             Reporter:  Marius  |                     Type:  defect
               Status:  new     |                 Priority:  important
            Component:  ffmpeg  |                  Version:  7.0
             Keywords:          |               Blocked By:
             Blocking:          |  Reproduced by developer:  0
Analyzed by developer:  0       |
--------------------------------+-------------------------------------
 **Summary of the bug:**

 I'm trying to transcode a video with h264, but I've also tried h265 having
 the same output.

 **How to reproduce:**
 {{{
 ffmpeg -i https://vid.connatix.com/mmid-545c8cbb-
 f0f5-119b-2687-29df00ef32c7/original.mp4 -c:v libx264 -c:a aac output.mp4
 }}}

 **ffmpeg version:**
 {{{
 any 7.0 build
 }}}

 **Platform:**
 {{{
 windows, mac and linux
 }}}

 **Output:**
 {{{
 [graph 0 input from stream 0:0 @ 0x6000005fc420] Invalid color range
 [vf#0:0 @ 0x6000000ff9f0] Error reinitializing filters!
 [vf#0:0 @ 0x6000000ff9f0] Task finished with error code: -22 (Invalid
 argument)
 [vf#0:0 @ 0x6000000ff9f0] Terminating thread with return code -22 (Invalid
 argument)
 [vost#0:0/libx264 @ 0x12fe11870] Could not open encoder before EOF
 [vost#0:0/libx264 @ 0x12fe11870] Task finished with error code: -22
 (Invalid argument)
 [vost#0:0/libx264 @ 0x12fe11870] Terminating thread with return code -22
 (Invalid argument)
 [out#0/mp4 @ 0x6000007fc000] Nothing was written into output file, because
 at least one of its streams received no packets.
 }}}

 I've also tried specifying `-color_primaries 1`, `-color_trc 1` and
 `-colorspace 1` with no success.

 This error is not reproducible on any of the mentioned platforms when
 using ffmpeg version 6.1.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11020>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list