Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > Video stream recording
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #11  
Old 05-21-2014, 05:18 AM
skyDude14 skyDude14 is offline
Junior Member
 
Join Date: Aug 2012
Posts: 20
skyDude14 is on a distinguished road
Default

Re: Decrypting ts files from m3u8


Quote:
Originally Posted by surya987 View Post
SKY... why you want to decrypt one by one.... its useless and really time consuming....FFMPEG download all ts files and than join auto to one ts playable file.....
Thanks for reply. i want to stream the hls chunks again but this time without encryption and it would be faster that is why i want to keep the .ts chunks! is there away to decrypt the chunks without merging them ?
Reply With Quote
  #12  
Old 05-21-2014, 06:24 AM
surya987 surya987 is offline
Senior Member
 
Join Date: May 2014
Location: India
Posts: 280
surya987 is on a distinguished road
Default

Re: Decrypting ts files from m3u8


no need to decrupt all dear.. just download with ffmpeg and than again ffmpeg creates multiple ts files for you if you want without encryption..... so chill dear no need to waste lot of time,.......
Reply With Quote
  #13  
Old 05-21-2014, 06:41 AM
skyDude14 skyDude14 is offline
Junior Member
 
Join Date: Aug 2012
Posts: 20
skyDude14 is on a distinguished road
Default

Re: Decrypting ts files from m3u8


Quote:
Originally Posted by surya987 View Post
no need to decrupt all dear.. just download with ffmpeg and than again ffmpeg creates multiple ts files for you if you want without encryption..... so chill dear no need to waste lot of time,.......
How it creates multiple ts files for me without encryption? Can you write the ffmpeg command for doing so?thanks
Reply With Quote
  #14  
Old 05-21-2014, 09:43 AM
surya987 surya987 is offline
Senior Member
 
Join Date: May 2014
Location: India
Posts: 280
surya987 is on a distinguished road
Default

Re: Decrypting ts files from m3u8


1st download encrypted with ffmpeg and than use this commnd to crete multiple files and m3u8 playlist by FFMPEG...

Code:
ffmpeg -re -i source.ts -codec copy -map 0 -f segment -segment_list foo.m3u8 -segment_list_flags +live -segment_time 10 out%03d.ts
Reply With Quote
  #15  
Old 05-21-2014, 11:52 AM
skyDude14 skyDude14 is offline
Junior Member
 
Join Date: Aug 2012
Posts: 20
skyDude14 is on a distinguished road
Default

Re: Decrypting ts files from m3u8


Quote:
Originally Posted by surya987 View Post
1st download encrypted with ffmpeg and than use this commnd to crete multiple files and m3u8 playlist by FFMPEG...

Code:
ffmpeg -re -i source.ts -codec copy -map 0 -f segment -segment_list foo.m3u8 -segment_list_flags +live -segment_time 10 out%03d.ts
Thanks . The segmenting process is very slow! does this command transcode too(changing quality of orginal .ts )?
Reply With Quote
  #16  
Old 05-21-2014, 12:07 PM
surya987 surya987 is offline
Senior Member
 
Join Date: May 2014
Location: India
Posts: 280
surya987 is on a distinguished road
Default

Re: Decrypting ts files from m3u8


no transcode... orignal quality
Reply With Quote
  #17  
Old 05-21-2014, 01:09 PM
skyDude14 skyDude14 is offline
Junior Member
 
Join Date: Aug 2012
Posts: 20
skyDude14 is on a distinguished road
Default

Re: Decrypting ts files from m3u8


surya987 .Thanks for teaching me to create segments in ffmpeg.
so ffmpeg can't decrypt m3u8 by keeping the segments intact so we don't waste time re segmenting again ?

Furthermore, when i first merged all the .ts files to one big .ts(using the posted command below) the resulting .ts was not showing video length in vlc player! is there any solution so the big .ts show video length as well ?

Code:
ffmpeg -i "http://www.somesite.com/test.m3u8" -c copy decryptedOutput.ts
Reply With Quote
  #18  
Old 05-21-2014, 02:29 PM
surya987 surya987 is offline
Senior Member
 
Join Date: May 2014
Location: India
Posts: 280
surya987 is on a distinguished road
Default

Re: Decrypting ts files from m3u8


simple output to mp4...

Code:
 ffmpeg  -i "link.m3u8" -vcodec copy -acodec copy -absf aac_adtstoasc  output.mp4
Reply With Quote
  #19  
Old 05-22-2014, 12:48 PM
jkg jkg is offline
Junior Member
 
Join Date: Apr 2014
Posts: 19
jkg is on a distinguished road
Default

Re: Decrypting ts files from m3u8


Quote:
Originally Posted by skyDude14 View Post
the resulting .ts was not showing video length in vlc player! is there any solution so the big .ts show video length as well ?
In VLC, .ts files never show the length of the video. That's how it's always been, at least unless it's been changed in a recent update (doubtful). It's one of the various errors/disadvantages that come with using VLC, if it's a problem then you can always remux or better yet just switch to using MPC.
Reply With Quote
  #20  
Old 08-28-2014, 11:29 PM
christam02 christam02 is offline
Junior Member
 
Join Date: Aug 2014
Posts: 1
christam02 is on a distinguished road
Default

Re: Decrypting ts files from m3u8


I have trouble with m3u8 file. Please help me download this video.
http://movies.hdviet.com/phim-tan-ba...r-kingdom.html
File m3u8: https://www.mediafire.com/?935z8o5q59o30w1
I think it was secured with token:
EXT-X-KEY:METHOD=AES-128,URI="https://api.hdviet.com/token/drm?movieid=7874&token=f55232d9ea6f3577719d33b0b79 12f61"
Reply With Quote
Reply Post New Thread


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 12:31 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons