bluenviron / gortsplib

RTSP 1.0 client and server library for the Go programming language
MIT License
636 stars 177 forks source link

[Feature] As client side, is it possible to play the stream at 60FPS ? #576

Closed ttrungtin closed 2 days ago

ttrungtin commented 1 month ago

I have a RTSP Server that public the stream at 4K resolution, H265 and 60FPS. Is it possible to play the stream at client and save to disk with 60FPS? I tried the example "client-play-format-h265-save-to-disk" and seem like it saves the stream as 25FPS.

aler9 commented 2 days ago

Hello, the FPS is an information that is shipped by the RTSP server during streaming. We are not changing anything. Therefore, if the resulting stream is running at 25fps, that's the original value.