You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[server] ERROR: Encoding error: java.lang.IllegalStateException: releaseOutputBuffer() is valid only at Executing states; currently at Released state
#5502
When running scrcpy for a random time(several minutes to hours), the mirror get stuck, shut down and give error logs like this, I've used the command scrcpy --turn-screen-off --stay-awake --no-audio -m2768 --print-fps --display-buffer=50 --video-codec=h265 --video-encoder="c2.qti.hevc.encoder"
[server] ERROR: Encoding error: java.lang.IllegalStateException: releaseOutputBuffer() is valid only at Executing states; currently at Released state
[server] INFO: Retrying...
INFO: 63 fps
INFO: 51 fps (+3 frames skipped)
INFO: 64 fps
INFO: 59 fps
INFO: 58 fps (+7 frames skipped)
INFO: 52 fps (+1 frames skipped)
INFO: 61 fps (+1 frames skipped)
INFO: 57 fps
INFO: 64 fps
INFO: 58 fps
INFO: 57 fps (+1 frames skipped)
INFO: 50 fps
ERROR: [FFmpeg] Could not find ref with POC 396
ERROR: [FFmpeg] Invalid number of merging MVP candidates: 6.
WARN: [FFmpeg] Error parsing NAL unit #1.
ERROR: Decoder 'video': could not send video packet: -1094995529
ERROR: Demuxer error
I've also tried the default encoder with the command scrcpy --turn-screen-off --stay-awake --no-audio -m2768 --print-fps --display-buffer=50 , it gets stuck as the same, but it can resume after several retries with the logs like:
Environment
Describe the bug
When running scrcpy for a random time(several minutes to hours), the mirror get stuck, shut down and give error logs like this, I've used the command
scrcpy --turn-screen-off --stay-awake --no-audio -m2768 --print-fps --display-buffer=50 --video-codec=h265 --video-encoder="c2.qti.hevc.encoder"
I've also tried the default encoder with the command
scrcpy --turn-screen-off --stay-awake --no-audio -m2768 --print-fps --display-buffer=50
, it gets stuck as the same, but it can resume after several retries with the logs like:The text was updated successfully, but these errors were encountered: