I am trying to publish an mjpeg stream from an Raspberry Pi5 to the local network.
This command fails on my RPi5 :
Code: Select all
vlc -vvv v4l2:///dev/video0 --sout "#transcode{vcodec=mjpg,scale=1.0,acodec=none}:standard{access=http{mime=multipart/x-mixed-replace;boundary=--7b3cc56e5f51db803f790dad720ed50a},mux=mpjpeg,dst=:8080/stream}"
Code: Select all
....
[mjpeg @ 0x7ffe88038fe0] Non full-range YUV is non-standard, set strict_std_compliance to at most unofficial to use it.
[00007ffe88001230] avcodec encoder error: cannot open MJPG video encoder
....
- VLC version 3.0.21 Vetinari (3.0.21-0-gdd8bfdbabe8)
- Debian GNU/Linux 12 (bookworm)
- libavcodec59
On my PC the same command works perfectly fine:
- VLC media player 3.0.16 Vetinari (revision 3.0.13-8-g41878ff4f2)
- Ubuntu 22.04.4 LTS
- libavcodec58
e.g. How to set strict_std_compliance?