Is there any point to pursuing h.264 capture if mjpeg works?

Forum for questions and support relating to the 1.25.x releases only.
Post Reply
TheKorn
Posts: 142
Joined: Fri Aug 02, 2013 12:39 pm

Is there any point to pursuing h.264 capture if mjpeg works?

Post by TheKorn » Mon Aug 26, 2013 11:10 pm

I have a camera (d-link dcs-5010l) that I have working just fine with zoneminder using MJPEG. It also has H.264 output, but while I've been able to isolate the stream I haven't quite figured out how to get that part working with zoneminder.

My question is simple... should I even bother with the effort to get h.264 capture working? It's a SD (not HD) camera, 640x480. It's happy to do 15 fps via mjpeg, and that's what I run my other cameras at. Is there any real reason for me to pursue h264 for this camera? It'd probably require a bit of leg work and hacking around, and I'm just wondering if there's any great reason to spend the time doing so. (i.e. "what's the payback?")

Thoughts?

bb99
Posts: 943
Joined: Wed Apr 02, 2008 12:04 am

Re: Is there any point to pursuing h.264 capture if mjpeg wo

Post by bb99 » Mon Aug 26, 2013 11:40 pm

You'll need to compare the streams on your machine. Have you used FFMpeg as the source for the h.264 stream? usually very painless.

TheKorn
Posts: 142
Joined: Fri Aug 02, 2013 12:39 pm

Re: Is there any point to pursuing h.264 capture if mjpeg wo

Post by TheKorn » Tue Aug 27, 2013 1:37 am

bb99 wrote:You'll need to compare the streams on your machine.
I don't understand... compare them... for what?
Have you used FFMpeg as the source for the h.264 stream? usually very painless.
Yep, it says that it's locked on but doesn't grab any video, and eventually starts writing errors to the log. I had to run a network sniffer to find the actual url for the h264 stream. (VLC won't play it either, for what it's worth. Locks on, but no video.)

(I already have a working h264 high def camera, so I know *how* to get things working, they just don't out of the box with this camera. So I'm wondering if the pain is worth the gain, and so far I can't see any gain but am wondering if I'm missing something.)

bb99
Posts: 943
Joined: Wed Apr 02, 2008 12:04 am

Re: Is there any point to pursuing h.264 capture if mjpeg wo

Post by bb99 » Tue Aug 27, 2013 4:28 am

Compare Mjpeg to rstp. Are you using FFmpeg on your other rstp stream? If not you got lucky. Rtp/rstp basically has been limited from the beginning of it's implementation and FFmpeg is the only way to bring in these streams to ZM. Search the forums and don't forget about the options switches that can be applied to your output.

TheKorn
Posts: 142
Joined: Fri Aug 02, 2013 12:39 pm

Re: Is there any point to pursuing h.264 capture if mjpeg wo

Post by TheKorn » Tue Aug 27, 2013 7:23 am

bb99 wrote:Compare Mjpeg to rstp. Are you using FFmpeg on your other rstp stream?
Yeah, I'm using ffmpeg to receive my HD camera's stream.
Rtp/rstp basically has been limited from the beginning of it's implementation and FFmpeg is the only way to bring in these streams to ZM. Search the forums and don't forget about the options switches that can be applied to your output.
Hang on man, you're going a mile a minute here. What am I searching *for*? Nobody else has this camera (it's new), so searching for that doesn't help. As far as I can tell, the only options on the camera are configurable via its web interface, it doesn't have a command line at all! I've pretty much been using the wiki to configure zoneminder so far.

TheKorn
Posts: 142
Joined: Fri Aug 02, 2013 12:39 pm

Re: Is there any point to pursuing h.264 capture if mjpeg wo

Post by TheKorn » Tue Aug 27, 2013 7:24 am

(And you can't search for "ffmpeg" because it's too common!)

TheKorn
Posts: 142
Joined: Fri Aug 02, 2013 12:39 pm

Re: Is there any point to pursuing h.264 capture if mjpeg wo

Post by TheKorn » Wed Aug 28, 2013 3:59 pm

Search the forums and don't forget about the options switches that can be applied to your output.
Still no idea what I should be searching for, any hints? Thanks.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest