Commit graph

  • 93bbcd53cd Use delay buffer as a frame source/sink Romain Vimont 2023-03-02 21:30:24 +01:00
  • d19c03d015 Use frame source trait in decoder Romain Vimont 2023-03-02 09:37:36 +01:00
  • 8dac37fff0 Introduce frame source trait Romain Vimont 2023-03-02 09:25:25 +01:00
  • 0f5205ad7b Use packet source trait in demuxer Romain Vimont 2023-03-02 09:20:37 +01:00
  • 94ec920eff Introduce packet source trait Romain Vimont 2023-03-02 09:07:25 +01:00
  • 9ac466ad84 Extract sc_delay_buffer Romain Vimont 2023-03-02 00:31:43 +01:00
  • 9c0f8c7d2f Report video buffer downstream errors Romain Vimont 2023-03-01 18:45:22 +01:00
  • 099445a77a Stop the video buffer on error Romain Vimont 2023-03-01 18:33:03 +01:00
  • ecc2f3f25c Fix possible race condition on video_buffer end Romain Vimont 2023-03-01 18:24:31 +01:00
  • 7e4c1328e3 Remove sc_queue Romain Vimont 2023-03-01 23:05:17 +01:00
  • da8fb85c29 Remove cbuf Romain Vimont 2023-03-01 22:54:08 +01:00
  • c2c0910a19 Use VecDeque in aoa_hid Romain Vimont 2023-03-01 22:50:56 +01:00
  • 4eb8263068 Use VecDeque in file_pusher Romain Vimont 2023-03-01 22:46:10 +01:00
  • 4dbd665796 Use VecDeque in controller Romain Vimont 2023-03-01 22:39:11 +01:00
  • 4daf4c1161 Use VecDeque in video_buffer Romain Vimont 2023-03-01 22:21:43 +01:00
  • fc4ece9d6a Use VecDeque in recorder Romain Vimont 2023-03-01 21:42:51 +01:00
  • abeaa9ae07 Introduce VecDeque Romain Vimont 2023-02-28 22:56:37 +01:00
  • e9b98ed367 Add sc_allocarray() util Romain Vimont 2023-02-28 21:48:18 +01:00
  • 2e1cdf204a Use reallocarray() in sc_vector Romain Vimont 2023-02-28 21:49:44 +01:00
  • 6bb37abd4b Add compat for reallocarray() Romain Vimont 2023-02-28 21:43:19 +01:00
  • 7ae7543de2 Call avcodec_receive_frame() in a loop Romain Vimont 2023-02-28 21:20:28 +01:00
  • fd0a82ba93 Add --require-audio Romain Vimont 2023-02-28 21:19:43 +01:00
  • 81fb51e625 Add compat support for FFmpeg < 5.1 Romain Vimont 2023-02-27 21:41:27 +01:00
  • d7ebacf956 Add workaround to capture audio on Android 11 Simon Chan 2023-01-30 00:42:09 +08:00
  • 5105824d59 Add audio player Romain Vimont 2023-03-03 00:43:20 +01:00
  • 1fc03c73b1 Add two-step write feature to bytebuf Romain Vimont 2023-02-25 18:45:05 +01:00
  • 45b17282e1 Introduce bytebuf util Romain Vimont 2023-02-25 14:32:02 +01:00
  • ac0724b388 Pass AVCodecContext to frame sinks Romain Vimont 2023-02-25 16:19:58 +01:00
  • 92537b9d7c Add an audio decoder Romain Vimont 2023-02-24 21:31:39 +01:00
  • d661d39765 Give a name to decoder instances Romain Vimont 2023-02-24 21:22:35 +01:00
  • d2ce33eeae Rename decoder to video_decoder Romain Vimont 2023-02-24 21:13:56 +01:00
  • e89ffb9c92 Log display sizes in display list Romain Vimont 2023-02-23 23:12:24 +01:00
  • 0eeca46d5c Add --list-device-displays Romain Vimont 2023-02-23 23:10:15 +01:00
  • e97d556905 Move log message helpers to LogUtils Romain Vimont 2023-02-23 23:09:25 +01:00
  • 771a63f9d4 Quit on audio configuration failure Romain Vimont 2023-02-23 21:27:11 +01:00
  • 4b8c200e7e Add --list-encoders Romain Vimont 2023-02-22 23:15:15 +01:00
  • 0134786ce7 Move await_for_server() logs Romain Vimont 2023-02-22 23:12:21 +01:00
  • 5275d4fa16 Add --audio-encoder Romain Vimont 2023-02-19 20:20:29 +01:00
  • b0c3191682 Extract unknown encoder error message Romain Vimont 2023-02-19 20:03:04 +01:00
  • de3e1cc77a Add --audio-codec-options Romain Vimont 2023-02-22 22:48:23 +01:00
  • 1c4000c151 Extract application of codec options Romain Vimont 2023-02-19 20:03:04 +01:00
  • 5dbd6a3971 Add support for AAC audio codec Romain Vimont 2023-02-18 19:30:36 +01:00
  • 07388d8509 Add --audio-codec Romain Vimont 2023-02-18 19:05:43 +01:00
  • ebabae2045 Add --audio-bit-rate Romain Vimont 2023-02-18 18:32:43 +01:00
  • 779994f06a Disable MethodLength checkstyle on createOptions() Romain Vimont 2023-02-19 02:27:39 +01:00
  • c3dd91cf72 Rename --encoder to --video-encoder Romain Vimont 2023-02-22 22:44:01 +01:00
  • f40d7b78c2 Rename --codec-options to --video-codec-options Romain Vimont 2023-02-21 21:46:34 +01:00
  • 30622c169a Rename --bit-rate to --video-bit-rate Romain Vimont 2023-02-21 19:56:44 +01:00
  • 1feaeed8ea Rename --codec to --video-codec Romain Vimont 2023-02-20 21:19:36 +01:00
  • c649e2a4c1 Remove default bit-rate on client side Romain Vimont 2023-02-18 18:21:14 +01:00
  • fd019753fb Record at least video packets on stop Romain Vimont 2023-02-19 00:55:36 +01:00
  • 2fda50851c Disable audio before Android 11 Romain Vimont 2023-02-19 15:24:08 +01:00
  • 4e67dbd0e2 Disable audio on initialization error Romain Vimont 2023-02-18 18:09:18 +01:00
  • 71238dbe53 Add record audio support Romain Vimont 2023-02-18 18:02:43 +01:00
  • 29b479bcf9 Rename video-specific variables in recorder Romain Vimont 2023-02-15 10:06:10 +01:00
  • 10cb52265f Do not merge config audio packets Romain Vimont 2023-02-18 17:37:58 +01:00
  • 94718156f1 Add an audio demuxer Romain Vimont 2023-02-06 10:33:47 +01:00
  • 2301ad3353 Force --no-audio if no display and no recording Romain Vimont 2023-03-02 13:49:53 +01:00
  • b72280bcc3 Give a name to demuxer instances Romain Vimont 2023-02-19 00:13:54 +01:00
  • c813002f0a Rename demuxer to video_demuxer Romain Vimont 2023-02-06 10:08:01 +01:00
  • af12bdf05b Extract OPUS extradata Romain Vimont 2023-02-18 17:35:54 +01:00
  • e69871ae8a Use a streamer to send the audio stream Romain Vimont 2023-02-09 21:37:16 +01:00
  • c7845387cf Encode recorded audio on the device Romain Vimont 2023-02-07 23:08:57 +01:00
  • 26553129d4 Capture device audio Simon Chan 2023-01-27 20:13:37 +08:00
  • 87bb26fe61 Add a new socket for audio stream Simon Chan 2023-02-03 16:50:42 +01:00
  • 0457253655 Add --no-audio option Simon Chan 2023-02-03 16:27:34 +01:00
  • 484f38be1c Use FakeContext for Application instance Romain Vimont 2023-01-31 22:48:50 +01:00
  • 013bf96cd0 Use shell package name for workarounds Romain Vimont 2023-01-31 22:33:30 +01:00
  • 3c090b3d9e Use ROOT_UID from FakeContext Romain Vimont 2023-02-26 22:29:58 +01:00
  • 31068ee607 Use PACKAGE_NAME from FakeContext Romain Vimont 2023-01-31 22:32:33 +01:00
  • e23366fb4e Use AttributionSource from FakeContext Romain Vimont 2023-01-31 22:31:15 +01:00
  • b5ae5bf6bb Add a fake Android Context Simon Chan 2023-01-27 20:13:37 +08:00
  • e068fe43cf Improve error message for unknown encoder Romain Vimont 2023-02-19 19:58:05 +01:00
  • 883a998c10 Rename "codec" variable to "mediaCodec" Romain Vimont 2023-02-19 19:51:50 +01:00
  • 3c670dc52a Make streamer independent of codec type Romain Vimont 2023-02-06 14:52:09 +01:00
  • af1f00bece Pass all args to ScreenEncoder constructor Romain Vimont 2023-02-06 13:46:19 +01:00
  • 7853c4c303 Move screen encoder initialization Romain Vimont 2023-02-06 14:09:20 +01:00
  • bbb025bcf3 Write streamer header from ScreenEncoder Romain Vimont 2023-02-06 11:57:37 +01:00
  • 9e4d7f59d7 Use VideoStreamer directly from ScreenEncoder Romain Vimont 2023-02-06 11:44:18 +01:00
  • 89c3de5498 Simplify error handling on socket creation Romain Vimont 2023-02-03 16:53:44 +01:00
  • 0d8644d3ff Reorder initialization Romain Vimont 2023-02-23 12:36:59 +01:00
  • f0660df102 Refactor recorder logic Romain Vimont 2023-02-18 12:07:30 +01:00
  • ddd9c8b4a8 Move last packet recording Romain Vimont 2023-02-18 12:07:05 +01:00
  • ed14c56be4 Add start() function for recorder Romain Vimont 2023-02-23 11:00:34 +01:00
  • 0af71d2bd8 Open recording file from the recorder thread Romain Vimont 2023-02-14 09:25:50 +01:00
  • e1deb7077c Inline packet_sink impl in recorder Romain Vimont 2023-02-14 09:37:36 +01:00
  • 92b5c297b4 Initialize recorder fields from init() Romain Vimont 2023-02-14 08:40:44 +01:00
  • 92bc1a37ae Report recorder errors Romain Vimont 2023-02-10 18:10:24 +01:00
  • 37c9c3cb50 Move previous packet to a local variable Romain Vimont 2023-02-17 09:01:48 +01:00
  • 83c20a10db Move pts_origin to a local variable Romain Vimont 2023-02-17 08:46:11 +01:00
  • c6cd4ff8fe Change PTS origin type from uint64_t to int64_t Romain Vimont 2023-02-17 08:41:03 +01:00
  • 8eef96012b Fix --encoder documentation Romain Vimont 2023-02-19 20:06:30 +01:00
  • 3619efa7d4 Do not print stacktraces when unnecessary Romain Vimont 2023-02-19 19:36:46 +01:00
  • 4fecf4e49e Fix --no-clipboard-autosync bash completion Romain Vimont 2023-02-22 19:08:24 +01:00
  • 3015224135 Split server stop() and join() Romain Vimont 2023-02-22 18:41:22 +01:00
  • 2381a61798 Print FFmpeg logs Romain Vimont 2023-02-23 13:25:04 +01:00
  • 3ab2840fd5 Move FFmpeg callback initialization Romain Vimont 2023-02-23 12:49:42 +01:00
  • 2bdee9b31c Upgrade FFmpeg custom builds for Windows Romain Vimont 2023-03-03 19:46:13 +01:00
  • 8131d1f00e Upgrade FFmpeg (6.0) for Windows Romain Vimont 2023-02-28 11:56:42 +01:00
  • 17b9d149cf Use minimal prebuilt FFmpeg for Windows Romain Vimont 2023-02-27 21:43:48 +01:00