1b2e5ac062457deb5f19ffc3035980ad5239e425
3 # Import required modules
6 # Not sure why the mltpp::Factory.init method fails...
7 mltpp
::mlt_factory_init( undef
);
10 $p = new mltpp
::Producer( $ARGV[0] );
12 if ( $p->is_valid( ) )
15 $p->set( "eof", "loop" );
18 $c = new mltpp
::Consumer( "sdl" );
20 # Turn of the default rescaling
21 $c->set( "rescale", "none" );
23 # Connect the producer to the consumer
29 # Wait until the user stops the consumer
30 while ( !$c->is_stopped
) {
36 print "Unable to open $ARGV[0]\n";