Send Motion-user mailing list submissions to
        motion-user@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/motion-user
or, via email, send a message with subject or body 'help' to
        motion-user-requ...@lists.sourceforge.net

You can reach the person managing the list at
        motion-user-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Motion-user digest..."


Today's Topics:

   1. Re: H.265 (HEVC) netcam and motion (Scott Holmes)
   2. Re: H.265 (HEVC) netcam and motion (MrDave)


----------------------------------------------------------------------

Message: 1
Date: Wed, 4 Jul 2018 23:57:14 +0000 (UTC)
From: Scott Holmes <vk7...@yahoo.com>
To: Motion Discussion List <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] H.265 (HEVC) netcam and motion
Message-ID: <358654491.2861451.1530748634...@mail.yahoo.com>
Content-Type: text/plain; charset="utf-8"

Some more info.

I've tried a few different URLs for the camera.? All work in Motion with the 
camera configured for H.264.? All fail to work in Motion, but work in VLC 
Viewer when the camera has H.265 compression enabled:


rtsp://192.168.10.217/Streaming/Channels/1/rtsp://192.168.10.217/Streaming/Channels/101/
rtsp://192.168.10.217/h264/ch1/main/av_stream
rtsp://192.168.10.217/h265/ch1/main/av_stream


Note that specifying the compression protocol in the URL does not change it.? 
Both the URLs with "h264" and "h265" just return a video stream with whatever 
compression the camera has been configured to use at the time.

When I connect VLC Viewer to the camera with H.265 compression enabled, VLC 
Viewer reports the following Codec info:

Codec: MPEG-H Part2/HEVC (H.265) (hevc)
Resolution: 2560x1440
Decoded format: Planar 4:2:0 YUV


Running motion with -d 6 results in the following output (it just keeps 
repeating):

[1:ml1] [NTC] [VID] vid_start: Opening Netcam RTSP
[1:ml1] [ERR] [NET] netcam_rtsp_open_context: Normal resolution: Unable to find 
stream info: Operation not permitted
[1:ml1] [NTC] [NET] netcam_rtsp_cleanup: Normal resolution: Shut down complete.
[1:ml1] [ERR] [VID] vid_start: Netcam RTSP failed to open
[1:ml1] [WRN] [ALL] mlp_retry: Retrying until successful connection with camera
[1:ml1] [NTC] [VID] vid_start: Opening Netcam RTSP
[1:ml1] [ERR] [NET] netcam_rtsp_open_context: Normal resolution: Unable to find 
stream info: Operation not permitted
[1:ml1] [NTC] [NET] netcam_rtsp_cleanup: Normal resolution: Shut down complete.
[1:ml1] [ERR] [VID] vid_start: Netcam RTSP failed to open
[1:ml1] [NTC] [ALL] mlp_capture: Video signal lost - Adding grey image
[1:ml1] [WRN] [ALL] mlp_retry: Retrying until successful connection with camera
[1:ml1] [NTC] [VID] vid_start: Opening Netcam RTSP

Running motion with -d 8 results in this logging output:

[1:ml1] [INF] [NET] [Jul 05 09:29:48] netcam_url_parse: Using port number 554
[1:ml1] [INF] [NET] [Jul 05 09:29:48] netcam_rtsp_set_path: Setting up rtsp via 
ffmpeg netcam
[1:ml1] [INF] [NET] [Jul 05 09:29:48] netcam_rtsp_set_rtsp: Normal resolution: 
Setting rtsp transport to tcp
[1:ml1] [INF] [NET] [Jul 05 09:29:49] netcam_rtsp_open_context: Normal 
resolution: Opened camera((null))
[1:ml1] [INF] [ENC] [Jul 05 09:29:49] ffmpeg_avcodec_log: Non-increasing DTS in 
stream 0: packet 2 with DTS 0, packet 3 with DTS 0
[1:ml1] [INF] [ENC] [Jul 05 09:29:49] ffmpeg_avcodec_log: Non-increasing DTS in 
stream 0: packet 3 with DTS 0, packet 4 with DTS 0
[1:ml1] [INF] [ENC] [Jul 05 09:29:49] ffmpeg_avcodec_log: Non-increasing DTS in 
stream 0: packet 4 with DTS 0, packet 5 with DTS 0
[1:ml1] [INF] [ENC] [Jul 05 09:29:49] ffmpeg_avcodec_log: Non-increasing DTS in 
stream 0: packet 5 with DTS 0, packet 6 with DTS 0

Motion continues to output a very large number of lines similar to the last 
four above.

-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 2
Date: Wed, 4 Jul 2018 18:29:18 -0600
From: MrDave <motionmrd...@gmail.com>
To: motion-user@lists.sourceforge.net
Subject: Re: [Motion-user] H.265 (HEVC) netcam and motion
Message-ID: <373db5ae-2648-ce32-bd1a-155e68b5f...@gmail.com>
Content-Type: text/plain; charset="utf-8"; Format="flowed"


I would say to try ffplay with the url to be sure in addition to 
checking all the parameters inside the camera set up.? Some of my 
cameras are H265 and they work.


On 7/4/2018 5:57 PM, Scott Holmes via Motion-user wrote:
> Some more info.
>
> I've tried a few different URLs for the camera.? All work in Motion 
> with the camera configured for H.264.? All fail to work in Motion, but 
> work in VLC Viewer when the camera has H.265 compression enabled:
>
>     rtsp://192.168.10.217/Streaming/Channels/1/
>     rtsp://192.168.10.217/Streaming/Channels/101/
>     rtsp://192.168.10.217/h264/ch1/main/av_stream
>     rtsp://192.168.10.217/h265/ch1/main/av_stream
>
>
> Note that specifying the compression protocol in the URL does not 
> change it.? Both the URLs with "h264" and "h265" just return a video 
> stream with whatever compression the camera has been configured to use 
> at the time.
>
> When I connect VLC Viewer to the camera with H.265 compression 
> enabled, VLC Viewer reports the following Codec info:
>
>     Codec: MPEG-H Part2/HEVC (H.265) (hevc)
>     Resolution: 2560x1440
>     Decoded format: Planar 4:2:0 YUV
>
>
> Running motion with -d 6 results in the following output (it just 
> keeps repeating):
>
> [1:ml1] [NTC] [VID] vid_start: Opening Netcam RTSP
> [1:ml1] [ERR] [NET] netcam_rtsp_open_context: Normal resolution: 
> Unable to find stream info: Operation not permitted
> [1:ml1] [NTC] [NET] netcam_rtsp_cleanup: Normal resolution: Shut down 
> complete.
> [1:ml1] [ERR] [VID] vid_start: Netcam RTSP failed to open
> [1:ml1] [WRN] [ALL] mlp_retry: Retrying until successful connection 
> with camera
> [1:ml1] [NTC] [VID] vid_start: Opening Netcam RTSP
> [1:ml1] [ERR] [NET] netcam_rtsp_open_context: Normal resolution: 
> Unable to find stream info: Operation not permitted
> [1:ml1] [NTC] [NET] netcam_rtsp_cleanup: Normal resolution: Shut down 
> complete.
> [1:ml1] [ERR] [VID] vid_start: Netcam RTSP failed to open
> [1:ml1] [NTC] [ALL] mlp_capture: Video signal lost - Adding grey image
> [1:ml1] [WRN] [ALL] mlp_retry: Retrying until successful connection 
> with camera
> [1:ml1] [NTC] [VID] vid_start: Opening Netcam RTSP
>
> Running motion with -d 8 results in this logging output:
>
> [1:ml1] [INF] [NET] [Jul 05 09:29:48] netcam_url_parse: Using port 
> number 554
> [1:ml1] [INF] [NET] [Jul 05 09:29:48] netcam_rtsp_set_path: Setting up 
> rtsp via ffmpeg netcam
> [1:ml1] [INF] [NET] [Jul 05 09:29:48] netcam_rtsp_set_rtsp: Normal 
> resolution: Setting rtsp transport to tcp
> [1:ml1] [INF] [NET] [Jul 05 09:29:49] netcam_rtsp_open_context: Normal 
> resolution: Opened camera((null))
> [1:ml1] [INF] [ENC] [Jul 05 09:29:49] ffmpeg_avcodec_log: 
> Non-increasing DTS in stream 0: packet 2 with DTS 0, packet 3 with DTS 0
> [1:ml1] [INF] [ENC] [Jul 05 09:29:49] ffmpeg_avcodec_log: 
> Non-increasing DTS in stream 0: packet 3 with DTS 0, packet 4 with DTS 0
> [1:ml1] [INF] [ENC] [Jul 05 09:29:49] ffmpeg_avcodec_log: 
> Non-increasing DTS in stream 0: packet 4 with DTS 0, packet 5 with DTS 0
> [1:ml1] [INF] [ENC] [Jul 05 09:29:49] ffmpeg_avcodec_log: 
> Non-increasing DTS in stream 0: packet 5 with DTS 0, packet 6 with DTS 0
>
> Motion continues to output a very large number of lines similar to the 
> last four above.
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>
>
> _______________________________________________
> Motion-user mailing list
> Motion-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/motion-user
> https://motion-project.github.io/
>
> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user

-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

------------------------------

Subject: Digest Footer

_______________________________________________
Motion-user mailing list
Motion-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/motion-user


------------------------------

End of Motion-user Digest, Vol 145, Issue 11
********************************************

Reply via email to