VLC for flash video

19,860

Solution 1

VLC can play any Flash video for which you have the .flv file. It can also record anything it is playing.

However, you can't always just point it at a webpage and play Flash videos on that page and it can't 'play' .swf files (because they aren't videos). You need to somehow download the .flv file. There are tools that work for some sites such as cclive install cclive, get_iplayer install get-iplayer and youtube-dl install youtube-dl that download the .flv files.

Not all sites are supported by such tools but there is a work around that allows you to download the video file so that you can watch it without using Flash for the actual watching although you do need the Flash plugin installed to do this. This workaround uses Chromium install chromium-browser but a similar method works with Firefox+Firebug.

In Chromium, press Ctrl+Shift+J to open the developer console and click on the 'Network' tab.

developer console

Then, navigate to the page with the video on and start to play it. You can then look for the item in the list with a type starting with 'video/' and click on it.

video item

This will give you a URL which you can copy and download using wget or a download manager.

enter image description here

Once you have copied the url, you can close the page which will stop Flash from running.

This works for any non-live Flash video as long as additional digital restrictions management methods (like RTMP used on BBC iPlayer) are not used.

Live Flash streams such as Ustream are, as far as I know, not possible to play with VLC. However, some sites may give you a proper streaming URL like an mms or rtsp link which VLC can play.

Solution 2

As stated in another answer, VLC will play the URL stream behind an embedded video.

I prefer the solutions that involve the use of Firefox addons that normally direct an URL to a download manager or to another browser but that can be set to select VLC instead. When there is a link that can be clicked and that goes directly to the video stream, like in Youtube, I prefer something like the Openwith addon (see below). But sometimes there is no such link.

To find that URL, the other answer provides a solution, which appears along others as answers to a similar question here.

(The selected answer there is by no means the best. The most voted one, which is similar to the one under here already mentioned, is good because it involves using just the Chrome browser. But it does not work with all streams, and neither does the Firebug addon for Firefox, as far as I can tell.)

Maybe the more convenient solution is using VLC along the Firefox FlashGot addon

here

  • add VLC to Flashgot list: FlashGot options, General tab, Add, give a name 'VLC' , - then go to the VLC executable and select it.

enter image description here enter image description here

  • FlashGot options, FlashGot tab, choose VLC

enter image description here

  • playing the video in Firefox, a Flashgot button should appear (add that to the toolbar or the status bar). Right-click the button, Available formats, and left-click the video. VLC should start playing the video stream.

enter image description here

VLC + the Video DownloadHelper

the addon for Firefox - that I mentioned in my answer there, just install the addon, play the stream, the DownloadHelper button should start rolling, click the drop-down menu, then put the mouse over the title of the video, and then choose 'Copy URL'. (The download option is there of course, but that's another issue.)

enter image description here

Open VLC, Ctrl-N and then paste and open the URL.

Some troubleshooting:

Testing such links with VLC I notice that in some cases the player cannot play them or even crashes. But this can be fixed as follows:

The last part of such URLs is sometimes like /video.flv?start=0. Changing that to /video.flv? might make it work. (But in many cases the stream is played very well without this change. Also, in many cases the link may look completely different anyway.)


To start youtube videos (and alike: dailymotion, etc) in external players I think that the best solution is to use the Firefox Openwith addon and just add vlc instead of/beside browsers. And it works perfectly

enter image description here

Solution 3

Get FlashVideoReplacer. The extension automatically replaces embedded flash videos with the original mp4 or flv videos, allowing to watch flash streaming content with a less CPU intensive plugin or standalone external player.

Keep in mind that although VLC is an excellent player, the plugin isn't. FVR won't work well with VLC plugin. The recommended plugin is gecko-mediaplayer. For documentation, supported sites and tweaks see the extension web site

Share:
19,860
glarkou
Author by

glarkou

Updated on September 18, 2022

Comments

  • glarkou
    glarkou over 1 year

    Is it possible to play all flash videos using VLC? Because flash is consuming a lot of processing power. In addition, with VLC I will be able to record every stream for example Ustream etc.

    I am using Ubuntu 11.04.

    • Uri Herrera
      Uri Herrera almost 13 years
      You mean using VLC instead of the flash plug in to play the embedded videos on the web?, or just play flv files?
    • glarkou
      glarkou almost 13 years
      Instead of flash plugin
    • Admin
      Admin almost 12 years
      this question gets a greater scope if related not only to a flash plugin inside Firefox, but to the larger issue of avoiding high use of resources (GPU) through use of external players to play embedded flash in general. see this answer and comments (askubuntu.com/a/169298/47206)
  • glarkou
    glarkou almost 13 years
    Do you know if there is a similar plugin for chrome?
  • lovinglinux
    lovinglinux almost 13 years
    I am the developer of FVR. I had plans to make a Chrome version, but it is on hold. Due to time constrains I am currently focusing on my Firefox add-ons only.
  • glarkou
    glarkou almost 13 years
    If it's opensource I can take a look!
  • lovinglinux
    lovinglinux almost 13 years
    It is open source. See github.com/webgapps/flvideoreplacer
  • Mike
    Mike almost 12 years
    dead links, aren't they?
  • nutty about natty
    nutty about natty about 11 years
  • Mike
    Mike about 11 years
    @nutty about natty: I have renounced for the moment at trying to replace adobe flash, but necessity (omgubuntu.co.uk/2012/02/adobe-adandons-flash-on-linux) is the mother of invention
  • earthmeLon
    earthmeLon about 10 years
    This extension is no longer available.