Camera Audio is not play

Forum for questions and support relating to 1.33.x development only.
Locked
PuneetGocher
Posts: 4
Joined: Tue Feb 19, 2019 10:36 am

Camera Audio is not play

Post by PuneetGocher »

I am trying to connect camera from my DVR IP address.Camera video stream is working but no audio.Please suggest which option need to configure for audio.
Pedulla
Posts: 167
Joined: Thu Nov 27, 2014 11:16 am
Location: Portland, Or

Re: Camera Audio is not play

Post by Pedulla »

Audio only records when the given monitor's type is ffmpeg and the storage option is set to h264 passthrough with the audio checked.

You can test with ffmpeg from the command line and see if the output file plays sound.
Something like this:

Code: Select all

ffmpeg -i rtsp://user:password@camIP:554/Streaming/Channels/101 -c:v copy -c:a aac foo.mp4
The path stuff in the url after the port will be specific to your camera's RSTP url.
PuneetGocher
Posts: 4
Joined: Tue Feb 19, 2019 10:36 am

Re: Camera Audio is not play

Post by PuneetGocher »

Audio is not played during live streaming(live view).
Pedulla
Posts: 167
Joined: Thu Nov 27, 2014 11:16 am
Location: Portland, Or

Re: Camera Audio is not play

Post by Pedulla »

LOL, that too... :/
PuneetGocher
Posts: 4
Joined: Tue Feb 19, 2019 10:36 am

Re: Camera Audio is not play

Post by PuneetGocher »

Yes the FFMPEG command is running audio with the visual perfectly. But while we look at he the monitor(camera) on zoneminder from the console window it only shows the video without the audio.I am talking about being able to hear sound along with visual from during live streaming in the page mentioned in the screenshot.
Screenshot from 2019-02-20 12-09-52.png
Screenshot from 2019-02-20 12-09-52.png (364.32 KiB) Viewed 10144 times
User avatar
asker
Posts: 1553
Joined: Sun Mar 01, 2015 12:12 pm

Re: Camera Audio is not play

Post by asker »

PuneetGocher wrote: Wed Feb 20, 2019 6:40 am I am talking about being able to hear sound along with visual from during live streaming in the page mentioned in the screenshot.
ZM doesn't support audio playback for live streams. Only for recorded events.
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.

Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Locked