Good morning
I'm sending frames to VLC with a python script via std output and I'm exposing the resulting video on http with the following terminal command:
python3 script.py | cvlc --demux=rawvideo --rawvid-fps=25 --rawvid-width=1920 --rawvid-height=1080 --rawvid-chroma=RV24 - --no-audio --sout '#transcode{vcodec=MJPG,venc=ffmg{strict=1}}:standard{access=http{user=pippo,pwd=pluto,mime=multipart/x-mixed-replace;boundary=--7b3cc56e5f51db803f790dad720ed50a},mux=mpjpeg,dst=:10002/}'
It works, but encoding is managed by the CPU. I want to enable hardware encoding in order to use GPU for encoding instead of CPU.
Could anyone explain me how to modify the command in order to achieve this?
Thanks in advance