martes, 1 de junio de 2010

Debugging flash in firefox

Install Adobe Flash Player Debugging Version:
(first I recommend you to uninstall any flash version you have installed)
tar zxvf flash_player_10_linux_dev.tar.gz
cd flash_player_10_linux_dev/plugin/debugger
tar zxvf install_flash_player_10_linux.tar.gz
cd install_flash_player_10_linux/
Follow instructions.

Install the Firebug and Flashbug extensions.

I couldn't install extensions... it seems an Ubuntu 10.04 well-known issue. Workaround here: disabling ipv6 dns in firefox.
Restart firefox.

Now in the Firebug panel, enable "Flash Console".
Enter a page with flash and you will start to see the debug information :)

What is it useful to?
I know that there are extensions like FlashGot to do it, but I wanted to download the video embedded in a flash player that you can watch here: Erasmus Paradiso (Repor).

And in fact, the url pointing to the flv file was there! ;-)

This mechanism saves a lot of time that you could have spent dissambling the flash player.

One of my ideas is creating a plugin to be able to watch in Totem last news as shown in RTVE (spanish radio television). Being able search videos in their archives or e.g. sorting last news videos by category.
To sum up, the same that the current youtube plugin does in Totem.

Updated 2/Jun/2010:
I've found in a blog how to download RTVE videos using RTMDump.
Actually it seems that there're some people working to get rtmp support in GStreamer, that would be the optimum solution :)