- 21 1月, 2019 1 次提交
-
-
由 Romain Vimont 提交于
-
- 20 1月, 2019 2 次提交
-
-
由 Romain Vimont 提交于
-
由 Romain Vimont 提交于
Include the last version of FFmpeg in Windows releases.
-
- 19 1月, 2019 1 次提交
-
-
由 Romain Vimont 提交于
Keep screensaver enabled while scrcpy is running. Fixes <https://github.com/Genymobile/scrcpy/issues/380>.
-
- 18 1月, 2019 2 次提交
-
-
由 Romain Vimont 提交于
input_manager: don't ignore double click event when clicking inside device
-
由 Yu-Chen Lin 提交于
Signed-off-by: NYu-Chen Lin <npes87184@gmail.com>
-
- 17 1月, 2019 1 次提交
-
-
由 Romain Vimont 提交于
prepare-dep: use variable for better readability
-
- 16 1月, 2019 1 次提交
-
-
由 Romain Vimont 提交于
Some applications, like Silence, prevent the content of a window from being viewed on non-secure displays: <https://developer.android.com/reference/android/view/WindowManager.LayoutParams.html#FLAG_SECURE> We can mirror it by just creating a "secure" display: <https://developer.android.com/reference/android/view/Display#FLAG_SECURE>
-
- 15 1月, 2019 2 次提交
-
-
由 yuchenlin 提交于
The arguments are saved to variable when script started. Instead of using $1, $2 and $3, we can use these variables. Signed-off-by: Nyuchenlin <npes87184@gmail.com>
-
由 Romain Vimont 提交于
To clean up the device, the client executed "adb shell rm" once the server was guaranteed to be started (after the connection succeeded). This implied to track whether the installation state, and failed if an additional tunnel was used in "forward" mode: <https://github.com/Genymobile/scrcpy/issues/386#issuecomment-453936034> Instead, make the server unlink itself on start.
-
- 27 11月, 2018 2 次提交
-
-
由 Romain Vimont 提交于
Mouse events position were unsigned (so negative values could not be handled properly). To avoid issues with negative values, mouse events outside the device screen were ignored (commit a7fe9ad7). But as a consequence, drag&drop were "broken" if the "drop" occurred outside the device screen. Instead, use signed 32-bits to store the position, and forward events outside the device screen. Fixes <https://github.com/Genymobile/scrcpy/issues/357>.
-
由 Romain Vimont 提交于
-
- 25 11月, 2018 1 次提交
-
-
由 Romain Vimont 提交于
-
- 19 11月, 2018 2 次提交
-
-
由 Romain Vimont 提交于
The package ninja-build should be installed automatically as a meson dependency, but some users need to install a newer meson from pip3, so ninja must be installed explicitly.
-
由 Romain Vimont 提交于
Never create a "struct point" with a position possibly outside the device screen (i.e. in the black borders area), and do not transmit such events. This fixes an assertion failure on mouse wheel events outside the device screen area.
-
- 17 11月, 2018 2 次提交
-
-
由 Romain Vimont 提交于
The client passes parameters to the server via "adb shell" arguments. Use "-" instead of "" when no crop is specified to avoid empty arguments, which are not handled the same way on all devices. Fixed <https://github.com/Genymobile/scrcpy/issues/337>.
-
由 Romain Vimont 提交于
The client always sends all the arguments, so there is no need to check.
-
- 16 11月, 2018 1 次提交
-
-
- 14 11月, 2018 1 次提交
-
-
由 Romain Vimont 提交于
Present how to install an APK and how to push a file in the "features" section (instead of "shortcuts").
-
- 12 11月, 2018 21 次提交
-
-
由 Romain Vimont 提交于
Fix warning on error or EOF: > Invalid return value 0 for stream protocol See <http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=a606f27f4c610708fa96e35eed7b7537d3d8f712>. Fixes <https://github.com/Genymobile/scrcpy/issues/333>.
-
由 Romain Vimont 提交于
Make meson aware of the project version, so that it does not print: Project version: undefined
-
由 Romain Vimont 提交于
I forgot to bump version _before_ the release, so I had to make a new one which fixes the version string (for scrcpy --help).
-
由 Pierre Gordon 提交于
Signed-off-by: NRomain Vimont <rom@rom1v.com>
-
由 Romain Vimont 提交于
-
由 Romain Vimont 提交于
-
由 Romain Vimont 提交于
Record screen to file
-
由 Romain Vimont 提交于
Configuration packets produced by MediaCodec have no valid PTS, and do not produce frame. Do not queue their (invalid) PTS not to break the matching between frames and their PTS.
-
由 Romain Vimont 提交于
Several frames may be read by read_packet() before they are consumed (returned by av_read_frame()), so we need to store the PTS of frames in order, so that the right PTS is assigned to the right frame.
-
由 Romain Vimont 提交于
The client needs the PTS for each frame only if recording is enabled. Otherwise, the PTS are not necessary, and the protocol is more straighforward.
-
由 Romain Vimont 提交于
To record the screen to a local file: scrcpy --record file.mp4
-
由 Romain Vimont 提交于
For readability, wrap the state of the receiver in a separate struct receiver_state.
-
由 Romain Vimont 提交于
Use net_recv_all() to avoid partial reads for the "meta" header (this would break the whole stream).
-
由 Romain Vimont 提交于
-
由 Romain Vimont 提交于
AVStream.codec has been deprecated in favor of AVStream.codecpar. Due to the FFmpeg/Libav split, this happened in two separate versions: - 57.33.100 for FFmpeg - 57.5.0 for Libav
-
由 yuchenlin 提交于
Signed-off-by: Nyuchenlin <npes87184@gmail.com>
-
由 Romain Vimont 提交于
This partially reverts commit f00c6c5b. On Ctrl+C, we need to execute cleanup code. For instance, if recording is enabled, we need to write MP4 file trailer on exit. Custom SDL signal handlers were disabled because it leaded to process hanging on Ctrl+C during network calls on initialization, but now it seems to work correctly, the network calls return immediately on signal.
-
由 Romain Vimont 提交于
Since PTS handling has been fixed, the recorder do not associate a PTS to a wrong frame anymore, so PTS of "configuration packets" (which never produce a frame), are never read by the recorder. Therefore, there is no need to ignore them explicitly, so we can remove the MediaCodec flags completely.
-
由 Romain Vimont 提交于
The PTS was read from the socket and set as the current one even before the frame was consumed, so it could be assigned to the previous frame "in advance". Store the PTS for the current frame and the last PTS read from the packet header of the next frame in separate fields. As a side-effect, this fixes the warning on quit: > Application provided invalid, non monotonically increasing dts to > muxer in stream 0: 17164020 >= 17164020
-
由 Romain Vimont 提交于
Handle display before recording, to reduce latency.
-
由 Romain Vimont 提交于
When the PTS is valid, set both PTS and DTS to avoid FFmpeg warnings. Since configuration packets have no PTS, do not record these packets.
-