| Gstreamer. gstreamer é uma interface Perl para a Biblioteca Gstreamer. |
Baixe Agora |
Gstreamer. Classificação e resumo
- Licença:
- Perl Artistic License
- Nome do editor:
- Torsten Schoenfeld and Brett Kosinski
- Site do editor:
- http://search.cpan.org/~tsch/GStreamer-0.11/GStreamer.pm
Gstreamer. Tag
Gstreamer. Descrição
O Gstreamer é uma interface Perl para a Biblioteca Gstreamer. O Gstreamer é uma interface Perl para a biblioteca Gstreamer.Synopsis usa Gstreamer -init; meu $ loop = glib :: mainloop -> novo (); # Configurar meu $ Play = Gstreamer :: ElementFactory -> Faça ("Playbin", "Play"); $ Play -> Set (Uri => Glib :: filename_to_uri $ file, "localhost"); $ play -> get_bus () -> add_watch (my_bus_callback, $ loop); $ play -> set_state ("tocando"); # Executar $ Loop -> Executar (); # Clean Up $ Play -> set_state ("null"); sub my_bus_callback {my ($ bus, $ message, $ loop) = @_; if ($ message -> Tipo e "erro") {avisar $ message -> erro; $ loop -> Quit (); } Elsif ($ message -> Tipo e "EOS") {$ loop -> Quit (); } # remova a mensagem da fila retorna true; } Requisitos: · Perl.
Gstreamer. Software Relacionado