-
Notifications
You must be signed in to change notification settings - Fork 334
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
omxplayer has 20s delay on raspberry pi live stream #832
Comments
Setting the fps higher than the actual rate would be more likely to reduce buffering (although if stream contains timestamps the fps setting will be ignored). I'd suggest playing with:
But be aware omxplayer is deprecated and will get no updates, so you may be better off with a newer distribution and a supported tool like VLC. |
Thanks for the quick answer, I will give it a try. |
VLC will run without a gui (e.g. from a RPiOS lite image launched from CLI). |
Installation of VLC required 224MB, and it is not supposed to be run as root. |
I am running buster on a pi model B which acts as a door monitor with an attached USB cam.
The camera is streamed with mjpg_player on the internal network without any significant delay.
I also have a 640x480 car monitor attached to the analog video output, and I am using omxplayer to show the stream on this monitor.
Alas, there is a delay of about 20s on the omxplayer output which makes the setup rather unusable.
The command line I am using is:
omxplayer -r -b --no-keys --live http://$HOSTNAME:8080/?action=stream
I have tried to reduce the frame rate by adding --fps 10 before the --live option but no change.
The text was updated successfully, but these errors were encountered: