bavc / qctools

QCTools (Quality Control Tools for Video Preservation) is a free and open source software tool that helps users analyze and understand their digitized video files through use of audiovisual analytics and filtering. QCTools is funded by the National Endowment for the Humanities and the Knight Foundation, and is developed by the Bay Area Video Coalition.
http://www.bavc.org/qctools
Other
314 stars 41 forks source link

crash on piped input #837

Open dericed opened 2 months ago

dericed commented 2 months ago
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"/>
g-maxime commented 1 month ago

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.

briandwagner commented 3 weeks ago

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.