#8987: zmq doesn't work in this filter chain
-------------------------------------+-------------------------------------
Reporter: mkoch | Owner:
Type: defect | Status: new
Priority: normal | Component:
| undetermined
Version: git-master | Resolution:
Keywords: zmq | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by mkoch):
If I insert a combination of "copy" and "eq" filters before the chromakey
filter, then FFmpeg exits with an error message when the message is sent:
C:\Users\astro\Desktop\FFbluescreen>ffmpeg -f lavfi -i
testsrc2=s=1920x1080 -f lavfi -i color=gray:s=960x540 -lavfi
[0]zmq,scale@my=480:-1,copy,eq,chromakey@my=0x0000ff:0.35[FG];[1][FG]overlay,format=rgb24
-f sdl -
ffmpeg version 2020-11-11-git-89429cf2f2-full_build-www.gyan.dev Copyright
(c) 2000-2020 the FFmpeg developers
built with gcc 10.2.0 (Rev3, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-static --disable-
w32threads --disable-autodetect --enable-fontconfig --enable-iconv
--enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-
libsnappy --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq
--enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2
--enable-libdav1d --enable-libzvbi --enable-librav1e --enable-libsvtav1
--enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid
--enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass
--enable-frei0r --enable-libfreetype --enable-libfribidi --enable-
libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-
llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc
--enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libglslang
--enable-vulkan --enable-opencl --enable-libcdio --enable-libgme --enable-
libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-
libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame
--enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-
libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis
--enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa
--enable-librubberband --enable-libsoxr --enable-chromaprint
libavutil 56. 60.100 / 56. 60.100
libavcodec 58.112.101 / 58.112.101
libavformat 58. 64.100 / 58. 64.100
libavdevice 58. 11.102 / 58. 11.102
libavfilter 7. 89.100 / 7. 89.100
libswscale 5. 8.100 / 5. 8.100
libswresample 3. 8.100 / 3. 8.100
libpostproc 55. 8.100 / 55. 8.100
Input #0, lavfi, from 'testsrc2=s=1920x1080':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1920x1080
[SAR 1:1 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
Input #1, lavfi, from 'color=gray:s=960x540':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #1:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 960x540
[SAR 1:1 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
Stream mapping:
Stream #0:0 (rawvideo) -> zmq
Stream #1:0 (rawvideo) -> overlay:main
format -> Stream #0:0 (rawvideo)
Press [q] to stop, [?] for help
Output #0, sdl,sdl2, to 'pipe:':
Metadata:
encoder : Lavf58.64.100
Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24(pc,
progressive), 960x540 [SAR 1:1 DAR 16:9], q=2-31, 311040 kb/s, 25 fps, 25
tbn, 25 tbc (default)
Metadata:
encoder : Lavc58.112.101 rawvideo
Assertion ((src_linesize) >= 0 ? (src_linesize) : (-(src_linesize))) >=
bytewidth failed at C:/code/ffmpeg/src/libavutil/imgutils.c:349
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8987#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".