Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How To Extract .flv Stream from JW Player 5.1?

The problem is I've a slow internet connection, and the video doesn't buffer like in YouTube. Therefore I was wondering weather I can extract the url of the .flv file which is being streamed in JW Player and directly download it. Doing some preliminary research, I've found the following info:

  • Main Video URL: http://ijf10.ilcannocchiale.tv/video/2263
  • Link Only To Video: http://ijf10.ilcannocchiale.tv/js/mediaplayer.swf?...
  • XML File: http://ijf10.ilcannocchiale.tv/xml/video/2263
  • Actual File Name: 20100425_mother.flv
like image 340
Catfish Avatar asked May 08 '10 03:05

Catfish


People also ask

How can I download JW Player videos on Android?

There are various methods through which you can download JW Player videos in 2020. These methods include using Inspect Element on chrome, Page info option on Firefox, via Firefox extensions, i.e., Flash video downloader, and through IDM. You can also use video downloader tools to download JW player videos.

Why JW Player is not working?

To fix JW player not working in Chrome, open settings after clicking on the three dot icon at the right, then choose Advanced. Fetch for Reset settings by scrolling down, It will ask for confirmation. Click on YES. Then restart your Chrome after this process gets complete.


1 Answers

rtmpdump and rtmpsuck worked well for me. The trick is finding the relevant options for rtmpdump

Detailed instructions can be found here: http://pclosmag.com/html/issues/201104/page19.html

It comes down to this:

  1. (root) iptables -t nat -A OUTPUT -p tcp --dport 1935 -m owner \! --uid-owner root -j REDIRECT
  2. (root) rtmpsuck
  3. browser, go to relevant page, play video
  4. in the root terminal you should get the needed options for rtmpdump
  5. (root) iptables -t nat -D OUTPUT -p tcp --dport 1935 -m owner \! --uid-owner root -j REDIRECT
  6. run rtmpdump with the relevant options

Note that if it's a live stream you might need to give the --live option to rtmpdump.

like image 127
ariddell Avatar answered Oct 13 '22 11:10

ariddell