i am doing a project in which i am trying to implement webrtc in qt webkit. I have managed to make the webcam on but i am not able to show any video. While debuging i saw i am getting the url of the stream from webcam as "blob:http://192.168.70.95:8080/b90eaeb3-b50e-48ff-8ff6-e62caf8d72cf". almost similar to that in the chrome. But when i give it to gstreamer to play the stream it says No URI handler implemented for "blob". (url=blob:http://192.168.70.95:8080/b90eaeb3-b50e-48ff-8ff6-e62caf8d72cf).
Is there any way to play the blob uri using gstreamer. i am using a play bin for this. thanks in advance.
Not sure if dataurisrc can help. It might need some modifications though.
I'm building a flex mobile application that streams the device's live video to flash media server.I can't run such an application on the flash buider's emulator because it doesn't emulate the camera and i don't have an android device to test my work on it.I wonder if using the NetConnection and NetStream classes with the device's camera will work as in a regular flex web application.I really need an advice from someone who tested those two classes(NetConnection and NetStream) with flex mobile.Any pointers or advices will be appreciated.
Thanks in Advance.
NetConnection and NetStream with Adobe AIR for Mobiles works exactly as how it works with a regular web application.
However, some things have to be considered. Your mobile application should be developed on a "Landscape" mode. Since there is a bug with adobe such that the video stream gets rotated when you are sending the video stream from your front camera.
Bug Report
However, i am not recommending you to stop developing the application. This will be a good challenge though.
right now i m using adobe live media encoder to stream live webcam video to the adobe flash media server. All i want to know is that is there a way to stream video to Adobe flash media server from inside a web page using some flash or flex code or some sort of plugin. I dont want the user to use a software installed on his machine ( like the live media encoder) to stream his webcam feed.
I want my website to do it.
So, is there a way?
Yes you can do with Adobe RTMFP / RTMP protocols.
RTMFP is a peer-2-peer protocol , where you won't be able to record webcam stream as you did with Adobe Live Media Encoder (which used RTMP)
Just go through these protocols and you will be able to achieve to do this on your website.
How to record Audio and Video at the same time into flv in Adobe air 2.0 ? So that Video and Audio will be sinchronised?
Open Source libs and
Blog aricales are wellcomed!)
All I can help with are a few links, but I haven't tried this to know how feasible it actually is:
Audio - Recording record microphone to wav devnet article or devnet cookbook article.
Audio - Compression - MP3 Compression with Lame and AIR 2.0 or MP3 encoder in Flash with Alchemy
Video - SimpleFlvWriter.as is a bit outdated and only writes images, not audio, but might be handy to get started. Also have a look at the FLV Specs.
At this point it looks like trouble waiting to happen:
Where do you store the images/sound until you write encode them ? in RAM ?
If you want to cache uncompressed files, will there be audio delays ?
It might be worth trying something different, like C++.
Or at least, write some command line tools for recording/encoding for performance
reasons and use AIR/native process just for the looks/interaction ?
HTH
A quick glance at the present-day internet would seem to indicate that Adobe Flash is the obvious choice for embedding video in a web page. Is this accurate, or are they other effective choices? Does the choice of ASP.NET as a platform influence this decision?
Flash is certainly the most ubiquitous and portable solution. 98% of browsers have Flash installed. Other alternatives are Quicktime, Windows Media Player, or even Silverlight (Microsoft's Flash competitor, which can be used to embed several video formats).
I would recommend using Flash (and it's FLV video file format) for embedding your video unless you have very specific requirements as far as video quality or DRM.
Flash is usually the product of choice: Everyone has it, and using the JW FLV Player makes it relatively easy on your side.
As for other Video Formats, there are WMV and QuickTime, but the players are rather "heavy", not everyone might have them and they feel so 1990ish...
Real Player... Don't let me even start ranting about that pile of ...
The only other alternative of Flash that I would personally consider is Silverlight, which allows streaming WMV Videos. I found the production of WMV much better and easier than FLV because all Windows FLV Encoders I tried are not really good and stable, whereas pretty much every tool can natively output WMV. The problem with Silverlight is that no one has that Browser Plugin (yet?). There is also a player from JW.
One consideration would be whether video playback is via progressive download or streaming. If it's progressive download, then I would say use Flash because you get a wider audience reach.
For streaming wmv, it is out of the box functionality provided by Windows Media Services
For streaming flash, you will have to install a streaming server on your Windows box. Some options are:
Adobe Flash Media Server (Commercial)
Wowza Media Server (Free/Commercial)
Red5 Flash Server (Open Source)
If you have access to Microsoft Expression Encoder 2, you can use that to encode a video file and generate a Silverlight video player. Then if you have IIS 7, you can use Adaptive or Smooth Streaming also checkout Smooth HD for a really cool example.
You can also do streaming from the free Microsoft Silverlight Streaming Service. It's connected to a Windows Live account.
A consideration is that the client will need to have Silverlight installed, just like Flash, but Flash has been around longer.
<object width="660" height="525"><param name="movie" value="http://www.youtube.com/v/WAQUskZuXhQ&hl=en&fs=1&color1=0x006699&color2=0x54abd6&border=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/WAQUskZuXhQ&hl=en&fs=1&color1=0x006699&color2=0x54abd6&border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="660" height="525"></embed></object>
I have worked for a company that developed a system for distributing media content to dedicated "players". It was web based and used ASP.NET technology and have tried almost every possible media format you can think of and your choice really comes down to asking yourself:
does it needs to play directly out of the box, or can I make sure that the components required to play the videos can be installed beforehand?
If your answer is that it needs to play out of the box then really your only option is flash (I know that it is not installed by default, but most will already have it installed)
If it is not a big issue that extra components are needed then you can go with formats that are supported by windows media player
The reason why windows media player falls into the second option is because for some browsers and some formats extra components must be installed.
We had the luxury that the "players" were provided by us, so we could go for the second option, however even we tried to convert as much as possible back to flash because it handles way better than windows media player
"Does the choice of ASP.NET as a platform influence this decision?"
Probably not.