[Solved] Another "Error while decoding frame 0"

Forum for questions and support relating to the 1.30.x releases only.
Locked
w7efs
Posts: 3
Joined: Wed Mar 27, 2019 11:57 pm

[Solved] Another "Error while decoding frame 0"

Post 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 3099 times
The camera is configured this way:
roof-general.png
roof-general.png (62.39 KiB) Viewed 3099 times
roof-source.png
roof-source.png (66.65 KiB) Viewed 3099 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?
Last edited by w7efs on Sat Apr 06, 2019 7:09 pm, edited 1 time in total.
w7efs
Posts: 3
Joined: Wed Mar 27, 2019 11:57 pm

Re: Another "Error while decoding frame 0"

Post 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.
User avatar
snake
Posts: 337
Joined: Sat May 21, 2016 2:20 am

Re: Another "Error while decoding frame 0"

Post 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.
w7efs
Posts: 3
Joined: Wed Mar 27, 2019 11:57 pm

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

Post 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.
Locked