Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 2461

General discussion • Re: I want to build a ultra low latency live streaming application using raspberry pi, picamera and ffmpeg

$
0
0
The first step should be you putting a camera module on a pi, sit in front it it, start it up and wave to the camera while you watch yourself in the live video.

It'll give you a good idea of what you're dealing with.

Now extrapolate by adding a preemptive non realtime os, running a python web framework, java scripts and IP transfer into the mix and things start to get a lot slower.

Give it a try, check it out for yourself.

Now you said "Raspberry Pi Camera Module V2" and not using a raspberry pi with a Raspberry Pi Camera Module, there's a small chance you're using that camera module with another computer, but I do not think that is what you're doing.

If you're really expecting "ultra-low-latency" you better start thinking of ditching python and a bunch of other stuff and look into bare metal programming for quite a bit of it.

I am not putting the pi down. I love it and have/use a quite large number of them.

But you should understand what they are designed to do and compare that to what you are trying/want to do.

Good luck.

Edit: also, let's not forget, the networks between the source and destination of the streams are going to be a large determining factor of your desired ultra-low-latency results. There.are good reasons the streaming services go to great lengths to compress and buffer their content for the users experience to seem to be good enough.

Statistics: Posted by memjr — Sat Nov 02, 2024 9:09 pm



Viewing all articles
Browse latest Browse all 2461

Trending Articles