Conversation
|
This appears to include absolutely everything, including my multi-server stuff. Do not merge this pull request. |
|
@POKKAHOH once you remove all the extra stuff from your pull request, you may want to collaborate with @chriswiggins before resubmitting it. He is working on h264 related changes in the feature-h264-storage branch. It may be more appropriate to push your changes to that branch. Issue #39 is where the current discussion is regarding this topic. |
|
@POKKAHOH, this looks good. Are you able to go into a little more detail outlining exactly what you've done? As said you'll also need to fix up this pull request so that it doesn't have all the other history. I've also noticed that in each of your commit messages you also have the patch pasted there? No need for that |
|
This looks promising even though that I haven't checked the entire patch so far. It might fix RTSP related issues I'm having at the moment as well. Looking forward to see this request being merged after a quick clean-up. |
Decode fragmented NAL Understand sprop-parametr-sets Don't check unsetted video format (zm_remote_camera_rtsp.cpp)
ok, i do this ... (i hope) |
|
Hi @POKKAHOH - the commit looks better this time, as it has only your one (not every commit lime before). However the software is failing to build with your commit. The failures are these: |
|
I'm chatting with him on irc at the moment, if you'd like to join in. |
Property 'title' and 'comment' not supported.
|
https://travis-ci.org/ZoneMinder/ZoneMinder/builds/11864050 |
|
Your latest commit 25ff325 was automatically appended to this pull request. |
|
git push origin rtsp-updates devil`s machine... in fact... I think - third commit is closed request with fail... |
|
Okay, this looks much better than before. |
|
Okay the issues have been corrected. This looks good, but i'm personally unable to test it because i dont have any RTSP equipment. |
|
I have an axis camera that can do an RTSP stream. Shall I merge and test? |
|
I pulled down your branch and added the RTSP stream from my axis camera. The monitor was red and I couldn't see live streams or zones. I'll post more info shortly. |
|
Here is what I am getting when adding my RTSP stream. If you need access to my stream for testing, let me know. |
|
@kylejohnson - 2 things |
|
Hi @POKKAHOH You can access my stream here: rtsp://public:public@camera.gnulnx.net:554/axis-media/media.amp Kyle |
|
BTW I'm about to upgrade the firmware on my camera, so it might be down for the next hour. |
More RTSP support, decoding fragmented NAL, understand sprop-parametr-sets * Can now view more RTSP streams (including newer Axis cameras) * Decode fragmented NAL * Understand sprop-parametr-sets * Don't check unsetted video format (zm_remote_camera_rtsp.cpp) * Remove #else errors for avutils/ffmpeg
|
@POKKAHOH can you please post your zm config for the hikvision cameras? I have a DS-2CD2132-I and I'm having trouble getting a stable stream. |
|
Hello... I'm sorry I did not answer immediately this link show all configuration Two points ... what version of ffmpeg you have installed? and what options are compiled when building ffmpeg? Pictures made by reference toffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers built on Sep 25 2013 14:39:45 with gcc 4.6.3 configuration: - enable-gpl - enable-shared - enable-pthreads - enable-libfreetype - enable-swscale libavutil 51. 35,100 / 51. 35.100 libavcodec 53. 61.100 / 53. 61.100 libavformat 53. 32,100 / 53. 32.100 libavdevice 53. 4,100 / 53. 4.100 libavfilter 2. 61.100 / 2. 61.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100 12.10.2013, 18:58, "jan--m" notifications@github.com:@POKKAHOH can you please post your zm config for the hikvision cameras? I have a DS-2CD2132-I and I'm having trouble getting a stable stream.—Reply to this email directly or view it on GitHub. |
|
More pictures1.26.3 - view of my test camhikvision - version DSP & firmware 12.10.2013, 18:58, "jan--m" notifications@github.com:@POKKAHOH can you please post your zm config for the hikvision cameras? I have a DS-2CD2132-I and I'm having trouble getting a stable stream.—Reply to this email directly or view it on GitHub. |
|
@POKKAHOH your config images didn't come through...can you please repost? I used puppet-zoneminder on ubuntu 12.04 so ffmpeg compiled with... For Method: RTP/RTSP with Host Path: /h264/ch1/sub/av_stream For Type: Ffmpeg with Path: rtsp://admin:12345@192.168.5.240/h264/ch1/sub/av_stream And ffprobe doesn't recognize it either, even if I raise the options... |
|
Hello... According to your question, as I see FFmpeg also does not decode "H264". I know that hikvision have its own implementation of the h264 protocol, which is different from the standard ... And more ... I've never worked with asub-streams, and always used the main. And more more ... :) if use live555 - you can decode this sub-stream? |
|
Hi, Thanks for the info! ffmpeg was compiled with libx264 (tried both package and source) so it must have H264 support. RTSP with the / path looks promising with about 0.5 FPS...and the following errors... My firmware was released half a year ago (V5.0.0 130412) but unfortunately no MJPEG support... I can feed a still image to ZM using this HTTP path: /Streaming/channels/1/picture I will probably end up using a combination of ZM (for still images) and hikvision's record-to-nfs (for videos)...at least until #39 is implemented and hopefully RTSP will have better FPS by then. |
|
What can I say ... we need to do the normal support RTSP / RTP, my "patch" is just an adaptation of a patch of warmcat, a reference to which kindly provided @knnniggett (#39 (comment)) |
|
@kylejohnson Thoughts anyone? |
|
That thread looks promising...unfortunately 1.26.3 (compiled using puppet's env variables) fails for me... Even though ffmpeg recognizes the stream... |
|
@jan--m - Check your version of zoneminder, in the current master branch line 209 is commented out |
|
@knnniggett, I tested the patch with FFmpeg 10.2/10.4 ... The error occurs after the call after avcodec_decode_video2, may be in the current version of FFmpeg something has changed ... I can not verify this for the next week: (you'll have to wait |
|
I have the same isue with hickvision cameras i have 10 of them, It works perfect with live555, how about to use live555 rtsp client inbstead of ffmpeg? |
|
@ALL - see http://www.zoneminder.com/forums/viewtopic.php?p=81755#p81755. Now I returned from a business trip... from monday look at modern version of ffmpeg. In future planned make full support rtsp stream and some patches to NLS. |
|
codabiz from zm forum wrote: For example, the latest Ubuntu Server 12.04.03 version has libavcodec version 53 However, avcodec.decode_video is deprecated since libavcodec54. Yet your latest ffmpeg is compiled with avcodec_decode_video2 ( in libavcodec55). So is there an ffmpeg mismatch, or a conflict of versions going on? Just a novice thought!" I think the reason is that ... just need to add the directive conditional compilation ... |





Hello, this is patch allow recive native rtsp H264 stream (test on hickvision).
Based on http://www.box.net/shared/cquevqnorf