Page 1 of 1

Saving content to disk while HTTP progressive download

Posted: 25 Mar 2008 12:42
by TheSorcerer
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

Re: Saving content to disk while HTTP progressive download

Posted: 25 Mar 2008 14:52
by revolunet

Re: Saving content to disk while HTTP progressive download

Posted: 26 Mar 2008 12:23
by TheSorcerer
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.

Re: Saving content to disk while HTTP progressive download

Posted: 26 Mar 2008 14:35
by revolunet
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.