[FFmpeg-devel] [PATCH 2/2] fate/filter-video: add more rgbtestsrc tests
James Almer
jamrial at gmail.com
Fri Nov 1 18:56:36 EET 2024
On 11/1/2024 1:44 PM, Michael Niedermayer wrote:
> On Wed, Oct 30, 2024 at 10:25:42AM -0300, James Almer wrote:
>> Signed-off-by: James Almer <jamrial at gmail.com>
>> ---
>> tests/fate/filter-video.mak | 12 ++++++++++++
>> tests/ref/fate/filter-rgbtestsrc-gbrp | 10 ++++++++++
>> tests/ref/fate/filter-rgbtestsrc-gbrp10 | 10 ++++++++++
>> tests/ref/fate/filter-rgbtestsrc-rgba | 10 ++++++++++
>> tests/ref/fate/filter-rgbtestsrc-x2rgb10le | 10 ++++++++++
>> 5 files changed, 52 insertions(+)
>> create mode 100644 tests/ref/fate/filter-rgbtestsrc-gbrp
>> create mode 100644 tests/ref/fate/filter-rgbtestsrc-gbrp10
>> create mode 100644 tests/ref/fate/filter-rgbtestsrc-rgba
>> create mode 100644 tests/ref/fate/filter-rgbtestsrc-x2rgb10le
>
> mips is unhappy:
>
> The filters 'Parsed_format_1' and 'format' do not have a common format and automatic conversion is disabled.
> [fc#0 @ 0x7f000750] Error configuring filter graph: Invalid argument
> [fc#0 @ 0x7f000750] Task finished with error code: -22 (Invalid argument)
> [fc#0 @ 0x7f000750] Terminating thread with return code -22 (Invalid argument)
> [vost#0:0/rawvideo @ 0x7f0028b0] [enc:rawvideo @ 0x7f002cc0] Could not open encoder before EOF
> [vost#0:0/rawvideo @ 0x7f0028b0] Task finished with error code: -22 (Invalid argument)
> [vost#0:0/rawvideo @ 0x7f0028b0] Terminating thread with return code -22 (Invalid argument)
> [out#0/framecrc @ 0x7f0021f0] Nothing was written into output file, because at least one of its streams received no packets.
> frame= 0 fps=0.0 q=0.0 Lsize= 0KiB time=N/A bitrate=N/A speed=N/A
> Conversion failed!
> threads=1
> make: *** [src/tests/Makefile:315: fate-filter-rgbtestsrc-gbrp10] Error 234
>
> thx
Forgot to insert the scale filter at the end of the chain, which is
needed for BE hosts.
Should be fixed in https://github.com/jamrial/FFmpeg/commits/pixdesc/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20241101/b38f62c6/attachment.sig>
More information about the ffmpeg-devel
mailing list