Warning: count(): Parameter must be an array or an object that implements Countable in /home/musiclegalcontra/public_html/wp-content/plugins/wp-e-commerce/wpsc-includes/cart.class.php on line 434

Warning: count(): Parameter must be an array or an object that implements Countable in /home/musiclegalcontra/public_html/wp-content/plugins/wp-e-commerce/wpsc-includes/cart.class.php on line 444
Command line programs get windowed!
Shopping Cart
Marketing
Financing

Command line programs get windowed!

Have you used a command line program or utility and wished there was a decent window for it with boxes and buttons that remember your preferences? Let’s write one using Glade 3.0. This template I wrote eases the task of writing GUI front ends. A method of writing front-ends is described whereby the widget name is the command line option and the content of the widget contains the value that is passed to the command line. Whence a program is demonstrated that automatically adapts itself to new widgets. Thus the task of writing a front-end is reduced to adding new widgets. It is a front-end template–a template for making front-ends. In this example, we use our front-end template to create a front-end for ffmpeg, the popular command line video conversion back-end used by most video conversion packages. Download source: thenerdshow.com This is an intermediate C program featuring file parsing, re-entrant polymorphic functions, dynamic widgets, combo boxes and tree models. To add a new command line option, such as -cropleft, just use glade to add the widget and give it a name like out-cropleft. It will automatically be picked up and used by the program! I mainly use ffresize to resize videos, extract and merge back audio tracks, crop and change frame rates, audio and video codecs, bitrate… Since this program is using glade and GTK2, it will require gtk2-devel and glade to compile. I haven’t tried compiling it for windows, but it should work with little or no changes. See
Video Rating: 5 / 5