scrcpy icon indicating copy to clipboard operation
scrcpy copied to clipboard

RROR: Could not record packet

Open Pycoder0901 opened this issue 2 years ago • 5 comments

how fix this issue

2022-09-08 16:33:14.045 scrcpy[22210:99430207] ERROR: Could not record packet

2022-09-08 16:33:14.045 scrcpy[22210:99430207] ERROR: Recording failed to 20220908163009_VINLHMB7B1800913.mp4

2022-09-08 16:33:14.146 scrcpy[22210:99430206] ERROR: Could not send config packet to sink 0

2022-09-08 16:33:14.146 scrcpy[22210:99430206] ERROR: Could not process packet

2022-09-08 16:33:14.148 scrcpy[22210:99430142] WARN: Device disconnected

Originally posted by @Pycoder0901 in https://github.com/Genymobile/scrcpy/issues/1287#issuecomment-1240467629

Pycoder0901 avatar Sep 08 '22 09:09 Pycoder0901

How did you install scrcpy? What's the full output in the console? Which OS?

For example, if you use snap, you might have permission issues to write the output file.

rom1v avatar Sep 08 '22 09:09 rom1v

How did you install scrcpy? What's the full output in the console? Which OS?

For example, if you use snap, you might have permission issues to write the output file.

already installed and other iphone is ok issue iphone:Meitu MP1605 、OS version: 7.0 shell:scrcpy -s VINLHMB7B1800913 --no-display -m 1024 -b 2M --record 20220908180933_VINLHMB7B1800913.mp4 2022-09-08 16:33:14.045 scrcpy[22210:99430207] ERROR: Could not record packet 2022-09-08 16:33:14.045 scrcpy[22210:99430207] ERROR: Recording failed to 20220908163009_VINLHMB7B1800913.mp4 2022-09-08 16:33:14.146 scrcpy[22210:99430206] ERROR: Could not send config packet to sink 0 2022-09-08 16:33:14.146 scrcpy[22210:99430206] ERROR: Could not process packet 2022-09-08 16:33:14.148 scrcpy[22210:99430142] WARN: Device disconnected

Pycoder0901 avatar Sep 08 '22 11:09 Pycoder0901

How did you install scrcpy? What's the full output in the console? Which OS?

For example, if you use snap, you might have permission issues to write the output file.

and this issue not solved,Why close??? My problem is the same as this https://github.com/Genymobile/scrcpy/issues/1287

Pycoder0901 avatar Sep 08 '22 11:09 Pycoder0901

scrcpy -s VINLHMB7B1800913 --no-display -m 1024 -b 2M --record 20220908180933_VINLHMB7B1800913.mp4

and local terminal use this shell is OK(scrcpy -s VINLHMB7B1800913 --no-display -m 1024 -b 2M --record 20220908180933_VINLHMB7B1800913.mp4) but use Python subprocess.Popen(cmd, shell=True) and Jenkins happen issue(use shell later 15 minutes)

Pycoder0901 avatar Sep 08 '22 11:09 Pycoder0901

image

Pycoder0901 avatar Sep 08 '22 11:09 Pycoder0901