Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Video components for Tk?

by elwarren (Curate)
on Oct 12, 2004 at 16:50 UTC ( #398585=note: print w/ replies, xml ) Need Help??


in reply to Video components for Tk?

I have looked into this several times and found nothing that works for my needs, last I looked. It will be very platform dependent. Are you running on windows or unix?

I cheated and make system calls to two tools for video playback in my car. I use mplayer with a geometry switch on the command line to put the window exactly where I want it, as well as a couple more flags to handle zooming and scaling the video to fit, run with no borders, and to reuse the same window when playing files in succession.

The second program is feh, which I use to playback images captured from the cam in a very fast flipbook style animation. Same deal, no borders, geometry tags, etc... I can post the command line params this evening if anyone is interested.

On the windows machine I've used the gplayer utility from the UnxUtils package, which basically plays back a video in a frameless window via mediaplayer api calls.


Comment on Re: Video components for Tk?
Re^2: Video components for Tk?
by jfroebe (Vicar) on Oct 12, 2004 at 16:58 UTC

    Yup, there really isn't anything that is pure Perl based. We typically end up calling another app (mplayer, wmplayer, etc) and controlling it from Perl. Granted, we can tell the players, usually, to display without a frame in a specified 'window' - meaning embedded video.

    Since displaying video and syncing the sound are time critical, your best bet is to control the player from perl.

    Jason L. Froebe

    No one has seen what you have seen, and until that happens, we're all going to think that you're nuts. - Jack O'Neil, Stargate SG-1

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://398585]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (12)
As of 2014-12-26 18:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (174 votes), past polls