qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/6] Add VNC Open H.264 Encoding
@ 2025-04-10 11:22 Dietmar Maurer
  2025-04-10 11:22 ` [PATCH v2 1/6] new configure option to enable gstreamer Dietmar Maurer
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Dietmar Maurer @ 2025-04-10 11:22 UTC (permalink / raw)
  To: qemu-devel, marcandre.lureau; +Cc: Dietmar Maurer

As defined by:

https://github.com/rfbproto/rfbproto/blob/master/rfbproto.rst#open-h-264-encoding

The noVNC HTML application recently added support for this encoding. There is
also an open pull request to add audio support to noVNC:

https://github.com/novnc/noVNC/pull/1952

With that in place, the web based VNC console is good enough to display
a VM showing a video with reasonable bandwidth.

Possible improvements:

- Dynamic switching to/from H264 mode at high change rates
- Support for hardware encoders

We may also extend the RFB Audio protocol with "opus" encoding, because uncompressed
audio need too much bandwidth.

Changes in v2:

- cleanup: h264: remove wrong libavcodec_ prefix from function names
- search for available h264 encoder, and only enable h264 if a
  encoder is available
- new vnc option to configure h264 at server side


Dietmar Maurer (6):
  new configure option to enable gstreamer
  add vnc h264 encoder
  vnc: h264: send additional frames after the display is clean
  h264: remove wrong libavcodec_ prefix from function names
  h264: search for available h264 encoder
  h264: new vnc option to configure h264 at server side

 meson.build                   |  10 +
 meson_options.txt             |   2 +
 scripts/meson-buildoptions.sh |   5 +-
 ui/meson.build                |   1 +
 ui/vnc-enc-h264.c             | 335 ++++++++++++++++++++++++++++++++++
 ui/vnc-jobs.c                 |  49 +++--
 ui/vnc.c                      |  62 ++++++-
 ui/vnc.h                      |  29 +++
 8 files changed, 476 insertions(+), 17 deletions(-)
 create mode 100644 ui/vnc-enc-h264.c

-- 
2.39.5



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-04-15  7:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-10 11:22 [PATCH v2 0/6] Add VNC Open H.264 Encoding Dietmar Maurer
2025-04-10 11:22 ` [PATCH v2 1/6] new configure option to enable gstreamer Dietmar Maurer
2025-04-15  7:25   ` Marc-André Lureau
2025-04-10 11:22 ` [PATCH v2 2/6] add vnc h264 encoder Dietmar Maurer
2025-04-15  7:25   ` Marc-André Lureau
2025-04-10 11:22 ` [PATCH v2 3/6] vnc: h264: send additional frames after the display is clean Dietmar Maurer
2025-04-10 11:22 ` [PATCH v2 4/6] h264: remove wrong libavcodec_ prefix from function names Dietmar Maurer
2025-04-10 11:22 ` [PATCH v2 5/6] h264: search for available h264 encoder Dietmar Maurer
2025-04-10 11:22 ` [PATCH v2 6/6] h264: new vnc option to configure h264 at server side Dietmar Maurer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).