Re: [FFmpeg-user] Expected latency with RTSP/TCP H264 stream

2024-11-03 Thread Clément Péron
On Sun, 3 Nov 2024 at 21:32, Oliver Fromme wrote: > > Clément Péron wrote: > > On Sun, 3 Nov 2024 at 14:32, Oliver Fromme wrote: > > > Clément Péron wrote: > > > > [...] > > > > Adding the "-flags +low_delay" will give you > > > > muxer <- pts:47 pts_time:5.22 dts:47 dts_time:5.22 du

Re: [FFmpeg-user] Expected latency with RTSP/TCP H264 stream

2024-11-03 Thread Oliver Fromme
Clément Péron wrote: > On Sun, 3 Nov 2024 at 14:32, Oliver Fromme wrote: > > Clément Péron wrote: > > > [...] > > > Adding the "-flags +low_delay" will give you > > > muxer <- pts:47 pts_time:5.22 dts:47 dts_time:5.22 duration:1 > > > duration_time:0.11 size:24883254 latency(tota

Re: [FFmpeg-user] Expected latency with RTSP/TCP H264 stream

2024-11-03 Thread Clément Péron
Hi Olivier On Sun, 3 Nov 2024 at 14:32, Oliver Fromme wrote: > > Clément Péron wrote: > > Hello, > > > > Replying to myself, I hope this can help other people. > > Pleas avoid top-posting. Sorry for this inconvenience, I realized it but it was already too late... > > > [...] > > Adding the

Re: [FFmpeg-user] Expected latency with RTSP/TCP H264 stream

2024-11-03 Thread Oliver Fromme
Clément Péron wrote: > Hello, > > Replying to myself, I hope this can help other people. Pleas avoid top-posting. > [...] > Adding the "-flags +low_delay" will give you > muxer <- pts:47 pts_time:5.22 dts:47 dts_time:5.22 duration:1 > duration_time:0.11 size:24883254 latency(t

Re: [FFmpeg-user] Expected latency with RTSP/TCP H264 stream

2024-11-03 Thread Clément Péron
Hello, Replying to myself, I hope this can help other people. Easier for debugging use -debug_ts and look at the line: muxer <- pts:18 pts_time:2 dts:18 dts_time:2 duration:1 duration_time:0.11 size:24883254 latency(total:547.743ms, demux-decode: 133.354ms/24%, decode 403.334ms/73%) This will

[FFmpeg-user] Expected latency with RTSP/TCP H264 stream

2024-11-01 Thread Clément Péron
Hello, I'm trying to have a low latency stream if possible, less than 500ms. By "latency" I mean the delta between a frame is sent by the camera and when it's received and decoded by FFMpeg until being available to the stdout. To measure it, I add an overlay from the camera side with the source t