qctools
qctools copied to clipboard
crash on piped input
ffmpeg -y -v 0 -nostdin -re -f lavfi -i testsrc -f matroska -c:v ffv1 -t 5 - | qcli -i - -o test.qctools.mkv
qcli dev build, Apr 9 2024 21:24:45
filters selected: signalstats psnr aphasemeter astats ssim entropy entropy-diff blockdetect blurdetect
analyzing input file... -
0 of 100 %Segmentation fault: 11
$ qcli -v
qcli dev build, Apr 9 2024 21:24:45
FFMpeg version: 6.1.1
FFMpeg configuration: not available
FFMpeg libraries: <library_version name="libavutil" major="58" minor="29" micro="100" version="3808612" ident="Lavu58.29.100"/>
<library_version name="libavcodec" major="60" minor="31" micro="102" version="3940198" ident="Lavc60.31.102"/>
<library_version name="libavformat" major="60" minor="16" micro="100" version="3936356" ident="Lavf60.16.100"/>
<library_version name="libavfilter" major="9" minor="12" micro="100" version="592996" ident="Lavfi9.12.100"/>
<library_version name="libswscale" major="7" minor="5" micro="100" version="460132" ident="SwS7.5.100"/>
The QCTools core isn't designed for piped content. I can add an error message to prevent the crash.
If the feature is wanted I can also implement it, but it would be a significant change.
I am very interested in piped input as well. It would be game changing to be able to generate QC information in real time during an analog capture. I already capture with ffmpeg, so it would be easy for me to add a second piped output directly to qcli for real time *.qctools.mkv file creation.
fixed in https://github.com/bavc/qctools/pull/849