VLC media player for Linux and friends Troubleshooting • Piping rpicam-vid latest libcamera for Raspberry Pi camera



In most cases these are equivalent:
cvlc test.mp4
cat test.mp4 | cvlc –

However when I create a video using the new libcamera app for Raspberry pi (https://www.raspberrypi.com/documentati … rpicam-vid)
rpicam-vid -t 10s -o test.h264

Then
cvlc test.h264 (Works!)
cat test.h264 | cvlc – (Does not work)

Some of the debug messages of the latter are:
[0000007f98000ca0] main input debug: `fd://0′ successfully opened
[0000007f8c001150] ps demux warning: garbage at input from 509, trying to resync…
and
[000000557a9b3870] main playlist debug: nothing to play

Any ideas why “cat test.h264 | cvlc -” does not work? or how to troubleshoot? Eventually I would like to pipe the camera directly which also does not work at the moment. I also tried different codec but no success.
Using a Raspberry Pi zero 2 with official software

Thanks in advance

Statistics: Posted by harry8 — 08 Aug 2024 15:16