[Spice-devel] question: how to test the gstreamer:h264 with qemu ?

cfergeau at redhat.com cfergeau at redhat.com
Fri Jul 29 07:17:05 UTC 2016


Hey,

On Fri, Jul 29, 2016 at 03:05:21AM +0000, Li, ZhijianX wrote:
> Hello  guys,
> 
> Recently, I found that spice have supported gstremer:h264 encoding, so I want to have a try.
> But I'm not sure how to test this feature(I am a spice newbie)
> 
> If I play a h264 encoding video in the guest, how can I *confirm* that
> the gstremer:h264 works or not ?
> 
> If I miss something, please let me know.
> Below is my environment:
> Host, Ubuntu 16.04 lts
> 1.  guest
> Win7 +" Red Hat QXL GPU(6.1.0.10020)"
> 2. qemu 
> Branch: master + gstreamer related
> patch(https://lists.freedesktop.org/archives/spice-devel/2015-May/019771.html)
> Start qemu with " -spice video-codes=gstreamer:h264" options
> 3. spice
> Branch: master(comit: 29caba2)
> Configuration with "--enable-gstreamer=1.0"
> 4. spice-gtk
> Branch: master(commit: 9b82e92)
> Configuration with "--enable-gstvideo=yes"
> 5. spice-protocol
> Branch: master

Usually I just change default_video_codecs in spice-server/server/reds.c
so that it starts with gstreamer:h264.
We probably should add some logging to dcc_create_video_encoder()
to make it easier to know which codec is used :)

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20160729/43576dff/attachment.sig>


More information about the Spice-devel mailing list