PDA

View Full Version : How to join m3u8 segments


zapac
10-28-2015, 07:46 PM
Hi I have downloaded a m3u8 stream but it splits to many parts. Read this bellow

'Apple HTTP Live Segmenter. It takes an MPEG-TS stream from a tool like ffmpeg and breaks it up into multiple ts-segments suitable for HTTP Live streaming from devices like iPhones.'


so I need a way to join back all segments

flashy
10-29-2015, 04:14 AM
I'm also not an expert on this. But usually, livestreamer can download .m3u8 links.

E.g:
livestreamer "hlsvariant://xxxx.m3u8" best -o test.file.mp4

PS: or do you can post the content of the m3u8 file?

PPS: Do you referring to this: https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/StreamingMediaGuide/UsingHTTPLiveStreaming/UsingHTTPLiveStreaming.html

zapac
10-29-2015, 04:24 AM
I'm also not an expert on this. But usually, livestreamer can download .m3u8 links.

E.g:
livestreamer "hlsvariant://xxxx.m3u8" best -o test.file.mp4

PS: or do you can post the content of the m3u8 file?

PPS: Do you referring to this: https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/StreamingMediaGuide/UsingHTTPLiveStreaming/UsingHTTPLiveStreaming.html


Hi thanks for replying this is the m3u8 link I need to download http://wowcloud.intoday.in/vods3/_definst_/mp4:amazons3/aajtaks3.intoday.in/aajtak/video/102015/24_oct_sbb_singleclip.mp4/playlist.m3u8

ok and I have a second question
why Apple's http live streame cut video in parts? I have downloaded a hotstar video which has 215 parts each part with 5 sec duration....why.and I have given link wich I need to download plzz post the livestreamer code

bulls95
10-29-2015, 07:45 AM
Hi thanks for replying this is the m3u8 link I need to download http://wowcloud.intoday.in/vods3/_definst_/mp4:amazons3/aajtaks3.intoday.in/aajtak/video/102015/24_oct_sbb_singleclip.mp4/playlist.m3u8

ok and I have a second question
why Apple's http live streame cut video in parts? I have downloaded a hotstar video which has 215 parts each part with 5 sec duration....why.and I have given link wich I need to download plzz post the livestreamer code

flashy gave you the livestreamer code already, you just need to use your brain and enter the URL you just posted. The HTTP Live Streaming technology helps conserve bandwidth and provides reliable streaming to endpoints.

zapac
10-29-2015, 09:22 AM
flashy gave you the livestreamer code already, you just need to use your brain and enter the URL you just posted. The HTTP Live Streaming technology helps conserve bandwidth and provides reliable streaming to endpoints.

I cant understand why http live stream technology cut video in 215 parts....can I join it back after download?

sscomp32
10-29-2015, 01:04 PM
Hi thanks for replying this is the m3u8 link I need to download http://wowcloud.intoday.in/vods3/_definst_/mp4:amazons3/aajtaks3.intoday.in/aajtak/video/102015/24_oct_sbb_singleclip.mp4/playlist.m3u8



I dont have the exact answer to your question but i have the direct download link for the m3u8 you have posted.

http://aajtakclouds3.intoday.in/aajtak/video/102015/24_oct_sbb_singleclip.mp4

And its too easy to find this link just see the source of video page and look for '3gp'.

You will get this link: http://aajtakclouds3.intoday.in/aajtak/video/102015/3gp/23oct_sbb_singleclip.3gp

remove the blue part '/3gp' and change the extension of file to mp4.

zapac
10-29-2015, 06:39 PM
I dont have the exact answer to your question but i have the direct download link for the m3u8 you have posted.

http://aajtakclouds3.intoday.in/aajtak/video/102015/24_oct_sbb_singleclip.mp4

And its too easy to find this link just see the source of video page and look for '3gp'.

You will get this link: http://aajtakclouds3.intoday.in/aajtak/video/102015/3gp/23oct_sbb_singleclip.3gp

remove the blue part '/3gp' and change the extension of file to mp4.

hi thanks for the mp4 link: it is 106 mb....wow I have player which can download m3u8 video but the same file size was 87mb...ok thanks

now the main question I need to download videos from hotstar https://staragvod1-vh.akamaihd.net/i/videos/plus/yhm/590/1000074491_,180,400,800,1300,2000,_STAR.mp4.csmil/master.m3u8?hdnea=st=1446085086~exp=1446085686~acl =/*~hmac=7f03f0343013062764d1746da5f5c6fee20520944af 40718818cf4a091bca73b

a sample link of video

can u create direct download link for it?

and why the hotstar video cut in segments while downloading????

flashy
10-30-2015, 01:18 AM
now the main question I need to download videos from hotstar https://staragvod1-vh.akamaihd.net/i/videos/plus/yhm/590/1000074491_,180,400,800,1300,2000,_STAR.mp4.csmil/master.m3u8?hdnea=st=1446085086~exp=1446085686~acl =/*~hmac=7f03f0343013062764d1746da5f5c6fee20520944af 40718818cf4a091bca73b

a sample link of video
I can't access this link: Access Denied

and why the hotstar video cut in segments while downloading????
How do you download the video? And where do you see the segments?

zapac
10-30-2015, 05:57 AM
I can't access this link: Access Denied


How do you download the video? And where do you see the segments?

my link uses ip address it will work on my ip address and it has expired for me also try download ad in firefox and open hotstar video when the video starts playing click on the ad blocker symbol and clik open blockable items and search for f4m copy address use livestreamer or ffmpeg to download. here u will get access to link.now I need a direct download link for episode....just try change replace mainfest.f4m to master.m3u8 in the link change z to I