Page 1 of 1

[Solved] Another "Error while decoding frame 0"

Posted: Tue Apr 02, 2019 9:55 pm
by w7efs
I found about 100 matches when searching the forums, but haven't yet discovered a solution after reading several of them. vlc displays the Amcrest IP4M-1053EW rtsp low-resolution image correctly with
rtsp://user:passwd@192.168.1.4:554/cam/realmonitor?channel=1&subtype=1 :
roof-vlc.png
roof-vlc.png (85.4 KiB) Viewed 3237 times
The camera is configured this way:
roof-general.png
roof-general.png (62.39 KiB) Viewed 3237 times
roof-source.png
roof-source.png (66.65 KiB) Viewed 3237 times
The Subject: error gets generated very frequently:

Code: Select all

...
Apr 02 13:32:05 hostname zmc_m1[7875]: ERR [256: 00 00 01 61 30 00 06 01 04 00 36 08 10 80 00 00 00 01 00 ...
Apr 02 13:32:06 hostname zmc_m1[7875]: ERR [Error while decoding frame 0]
Apr 02 13:32:06 hostname zmc_m1[7875]: ERR [256: 00 00 01 61 30 00 06 01 04 00 38 08 10 80 00 00 00 01 00 ... 
Apr 02 13:32:06 hostname zmc_m1[7875]: ERR [Error while decoding frame 0]
Apr 02 13:32:06 hostname zmc_m1[7875]: ERR [256: 00 00 01 09 30 00 06 01 04 00 3a 08 10 80 00 61 e0 03 a0  ...
Apr 02 13:32:06 hostname zmc_m1[7875]: ERR [Error while decoding frame 0]
Apr 02 13:32:06 hostname zmc_m1[7875]: ERR [256: 00 00 01 61 30 00 06 01 04 00 3c 08 10 80 00 00 00 01 00  ...
Apr 02 13:32:06 hostname zmc_m1[7875]: ERR [Error while decoding frame 0]
Apr 02 13:32:06 hostname zmc_m1[7875]: ERR [256: 00 00 01 61 30 00 06 01 04 00 3e 08 10 80 00 00 00 01 00  ...
Apr 02 13:32:06 hostname zmc_m1[7875]: ERR [Error while decoding frame 0]
Apr 02 13:32:06 hostname zmc_m1[7875]: ERR [256: 00 00 01 61 30 00 06 01 04 00 40 08 10 80 00 00 00 01 00  ...
Apr 02 13:32:06 hostname zmc_m1[7875]: ERR [Error while decoding frame 0]
Apr 02 13:32:06 hostname zmc_m1[7875]: ERR [256: 00 00 01 61 30 00 06 01 04 00 42 08 10 80 00 00 00 01 00  ...
Apr 02 13:32:06 hostname zmc_m1[7875]: ERR [Error while decoding frame 0]
Apr 02 13:32:06 hostname zmc_m1[7875]: ERR [256: 00 00 01 61 30 00 06 01 04 00 44 08 10 80 00 00 00 01 00  ...
Apr 02 13:32:07 hostname zmc_m1[7875]: ERR [Error while decoding frame 0]
...
I've tried several variations but don't seem to be able to solve the problem after several days.

May I ask for your help, please?

Re: Another "Error while decoding frame 0"

Posted: Thu Apr 04, 2019 5:18 pm
by w7efs
May I please get some assistance diagnosing this problem, please? I can't proceed with using Zoneminder until it becomes functional. I used the Debian easy-install instructions ... mysqld port 3306 and apache2 port 80 appear to be fully functional.

Re: Another "Error while decoding frame 0"

Posted: Thu Apr 04, 2019 11:51 pm
by snake
Here's a few things to try:

Change from Remote to FFMPEG

Change from Remote to LibVLC. If you don't have LibVLC search around for instructions. This might help: https://wiki.zoneminder.com/Welcome?tit ... bvlc&go=Go

See if mplayer can view the video. ($ mplayer rtsp://<ip>:554/etc...). That will use the FFMPEG libraries instead of vlc. You can also use the FFMPEG binary.

Try the other stream.

There may be some settings on the camera that can be adjusted. What are the stream settings?

What is the software / firmware version of your camera?

What have you tried already? Be more specific.

Re: [Solved] Another "Error while decoding frame 0"

Posted: Sat Apr 06, 2019 7:23 pm
by w7efs
Thank you for your feedback. The problem was solved by an OS upgrade to Debian sid, which allowed a zoneminder upgrade to v1.32.3. A different problem was identified in the log after following https://wiki.zoneminder.com/Debian_9_64 ... ntal_Repro until I executed

Code: Select all

chown www-data.www-data /var/cache/zoneminder/{events,images}
so maybe the fact that "mages" was root.root was also my problem with v1.30.4.

Now at least I can start learning about how to use zoneminder. Again, thank you for your suggestions, all good ones.