RE: Was: Video in window NOW: window Black



Josà Luis Regalado escribiÃ:

    use Gtk2 -init;
    use Gtk2::Ex::MPlayerEmbed;
        my $window = Gtk2::Window->new;
        my $embed = Gtk2::Ex::MPlayerEmbed->new;
        $window->add($embed);
    $embed->play("/home/bashman/video.mpg");
        $window->show_all;        
        Gtk2->main;
NOW WORK, but the window is black. I not see the video.

some advice?.

Hi there, I wrote Gtk2::Ex::MPlayerEmbed.

Do you have the mplayer program installed? Does the command-line mplayer
play the video successfully? Try this:

        mplayer /home/bashman/video.mpg

Gavin.

-- 
Gavin Brown
http://jodrell.net/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]