Genymobile / Genymobile/scrcpy

Sometimes when recording videos, file size is 0kb (windows 10).

Open
#5,702 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
150k
Forks
13.8k
Avg merge
4d 13h
Merged PRs (30d)
2

Description

use subprocess by python, loop recording video with a 5-second interval in between,but some file size is 0kb. Has anyone meet this problem before?

file format: mkv

command:
start_record_command = f"scrcpy -s {device_id} --record={filepath} --record-format=mkv --time-limit={time_limit} --no-playback --no-window"

version: scrcpy 3.1

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce on Windows 10 with scrcpy 3.1 using the supplied Python subprocess command, MKV output, and repeated 5-second recordings. Compare zero-byte files with successful recordings and trace the recording behavior to identify the failure; done means repeated recordings consistently produce valid non-empty files or the issue is clearly characterized.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, python
Domain
audio-video-rtc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.