Open Sfixen opened 4 weeks ago
$ printf '%x' 1313558101 | xxd -r -p | rev
UNKN
It's AVERROR_UNKNOWN
. As I sad in #4928, it's either a bug in the encoder or the decoder.
Please test the following:
scrcpy --no-playback --record=file.mp4
And play the file with a video player like VLC. Does it work?
Since the other bug report is also on Fedora, I suspect it is a decoder issue.
WARN: Could not disable minimize on focus loss
This other problem is unexpected (even if this is just a warning). This suggests this might be a build/packaging issue.
Could you please try to install the latest version by the install_release.sh
script: https://github.com/Genymobile/scrcpy/blob/master/doc/linux.md#latest-version
the recorded video is just a black screen, also i installed it again from the script and it still says thats WARN: "Could not disable minimize on focus loss" in the beggining
the recorded video is just a black screen
On every app?
yes, only the audio can be heard
And with another video encoder: https://github.com/Genymobile/scrcpy/blob/master/doc/video.md#encoder
?
I tested all 5 and only 2 work, both of them have a noticeable delay and low fps. What's weird is that i used scrcpy with the same phone and computer before i reinstalled fedora and everything was working.
scrcpy 2.5 https://github.com/Genymobile/scrcpy WARN: Could not disable minimize on focus loss INFO: ADB device found: INFO: --> (usb) 32bd1364 device POCO_F1 /usr/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 126.9 MB/s (69624 bytes in 0.001s) [server] INFO: Device: [Xiaomi] Xiaomi POCO F1 (Android 13) INFO: Renderer: opengl INFO: OpenGL version: 4.6 (Compatibility Profile) Mesa 24.1.2 INFO: Trilinear filtering enabled INFO: Texture: 1080x2240 ERROR: [FFmpeg] [OpenH264] this = 0x0x7f0410002100, Error:NAL_UNIT_PREFIX: DecInitBits() fail due invalid access. ERROR: [FFmpeg] DecodeFrame failed ERROR: Decoder 'video': could not send video packet: -1313558101 ERROR: Demuxer error ERROR: Demuxer 'audio': stream disabled due to connection error