2 servers with the same camera, one cannot do h265

Forum for questions and support relating to the 1.32.x releases only.
Post Reply
chandi13
Posts: 5
Joined: Mon Jan 07, 2019 8:18 pm

2 servers with the same camera, one cannot do h265

Post by chandi13 » Tue Jan 08, 2019 3:41 pm

Hi!

Thanks again for everything you guys do for the community! It's very appreciated.

I have 2 servers running 1.32.3 and only one of them cannot stream h265.

1-Rasberry pi 3b+ : h265 works fine
ffmpeg
Save JPEGS
Video writer: disabled
source: rtsp://192.168.1.22:554/stream2

2-Ubuntu 16.04: h265 Can't find codec for video stream from rtsp://192.168.1.22:554/stream2
same settings


The 2nd server does have an ffmpeg version compiled with h265.
#ffmpeg -codecs | grep 265
DEV.L. hevc H.265 / HEVC (High Efficiency Video Coding) (decoders: hevc hevc_cuvid ) (encoders: libx265 nvenc_hevc hevc_nvenc )

I get this result from the official build installed via apt-get.

Since the Raspberry is not powerful enough, I want to use the 2nd server to become my main server.


What I've tried so far:
1-Update ffmpeg to the latest (I get the same result)
2-Build the package myself (I get the same result)
3-Build a package with 1.33.1 (i get the same result).

Any idea what I can do to make it work or at least to see some progress?

regards,

Chandi

chandi13
Posts: 5
Joined: Mon Jan 07, 2019 8:18 pm

Re: 2 servers with the same camera, one cannot do h265

Post by chandi13 » Tue Jan 08, 2019 3:55 pm

I forgot to paste error logs:

I see a lot of these:
01/08/19 10:51:27.934690 zmc_m2[15468].INF-zm_ffmpeg.cpp/64 [Non-increasing DTS in stream 0: packet 186 with DTS 395872, packet 187 with DTS 395872

and these:
01/08/19 10:52:53.993320 zmc_m2[26926].ERR-zm_ffmpeg_camera.cpp/511 [Can't find codec for video stream from rtsp://admin:admin@192.168.1.26:554/stream2]
01/08/19 10:52:54.047477 zmc_m2[26926].ERR-zmc.cpp/253 [Failed to prime capture of initial monitor]
01/08/19 10:53:13.853457 zmc_m2[26989].INF-zmc.cpp/223 [Starting Capture version 1.33.1]
01/08/19 10:53:13.853849 zmc_m2[26989].INF-zm_ffmpeg_camera.cpp/163 [Priming capture from rtsp://admin:admin@92.168.1.26:554/stream2]
01/08/19 10:53:13.921726 zmc_m2[26989].ERR-zm_ffmpeg_camera.cpp/357 [Unable to open input rtsp://admin:admin@92.168.1.26:554/stream2 due to: Interrupted system call]
01/08/19 10:53:13.956818 zmc_m2[26989].ERR-zmc.cpp/253 [Failed to prime capture of initial monitor]


And also say that the feed works in VLC.

Is using the VLC source type a good idea in this context? I get a lot of error messages when I use it (both h264 and h265) but I'm asking myself if it's worth investigating.

Regards,

Chandi

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest