Closed rappongy closed 6 months ago
dash-mpd-cli should be retrying network requests that suffer a "transient" failure. Transient errors include timeouts and specific HTTP error codes like REQUEST_TIMEOUT, TOO_MANY_REQUESTS, SERVICE_UNAVAILABLE, GATEWAY_TIMEOUT. These errors do not count towards the max-error-count.
Presumably your errors are not being recognized as transient. I can't tell you anything more from the log you have. Are you using the latest release? The latest version should report more information concerning network errors, which might be helpful.
I don't know enough to give a full answer to your question on desyncing. Fragments should contain timestamps, and the muxer should be able to resync. You might want to try other muxers than VLC, like ffmpeg our MP4Box, which might give better results.
Thanks for response.
I'm using dash-mpd-cli 0.2.16. My errors count within max-error-count. What about extended http error logs?
And I will try other codecs, nice idea.
Right now each download attempt ends with different quality results, sometime only audio available, sometimes - only video. Depends on which fragments was missed.
And also it will be nice if you will add option to retry errored requests :)
Looks like I've found best options for me :) I added sleep-requests=1
and errors stopped appearing.
Can you add ability to use float values for that options? Like 0.5
.
error: invalid value '0.5' for '--sleep-requests <SECONDS>': invalid digit found in string
Also I've figured out that mixer-preferences=mp4:ffmpeg
handles desync problem.
I have tried avi:ffmpeg
, mp4:vlc
, mpd:mp4box
, they didn't help
In the end I think features that I've mentioned are useful:
Understood, thanks for the feedback. I should be able to implement these in future versions.
Please try the latest release, v0.2.17, which should do segment retries and more detailed error logging.
Hello!
Thank you for your work. I'm downloading video course for my non-programmer-friend :) And your app is helping me a lot.
But I'm facing a smal problem with HTTP request error with some audio or video fragments. I'm not entirely sure what causes them. And I'm afraid fragments are missed because of them. So, the video and audio are out of sync.
I have encreased
max-error-count
a lot, so video can loaded, but it's not best workaround.So my questions are:
My logs: