Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can i extract video link form

It is clearly seen that it is calling media file with ref. It does not start in web browser(ubuntu) but work with mac. I don't have plugin problem(gstreamer and restricted-extras are already installed). I need to extract the video file link. (java,python,c++ or any other scripting language)

thanks in advance

share|improve this question
up vote 1 down vote accepted

No, what you have there is not a video file link. It is a link to a php site which takes the a path to the video as an argument. This path however might as well be local on the remote server. Usually this is done to prevent you from doing what you intended to do. You can only try to run the link on your mac again and see whether there is a real URL in the site sent to you by the server. If not you wont easily get the video streamed into a file.

share|improve this answer
"You can only try to run the link on your mac again and see whether there is a real URL in the site sent to you by the server" How could i? In mac it loads a player(web player) and run the file. How could i know the original link? – shantanu Dec 19 '11 at 9:00
What do you want to say with that? – Michael K Dec 19 '11 at 9:02
I am not sure where the server is. How do you know that it is a local remote server? – shantanu Dec 19 '11 at 9:04
The server is not local.Everything after the '?' is an ARGUMENT for the php page request.This argument is passed to the php module which processes your request.The path after 'f=' might be a local path on the server which you might not be able to access.So you can only try to find the real path in the source code of the website which is sent to you when you request the url. – Michael K Dec 19 '11 at 9:43
There may be another approach in extracting the video. Depending on the browser, you might want to peak upon its tmp files, tho this might take some time – Paulius Šukys Dec 19 '11 at 9:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.