[Spice-devel] [PATCH 0/11] Add GStreamer and VP8 support

Fabio Fantoni fantonifabio at tiscali.it
Mon Jun 1 07:15:17 PDT 2015


Il 29/05/2015 15:20, Francois Gouget ha scritto:
> On Fri, 29 May 2015, Fabio Fantoni wrote:
> [...]
>> I'm trying the gst1 support but build fails with this error:
>> gstreamer_encoder.c: In function 'construct_pipeline':
>> gstreamer_encoder.c:219:41: error: 'GstEncoder' has no member named 'frc'
>>                       "deadline", encoder->frc.period * 1000 / 2,
>>
>> Why you tell that 1.0 is not functional? I suppose not only for the
>> build error I had.
> It's a merge bug. Sorry. I have pushed an update that fixes this so you 
> may want to rebase.
>
> The initial push had caps issues, mostly it was missing format=BGRx, 
> which caused GStreamer 1.0 not to work. Note that the failure mode 
> caused the video to be sent through the regular non-stream channel so it 
> looked like it worked.
>
> Now the GStreamer 1.0 situation is as follows:
>  * VP8 works.
>  * MJPEG fails because of a caps negotiation error despite the 
>    videoconvert element.
>  * H264 seems to work but the client fails to display it. So I'm not 
>    totally sure.
>
> Also I finally found the right parameters to improve the VP8 encoder 
> performance.
>
> Cheers,
>

Thanks, I tried vp8 after updating both server (with gst1) and client,
both software enc/dec on x86 image freeze don't happen but any video
(vlc, media player, flash ecc...) have critical artifact playing video
(difficult to explain).
I suppose that these warning I saw on client are related:
http://pastebin.com/GeTPyscG
> 0:00:00.150227452 27501      0x29f98f0 WARN            videodecoder
> gstvideodecoder.c:2026:gst_video_decoder_chain:<vp8dec0> Received
> buffer without a new-segment. Assuming timestamps start from 0.
> 0:00:02.889876193 27501      0x29f9ed0 WARN            videodecoder
> gstvideodecoder.c:2026:gst_video_decoder_chain:<vp8dec1> Received
> buffer without a new-segment. Assuming timestamps start from 0.


If you need more tests and/or informations tell me and I'll post them.

Thanks for any reply and sorry for my bad english.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4297 bytes
Desc: Firma crittografica S/MIME
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20150601/a131fcd5/attachment-0001.bin>


More information about the Spice-devel mailing list