Commit Graph

  • 90d88a6927 Rename "codec" variable to "mediaCodec" Romain Vimont 2023-02-19 19:51:50 +01:00
  • 10ce0f376a Make streamer independent of codec type Romain Vimont 2023-02-06 14:52:09 +01:00
  • c226797991 Pass all args to ScreenEncoder constructor Romain Vimont 2023-02-06 13:46:19 +01:00
  • ae9b08b905 Move screen encoder initialization Romain Vimont 2023-02-06 14:09:20 +01:00
  • 51628201b7 Write streamer header from ScreenEncoder Romain Vimont 2023-02-06 11:57:37 +01:00
  • ae29e5b562 Use VideoStreamer directly from ScreenEncoder Romain Vimont 2023-02-06 11:44:18 +01:00
  • 5b2ec66222 Simplify error handling on socket creation Romain Vimont 2023-02-03 16:53:44 +01:00
  • ef6a3b97a7 Reorder initialization Romain Vimont 2023-02-23 12:36:59 +01:00
  • f9efe48aac Refactor recorder logic Romain Vimont 2023-02-18 12:07:30 +01:00
  • 4b246cd963 Move last packet recording Romain Vimont 2023-02-18 12:07:05 +01:00
  • 3c407773e9 Add start() function for recorder Romain Vimont 2023-02-23 11:00:34 +01:00
  • a039124d5d Open recording file from the recorder thread Romain Vimont 2023-02-14 09:25:50 +01:00
  • 6b5dfef923 Inline packet_sink impl in recorder Romain Vimont 2023-02-14 09:37:36 +01:00
  • fb29135591 Initialize recorder fields from init() Romain Vimont 2023-02-14 08:40:44 +01:00
  • b1b33e3eaf Report recorder errors Romain Vimont 2023-02-10 18:10:24 +01:00
  • db5751a76a Move previous packet to a local variable Romain Vimont 2023-02-17 09:01:48 +01:00
  • b6744e7887 Move pts_origin to a local variable Romain Vimont 2023-02-17 08:46:11 +01:00
  • 181fb555bb Change PTS origin type from uint64_t to int64_t Romain Vimont 2023-02-17 08:41:03 +01:00
  • fa99763668 Fix --encoder documentation Romain Vimont 2023-02-19 20:06:30 +01:00
  • b43938fa66 Do not print stacktraces when unnecessary Romain Vimont 2023-02-19 19:36:46 +01:00
  • 9f8e96e895 Fix --no-clipboard-autosync bash completion Romain Vimont 2023-02-22 19:08:24 +01:00
  • c78254fcd1 Split server stop() and join() Romain Vimont 2023-02-22 18:41:22 +01:00
  • e30e692b36 Print FFmpeg logs Romain Vimont 2023-02-23 13:25:04 +01:00
  • 10e8295aea Move FFmpeg callback initialization Romain Vimont 2023-02-23 12:49:42 +01:00
  • f30fd963a1 Upgrade FFmpeg custom builds for Windows Romain Vimont 2023-03-03 19:46:13 +01:00
  • 9d60d7880b Upgrade FFmpeg (6.0) for Windows Romain Vimont 2023-02-28 11:56:42 +01:00
  • 0fc62bfcd6 Use minimal prebuilt FFmpeg for Windows Romain Vimont 2023-02-27 21:43:48 +01:00
  • a20615066d Simplify libusb prebuilt scripts Romain Vimont 2023-02-27 21:43:34 +01:00
  • a373a47544 Document audio player audio.145 Romain Vimont 2023-03-09 19:21:47 +01:00
  • 426d510ef0 Decrease recorder thread priority Romain Vimont 2023-03-08 21:40:39 +01:00
  • f71419fd55 Increase audio thread priority Romain Vimont 2023-03-08 21:37:27 +01:00
  • 4e85c48592 Add thread priority API Romain Vimont 2023-03-08 21:34:42 +01:00
  • ff82852f28 Print info logs to stdout Romain Vimont 2023-03-08 20:13:08 +01:00
  • 9f8f312c50 Print server logs and newline in one call Romain Vimont 2023-03-08 20:07:03 +01:00
  • 68d3a327a1 Warn on ignored audio options Romain Vimont 2023-03-03 21:58:57 +01:00
  • b08deb5224 Add --audio-codec=raw option Romain Vimont 2023-03-03 21:19:37 +01:00
  • 2611f7f0ca Add raw audio recorder Romain Vimont 2023-03-03 21:14:28 +01:00
  • 81838f1678 Extract async processor interface Romain Vimont 2023-03-03 18:49:05 +01:00
  • 5fff56ee6f Extract audio capture Romain Vimont 2023-03-03 18:46:59 +01:00
  • 7c0338c3e6 Stop on decoder frame push error Romain Vimont 2023-03-03 00:42:51 +01:00
  • cdd0cdbceb Add --audio-buffer Romain Vimont 2023-03-02 23:14:01 +01:00
  • aaea8e106f Add compat support for FFmpeg < 5.1 Romain Vimont 2023-02-27 21:41:27 +01:00
  • cc8023fcf8 Add audio player Romain Vimont 2023-03-03 00:43:20 +01:00
  • a8bfb1c3ef Optionally do not delay the first frame Romain Vimont 2023-03-02 22:33:31 +01:00
  • 0f957645cc Accept clock estimation with a single point Romain Vimont 2023-03-02 22:13:48 +01:00
  • 55158932d2 Remove anonymous struct in delay buffer Romain Vimont 2023-03-02 21:30:24 +01:00
  • a5ebd16d5c Use delay buffer as a frame source/sink Romain Vimont 2023-03-02 21:30:24 +01:00
  • 2dae48bc13 Use frame source trait in decoder Romain Vimont 2023-03-02 09:37:36 +01:00
  • c39e6dda3e Introduce frame source trait Romain Vimont 2023-03-02 09:25:25 +01:00
  • 974230fa95 Use packet source trait in demuxer Romain Vimont 2023-03-02 09:20:37 +01:00
  • 4132389686 Introduce packet source trait Romain Vimont 2023-03-02 09:07:25 +01:00
  • 34dae7f836 Extract sc_delay_buffer Romain Vimont 2023-03-02 00:31:43 +01:00
  • 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