Haiku Camera H.264

bighorn

Member
How do I get my H.264 DVR to connect to Haiku? I have a 16 channel Q-See QT426 camera that I would like to access via Haiku instead of a serperate camera viewing app.

Thanks!
 
It does not support mjpeg ouput.
Are you planning to provide support in the near future? It is my understanding that many of the newer higher end dvrs are ussing H.264. Thanks.
 
The problem is that the video is usually sent over RTSP, which iOS does not support for H.264. What options does your DVR give for streaming the video?
 
The problem is that the video is usually sent over RTSP, which iOS does not support for H.264. What options does your DVR give for streaming the video?
Are you sure? I have an h.264 RTSP stream working on my iOS devices right now; the image displays inline in the device's configuration page, and you can bring up the RTSP stream directly in IP cam viewer.
 
Are you sure? I have an h.264 RTSP stream working on my iOS devices right now; the image displays inline in the device's configuration page, and you can bring up the RTSP stream directly in IP cam viewer.

RTSP is not built in to iOS, but there are libraries like Live555 that will compile to iOS so you an get the raw compressed H.264 frames. However unless somethings changed since I last looked, hardware accelerated decode of H.264 cannot be done directly only pointing the iOS AV player to a HTTP Live Streaming stream can you get HW Acc. Without that even 320x240 would be struggle to do in H.264 software decode.

Most IPCam apps that support audio are using the MJPEG video stream since that is so easy to decode and display, and are using Live555 to connect to the RTSP audio stream only as that can be reasonably done in software.

I would imagine some IP cams and DVR simply support the HTTP LIve streaming spec now since it's pretty easy to do if your already server RTSP, then your iOS clients just work.
 
You're a bit out of my comfort zone as I just haven't taken the time to learn as much about the cameras and protocols; but in this example, I have a megapixel IP camera - specifically a Ubiquiti AirCam - it does not support mjpeg or mp4; only h.264. I use IP Cam Viewer - I choose Type of Generic RTSP over TCP, and I give it a URL of RTSP://myhome.dyndns.org:554/live/ch00_0 (which is the full resolution stream I use in VLC) and it comes up just fine and performs pretty well. I also have a matrix screen that shows 6 cameras simultaneously - and though the rest are mp4 I believe, it shows them all pretty well with no stutter or notice of performance degradation. This to me implies that it must be possible some how!

Also I'll note that I have this same program and configuration going on an original iPad and an iPhone 4S.
 
Ok, just doing some quick research it seems Apple may have opened up hardware accelerated decode to any video stream since I last tried: http://stackoverflow...656390#10656390

When VLC first came out on the iPhone it was a software only decode and could barely do 320x240 MP4 let alone H.264.

So with a third party RTSP library and AVAssetReader lupinglade should be able to implement H.264 camera support, although having done this myself with an audio stream from an IP camera it may not be a simple implementation to glue all that together.
 
Yeah I did some research after these posts and came to a similar conclusion; that what you remembered was how Apple acted early on, but they started to loosen up a bit. I don't do iOS development, so this is about as far as I can offer anything useful..
 
hi , new to this community.

but I am sure I can answer your questions.

iPhone does not natively support rtsp.

all IP camera viewers available use ffmpeg and one of a handful of libraries to decode the video.

Live 555 offers one

Another which is here

https://github.com/mooncatventures-group
 
Since this question was raised in August, I was wondering if there have been any advancements in the ability of Haiku to support H264 cameras?

I just purchased a SWANN set, and am just now realizing I won't be able to see the cameras in my Haiku iPad app since there is no option on the SWANN DVR4-2500 to stream via mpeg.
 
lupinglade said:
HaikuHelper does support H.264 over RTSP in the next update, but Haiku still does not.
 
Now that were nearing the end of the first quarter in '13, I was wondering if there's an update to support RTSP in Haiku yet?  Is it close?
 
Unfortunately this is still not really possible, we've spent some time researching it and doing some testing but the type of streaming needed seems to not be supported on iOS even with third party libraries such as ffmpeg.
 
Back
Top