My blog has moved! Redirecting...

You should be automatically redirected. If not, visit http://mindsiview.wordpress.com/ and update your bookmarks.

Showing posts with label video. Show all posts
Showing posts with label video. Show all posts

Wednesday, December 07, 2005

More Video Streaming

After months of experimenting with several streaming technologies, I've finally settled on one I like, Flash, as in Macromedia's Flash FLV files for small video files and the Flash Communications Server for larger files. Why Flash? Simply put, Flash has become one of the lowest common denominators with browsers. In other words, most browsers support Flash and most corporate firewalls do not block it. The same can't be said for some of the other streaming technologies I've used. While the servers may allow one to change the streaming port, I've found that some corporate firewalls do not allow for downloading the client required to play the video. The bottom line, if you want to stream videos (and audio files) consider using Flash...either FLV files or the Flash Communication Server (Macromedia offers a free developer version). For more information visit Macromedia.

Tuesday, August 23, 2005

Darwin Streaming Server

A few months ago I began researching Java Media Framework and streaming. This research ultimately led me away from Java Media Framework to Apple's open source streaming server Darwin. After some experimentation, I've got Darwin up and running on Windows 2000. The biggest issue I've found is that Darwin's web based administration server interferes with the streams. No big deal really, just turn off web administration. If anyone has a solution to this problem, I'd love to hear about it.

If you would like to view a sample stream click here (Quicktime Player 7 is required). You should see a short video of me and some friends playing the song "In The Jailhouse Now" at my son's school. That's me on the left playing the banjo. Jamey Ratzlaff is playing the mandolin. Next to Jamey is James Cole singing and playing the guitar. And, next to James is Steve Dodson on the bass.

My apologies to Jimmy Rodgers and the creators of the "Oh Brother Where Art Thou" soundtrack. :-)

Enjoy.

Tuesday, March 29, 2005

Less Java Media Framework

After a few frustrating weeks spent playing with the Java Media Framework (JMF), I give up. It's not that the player doesn't work...it does. It's not that you can't stream files...you can. It's just too much trouble.

Tonight, I spent about 30 minutes installing Apple's Darwin Streaming Server (an open source implementation). It can be found here. The only drawback to Darwin is that it requires Perl. Since I'm running a Windows server, I chose the ActivePerl implementation found here. Over the next couple of days I'll provide a link to my streaming server so you can test it yourself.

Now for the reason I needed a streaming server in the first place. In my spare time I'm working on a little experiment involving Java, a microcontroller, servo motor, and a webcam. Assuming that everything works out like I think it will, you will be able to remotely control the webcam's direction via a web page. Why you ask? Because I can.

Sunday, March 20, 2005

Even More Java Media Framework

I'm taking the week off to spend Spring break with my family. Hopefully as you are reading this, we're tooling around the Indiana countryside on dirt bikes, fishing, exploring caves, or just hiking in the woods.

I'm also working on a little Java project while I'm out of the office. I can't tell you much about it yet (don't want to spoil the surprise), but it involves JMF and other Java APIs. By the way, I discussed this project with my wife and kids and they think it is really "geeky".

More about it later this week. Until then have a great week -Rick.

Thursday, February 10, 2005

More Java Media Framework

Spent some time with Java Media Framework this past week. Biggest complaint: not enough documentation. At least there's not enough good documentation. I'll admit that I haven't bought a book on JMF, but I've poured over articles, newsgroup entries, etc. A lot of people are talking about it...mostly from the client side.

The link for the JMF API can be found here. If you try running some of the examples, there's a couple of things to keep in mind. The examples are set up to run RTP over UDP. This means that the program that is transmitting the audio, video, etc. is transmitting to a specific IP address on a specific port. Translation: you need to know the IP address of the computer receiving the stream. The receiving program needs to know the IP address and port of the sending program as well. I'm going to give you a big hint here: you will need 2 computers to run the examples. The reason: you can't transmit over a port and receive over that port at the same time.

JMF works well sending and receiving via RTP. But, I cannot get Windows Media Player to receive the transmissions (it does not like the RTP:// address). This is frustrating. My goal is to create streaming media server whose streams can be received by a generic player such as the Windows Media Player, not something requiring an applet I create or JMStudio from Sun.

When an opportunity arises, I'm going see if JMF allows for RTSP transmission. I think this will solve the problem. Unfortunately the docs are a little vague on this. More later. If you've worked with JMF, I'd be interested in hearing your thoughts on the subject.

Thursday, February 03, 2005

Java Media Framework

I'm working with that Java Media Framework (JMF) this week. If I'm successful in building a streaming media server, I'll probably write an article on it. Or I may just provide the source code listing on this blog.

If you're reading this and have an interest in JMF, email me and let me know. Also, if there's a Java topic that you would like me to write about, let me know that too. I'm always looking for new topics. I'm developing an article now about network intrusion detection using Java.

Technorati search