mirror of
https://github.com/Genymobile/scrcpy
synced 2025-09-01 06:45:40 +00:00
Add recording to opus file
Use the FFmpeg opus muxer to record an opus file. PR #3978 <https://github.com/Genymobile/scrcpy/pull/3978>
This commit is contained in:
@@ -23,12 +23,14 @@ enum sc_record_format {
|
||||
SC_RECORD_FORMAT_MKV,
|
||||
SC_RECORD_FORMAT_M4A,
|
||||
SC_RECORD_FORMAT_MKA,
|
||||
SC_RECORD_FORMAT_OPUS,
|
||||
};
|
||||
|
||||
static inline bool
|
||||
sc_record_format_is_audio_only(enum sc_record_format fmt) {
|
||||
return fmt == SC_RECORD_FORMAT_M4A
|
||||
|| fmt == SC_RECORD_FORMAT_MKA;
|
||||
|| fmt == SC_RECORD_FORMAT_MKA
|
||||
|| fmt == SC_RECORD_FORMAT_OPUS;
|
||||
}
|
||||
|
||||
enum sc_codec {
|
||||
|
Reference in New Issue
Block a user