-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
FFmpeg stops updating at 13:14:21 #922
Comments
- fix truncation to seconds of RTP time in RTP-Info - add a small quantity to rtptime in RTP-Info - add 1 to last sequence number in RTP-Info
Hello, this is caused by a negative offset between timestamp contained into the RTP-Info header and timestamp contained in the first RTP packet. I checked the code again and i found some additional things related to the RTP-Info header that needed to be changed:
With these changes i was able to run a ffmpeg reader indefinitely. Please try this nightly release and let me know if it works for you too. [link removed] |
- fix truncation to seconds of RTP time in RTP-Info - add a small quantity to rtptime in RTP-Info - add 1 to last sequence number in RTP-Info
- fix truncation to seconds of RTP time in RTP-Info - add a small quantity to rtptime in RTP-Info - add 1 to last sequence number in RTP-Info
added in v0.18.4. |
Thanks! I tested v0.18.4, issue is gone. |
This issue is being locked automatically because it has been closed for more than 6 months. |
Which version are you using?
v0.18.0
Which operating system are you using?
Describe the issue
FFmpeg stops updating at 13:14:21 when accessing only the video stream
from a camera providing both audio and video through rtsp-simple-server.
(Ref. MWE "Proxied video").
When accessing both video+audio with ffmpeg (omitting
-allowed_media_types video
), it outputs the same log messages but thevideo keeps updating. (Ref. MWE "Proxied audio+video").
The issue is not exhibited when accessing the camera streams directly
with ffmpeg, bypassing rtsp-simple-server. (Ref. MWE "Direct
video"/"Direct audio+video").
Adding the ffmpeg input parameter
-correct_ts_overflow 0
whenaccessing the streams through rtsp-simple-server is a valid workaround.
(Ref. MWE "Proxied video without overflow correction"/"Proxied
audio+video without overflow correction").
Replication steps: (minimal working example)
For all examples, first start the server with the following configuration:
Then, run the example commands with John Van Sickle's static ffmpeg 5.0.1 build:
Proxied video
FFmpeg stops updating at 13:14:21 when accessing only the video stream
from a camera providing both audio and video through rtsp-simple-server.
FFmpeg starts outputting the following lines after 13:14:21.
Log file: ffreport-server-v.log
Progress stops updating:
Direct video
The issue is not exhibited when accessing the camera streams directly
with ffmpeg, bypassing rtsp-simple-server.
No warnings logged.
Log file: ffreport-direct-v.log
No issues, progress keeps updating:
Proxied video without overflow correction
Adding the ffmpeg input parameter
-correct_ts_overflow 0
whenaccessing the streams through rtsp-simple-server is a valid workaround.
No warnings logged.
Log file: ffreport-server-v-corr.log
Progress keeps updating:
Proxied audio+video
When accessing both video+audio with ffmpeg (omitting
-allowed_media_types video
), it outputs the same log messages but thevideo keeps updating.
FFmpeg starts outputting the following lines after 13:14:21.
Log file: ffreport-server-av.log
Progress keeps updating:
Direct audio+video
The issue is not exhibited when accessing the camera streams directly
with ffmpeg, bypassing rtsp-simple-server.
No issues logged.
Log file: ffreport-direct-av.log
Progress keeps updating:
Proxied audio+video without overflow correction
Adding the input parameter
-correct_ts_overflow 0
when accessing thestreams through rtsp-simple-server is a valid workaround.
No warnings logged.
Log file: ffreport-server-av-corr.log
Progress keeps updating:
Did you attach the server logs?
yes
Server run reproducing the issue: server.log
Server run with
-correct_ts_overflow 0
: server-corr.logDid you attach a network dump?
no
The text was updated successfully, but these errors were encountered: