yi-hack-v5 icon indicating copy to clipboard operation
yi-hack-v5 copied to clipboard

No audio ?

Open Maastodonte opened this issue 3 years ago • 5 comments

Hi, I'm from yi-hack-v4 and then new to the yi-hack-v5.

I flashed smoothlly the v5 on my Yi Cloud Dome 1080p. After a quick tour I'm wondering if there is a way to get a separate audio input from the camera like in the v4 with a uri like /ch0_2.aac ? It is quite handy with a baby :)

Thanks for your answers.

I won't mind either if there is already a flux with audio and video together ;)

Maastodonte avatar Jun 18 '21 22:06 Maastodonte

yeah, just migrated and discovered NO audio..thats quite a bummer :/ I only use onvif/rtsp and not the yi app..connected via agentdvr to record

pkishino avatar Jul 08 '21 03:07 pkishino

i tried setting rtsp_audio=yes in the system.conf but no difference to the stream.. it did cause another stream to show in the web page:

Only audio stream | rtsp://10.1.125.100/ch0_2.h264

but this one does not load

pkishino avatar Jul 08 '21 03:07 pkishino

yes it only sounds through mi app and record files but when connecting via rtsp there is no sound, * use YI Outdoor Camera

akbaryahya avatar Sep 06 '21 10:09 akbaryahya

Yikes, so this custom firmware doesn't do audio at all on rtsp streams? Obviously it would need to be a stream. No idea how two different streams would even be useful even if it was provided.

MACscr avatar Jun 06 '22 07:06 MACscr

I've got the same problem. No sound :(

kapabel avatar Jun 29 '22 02:06 kapabel

The next release 0.3.7(?) will support audio over RTSP

alienatedsec avatar Dec 05 '22 20:12 alienatedsec

So i guess still no audio? the 0.3.7 beta notes are a bit confusing. Says audio is next in the 0.3.7 notes, so its not included as you had previously mentioned?

MACscr avatar Jan 01 '23 03:01 MACscr

So i guess still no audio? the 0.3.7 beta notes are a bit confusing. Says audio is next in the 0.3.7 notes, so its not included as you had previously mentioned?

Unfortunately, I had to release another version with no audio, but the RTSP sound is already in the code. However, there are problems with HA if Audio is enabled as the platform does not support the audio format. I will think if it is worth releasing this way

alienatedsec avatar Jan 03 '23 14:01 alienatedsec

What is the audio format? Why isn’t it in an rtsp format that the generic camera feature of HA can use?- MarkOn Jan 3, 2023, at 9:13 AM, alienatedsec @.***> wrote:

So i guess still no audio? the 0.3.7 beta notes are a bit confusing. Says audio is next in the 0.3.7 notes, so its not included as you had previously mentioned?

Unfortunately, I had to release another version with no audio, but the RTSP sound is already in the code. However, there are problems with HA if Audio is enabled as the platform does not support the audio format. I will think if it is worth releasing this way

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

MACscr avatar Jan 07 '23 00:01 MACscr

Is it possible to enable audio in the current build through configuration or does it require a new release?

Loafdude avatar Mar 31 '23 06:03 Loafdude

@Loafdude new release - the code is right there

alienatedsec avatar Mar 31 '23 06:03 alienatedsec

Yes I see the code is in master. Is there a guide to setting up a dev environment anywhere? Or could someone compile current master for y20?

Loafdude avatar Apr 02 '23 21:04 Loafdude

OK I was able to compile. (Yikes that SDK needs a lot of patching!)

Enabling audio seems to break both the low and high quality streams on my builds. I've disabled both cloud, onvif. Only things enabled are SSH, RTSP and Audio.

VLC begins to play back then I loose audio and video becomes very laggy. VLC Statistics show: image

Disabling audio plays back 100% normally.

It could be my build. Perhaps someone can confirm? I'm using a Home 1080p.

The h264grabber -r audio is only using 1.3% cpu. Nothing seems out of line there.

Perhaps the audio stream is malformed and VLC is choking on it?

I understand it's experimental. Just trying to help out!

Loafdude avatar Apr 05 '23 05:04 Loafdude

Oh I forgot to mention that the audio only stream appears to work fine

Loafdude avatar Apr 05 '23 05:04 Loafdude

@Loafdude @Maastodonte I need a couple more days to release another version with audio support.

alienatedsec avatar Apr 05 '23 07:04 alienatedsec

No problem, let me know if I can be helpful. I will test once available.

Loafdude avatar Apr 06 '23 02:04 Loafdude

This issue has been stale for 30 days - it will be closed within the next 7 days if not updated

github-actions[bot] avatar Jul 08 '23 06:07 github-actions[bot]

Please try #263

alienatedsec avatar Jul 12 '23 13:07 alienatedsec

This issue has been stale for 30 days - it will be closed within the next 7 days if not updated

github-actions[bot] avatar Aug 13 '23 06:08 github-actions[bot]