JW Player video download advice?
March 19, 2013 12:04 PM   Subscribe

I need to download video from a jwplayer site. Looks like all the suggestions online require you to be a novice coder. I'm not. I just want this one video downloaded and all the normal Chrome or Firefox extensions don't work. Not even RealPlayer. Anyone care to advise. Here's the site. http://bit.ly/11blqJI Windows here if it makes a difference. Though I can access a Mac if need be.
posted by caveatz to Technology (3 answers total) 2 users marked this as a favorite
 
So... I checked it out and it turns out it's not just one video, it's a playlist of almost 500 videos.

I don't have anything better to do, so I'm downloading the videos for you. I'll put them in a zip file and send you a download link when the downloading's done (it isn't going spectacularly fast, but within half an hour or so). Each part seems to be about 1MB, so be ready to download ~500MB.


For anyone who wants/needs to know how I did it:
I went to the site and in my browser right clicked the page (not the video) and chose "view source".
In the source there was a bit that started with "jwplayer" and inside that snippet it said file: "http://107.21.107.19:1935/vods3/_definst_/mp4:amazons3/elsclientstore/2443575804/2013021139-15.mp4/playlist.m3u8"
The .m3u8 tells me that it's not a video, but a playlist of videos.
So I downloaded that file and opened it with a text editor.
At the last line of the few lines in that file it said
playlist.m3u8?wowzasessionid=910425050
So apparently I needed to stick that last part at the end of the URL. So I downloaded http://107.21.107.19:1935/vods3/_definst_/mp4:amazons3/elsclientstore/2443575804/2013021139-15.mp4/playlist.m3u8?wowzasessionid=910425050 and opened that file with a text editor.
In there was the list of all of the videos that were part of the playlist.
#EXTM3U
#EXT-X-VERSION:2
#EXT-X-TARGETDURATION:18
#EXT-X-MEDIA-SEQUENCE:1
#EXTINF:17,
media_1.ts?wowzasessionid=910425050
#EXTINF:16,
media_2.ts?wowzasessionid=910425050
#EXTINF:15,
media_3.ts?wowzasessionid=910425050
and so on and so on.

If you take the original URL and replace playlist.m3u8 with the filename (for instance media_2.ts) you get
http://107.21.107.19:1935/vods3/_definst_/mp4:amazons3/elsclientstore/2443575804/2013021139-15.mp4/media_2.ts which you can download.

Luckily I'm a bit techy, so I am using a command line tool called curl to go through the list and download each file for me. Because downloading each of those files individually would have been way too much work.
posted by bjrn at 12:45 PM on March 19, 2013 [3 favorites]


The site is using the Apple HLS format for streaming, which is why the video is split into around 500 smaller files.

The VLC player can be used to download the stream.

Select "open network stream", enter the url that bjrn found (http://107.21.107.19:1935/vods3/_definst_/mp4:amazons3/elsclientstore/2443575804/2013021139-15.mp4/playlist.m3u8), Select "Convert" instead of "Play", enter a filename in "Destination file" (choose .ts as the extension), select "Dump raw input" and press start and the whole video will be downloaded to a file that VLC should play fine. (You can also choose to directly convert the file to another format by not choosing "dump raw input")
posted by rpn at 2:38 AM on March 20, 2013


Oh, hey. That's a much easier way to do things. Thanks for the tip!
posted by bjrn at 11:19 AM on March 20, 2013


« Older Trying to "lean in." Failing miserably.   |   Landlord taking unreasonable amount from security... Newer »
This thread is closed to new comments.