OS2World OLD-STATIC-BACKUP Forum

OS/2 - Technical => Multimedia => Topic started by: Ben on 2008.04.15, 02:47:45

Title: Extracting multimedia from URL
Post by: Ben on 2008.04.15, 02:47:45
I have a link here to a video that I would like to have a copy of.

Does anyone know how to extract it?

Here's the URL (http://"http://www.hrc.utexas.edu/multimedia/video/2008/wallace/huxley_aldous.html")

and here, (rtmp://128.83.148.198/flvplayer/2008/wallace), is the embedded link.

It's not anything that anyone, but a student of history would like, but I would like a copy.  :D

MediaPlayerConnectivity is no good for this type of link as it is FLASHed.

I'd like to do it under OS/2, but I'll settle for any means at all really that can get it.

Thanks.
Title: Re: Extracting multimedia from URL
Post by: RobertM on 2008.04.15, 04:12:25
Hi Ben,

Either try UnPlug (may not work with rtmp links - dont think I have tried it - but does work with many flash based players and/or files)...

Or try mPlayer to capture the stream. I can say from trying it, it does and will catch streaming videos from rtsp/rtmp/etc servers...

You may need to look at the docs to see how to do it... if you cant find the right parameters, let me know... I think I have a REXX script somewhere.... (I use it to occassionally catch the output from some of our client's web cam setups for testing purposes via rtsp).


-Robert
Title: Re: Extracting multimedia from URL
Post by: Ben on 2008.04.16, 21:47:06
Thanks for responding RobertM.

Unfortunately UnPlug doesn't work with "rtmp://" links. :(

If you have a REXX script for this, (with mPlayer or whatever), I'd appreciate a copy.
Title: Re: Extracting multimedia from URL
Post by: RobertM on 2008.04.16, 22:37:37
Quote from: Ben on 2008.04.16, 21:47:06
Thanks for responding RobertM.

Unfortunately UnPlug doesn't work with "rtmp://" links. :(

If you have a REXX script for this, (with mPlayer or whatever), I'd appreciate a copy.

mPlayer is on Hobbes (and comes with mEncoder, which is really cool!)... I havent checked lately so to ensure you get the most recent version, I'd go to Hobbes for that.

The REXX script is barely that really.... but I will post it tomorrow when I get to the machine with it. It's just a couple lines that parse file names, then run mPlayer with the correct options to grab the stream and write it to disk (inotherwords, it's mostly a place where I stored the kinda difficult to find parameters (I hate reading manuals) to enable stream save). It should be able to be adapted to work with Firefox though - but needs some sort of termination method (or a user CTRL-BREAK on the mPlayer window).

I'll post the parameters or (barely a) script tomorrow... hope they help.
Title: Re: Extracting multimedia from URL
Post by: melf on 2008.04.17, 09:47:52
Hi, Ben.
Some additional info: There is a lot of other extensions to FF (except MPC) that should do what you want. I've tried many of them but no one works on your movie.
Title: Re: Extracting multimedia from URL
Post by: El Vato on 2008.04.17, 18:11:37
Quote from: Ben on 2008.04.15, 02:47:45
I have a link here to a video that I would like to have a copy of.

Does anyone know how to extract it?

Here's the URL (http://"http://www.hrc.utexas.edu/multimedia/video/2008/wallace/huxley_aldous.html")

and here, (rtmp://128.83.148.198/flvplayer/2008/wallace), is the embedded link.

It's not anything that anyone, but a student of history would like, but I would like a copy.  :D
[...]

Good morning, Ben!

Actually you only have a minimum of data required to download the file of your interest.  I have just left you a PM here of the whole piped path that the browser follows.

Best regards.
Title: Re: Extracting multimedia from URL
Post by: Ben on 2008.04.20, 04:12:08
Thanks for helping me out, El Vato.

I appreciate it.
Title: Re: Extracting multimedia from URL
Post by: Ben on 2008.08.15, 07:28:05
There seems to be a dance going on with the web-sites-that-provide-multimedia leading, and those-that-wish-to-download-them following.

For me, this area is the one great nuisance under OS/2.

I've gone through all the addons that is available for Firefox and they do all right for the most part, but with some web sites...  :-\

However, it seems to me that If you've watched a video online then you have all ready downloaded the thing, else you couldn't have seen it.

Surely there must be an easy way to capture this... probably by harvesting the cache...

Now, if I had some programming skills, this is where I'd start. But, I do not.  *growls*

In the meantime, I'm stuck trying to get this link down;

              http://archives.cbc.ca/programs/133-2002/

The following two links appear on the above site, but download nothing of size;

              http://ms.radio-canada.ca/archives_new/2002/en/wmv/polio19560215et1.wmv
              http://archives.cbc.ca/emissions/emission.asp?IDLan=1&IDEmission=133&IDClip=2002

As before, I'd appreciate any help.
Title: Re: Extracting multimedia from URL
Post by: El Vato on 2008.08.27, 15:00:29
Quote from: Ben on 2008.08.15, 07:28:05
[...]
In the meantime, I'm stuck trying to get this link down;

              http://archives.cbc.ca/programs/133-2002/

The following two links appear on the above site, but download nothing of size;

              http://ms.radio-canada.ca/archives_new/2002/en/wmv/polio19560215et1.wmv
              http://archives.cbc.ca/emissions/emission.asp?IDLan=1&IDEmission=133&IDClip=2002

As before, I'd appreciate any help.

Ben,

Some (all ???) of those media links are transfered through the mmsh protocol.  Although you sure have an version of WinXX installed, what about an version of GNU/Linux, like Debian or Ubuntu ???

There is a GPL command line script named msdl (http://www.cli-apps.org/content/show.php/msdl?content=63200) that will download those media files because it understands the mmsh streaming protocol, among others.  The catch for an OS/2er ???  The hacker of the msdl (as opposed to the term cracker  --which the ignorant media herd can not discern) has made the small program available in source code and in Debian (and its derivative Ubuntu) deb package format (http://sourceforge.net/project/showfiles.php?group_id=200521&package_id=238203&release_id=608624).

Should you already have (or will have) and Debian/Ubuntu distro so as to install the package effortlessly and exercise your will on those media files, below is the command to install it:

Under Debian you need to become root (or the super user of your system) at your shell prompt and type:

dpkg  -i  msdl_1.2.1-1_i386.deb (http://downloads.sourceforge.net/msdl/msdl_1.2.1-1_i386.deb?modtime=1214268533&big_mirror=0)

However, under Ubuntu, you only need to prepend  sudo to the dpkg utility and possibly provide subsequently your regular user password (that is set during the Ubuntu installation), as follows:

sudo dpkg  -i  msdl_1.2.1-1_i386.deb (http://downloads.sourceforge.net/msdl/msdl_1.2.1-1_i386.deb?modtime=1214268533&big_mirror=0)


And, of course, if you have another GNU/Linux distribution, download the source and read the instructions to build.

Some or all of the (blue) links above are ephemeral in nature because the msdl version may change subsequently.  I simply desired to illustrate the procedure.

As before, I have left you a PM but the rest is up to you.

Oh, you may want to leave the developer an appreciative feedback/donation if you find the shell script useful.  The power of that gesture will never be understood by those who never engaged in the software libre spirit.
Title: Re: Extracting multimedia from URL
Post by: Ben on 2008.08.27, 18:10:00
Greetings, El Vato.

OK.

I can read the writing on the wall; If I want to get access to this type of media I'm going to have to install a version of Linux onto my VPC.

I've been putting this off due to time restrictions, but I need a means to download, (and in some cases), edit multimedia. In this arena, (mulitimedia), choices are few to nil for the OS/2 user.

*sighs*

Well, every OS has its limitations, problems and issues, some more, some less.

Thank you for the information.
Title: Re: Extracting multimedia from URL
Post by: El Vato on 2008.08.28, 03:16:51
Quote from: Ben on 2008.08.27, 18:10:00
Greetings, El Vato.

OK.

I can read the writing on the wall; If I want to get access to this type of media I'm going to have to install a version of Linux onto my VPC.[...]

...the other option is to compile the small utility (<1MB) under the OS/2 environment --or find an equivalent program/utility that works under your current WinXX version.

Recommendation:  installing GNU/Linux Ubuntu is easy --even for an beginner in the *nix world.  Notwithstanding, and noting that the utility is Debian/Ubuntu compatible "out of the box", you may find one of those installed into a flash drive that you could simply use whenever the need arises.

On the other hand, having Debian/Ubuntu into your hard drive would serve to mount your HPFS/JFS  partitions for maintenance purposes (and NTFS data reading) and/or file access/retrieval operations --just like some (many) use the Fat32 in their OS/2 and WinXX combinations.
Title: Re: Extracting multimedia from URL
Post by: CDRWSel on 2008.09.02, 05:58:39
About RTMP, may be you can use java source from this tool !
http://rtmprip.jtvlan.org/
Title: Re: Extracting multimedia from URL
Post by: CDRWSel on 2009.05.18, 20:35:06
Found JUV applet !
http://www.smaxe.com/juvdownloader.jsf