JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 02.10.2019, 17:32
yurikus
Guest
 
Posts: n/a
Default Twitch: download start from timecode

Hi,

Would be nice if JD2 respected timecodes in Twitch URL's and started download from that timecode. Example: **External links are only visible to Support Staff**
Thanks!
Reply With Quote
  #2  
Old 02.10.2019, 17:34
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,343
Default


Can't promise because I first have to check what ffmpeg does when you start the stream in the middle
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 02.10.2019, 19:42
yurikus
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Jiaz View Post

Can't promise because I first have to check what ffmpeg does when you start the stream in the middle
I peeked a bit at how JD2 talks to ffmpeg and see that JD2 provides a m3u8 file with 10s long segments. Maybe compute the segment to start with from timecode and serve the modified m3u8?
Reply With Quote
  #4  
Old 02.10.2019, 19:46
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,343
Default

Yes, that what I would do, but I don't know how ffmpeg behaves if the m3u8 starts somewhere in the middle and not from the start
No need to peek JDownloader is open source see https://svn.jdownloader.org/projects/jd
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 02.10.2019, 19:48
yurikus
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Jiaz View Post
Yes, that what I would do, but I don't know how ffmpeg behaves if the m3u8 starts somewhere in the middle and not from the start
No need to peek JDownloader is open source see **External links are only visible to Support Staff**...
doh, didn't know that. I just looked at command line with procexp and pulled that m3u8 from JD2.

I'll try to see how ffmpeg behaves, to save me some time, where that m3u8 comes from?
Reply With Quote
  #6  
Old 02.10.2019, 19:55
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,343
Default

Enable Settings-Advanced Settings-Log.debugmodeenabled and restart JDownloader
now you can open logs folder-> subfolder for each session-> there is a logfile for the twitch plugin and there yuo can see/find all http requests/responses and use them to do manual ffmpeg testings.

Thanks for your help!
__________________
JD-Dev & Server-Admin
Reply With Quote
  #7  
Old 02.10.2019, 21:54
yurikus
Guest
 
Posts: n/a
Default

delete please, wrong thread
Reply With Quote
Reply

Thread Tools
Display Modes

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:56.
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.