[KRdp] [Bug 503545] New: H264 stream does not conform to baseline

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Tue Apr 29 20:08:01 BST 2025


https://bugs.kde.org/show_bug.cgi?id=503545

            Bug ID: 503545
           Summary: H264 stream does not conform to baseline
    Classification: Plasma
           Product: KRdp
           Version: 6.3.4
          Platform: Debian testing
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: armin.novak at thincast.com
                CC: ahiemstra at heimr.nl
  Target Milestone: ---

The H264 stream from krdp (from a debian trixie install) can not be decoded by
OpenH264

To test:
1. install OpenH264
2. Compile FreeRDP with OpenH264 support (disable FFMPEG/x264)
3. Connect with xfreerdp (or any other client)
4. Have a white screen and an endless log of decoder errors

I suspect that the H264 stream does not contain the NAL/stream configuration in
the first frame and therefore the decoder does not know how to decode the data.

The most important log entries are:
```
[20:58:47:948] [43057:0000a85b] [WARN][com.freerdp.codec] -
[openh264_decompress]: DecodeFrame2 state: 0x0004 iBufferStatus: 0
[20:58:47:948] [43057:0000a85b] [WARN][com.freerdp.gdi] -
[gdi_SurfaceCommand_AVC420]: avc420_decompress failure: -2002, ignoring update.
[20:58:47:989] [43057:0000a85b] [WARN][com.freerdp.codec] -
[openh264_decompress]: DecodeFrame2 iBufferStatus: 0
[20:58:48:263] [43057:0000a85b] [WARN][com.freerdp.codec] -
[openh264_decompress]: DecodeFrame2 iBufferStatus: 0
[20:58:48:375] [43057:0000a85b] [WARN][com.freerdp.codec] -
[openh264_decompress]: DecodeFrame2 iBufferStatus: 0
```
(the last message repeats endlessly)

the DecodeFrame2 return 0x04 is bsBitstreamError from OpenH264

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list