Can't find codec for video stream

Forum for questions and support relating to the 1.30.x releases only.
Post Reply
gmc
Posts: 5
Joined: Fri Mar 18, 2016 7:21 pm

Can't find codec for video stream

Post by gmc » Fri Dec 14, 2018 1:34 pm

I'm trying to get ZM 1.30.4 working on OpenSuse Leap 15.0

Previously I had ZM working on Ubuntu but the server crashed and I can't rebuild. Have decided to use my OpenSuse server but strugggling to get stream working.

2/14/18 13:28:11.274525 zmc_m3[13829].INF-zm_ffmpeg_camera.cpp/104 [Priming capture from rtsp://admin:admin@192.168.1.65:554/12]
12/14/18 13:28:17.010162 zmc_m3[13829].FAT-zm_ffmpeg_camera.cpp/316 [Can't find codec for video stream from rtsp://admin:admin@192.168.1.65:554/12]

I've checked that the path to ffmpeg is correct and its installed.

ffmpeg version 3.4.4 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 7 (SUSE Linux)

libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavdevice 57. 10.100 / 57. 10.100
libavfilter 6.107.100 / 6.107.100
libavresample 3. 7. 0 / 3. 7. 0
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
libpostproc 54. 7.100 / 54. 7.100

Any ideas what I can check for this issue?

User avatar
iconnor
Posts: 633
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Can't find codec for video stream

Post by iconnor » Fri Dec 14, 2018 2:02 pm

ffmpeg -codecs | grep h264

check in your camera what /12 is supposed to be sending. I think that's the substream and that is often mjpeg... which should be ok, but maybe it is set to something else.

gmc
Posts: 5
Joined: Fri Mar 18, 2016 7:21 pm

Re: Can't find codec for video stream

Post by gmc » Fri Dec 14, 2018 2:13 pm

..V.LS h264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10

Not sure what the /12 is supposed to be sending. Its the second stream (640x352)

I have also tried opening the link with VLC and the image is being correctly stream from my desktop.

I have 4 different types of camera all giving the same issue. All configured with ONVIF

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests