See remote camera stream #103

Open
opened 2026-08-12 01:22:31 +02:00 by Benjamin_Loison · 2 comments
Owner

This was not documented in this repository and my Debian and Cinnamon forks.

ssh pegasus ffmpeg -an -f video4linux2 -s 640x480 -i /dev/video0 -r 10 -b:v 500k -f matroska - | ffplay -f matroska /dev/stdin

It works fine on my Debian 13 GNOME Pegasus with viewers being my Linux Mint 22.3 Cinnamon Framework 13 and Fairphone 4 LineageOS 23.2 Termux. I had a doubt for my phone, but I confirm that above command works fine for my phone.

This was not documented in this repository and my Debian and Cinnamon forks. ```bash ssh pegasus ffmpeg -an -f video4linux2 -s 640x480 -i /dev/video0 -r 10 -b:v 500k -f matroska - | ffplay -f matroska /dev/stdin ``` It works fine on my Debian 13 GNOME Pegasus with viewers being my Linux Mint 22.3 Cinnamon Framework 13 and Fairphone 4 LineageOS 23.2 Termux. I had a doubt for my phone, but I confirm that above command works fine for my phone.
Author
Owner

It would be nice to have a quicker access to the video stream.

image.png

It would be nice to have a quicker access to the video stream. ![image.png](/attachments/b4302ecb-e200-489e-b5a4-3539570ac2df)
313 KiB
Author
Owner

For Termux before above command I use:

wiki.termux.com: Graphical Environment (6562)

vncserver -localhost
export DISPLAY=:1

1 may have to be changed depending on vncserver -localhost output.

VNC connection with localhost:5901 F-Droid: AVNC (com.gaurav.avnc).

For Termux before above command I use: [wiki.termux.com: Graphical Environment (6562)](https://wiki.termux.com/index.php?title=Graphical_Environment&oldid=6562) ```bash vncserver -localhost export DISPLAY=:1 ``` `1` may have to be changed depending on `vncserver -localhost` output. VNC connection with `localhost:5901` [F-Droid: AVNC (com.gaurav.avnc)](https://f-droid.org/en/packages/com.gaurav.avnc/).
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Benjamin_Loison/linux#103