2018-08-06 3:41 GMT+02:00, Elliott Balsley :
> I discovered an option in picamera python module to include the framerate in
> the SPS headers, so now I will use that instead of raspivid. Plus it’s more
> flexible, allowing for more advanced text overlays.
> Now ffplay detects it correctly as 30
> This is just duplicating the latency.
Ok, understood, so I will avoid piping.
>
> As said, the first thing to check is the actual framerate:
> If it really is 30fps, this has to be fixed first.
I did change the stream, so now ffmpeg detects it correctly at 30 tbr, did you
see my last
2018-08-05 3:50 GMT+02:00, Elliott Balsley :
> $ nc 192.168.3.172 8080 | /usr/local/bin/ffmpeg -r 5 -i pipe:0
> -analyzeduration 0 -probesize 32 -f h264 -an -c:v copy pipe:1 |
> /usr/local/bin/ffplay -i pipe:0
This is just duplicating the latency.
As said, the first thing to check is the actual
https://trac.ffmpeg.org/wiki/StreamingGuide#Latency
may be useful to you...
On Sun, Aug 5, 2018 at 7:41 PM, Elliott Balsley
wrote:
> I discovered an option in picamera python module to include the framerate in
> the SPS headers, so now I will use that instead of raspivid. Plus it’s more
>
I discovered an option in picamera python module to include the framerate in
the SPS headers, so now I will use that instead of raspivid. Plus it’s more
flexible, allowing for more advanced text overlays.
Now ffplay detects it correctly as 30 tbr, although it shows 60 tbc and it
shows
> Are you sure about the framerate?
> If it really is 30fps and FFmpeg reports it as 25fps, then you
> need a filter chain to speed playback up, "-r" only works with
> ffmpeg, see the documentation for setpts:
>
I’m pretty sure. The stream comes from a raspberry pi like this:
raspivid -n -ih -t
2018-08-03 7:07 GMT+02:00, Elliott Balsley :
> I’m trying to use ffplay with a network stream from netcat.
> It’s raw h.264, 1280x720, 30fps.
Are you sure about the framerate?
If it really is 30fps and FFmpeg reports it as 25fps, then you
need a filter chain to speed playback up, "-r" only works
I’m trying to use ffplay with a network stream from netcat. It’s raw h.264,
1280x720, 30fps.
When I play it with ffplay, there is about 10 seconds latency over the LAN. Is
there any way to reduce this? I’ve tried -probesize 32 and —fflags nobuffer.
I notice it plays at 25fps, so maybe