Log in

View Full Version : Live capturing + "live uploading"


zupdaa
19th October 2008, 20:56
Hello everyone!

I have been reading these forums for years and before writing my first thread I want to thank you everyone for great forum!

Last days I have been searching a solution for my problem and I think it would be a good idea to ask if you have any ideas.

So, whats the best way to do something like this:

1. capture video from dv-camera
2. live encode the video to harddisk as flv or h264
3. stream / "liveupload" the video to website/ftp
4. (optional) users could watch the video live


I have found few solutions to do this:

1. & 2. Flash Media Live Encoder (http://www.adobe.com/products/flashmediaserver/flashmediaencoder/) (FREE)
3. & 4. Adobe Flash Media Server ($4500)


1. & 2. Wirecast (http://www.flip4mac.com/wirecast.htm) ($449)
3. & 4. Wowza (http://www.wowzamedia.com/index.html) ($995)

***edit***
Is it possible to use Flash Media Live Encoder together with Wowza?



The ideal solution would be a software which could record the video from camera, encode it as h264 video to harddisk and at the same time while writing the h264 video the software uploads the video to ftp/http server.

So, after 30mins of filming, the video would be saved on a harddisk and also available on the internet as h264 video.


I'm really thankful for all comments and new ideas!

Also if you know a SDK component for developers for creating such software, I would be very thankful for information!

-Zupda

RunningSkittle
19th October 2008, 21:01
The ideal solution would be a software which could record the video from camera, encode it as h264 video to harddisk and at the same time while writing the h264 video the software uploads the video to ftp/http server.

So, after 30mins of filming, the video would be saved on a harddisk and also available on the internet as h264 video.

You could make a simple batch script to do this

zupdaa
19th October 2008, 21:14
You could make a simple batch script to do this

Thanks for fast reply! May I PM you about the script?

RunningSkittle
19th October 2008, 22:06
Easier to just do it via the forum.

Can I assume your using windows XP/vista?

zupdaa
19th October 2008, 22:10
Yes, i'm using xp/vista

RunningSkittle
20th October 2008, 01:07
can you capture via virtualdub?

zupdaa
20th October 2008, 10:18
Yeah, virtualdub works fine!

RunningSkittle
20th October 2008, 14:14
Nice, so all we need to do is write a batch script to:

1. Capture via virtualdub (Command line)
2. Encode (you can encode directly to x264 with virtualdub via x264vfw http://sourceforge.net/projects/x264vfw/ )
3. Upload to the FTP.

Once the script is done, use windows scheduler to run it every 30minutes.

If you can find the command line options for virtualdub that work for you, ill write the rest of the batch script.

zupdaa
20th October 2008, 17:36
Thanks for your effort!

I must say that i'm not familiar with command line stuff.. I have only used virtual dub for encoding xvid videos.

Is it really possible to upload the video while encoding?

The whole progress should be:
1. connect camera to computer
2. start virtualdub / batch script... start capturing
3. encoding + uploading starts
4. stop capturing
5. video is available on harddisk / webserver (this ofcource depens of the upstream, but lets say its not a problem)

It should not be like:
...
3. encoding starts
4. encoding done
5. start uploading
6. upload done

RunningSkittle
20th October 2008, 19:58
Im not sure thats possible/safe. via FTP anyway.

Your other solution is to use a flash streaming server.


In anycase, the second way (my way) capturing+encoding is all one step, ie encoding is not a second process that you have to wait for. Essentially the process looks like this:
1.) Capture+encode (encoding on the fly as you capture)
2.) Upload

zupdaa
23rd October 2008, 10:46
I think i must use streaming server and record it on server side.. Thanks for your help!