Skip to content
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

No audio output received #5655

Open
bheeshmpita opened this issue Dec 12, 2024 · 6 comments
Open

No audio output received #5655

bheeshmpita opened this issue Dec 12, 2024 · 6 comments

Comments

@bheeshmpita
Copy link

Environment

  • OS: Linux Mint
  • Scrcpy version: 3.1
  • Installation method: manual build
  • Device model: Phone: samsung galaxy m34, Laptop specs: i3 3rd gen with 4 GB ram
  • Android version: 14

Describe the bug

On screen mirroring using scrcpy, I get no audio output at the computer, rest everything works as expected but while playing video, the mirroring buffers while in phone it plays smoothly.
I mirror wirelessly as guided in the scrcpy wiki.

On errors, please provide the output of the console (and adb logcat if relevant).

VERBOSE: input: touch [id=mouse] hover-move position=431,285 pressure=1.000000 action_button=000000 buttons=000000
VERBOSE: input: touch [id=mouse] hover-move position=470,303 pressure=1.000000 action_button=000000 buttons=000000
VERBOSE: input: touch [id=mouse] hover-move position=502,313 pressure=1.000000 action_button=000000 buttons=000000
VERBOSE: input: touch [id=mouse] hover-move position=540,327 pressure=1.000000 action_button=000000 buttons=000000
VERBOSE: input: touch [id=mouse] hover-move position=573,337 pressure=1.000000 action_button=000000 buttons=000000
VERBOSE: input: touch [id=mouse] hover-move position=603,354 pressure=1.000000 action_button=000000 buttons=000000
VERBOSE: input: touch [id=mouse] hover-move position=621,362 pressure=1.000000 action_button=000000 buttons=000000
VERBOSE: input: touch [id=mouse] hover-move position=621,368 pressure=1.000000 action_button=000000 buttons=000000
DEBUG: [Audio] Buffering threshold exceeded, skipping 6 samples
DEBUG: [Audio] Buffer underflow, inserting silence: 238 samples
DEBUG: [Audio] Buffer underflow, inserting silence: 240 samples
DEBUG: [Audio] Buffer underflow, inserting silence: 240 samples
DEBUG: [Audio] Buffer underflow, inserting silence: 240 samples
DEBUG: [Audio] Buffer underflow, inserting silence: 240 samples
DEBUG: [Audio] Buffer underflow, inserting silence: 240 samples
DEBUG: [Audio] Buffer underflow, inserting silence: 233 samples
DEBUG: [Audio] Buffer underflow, inserting silence: 240 samples
DEBUG: [Audio] Buffer underflow, inserting silence: 240 samples
DEBUG: [Audio] Buffer underflow, inserting silence: 240 samples
DEBUG: [Audio] Buffer underflow, inserting silence: 240 samples
DEBUG: [Audio] Buffer underflow, inserting silence: 240 samples
DEBUG: [Audio] Buffering threshold exceeded, skipping 254 samples
DEBUG: [Audio] Buffering threshold exceeded, skipping 962 samples
DEBUG: [Audio] Buffering threshold exceeded, skipping 962 samples
DEBUG: [Audio] Buffering threshold exceeded, skipping 482 samples
DEBUG: [Audio] Buffering threshold exceeded, skipping 2 samples
VERBOSE: [Audio] Buffering: target=2400 avg=2668.146240 cur=4578 compensation=-268
DEBUG: [Audio] Buffering threshold exceeded, skipping 254 samples
DEBUG: [Audio] Buffering threshold exceeded, skipping 478 samples
DEBUG: [Audio] Buffer underflow, inserting silence: 2 samples
DEBUG: [Audio] Buffer underflow, inserting silence: 240 samples
DEBUG: [Audio] Buffer underflow, inserting silence: 240 samples
DEBUG: [Audio] Buffer underflow, inserting silence: 240 samples
DEBUG: [Audio] Buffer underflow, inserting silence: 240 samples
DEBUG: [Audio] Buffer underflow, inserting silence: 240 samples
DEBUG: [Audio] Buffer underflow, inserting silence: 240 samples
DEBUG: [Audio] Buffer underflow, inserting silence: 10 samples
DEBUG: [Audio] Buffer underflow, inserting silence: 240 samples
DEBUG: [Audio] Buffering threshold exceeded, skipping 231 samples
DEBUG: [Audio] Buffering threshold exceeded, skipping 479 samples
DEBUG: [Audio] Buffering threshold exceeded, skipping 473 samples
DEBUG: [Audio] Buffering threshold exceeded, skipping 468 samples
VERBOSE: [Audio] Buffering: target=2400 avg=2592.961670 cur=5259 compensation=-192
VERBOSE: [Audio] Buffering: target=2400 avg=3273.088379 cur=4970 compensation=-873
^CDEBUG: User requested to quit
DEBUG: quit...
DEBUG: Controller stopped
DEBUG: Server disconnected
DEBUG: Server terminated
DEBUG: Demuxer 'video': end of frames
DEBUG: Receiver stopped
DEBUG: Demuxer 'audio': end of frames


@rom1v
Copy link
Collaborator

rom1v commented Dec 12, 2024

If your record, is audio recorded?

scrcpy --record=file.mp4

Then play the file.

@bheeshmpita
Copy link
Author

Then play the file.

There was no audio in the recorded file.

@rom1v
Copy link
Collaborator

rom1v commented Dec 12, 2024

OK so the problem is on the device.

Does it work with another device?

@bheeshmpita
Copy link
Author

Does it work with another device?

here device means laptop?

@rom1v
Copy link
Collaborator

rom1v commented Dec 12, 2024

No, Android device.

@bheeshmpita
Copy link
Author

my other device is android 6 so doesnt support audio forwarding, any other way i can check the issue is device related?

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

No branches or pull requests

2 participants