Subject: H264 videos working badly

From: Walid MOGHRABI <[email-masked]>
Date: Thu, 7 Jul 2016 16:10:51 +0200 (CEST)

Package: x2goserver 
Version: 4.0.1.19 

I encounter a strange problem when playing videos (especially H264 ones) in Firefox or video players such as VLC, Totem, Parole, ....
Videos just don't start as if there was some sort of buffer overrun with Firefox but strangely, sometimes it works (but most of the time, it freezes).
With Parole, videos play fine but sounds begins at first then silence while the video is playing correctly.

I would be thinking that this is a normal problem with remote desktop unless I tried with Chrome/Chromium where there, videos are playing just perfectly.

I know X2Go is not meant to be used for remote video rendering (well, not for now anyway) but this is for rare uses on a local network with high bandwidth.
What I don't understand is why it is working badly with most of the players I tried or Firefox while it works very well with Chrome/Chromium.

Is there something that can be done to make videos play fine (with remote display limitations in mind of course) with Firefox and/or video players such as VLC/Totem/Parole ?

Test conditions :
===============
    * Server side : x2goserver 4.0.1.19 running on Ubuntu 16.04 with Mate Desktop
    * Client side : x2goclient 4.0.5.1 in MATE desktop mode with WAN/16m-jpeg settings (tried with other settings but this is what gives me the best results)
    * Tested softwares : 
        - Firefox 47 (working randomly with both local files and Youtube)
        - Chromium (Working perfectly with both local files and Youtube)
        - VLC (working badly)
        - Totem (video ok but no sound)
        - Parole (Video OK, sound starting then silence)
    * Tested medias : videos on Youtube (for browser tests), mkv video with H264 encoding for players and browsers

Best regards,

Walid Moghrabi
	
---
DISCLAIMER: This e-mail is private and confidential and may contain proprietary or legally privileged information. It is for the intended recipient only. If you have received this email in error, please notify the author by replying to it and then destroy it. If you are not the intended recipient you must not use, disclose, distribute, copy, print or rely on this e-mail or any attachment. Thank you