Skip to content

Tplink Tapo camera stream volume #1696

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
m1tchy24 opened this issue Apr 13, 2025 · 5 comments
Open

Tplink Tapo camera stream volume #1696

m1tchy24 opened this issue Apr 13, 2025 · 5 comments
Labels
enhancement New feature or request

Comments

@m1tchy24
Copy link

Is there a way of increasing the audio output of tapo:// streams? Or reencode using ffmpeg for 2 way audio?
If I use the rstp stream from the camera with ffmpeg:rstp:// then I can increase the volume however if I switch to the tapo:// stream then I have 2 way but the audio is too low.

Thanks,

Tom

@AlexxIT AlexxIT added question Further information is requested enhancement New feature or request and removed question Further information is requested labels Apr 14, 2025
@AlexxIT
Copy link
Owner

AlexxIT commented Apr 14, 2025

At this moment, any change to video or audio can be done through transcoding (ffmpeg).
Theoretically it is not difficult to change PCMA volume without transcoding. I will leave such a task for the distant future.

@m1tchy24
Copy link
Author

m1tchy24 commented Apr 14, 2025

@AlexxIT how would i do this? Whatever i do, the audio stream is just not loud enough, sound to the camera from the pc works well however sound from the camera is extremely quite.
below is my config

go2rtc:
  streams:
    bedroom_camera:
      - ffmpeg:rtsp://XXUSERNAMEXX:XXPASSWORDXX@192.168.0.149:554/stream1#video=copy#audio=copy#audio=aac#audio=volume#video=h264#hardware
      - tapo://admin:XXCLOUD PASSWORDXX@192.168.0.149 

    bedroom_camera_sub:
      - ffmpeg:rtsp://XXUSERNAMEXX:XXPASSWORDXX@192.168.0.149:554/stream2#video=h264#hardware
  ffmpeg:
    #bin: ffmpeg
    volume: -af "volume=50dB" ## Tried and made no difference
    #volume: '-af \"volume=40"' ##tried and made no difference

  webrtc:
    candidates:
      - 127.0.0.1:8555
      - stun:8555

@AlexxIT
Copy link
Owner

AlexxIT commented Apr 15, 2025

Try looking at the settings of the mobile app. There might be a camera volume settings.

@m1tchy24
Copy link
Author

m1tchy24 commented Apr 15, 2025

@AlexxIT
I don't believe there is:
I've just looked over my ask and apologies if the ask has come over wrong. - the camera speaker volume is fine
What I'm trying to achieve:
Tapo camera to Hass go2rtc using frigate
-increase audio of video stream as the audio is extremely quiet. (The microphone volume from pc/phone to the camera is perfect) (The stream itself from the camera for utilising 2 way audio is not loud enough therefore I can't hear what the individual camera side is saying)

@AlexxIT
Copy link
Owner

AlexxIT commented Apr 15, 2025

I've seen similar issues, but I haven't come across it myself. Your approach with ffmpeg is correct. You just need to choose the right parameters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants