Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
111.02k stars 10.64k forks source link

Is it possible to record the video merging with the audio flowing by usbaudio (rom1v/usbaudio) in Linux #690

Closed aleksmarcelo closed 4 years ago

aleksmarcelo commented 5 years ago

Would be nice to have an extra option to also record the audio, something like --audioin / -ai , so the video captured could be nicely be recorded with the sound too.

Thank you

rom1v commented 5 years ago

USBaudio is a hacky temporary solution. It was first implemented in a separate branch of scrcpy (#14), but it was not viable.

Instead, I think we should implement proper audio forwarding from Android Q: https://developer.android.com/preview/features/playback-capture

That way, we will receive audio packets, and we could encode/mux them along with the video stream.

aleksmarcelo commented 5 years ago

+1

Em dom, 4 de ago de 2019 13:28, Romain Vimont notifications@github.com escreveu:

USBaudio is a hacky temporary solution. It was first implemented in a separate branch of scrcpy (#14 https://github.com/Genymobile/scrcpy/issues/14), but it was not viable.

Instead, I think we should implement proper audio forwarding from Android Q: https://developer.android.com/preview/features/playback-capture

That way, we will receive audio packets, and we could encode/mux them along with the video stream.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Genymobile/scrcpy/issues/690?email_source=notifications&email_token=AAY2Q4PEHQHDDTUHVPTYWZLQC37RNA5CNFSM4IJFVWP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3QFCCI#issuecomment-518017289, or mute the thread https://github.com/notifications/unsubscribe-auth/AAY2Q4IDOQMYH4XNON6EDFTQC37RNANCNFSM4IJFVWPQ .