JDownloader Community - Appwork GmbH
 

Go Back   JDownloader Community - Appwork GmbH > English Support > Suggestions & Requests
Reply
 
Thread Tools Display Modes
  #1  
Old 13.11.2023, 08:10
Kronos Kronos is offline
Modem User
 
Join Date: Nov 2023
Posts: 1
Lightbulb FFMPEG prevent hls stream segment loss; command arguments

Issue:
JDownloader uses ffmpeg to download hls streams. If ffmpeg encounters any issue with a segment, it will immediately skip the segment and continue without error. The final file will look complete, but segments can be missing.

Useful for:
Everyone using ffmpeg plugin for download. Client and server location and connection quality plays a huge role how often this is an issue.

Suggestions:
- add expert options for ffmpeg hls command arguments; right now arguments can be changed for muxing, but not hls download (see **External links are only visible to Support Staff****External links are only visible to Support Staff**)
- maybe add ffmpeg option "-seg_max_retry X"; this is a relatively new argument that will retry failed segments X times (see **External links are only visible to Support Staff****External links are only visible to Support Staff**)
- optionally fail download, if segments have been skipped (don't fail on default, often actual live streams cannot be redownloaded)
- allow custom command line arguments per download; something like #forced_referer which is used in other plugins (see **External links are only visible to Support Staff****External links are only visible to Support Staff** specifically I am interested in setting -referer -user_agent -headers and -cookies (see **External links are only visible to Support Staff****External links are only visible to Support Staff**)

Sample output from ffmpeg with missing segments; this does not fail or stop the download:
[hls @ 00000266fc4b9e40] Opening '**External links are only visible to Support Staff** for reading
[https @ 00000266fe7b9cc0] HTTP error 404 Not Found
[hls @ 00000266fc4b9e40] Failed to open segment 193 of playlist 0
[hls @ 00000266fc4b9e40] Opening '**External links are only visible to Support Staff** for reading
[https @ 00000266fe7b9e80] HTTP error 404 Not Found
[hls @ 00000266fc4b9e40] Failed to open segment 194 of playlist 0
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 12:24.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.