Opened 10 months ago

#10842 new defect

ffmpeg gives (swscaler?) errors when decoding av1 files

Reported by: Ronald S. Bultje Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
How to reproduce:

$ git log -1
commit aa3cfd4b5a04f3259605e23894b20dec15ea9748 (HEAD -> master, origin/master, origin/HEAD)
Author: Anton Khirnov <anton@khirnov.net>
Date:   Sat Jan 27 12:31:27 2024 +0100

    lavc/bsf: add a showinfo filter
    
    Analogous to the (a)showinfo lavfi filters, logs basic packet
    information. Mainly useful for debugging/testing/development.

$ ./ffmpeg
ffmpeg version N-113513-gaa3cfd4b5a Copyright (c) 2000-2024 the FFmpeg developers
  built with Apple clang version 13.1.6 (clang-1316.0.21.2.5)
  configuration: --enable-gpl --samples=/Users/ronaldbultje/Movies/fate-suite --enable-libvpx --enable-libaom --enable-ffplay --enable-sdl2 --enable-version3 --enable-libdav1d --enable-libx264 --enable-libx265 --disable-videotoolbox --enable-libvmaf
  libavutil      58. 36.101 / 58. 36.101
  libavcodec     60. 38.100 / 60. 38.100
  libavformat    60. 20.100 / 60. 20.100
  libavdevice    60.  4.100 / 60.  4.100
  libavfilter     9. 17.100 /  9. 17.100
  libswscale      7.  6.100 /  7.  6.100
  libswresample   4. 13.100 /  4. 13.100
  libpostproc    57.  4.100 / 57.  4.100
Universal media converter
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

$ for file in ..; do echo $file; ./ffmpeg -i $file -v error -f null -nostats -; done

../tests/dav1d-test-data//8-bit/vq_suite/Syntax_AV1_mainb8ss420_432x240_018_vq_aom_ctest_4.2.stripped.ivf
[graph 0 input from stream 0:0 @ 0x7f7c85704400] Value 113.000000 for parameter 'colorspace' out of range [0 - 14]
[graph 0 input from stream 0:0 @ 0x7f7c85704400] Error setting option colorspace to value 113.
[graph 0 input from stream 0:0 @ 0x7f7c85704400] Error applying generic filter options.
[vf#0:0 @ 0x7f7ca5706200] Error reinitializing filters!
[vf#0:0 @ 0x7f7ca5706200] Task finished with error code: -34 (Result too large)
[vf#0:0 @ 0x7f7ca5706200] Terminating thread with return code -34 (Result too large)
[vost#0:0/wrapped_avframe @ 0x7f7ca57055c0] Could not open encoder before EOF
[vost#0:0/wrapped_avframe @ 0x7f7ca57055c0] Task finished with error code: -22 (Invalid argument)
[vost#0:0/wrapped_avframe @ 0x7f7ca57055c0] Terminating thread with return code -22 (Invalid argument)
[out#0/null @ 0x7f7ca5704900] Nothing was written into output file, because at least one of its streams received no packets.

../tests/dav1d-test-data//multi-bit/argon/test10100_579_8614.obu
Impossible to convert between the formats supported by the filter 'Parsed_null_0' and the filter 'auto_scale_0'
[vf#0:0 @ 0x7fd3f60086c0] Error reinitializing filters!
[vf#0:0 @ 0x7fd3f60086c0] Task finished with error code: -78 (Function not implemented)
[vf#0:0 @ 0x7fd3f60086c0] Terminating thread with return code -78 (Function not implemented)

../tests/dav1d-test-data//12-bit/argon/test15549_5522_4902.obu
[libdav1d @ 0x7fb517f0a0c0] Unknown Metadata OBU type 0
[swscaler @ 0x7fb518208000] [swscaler @ 0x7fb528230000] bad src image pointers
[swscaler @ 0x7fb518208000] [swscaler @ 0x7fb528220000] bad src image pointers
[swscaler @ 0x7fb518208000] [swscaler @ 0x7fb528210000] bad src image pointers
[swscaler @ 0x7fb518208000] [swscaler @ 0x7fb528038000] bad src image pointers
[swscaler @ 0x7fb518208000] [swscaler @ 0x7fb528048000] bad src image pointers
[swscaler @ 0x7fb518208000] [swscaler @ 0x7fb528260000] bad src image pointers
[swscaler @ 0x7fb518208000] [swscaler @ 0x7fb528290000] bad src image pointers
[swscaler @ 0x7fb518208000] [swscaler @ 0x7fb528280000] bad src image pointers
[swscaler @ 0x7fb518208000] [swscaler @ 0x7fb528028000] bad src image pointers
[swscaler @ 0x7fb518208000] [swscaler @ 0x7fb528270000] bad src image pointers
[swscaler @ 0x7fb518208000] [swscaler @ 0x7fb5282a0000] bad src image pointers
[swscaler @ 0x7fb518208000] [swscaler @ 0x7fb528180000] bad src image pointers
[swscaler @ 0x7fb518208000] [swscaler @ 0x7fb528190000] bad src image pointers
[swscaler @ 0x7fb518208000] [swscaler @ 0x7fb5281a0000] bad src image pointers
[swscaler @ 0x7fb518208000] [swscaler @ 0x7fb5281b0000] bad src image pointers
[swscaler @ 0x7fb518208000] [swscaler @ 0x7fb5281c0000] bad src image pointers
[vf#0:0 @ 0x7fb517f08780] Error while filtering: Invalid argument
[vf#0:0 @ 0x7fb517f08780] Task finished with error code: -22 (Invalid argument)
[vf#0:0 @ 0x7fb517f08780] Terminating thread with return code -22 (Invalid argument)

The files are available here:

https://code.videolan.org/videolan/dav1d-test-data/-/blob/master/8-bit/vq_suite/Syntax_AV1_mainb8ss420_432x240_018_vq_aom_ctest_4.2.stripped.ivf?ref_type=heads

https://code.videolan.org/videolan/dav1d-test-data/-/blob/master/multi-bit/argon/test10100_579_8614.obu?ref_type=heads

https://code.videolan.org/videolan/dav1d-test-data/-/blob/master/12-bit/argon/test15549_5522_4902.obu?ref_type=heads

Change History (0)

Note: See TracTickets for help on using tickets.