How To Extract .flv Stream from JW Player 5.1?

你说的曾经没有我的故事 提交于 2019-12-03 07:01:20

问题


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

回答1:


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.




回答2:


try using this firefox extension: https://addons.mozilla.org/en-US/firefox/addon/3006?src=api it lets you save most flv, or other video files on the net.




回答3:


If you can find the url, and the m3u8 playlist, then you can use VLC to save the stream.

  1. Media -> Convert/Save
  2. Network [tab]
  3. Past url "http://example.com/video_6.mp4/playlist.m3u8
  4. Click "Convert/Save" button at bottom.
  5. Browse for local save target path. Include extension, .mp4
  6. In Settings/Profile section on same tab,
    1. Create new
    2. Name it "Original MP4 Content"
    3. Encapsulation: Select "MP4/MOV"
    4. Video Codec: Select Video. Select Keep original...
      1. Codec: H-264
      2. bitrate, framerate, scale, width, height = 0.
    5. Audio Codec: Select Audio. Select Keep original...
      1. Codec: MPEG Audio
      2. Bitrate: 128kbps
      3. Channels: 2
      4. Sample Rate: 44100
    6. Click the Save button.
  7. Select "Original MP4 Content" that you just created.
  8. Click the Start button at the bottom of the form.

... wait. It will download the video and assemble it. ...enjoy.




回答4:


RTMPdump works perfectly.

http://www.nirsoft.net/utils/rtmp_dump_helper.html allows you to easily use RTMPdump with Windows.




回答5:


This file is actually being streamed over RTMP, so there isn't any FLV to download per-se.

Unfortunately, unless you use some sketchy tools like RTMPdump, there's no way to download it.



来源:https://stackoverflow.com/questions/2792862/how-to-extract-flv-stream-from-jw-player-5-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!