VideoHelp Forum
+ Reply to Thread
Results 1 to 12 of 12
Thread
  1. im not a usual net surfer. i dont know anything about downloading a video other than youtube.
    video is http://cineloversvids.blogspot.in/2014/10/blog-post_33.html
    can anybody pls help me.
    its the great DDLJ movie .. and im not able to download it
    plz ..
    Quote Quote  
  2. Originally Posted by surya prakash View Post
    im not a usual net surfer. i dont know anything about downloading a video other than youtube.
    video is http://cineloversvids.blogspot.in/2014/10/blog-post_33.html
    can anybody pls help me.
    its the great DDLJ movie .. and im not able to download it
    plz ..
    Code:
    livestreamer --http-header "User-Agent=Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_1_2 like Mac OS X; ko-kr) AppleWebKit/528.18 (KHTML,like Gecko) Version/4.0 Mobile/7D11 Safari/528.16"  "hls://http://c1.vkcache.com/sec/umwZHZqLP5rR1we6oX2Zng/1428915600/hls-vod-s4/flv/api/files/videos/2014/10/06/1412551438bd536.mp4.m3u8" best -o video.ts
    Quote Quote  
  3. sorry friend..i dont undrstand
    Quote Quote  
  4. can u pls xplain??? anybody plzzz
    Quote Quote  
  5. Member WazaKrash's Avatar
    Join Date
    Jan 2015
    Location
    in Europe
    Search Comp PM
    Hello,
    firstly you need to download this : https://www.videohelp.com/software/livestreamer

    after, you have to copy the code that biezom gave you in livestreamer and hit enter
    Quote Quote  
  6. thanks for helping
    Quote Quote  
  7. Biezom,
    I tried the above code you gave in livestreamer, but I get an error message. Can you look at the below screenshot and tell me what is the problem? Also, can you tell me how you got the code? I stream played the video with Firefox and tried different things like: Adblock Plus, iphone 3 user agent etc, and could not find anything like you posted: (http://c1.vkcache.com/sec/umwZ........).
    Image Attached Thumbnails Click image for larger version

Name:	Clipboard01.jpg
Views:	483
Size:	133.7 KB
ID:	39651  

    Last edited by jimdagys; 23rd Nov 2016 at 09:36.
    Quote Quote  
  8. Biezom's livestreamer command line didn't work for me either. But...

    Using URLSnooper I saw this link:

    http://hyt4d6.vkcache.com/secip/0/9dXnKXR3CcrbZiatSFLS1A/NjguOC4xODkuMTk4/1480129200/h...8bd536?socket=

    I got an error message when I attempt download that file with Firefox. But if I use User Agent Switcher (a Firefox plugin) to change the user agent to iPhone 3 I can download the file -- it's an m3u8 file. Taking a hint from biezom's livestream command line I came up with this:

    Code:
    ffmpeg -user-agent "User-Agent=Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_1_2 like Mac OS X; ko-kr) AppleWebKit/528.18 (KHTML,like Gecko) Version/4.0 Mobile/7D11 Safari/528.16" -i "http://hyt4d6.vkcache.com/secip/0/9dXnKXR3CcrbZiatSFLS1A/NjguOC4xODkuMTk4/1480129200/hls-vod-s4/flv/api/files/videos/2014/10/06/1412551438bd536?socket=" -vcodec copy -acodec copy output.ts
    I aborted the download after a while but I got the first 30 minutes of the movie. Presumably you'll get the entire movie if you let it finish downloading.

    <edit>

    I tried downloading the video again a few hours later and my ffmpeg command line no longer works. The link to the m3u8 file appears to change after a while. Right now it's:

    http://hyt4d6.vkcache.com/secip/0/NPSGU-BVxcX9PKBtnkIL2Q/NjguOC4xODkuMTk4/1480172400/h...8bd536?socket=

    That's probably why biezom's livestreamer command line isn't working. So you'll have to use URLSnooper to get the current link when you download the file.

    I checked some variations on the referrer field. It looks like as little as -user-agent "iPhone" is enough.

    I verified that the filename expiration is the reason biezom's command line didn't work. Updating the name of the m3u8 file gets it working. So right now: the livestreamer command is:

    Code:
    livestreamer --http-header "User-Agent=Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_1_2 like Mac OS X; ko-kr) AppleWebKit/528.18 (KHTML,like Gecko) Version/4.0 Mobile/7D11 Safari/528.16"  "hls://http://hyt4d6.vkcache.com/secip/0/NPSGU-BVxcX9PKBtnkIL2Q/NjguOC4xODkuMTk4/1480172400/hls-vod-s4/flv/api/files/videos/2014/10/06/1412551438bd536?socket=" best -o video.ts
    And I was able to download the entire movie with no problems.

    </edit>
    Last edited by jagabo; 25th Nov 2016 at 22:43.
    Quote Quote  
  9. Thank you very much. A lot of learnin' goin' on here.
    I used your ffmpeg code and started the download, and then aborted after a minute. I was able to play the file.
    Then, a few minutes later, I tried it again and it didn't work. I used URLSnooper on the streaming video, and the link had changed. Putting the new link into the ffmpeg template you provided, and I was again able to download.

    URLSnooper link you provided , worked and then didn't work and then newer link from URLSnooper:
    Code:
    http://hyt4d6.vkcache.com/secip/0/9dXnKXR3CcrbZiatSFLS1A/NjguOC4xODkuMTk4/1480129200/hls-vod-s4/flv/api/files/videos/2014/10/06/1412551438bd536?socket=
    Code:
    http://hyt4d6.vkcache.com/secip/0/NPSGU-BVxcX9PKBtnkIL2Q/MTg0LjE5NS4yMjYuMjM0/1480172400/hls-vod-s4/flv/api/files/videos/2014/10/06/1412551438bd536?socket=
    You can see they are a little bit different.

    I am totally clueless about the template:
    ffmpeg -user-agent "User-Agent=Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_1_2 like Mac OS X; ko-kr) AppleWebKit/528.18 (KHTML,like Gecko) Version/4.0 Mobile/7D11 Safari/528.16" -i

    I can just copy it but I don't understand it. I tried just deleting all that, it seems like notes, but when I deleted it, I got an error message.

    EDIT
    OK, I see what you said. Eliminate most of the notes and replace with
    iPhone
    so the link becomes:
    Code:
    ffmpeg -user-agent "iPhone" -i "http://hyt4d6.vkcache.com/secip/0/NPSGU-BVxcX9PKBtnkIL2Q/MTg0LjE5NS4yMjYuMjM0/1480172400/hls-vod-s4/flv/api/files/videos/2014/10/06/1412551438bd536?socket=" -vcodec copy -acodec copy output.ts
    So the template is this:
    Code:
    ffmpeg -user-agent "iPhone" -i "put http from URLSnooper here" -vcodec copy -acodec copy output.ts
    Livestreamer command is:
    Code:
    livestreamer --http-header "User-Agent=iPhone"  "hls://http://hyt4d6.vkcache.com/secip/0/NPSGU-BVxcX9PKBtnkIL2Q/NjguOC4xODkuMTk4/1480172400/hls-vod-s4/flv/api/files/videos/2014/10/06/1412551438bd536?socket=" best -o video.ts
    Livestreamer template is:
    Code:
    livestreamer --http-header "User-Agent=iPhone"  "hls://put http from URLSnooper here" best -o video.ts

    Question: Is there anyway to modify the code so it downloads a smaller resolution/file size? If the download size is fixed, is there a way to put something into the code that converts it to a smaller file size/resolution (like 640x360)? Of course I could just download the large file size/resolution and then re-encode it with some other software,but I pay for download data and it takes this computer a huge amount of time to re-encode. I tried substituting "worst" for "best" in livestreamer ie:
    Code:
    livestreamer --http-header "User-Agent=iPhone"  "hls://http://hyt4d6.vkcache.com/secip/0/NPSGU-BVxcX9PKBtnkIL2Q/NjguOC4xODkuMTk4/1480172400/hls-vod-s4/flv/api/files/videos/2014/10/06/1412551438bd536?socket=" worst -o video.ts
    but the file size/resolution was the same as before.
    Last edited by jimdagys; 26th Nov 2016 at 00:31.
    Quote Quote  
  10. Originally Posted by jimdagys View Post
    Question: Is there anyway to modify the code so it downloads a smaller resolution/file size?
    As far as I can tell that video is only available in one size. The m3u8 only has a list of fragments.

    Originally Posted by jimdagys View Post
    If the download size is fixed, is there a way to put something into the code that converts it to a smaller file size/resolution?
    You could always reencode while you download with ffmpeg (instead of "-vcodec copy -acodec copy" select codecs and settings) but you'll still have to download the entire video. And if you use a slow encoder the download may terminate before the encoding is done (ie, the limited time url may expire). And that file isn't very large (~1.2 GB) for a 3 hour movie.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!