Playing video on Sugar startup with VMETA

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Playing video on Sugar startup with VMETA

Sridhar Dhanapalan
We're trying to make XO-1.75s play quality video on Sugar startup. Our
solution involves installing the VMETA software on 12.1.0 and then
loading the video in Totem using the Welcome activity hook in Sugar.

As this is for marketing/instructional purposes, we need the process
to be really slick:

  1. XO loads with fully graphical boot animation (no console)
  2. video loads and plays, with no chrome (toolbars, sidebars, etc.),
high quality, full frame rate and complete A/V sync
  3. Sugar loads as normal

What we've found is that Totem segfaults when invoked with
--fullscreen. It doesn't crash when loaded in a window, but there's so
much chrome that it looks silly. Even a simpler gstreamer-based
player, gst123, crashes soon after startup. I'm of the understanding
that we need to be using a gstreamer player.

Is there anything that we can do to improve our present situation?



Sridhar Dhanapalan
Engineering Manager
One Laptop per Child Australia
_______________________________________________
Devel mailing list
[hidden email]
http://lists.laptop.org/listinfo/devel
Reply | Threaded
Open this post in threaded view
|

Re: Playing video on Sugar startup with VMETA

Jon Nettleton
On Fri, Feb 22, 2013 at 6:31 AM, Sridhar Dhanapalan
<[hidden email]> wrote:

> We're trying to make XO-1.75s play quality video on Sugar startup. Our
> solution involves installing the VMETA software on 12.1.0 and then
> loading the video in Totem using the Welcome activity hook in Sugar.
>
> As this is for marketing/instructional purposes, we need the process
> to be really slick:
>
>   1. XO loads with fully graphical boot animation (no console)
>   2. video loads and plays, with no chrome (toolbars, sidebars, etc.),
> high quality, full frame rate and complete A/V sync
>   3. Sugar loads as normal
>
> What we've found is that Totem segfaults when invoked with
> --fullscreen. It doesn't crash when loaded in a window, but there's so
> much chrome that it looks silly. Even a simpler gstreamer-based
> player, gst123, crashes soon after startup. I'm of the understanding
> that we need to be using a gstreamer player.

As of now yes.

>
> Is there anything that we can do to improve our present situation?

Can you please provide the patches, and media you are using to accomplish this?

Does totem --fullscreen segfault if run from a terminal under Sugar?

Please provide any logs that you can collect.

Thanks
_______________________________________________
Devel mailing list
[hidden email]
http://lists.laptop.org/listinfo/devel
Reply | Threaded
Open this post in threaded view
|

Re: Playing video on Sugar startup with VMETA

Martin Langhoff
In reply to this post by Sridhar Dhanapalan
On Fri, Feb 22, 2013 at 1:31 AM, Sridhar Dhanapalan
<[hidden email]> wrote:
> We're trying to make XO-1.75s play quality video on Sugar startup. Our
> solution involves installing the VMETA software on 12.1.0 and then
> loading the video in Totem using the Welcome activity hook in Sugar.

Calling in Totem seems like a mess. Can I humbly suggest that you
teach the Welcome activity to play videos, via gstreamer?

That was our original plan (but we didn't have video material, so we
didn't implement that part). It seems way easier.

Part of the problem may be that the Sugar desktop session isn't fully
started at that point. Welcome activity can handle that, but it is
understandable if normal apps don't exactly like it.

cheers,



m
--
 [hidden email]
 [hidden email] -- Software Architect - OLPC
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
_______________________________________________
Devel mailing list
[hidden email]
http://lists.laptop.org/listinfo/devel
Reply | Threaded
Open this post in threaded view
|

Re: Playing video on Sugar startup with VMETA

Martin Langhoff
On Tue, Feb 26, 2013 at 10:36 AM, Martin Langhoff
<[hidden email]> wrote:
> On Fri, Feb 22, 2013 at 1:31 AM, Sridhar Dhanapalan
> <[hidden email]> wrote:
>> We're trying to make XO-1.75s play quality video on Sugar startup. Our
>> solution involves installing the VMETA software on 12.1.0 and then
>> loading the video in Totem using the Welcome activity hook in Sugar.
>
> Calling in Totem seems like a mess. Can I humbly suggest that you
> teach the Welcome activity to play videos, via gstreamer?

IOWs, "steal" player.py from Jukebox activity :-)



m
--
 [hidden email]
 [hidden email] -- Software Architect - OLPC
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
_______________________________________________
Devel mailing list
[hidden email]
http://lists.laptop.org/listinfo/devel