VCDP / FFmpeg-patch

This repository contains a collection of FFmpeg* patches and samples to enable CNN model based video analytics capabilities (such as object detection, classification, recognition) in FFmpeg* framework.
Other
65 stars 23 forks source link

unable to find videofilter in ffmpeg #10

Closed bhargav-sudo closed 3 years ago

bhargav-sudo commented 3 years ago

Hi

When I run this command. ffmpeg -i test.mp4 -vf detect=model=face-detection-adas-0001.xml:model_proc=face-detection-adas-0001.json,classify=model=emotions-recognition-retail-0003.xml:model_proc=emotions-recognition-retail-0003.json -an -f null -

It shows like this. [AVFilterGraph @ 0x55de3f70a200] No such filter: 'detect' Error reinitializing filters! Failed to inject frame into filter network: Invalid argument Error while processing the decoded data for stream #0:0 Conversion failed!

FFmpeg version : ffmpeg version 4.4 Copyright (c) 2000-2021 the FFmpeg developers built with gcc 9 (Ubuntu 9.3.0-11ubuntu0~18.04.1) configuration: libavutil 56. 70.100 / 56. 70.100 libavcodec 58.134.100 / 58.134.100 libavformat 58. 76.100 / 58. 76.100 libavdevice 58. 13.100 / 58. 13.100 libavfilter 7.110.100 / 7.110.100 libswscale 5. 9.100 / 5. 9.100 libswresample 3. 9.100 / 3. 9.100

OS: Ubuntu 18.04

Thanks.