Alternatives to libvlc for receiving HTTP based MJPEG video (from Axis IP Camera)? - ip-camera

I need to display a video stream from AXIS IP camera, which is streaming MJPEG video in HTTP. I have tried working with libvlc, but it has some buffering issues. So please suggest the list of alternatives for the same.
System Config: Ubuntu 11.10 operating system running on ATOM based ATMEL tablet.
Thanks in advance
BK
PS: I read a bit about gstreamer, but not sure if it's an overkill here.

After some research, found the following alternatives (for C++ on Linux platform) to receive/display video from an IP camera:
libvlc - nice framework with good documentation; but has buffering issues
opencv - an overkill for the scenario; but otherwise a very good choice
gstreamer - an excellent framework to work with streams; but poor documentation (but consumes more CPU as compared to libvlc)
As of now, narrowed it to gstreamer and got some code working. Can share it, if someone is interested. Any more suggestions/alternatives are welcome.

Related

transmit screen buffer of a specific application to a remote system and reproduce image from that (in windows)

I know, there are apps out there like steam, Xbox that streams the game video onto network. What I want is the same thing but i need to make my own code for the purpose (open source), so that I may amend it for different applications without any copyright issues. I know Winsock programming and can transmit sample videos (mp4 files) but this thing of capturing the display on one system and producing it on some remote system is different and much complicated (i suppose). Plus, the streaming needs to be live with minimum delays. I have access to gigabit ethernet to address slow fps issues but first i need to transmit recieve a sample buffer
If someone please guide me on how to go about it
I think gstreamer is the closest thing to what you want. Look here and here for more info.
Also, look at ffmpeg.
The solution I found is OBS studio. It is open source which allows me to edit the source code as to fulfill my needs. However, I had to implement a nginx-rtmp server on the client end to receive the video. I then used vlc media player to stream the video received by the rtmp server. I have Gtx 960m installed so I implemented harware encoding which allowed me to stream 720p #60 fps over 100 Mbps ethernet cable. The results were drastic when I used software encoder (instead of hardware) before streaming.

How to host audio units in osx

I've been looking through the audio unit documentation for OSX, and I haven't found any good resources about how to host an audio unit in OSx. There are lots of resources for how to build audio units, and some about hosting in IOS. Has anyone seen a good document to this effect?
Thanks
i'm not sure how the samples have changed over the years... it looks like the current related samples don't address the issue in depth.
in the past, there were a few very basic examples which shipped with the DevTools distributions. iirc, these were distributed in the DEVTOOLS/Examples/ or DEVTOOLS/Extras/.
the AU APIs haven't changed a whole lot since they were written (fast dispatch was added along the way...), so the samples should help with the backend. they were written in the era when Cocoa UIs were still very new to AUs, so the frontend will be the aspect that's changed the most.
you may want to look for them in your Xcode 3.0 or Xcode 2.5 installs.
This [1] doc shows how to open audio units from within an OSX app. It doesn't cover the general case of hosting audio units though.
[1] http://developer.apple.com/library/mac/technotes/tn2091/_index.html

openCV mac OSX suggested webcam

Does anyone have a recommendation for a web cam to be used on a mac with opencv?
Thank you!
The internal webcam that comes with their laptop works quite well (rather high quality). You can also get Logitech Orbit (I personally have rather good experience with those).
While OpenCV will work with essentially any USB webcam, there is a great deal of variety in image quality. I have personally had excellent luck with the PS3 Eye Cam in Ubuntu after removing the casing. Even though it is only $25-50, it can run up to 125 Hz and is less susceptible to motion blur. I am not sure how the open source Mac OS X drivers compare to the Linux drivers, but it is worth consideration.

live Video streamming

Can any one tell me how to stream video using mac osX , i need to write an application in mac os for video conferencing please let me know any prerequisites for making this application and what shud i learn for this .
Thanks in advance .
Do you need to do streaming or two-way videoconferencing? The latter is orders of magnitude harder than the former. If you just need streaming (one server, many clients), then QuickTime Broadcaster will do what you want.
Some time ago I used libcurl to stream a video from youtube, libavcodec (from ffmpeg) to decode and parse the data into frames and finally SDL to display it on my Mac OS X.
If you are looking for ffmpeg/SDL code examples, you must check this out:
http://dranger.com/ffmpeg/tutorial02.html
Based on your comment to Josh Wolf, you might want to consider developing an Adobe AIR application (inherently flash, but via whichever OSes you choose), as it already has built-in components for capturing and streaming video.
There's a great alternative for using this kind of service: tinychat.com
You can create a private room there and tell the password only for the people you need to talk to. The best reason for using tinychat.com is that you don't need to install anything.. It does works very well and quickly, and suports 9 broadcasts at the same time, with webcam, audio and/or text chat.

How to do Simple video streaming with ffserver on windows?

I found a tutorial for configuring server here http://www.organicdesign.co.nz/Simple_video_streaming_with_ffserver
but it is for linux... how to do such thing on windows? (with a real web cam)
Dont think ffserver exists on windows, my suggestion is to set up a linux box(ubuntu?) and play with ffserver there :)
Although, I too have read, in older posts, that builds for Windows are non-existing, this morning I found (not me, but google) this blog: https://www.virag.si/2012/11/streaming-live-webm-video-with-ffmpeg/
Comes with a small guide also!
But as an alternative to ffserver, I would recommend rtmplite (you need python, but is extremely easy to use - at least in dev), or if you have java experience and alot of patience and time, red5!
download and install ICECAST server. It works for windows and ffmpeg and lets you live stream a video in mp4 and webm which you can publish and showcase online with html and php. Its the easiest way. I wish someone had told me this but I had to figure this out, thru trial and error. If this doesn't work for you type live stream server software on google search engine. http://icecast.org/ code that should configure it with ffmpeg https://www.ffmpeg.org/doxygen/2.4/icecast_8c_source.html. ffserver does no work for windows and its a huge waste of time.

Resources