Commit graph

  • 828b6e786f Fix buffering pts conversion Romain Vimont 2023-03-09 09:05:46 +01:00
  • 34b778d423 Report video buffer downstream errors Romain Vimont 2023-03-01 18:45:22 +01:00
  • 18b60c9641 Stop the video buffer on error Romain Vimont 2023-03-01 18:33:03 +01:00
  • 2b95b5630f Fix possible race condition on video_buffer end Romain Vimont 2023-03-01 18:24:31 +01:00
  • 0e1b173213 Remove sc_queue Romain Vimont 2023-03-01 23:05:17 +01:00
  • a540301e3c Remove cbuf Romain Vimont 2023-03-01 22:54:08 +01:00
  • 29946bccc0 Use VecDeque in aoa_hid Romain Vimont 2023-03-01 22:50:56 +01:00
  • c20a53a17d Use VecDeque in file_pusher Romain Vimont 2023-03-01 22:46:10 +01:00
  • d2d69ddfcb Use VecDeque in controller Romain Vimont 2023-03-01 22:39:11 +01:00
  • 5a41b710f1 Use VecDeque in video_buffer Romain Vimont 2023-03-01 22:21:43 +01:00
  • d8a48e871c Use VecDeque in recorder Romain Vimont 2023-03-01 21:42:51 +01:00
  • 2615143711 Introduce VecDeque Romain Vimont 2023-02-28 22:56:37 +01:00
  • 931bc84548 Add sc_allocarray() util Romain Vimont 2023-02-28 21:48:18 +01:00
  • 31c763fc62 Use reallocarray() in sc_vector Romain Vimont 2023-02-28 21:49:44 +01:00
  • 20eeab921a Add compat for reallocarray() Romain Vimont 2023-02-28 21:43:19 +01:00
  • 93de9739c7 Call avcodec_receive_frame() in a loop Romain Vimont 2023-02-28 21:20:28 +01:00
  • ce924d8f05 Add --require-audio Romain Vimont 2023-02-28 21:19:43 +01:00
  • 47f67412e4 Add workaround to capture audio on Android 11 Simon Chan 2023-01-30 00:42:09 +08:00
  • 51016950cb Add two-step write feature to bytebuf Romain Vimont 2023-02-25 18:45:05 +01:00
  • 7203e58ebf Introduce bytebuf util Romain Vimont 2023-02-25 14:32:02 +01:00
  • 25f213e4a6 Pass AVCodecContext to frame sinks Romain Vimont 2023-02-25 16:19:58 +01:00
  • cb25bed2f5 Add an audio decoder Romain Vimont 2023-02-24 21:31:39 +01:00
  • d4407f1289 Give a name to decoder instances Romain Vimont 2023-02-24 21:22:35 +01:00
  • 1daf8e8611 Rename decoder to video_decoder Romain Vimont 2023-02-24 21:13:56 +01:00
  • 4c24ea50ed Log display sizes in display list Romain Vimont 2023-02-23 23:12:24 +01:00
  • eb39365737 Add --list-displays Romain Vimont 2023-02-23 23:10:15 +01:00
  • 46169618a5 Move log message helpers to LogUtils Romain Vimont 2023-02-23 23:09:25 +01:00
  • 1a3c61a77b Quit on audio configuration failure Romain Vimont 2023-02-23 21:27:11 +01:00
  • fe9166a88c Add --list-encoders Romain Vimont 2023-02-22 23:15:15 +01:00
  • e4eae49eed Move await_for_server() logs Romain Vimont 2023-02-22 23:12:21 +01:00
  • 0b24cb930c Add --audio-encoder Romain Vimont 2023-02-19 20:20:29 +01:00
  • 8edb1c8eef Extract unknown encoder error message Romain Vimont 2023-02-19 20:03:04 +01:00
  • 775789e50b Add --audio-codec-options Romain Vimont 2023-02-22 22:48:23 +01:00
  • b3641dc025 Extract application of codec options Romain Vimont 2023-02-19 20:03:04 +01:00
  • 5c24f32651 Add support for AAC audio codec Romain Vimont 2023-02-18 19:30:36 +01:00
  • 7b0977c7d9 Add --audio-codec Romain Vimont 2023-02-18 19:05:43 +01:00
  • b992191572 Add --audio-bit-rate Romain Vimont 2023-02-18 18:32:43 +01:00
  • a6de3e67b2 Disable MethodLength checkstyle on createOptions() Romain Vimont 2023-02-19 02:27:39 +01:00
  • 94a14e7fd0 Rename --encoder to --video-encoder Romain Vimont 2023-02-22 22:44:01 +01:00
  • bf3b1c70df Rename --codec-options to --video-codec-options Romain Vimont 2023-02-21 21:46:34 +01:00
  • 4950d5c846 Rename --bit-rate to --video-bit-rate Romain Vimont 2023-02-21 19:56:44 +01:00
  • 3f98478ad7 Rename --codec to --video-codec Romain Vimont 2023-02-20 21:19:36 +01:00
  • 4e7bc84a4e Remove default bit-rate on client side Romain Vimont 2023-02-18 18:21:14 +01:00
  • ef2bb6787d Record at least video packets on stop Romain Vimont 2023-02-19 00:55:36 +01:00
  • 7daebaadae Disable audio before Android 11 Romain Vimont 2023-02-19 15:24:08 +01:00
  • 2bc9b687db Disable audio on initialization error Romain Vimont 2023-02-18 18:09:18 +01:00
  • 0a1451b301 Add audio recording support Romain Vimont 2023-02-18 18:02:43 +01:00
  • d499e96d0e Rename video-specific variables in recorder Romain Vimont 2023-02-15 10:06:10 +01:00
  • ef22893b7c Do not merge config audio packets Romain Vimont 2023-02-18 17:37:58 +01:00
  • fd655b0b79 Add an audio demuxer Romain Vimont 2023-02-06 10:33:47 +01:00
  • ddef08a0f7 Force --no-audio if no display and no recording Romain Vimont 2023-03-02 13:49:53 +01:00
  • 5be8cb79c4 Give a name to demuxer instances Romain Vimont 2023-02-19 00:13:54 +01:00
  • 0bb7f08d95 Rename demuxer to video_demuxer Romain Vimont 2023-02-06 10:08:01 +01:00
  • aff7b7f26a Extract OPUS extradata Romain Vimont 2023-02-18 17:35:54 +01:00
  • 160de07e8a Use a streamer to send the audio stream Romain Vimont 2023-02-09 21:37:16 +01:00
  • 805d85dc3b Encode recorded audio on the device Romain Vimont 2023-02-07 23:08:57 +01:00
  • 29c04995b4 Make streamer more generic Romain Vimont 2023-03-03 14:07:32 +01:00
  • 03a553f590 Capture device audio Simon Chan 2023-01-27 20:13:37 +08:00
  • e2aa3cca52 Add a new socket for audio stream Simon Chan 2023-02-03 16:50:42 +01:00
  • de1dfae169 Add --no-audio option Simon Chan 2023-02-03 16:27:34 +01:00
  • b6a8b6f91a Use FakeContext for Application instance Romain Vimont 2023-01-31 22:48:50 +01:00
  • 2346148827 Use shell package name for workarounds Romain Vimont 2023-01-31 22:33:30 +01:00
  • 27918a501c Use ROOT_UID from FakeContext Romain Vimont 2023-02-26 22:29:58 +01:00
  • 631801ce3e Use PACKAGE_NAME from FakeContext Romain Vimont 2023-01-31 22:32:33 +01:00
  • 884d0ec246 Use AttributionSource from FakeContext Romain Vimont 2023-01-31 22:31:15 +01:00
  • db0c5bc066 Add a fake Android Context Simon Chan 2023-01-27 20:13:37 +08:00
  • 681fde542d Improve error message for unknown encoder Romain Vimont 2023-02-19 19:58:05 +01:00
  • fb12118190 Rename "codec" variable to "mediaCodec" Romain Vimont 2023-02-19 19:51:50 +01:00
  • a1d84709ca Make streamer independent of codec type Romain Vimont 2023-02-06 14:52:09 +01:00
  • 77277238b3 Pass all args to ScreenEncoder constructor Romain Vimont 2023-02-06 13:46:19 +01:00
  • b9ee7c5852 Move screen encoder initialization Romain Vimont 2023-02-06 14:09:20 +01:00
  • ec6641b519 Write streamer header from ScreenEncoder Romain Vimont 2023-02-06 11:57:37 +01:00
  • 8fb9c28c59 Use VideoStreamer directly from ScreenEncoder Romain Vimont 2023-02-06 11:44:18 +01:00
  • 836f0042af Simplify error handling on socket creation Romain Vimont 2023-02-03 16:53:44 +01:00
  • 245cf146c5 Reorder initialization Romain Vimont 2023-02-23 12:36:59 +01:00
  • adaf02957e Refactor recorder logic Romain Vimont 2023-02-18 12:07:30 +01:00
  • 2238a64c2f Move last packet recording Romain Vimont 2023-02-18 12:07:05 +01:00
  • 6a19814779 Add start() function for recorder Romain Vimont 2023-02-23 11:00:34 +01:00
  • a2ff5750e7 Open recording file from the recorder thread Romain Vimont 2023-02-14 09:25:50 +01:00
  • f87ae8e0e7 Inline packet_sink impl in recorder Romain Vimont 2023-02-14 09:37:36 +01:00
  • 528841f294 Initialize recorder fields from init() Romain Vimont 2023-02-14 08:40:44 +01:00
  • 2517c9c31e Report recorder errors Romain Vimont 2023-02-10 18:10:24 +01:00
  • 0704441b16 Move previous packet to a local variable Romain Vimont 2023-02-17 09:01:48 +01:00
  • f98dc5525d Move pts_origin to a local variable Romain Vimont 2023-02-17 08:46:11 +01:00
  • 778c7c0a88 Change PTS origin type from uint64_t to int64_t Romain Vimont 2023-02-17 08:41:03 +01:00
  • 932e82e89b Fix --encoder documentation Romain Vimont 2023-02-19 20:06:30 +01:00
  • 4d719da424 Do not print stacktraces when unnecessary Romain Vimont 2023-02-19 19:36:46 +01:00
  • 7d571e502a Fix --no-clipboard-autosync bash completion Romain Vimont 2023-02-22 19:08:24 +01:00
  • 982c292794 Split server stop() and join() Romain Vimont 2023-02-22 18:41:22 +01:00
  • f5447f4391 Print FFmpeg logs Romain Vimont 2023-02-23 13:25:04 +01:00
  • 123a4d9575 Move FFmpeg callback initialization Romain Vimont 2023-02-23 12:49:42 +01:00
  • c91e56ac1f Upgrade FFmpeg custom builds for Windows Romain Vimont 2023-03-03 19:46:13 +01:00
  • d391de17c9 Upgrade FFmpeg (6.0) for Windows Romain Vimont 2023-02-28 11:56:42 +01:00
  • 06ba2e9402 Use minimal prebuilt FFmpeg for Windows Romain Vimont 2023-02-27 21:43:48 +01:00
  • 428cbd13ec Simplify libusb prebuilt scripts Romain Vimont 2023-02-27 21:43:34 +01:00
  • c1e9d837e0 Warn on ignored audio options audio.124 Romain Vimont 2023-03-03 21:58:57 +01:00
  • fd5000a3c2 Add --audio-codec=raw option Romain Vimont 2023-03-03 21:19:37 +01:00
  • 7292f0f013 Add raw audio recorder Romain Vimont 2023-03-03 21:14:28 +01:00
  • 7c6b7cd952 Extract audio recorder interface Romain Vimont 2023-03-03 18:49:05 +01:00
  • df12314656 Extract audio capture Romain Vimont 2023-03-03 18:46:59 +01:00