mediagarden / snippets

0 stars 1 forks source link

Impossible to convert between the formats supported by the filter 'in' and the filter 'auto_scaler_0' #2

Open wongdu opened 2 years ago

wongdu commented 2 years ago

[in @ 0x16ec180] Setting 'video_size' to value '1920x1080' [in @ 0x16ec180] Setting 'pix_fmt' to value '23' [in @ 0x16ec180] Setting 'time_base' to value '1/25' [in @ 0x16ec180] Setting 'pixel_aspect' to value '0/1' [in @ 0x16ec180] w:1920 h:1080 pixfmt:nv12 tb:1/25 fr:0/1 sar:0/1 [Parsed_scale_qsv_0 @ 0x1718c80] Setting 'w' to value '352' [Parsed_scale_qsv_0 @ 0x1718c80] Setting 'h' to value '288' [auto_scaler_0 @ 0x17355c0] w:iw h:ih flags:'bilinear' interl:0 [Parsed_scale_qsv_0 @ 0x1718c80] auto-inserting filter 'auto_scaler_0' between the filter 'in' and the filter 'Parsed_scale_qsv_0' Impossible to convert between the formats supported by the filter 'in' and the filter 'auto_scaler_0' VideoPictureIntelQsvTranscode::Failed to set avfilter_graph_config. VideoPictureIntelQsvTranscode::Open scale filter failed. Failed to read packet error with:-541478725,message:End of file

编译transcode_sample,测试运行”./transcode test.h264“报了上面的错误,请问是什么原因?

wongdu commented 2 years ago

ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 8.4.0 (OpenWrt GCC 8.4.0 r0-a75c89b) configuration: --prefix=/usr/local - --enable-cross-compile --arch=x86_64 --target-os=linux --enable-shared --enable-static --enable-pthreads --enable-zlib --disable-doc --disable-debug --disable-lzma --disable-outdevs --disable-x86asm --enable-hardcoded-tables --enable-gpl --enable-libx264 --disable-libxcb --disable-amf --enable-vaapi --enable-libmfx --disable-vdpau libavutil 56. 51.100 / 56. 51.100 libavcodec 58. 91.100 / 58. 91.100 libavformat 58. 45.100 / 58. 45.100 libavdevice 58. 10.100 / 58. 10.100 libavfilter 7. 85.100 / 7. 85.100 libswscale 5. 7.100 / 5. 7.100 libswresample 3. 7.100 / 3. 7.100 libpostproc 55. 7.100 / 55. 7.100