Saving content to disk while HTTP progressive download

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
TheSorcerer
New Cone
New Cone
Posts: 4
Joined: 25 Mar 2008 12:25

Saving content to disk while HTTP progressive download

Postby TheSorcerer » 25 Mar 2008 12:42

Hi!

I'm using VLC ActiveX Player. I'm playing a video content via HTTP progressive downloading.

Code: Select all

string url = "http://....."; vlcActiveX.addTarget(url, null, VLCPlaylistMode.VLCPlayListReplaceAndGo, 0);
I was wondering if there were any way to save video to disk while I'm watching it, i.e, not downloading twice.

Thanks. :D

revolunet
Big Cone-huna
Big Cone-huna
Posts: 515
Joined: 17 Oct 2007 13:16
VLC version: 0.9.8
Operating System: Vista
Location: Paris, France
Contact:

Re: Saving content to disk while HTTP progressive download

Postby revolunet » 25 Mar 2008 14:52

VLC & web IT consulting - http://www.revolunet.com
Github : http://github.com/revolunet

TheSorcerer
New Cone
New Cone
Posts: 4
Joined: 25 Mar 2008 12:25

Re: Saving content to disk while HTTP progressive download

Postby TheSorcerer » 26 Mar 2008 12:23

First of all, thanks for your reply.

I've been reading the post you recommended me. I think that I can adapt it to my example but I'm not succeding. I think the following code

Code: Select all

vlcLive.addTarget "dshow://:dshow-vdev=""""", Array(":dshow-adev=""none"":dshow-size=""""", ":sout=#transcode{vcodec=DIV3,vb=1024,scale=1}:duplicate{dst=display,dst=std{access=file,mux=ogg,dst=C:\\test.ogg}}"), VLCPlayListReplaceAndGo, -1
is near from what I want. I've been trying with the following code:

Code: Select all

string url = "http://..../myvideo.flv"; vlcActiveX.addTarget(url, ":sout=#duplicate{dst=display,dst=std{access=file,mux=wmv,dst=C:\\test.wmv}}", VLCPlaylistMode.VLCPlayListReplaceAndGo, 0);
If original format is flv and I want to save to disk in wmv format, for example, how I can do it??

Thanks.

revolunet
Big Cone-huna
Big Cone-huna
Posts: 515
Joined: 17 Oct 2007 13:16
VLC version: 0.9.8
Operating System: Vista
Location: Paris, France
Contact:

Re: Saving content to disk while HTTP progressive download

Postby revolunet » 26 Mar 2008 14:35

i think you need to transcode in WMV format.

First try to make ogg output work as in the example, then adapt it to wmv.
VLC & web IT consulting - http://www.revolunet.com
Github : http://github.com/revolunet


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 6 guests