Genymobile / Genymobile/scrcpy
Crash FFMPEG
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 150k
- Forks
- 13.8k
- Avg merge
- 4d 13h
- Merged PRs (30d)
- 2
Description
## Environment
- **OS:** opensuse Tumbleweed-20250925
- **Scrcpy version:** 3.3.2
- **Installation method:** command line
- **Device model:** pixel 4
- **Android version:** 13
## Describe the bug
ERROR: [FFmpeg] DecodeFrame failed
ERROR: Decoder ‘video’: could not send video packet: -1313558101
ERROR: Demuxer error
It keeps getting warnings on address 0x0x7ff44c001b70 before crashing. sometimes when closing an app, swiping left, it produces 100 errors.
```
WARN: [FFmpeg] [OpenH264] this = 0x0x7fd9ac001b70, Warning:the pic_width_in_mbs exceeds the level limits!
WARN: [FFmpeg] [OpenH264] this = 0x0x7fd9ac001b70, Warning:the pic_height_in_mbs exceeds the level limits!
WARN: [FFmpeg] [OpenH264] this = 0x0x7fd9ac001b70, Warning:the total count of mb exceeds the level limits!
WARN: [FFmpeg] [OpenH264] this = 0x0x7fd9ac001b70, Warning: max_num_ref_frames exceeds level limits!
WARN: [FFmpeg] [OpenH264] this = 0x0x7fd9ac001b70, Warning:the pic_width_in_mbs exceeds the level limits!
WARN: [FFmpeg] [OpenH264] this = 0x0x7fd9ac001b70, Warning:the pic_height_in_mbs exceeds the level limits!
WARN: [FFmpeg] [OpenH264] this = 0x0x7fd9ac001b70, Warning:the total count of mb exceeds the level limits!
WARN: [FFmpeg] [OpenH264] this = 0x0x7fd9ac001b70, Warning: max_num_ref_frames exceeds level limits!
WARN: [FFmpeg] [OpenH264] this = 0x0x7fd9ac001b70, Warning:the pic_width_in_mbs exceeds the level limits!
WARN: [FFmpeg] [OpenH264] this = 0x0x7fd9ac001b70, Warning:the pic_height_in_mbs exceeds the level limits!
WARN: [FFmpeg] [OpenH264] this = 0x0x7fd9ac001b70, Warning:the total count of mb exceeds the level limits!
WARN: [FFmpeg] [OpenH264] this = 0x0x7fd9ac001b70, Warning: max_num_ref_frames exceeds level limits!
WARN: [FFmpeg] [OpenH264] this = 0x0x7fd9ac001b70, Warning:the pic_width_in_mbs exceeds the level limits!
WARN: [FFmpeg] [OpenH264] this = 0x0x7fd9ac001b70, Warning:the pic_height_in_mbs exceeds the level limits!
WARN: [FFmpeg] [OpenH264] this = 0x0x7fd9ac001b70, Warning:the total count of mb exceeds the level limits!
WARN: [FFmpeg] [OpenH264] this = 0x0x7fd9ac001b70, Warning: max_num_ref_frames exceeds level limits!
WARN: [FFmpeg] [OpenH264] this = 0x0x7fd9ac001b70, Warning:DecodeCurrentAccessUnit() failed (459800) in frame: 0 uiDId: 0 uiQId: 0
ERROR: [FFmpeg] DecodeFrame failed
ERROR: Decoder 'video': could not send video packet: -1313558101
ERROR: Demuxer error
and sometimes when I close - just a few
WARN: [FFmpeg] [OpenH264] this = 0x0x7f4eec001b70, Warning:invalid syntax vertical mv -269
WARN: [FFmpeg] [OpenH264] this = 0x0x7f4eec001b70, Warning:invalid syntax vertical mv -267
WARN: [FFmpeg] [OpenH264] this = 0x0x7f4eec001b70, Warning:invalid syntax vertical mv -267
WARN: [FFmpeg] [OpenH264] this = 0x0x7f4eec001b70, Warning:invalid syntax vertical mv -267
WARN: [FFmpeg] [OpenH264] this = 0x0x7f4eec001b70, Warning:invalid syntax vertical mv -267
WARN: [FFmpeg] [OpenH264] this = 0x0x7f4eec001b70, Warning:invalid syntax vertical mv -268
WARN: [FFmpeg] [OpenH264] this = 0x0x7f4eec001b70, Warning:invalid syntax vertical mv -267
WARN: [FFmpeg] [OpenH264] this = 0x0x7f4eec001b70, Warning:invalid syntax vertical mv -286
WARN: [FFmpeg] [OpenH264] this = 0x0x7f4eec001b70, Warning:invalid syntax vertical mv -258
WARN: [FFmpeg] [OpenH264] this = 0x0x7f4eec001b70, Warning:invalid syntax vertical mv -283
WARN: [FFmpeg] [OpenH264] this = 0x0x7f4eec001b70, Warning:invalid syntax vertical mv -295
WARN: [FFmpeg] [OpenH264] this = 0x0x7f4eec001b70, Warning:invalid syntax vertical mv -284
WARN: [FFmpeg] [OpenH264] this = 0x0x7f4eec001b70, Warning:invalid syntax vertical mv -279
WARN: [FFmpeg] [OpenH264] this = 0x0x7f4eec001b70, Warning:invalid syntax vertical mv -277
WARN: [FFmpeg] [OpenH264] this = 0x0x7f4eec001b70, Warning:invalid syntax vertical mv -271
WARN: [FFmpeg] [OpenH264] this = 0x0x7f4eec001b70, Warning:invalid syntax vertical mv -275
WARN: [FFmpeg] [OpenH264] this = 0x0x7f4eec001b70, Warning:invalid syntax vertical mv -268
WARN: [FFmpeg] [OpenH264] this = 0x0x7f4eec001b70, Warning:invalid syntax vertical mv -277
WARN: [FFmpeg] [OpenH264] this = 0x0x7f4eec001b70, Warning:invalid syntax vertical mv -306
WARN: [FFmpeg] [OpenH264] this = 0x0x7f4eec001b70, Warning:invalid syntax vertical mv -289
WARN: [FFmpeg] [OpenH264] this = 0x0x7f4eec001b70, Warning:invalid syntax vertical mv -283
WARN: [FFmpeg] [OpenH264] this = 0x0x7f4eec001b70, Warning:invalid syntax vertical mv -306
WARN: [FFmpeg] [OpenH264] this = 0x0x7f4eec001b70, Warning:invalid syntax vertical mv -260
WARN: [FFmpeg] [OpenH264] this = 0x0x7f4eec001b70, Warning:invalid syntax vertical mv -257
WARN: [FFmpeg] [OpenH264] this = 0x0x7f4eec001b70, Warning:invalid syntax vertical mv -262
WARN: [FFmpeg] [OpenH264] this = 0x0x7f4eec001b70, Warning:invalid syntax vertical mv -292
WARN: [FFmpeg] [OpenH264] this = 0x0x7f4eec001b70, Warning:invalid syntax vertical mv -292
WARN: [FFmpeg] [OpenH264] this = 0x0x7f4eec001b70, Warning:invalid syntax vertical mv -292
WARN: [FFmpeg] [OpenH264] this = 0x0x7f4eec001b70, Warning:invalid syntax vertical mv -292
```
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the crash on openSUSE Tumbleweed with scrcpy 3.3.2 and the Pixel 4, then inspect the FFmpeg/OpenH264 video-decoder path associated with the reported warnings. Done means closing apps or swiping no longer causes the decoder or demuxer errors and crash.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, c
- 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