Jackp90
November 19th, 2008, 05:23 AM
I am really new to programming and i don't know a lot about many languages . . . So this is what I want to do:
I want to make a more user friendly interface for mencoder for conversion between ogv files and avi files . . . this is my program thus far and as you can see it uses both bash and perl . . . its only a rough outline of what I want:
#!/usr/bin/perl -w
# Convogg 1.0
# Author: Robert
# Helped by:
use strict;
print "Enter ogg name here: \n";
my $ogg;
chomp ($ogg = <STDIN>);
print "Enter avi name here: \n";
my $avi;
chomp ($avi = <STDIN>);
#!/bin/bash
mencoder -idx $ogg -ovc lavc -oac mp3lame -o $avi
# This is the only place that bash really makes an appearance
I want to make a more user friendly interface for mencoder for conversion between ogv files and avi files . . . this is my program thus far and as you can see it uses both bash and perl . . . its only a rough outline of what I want:
#!/usr/bin/perl -w
# Convogg 1.0
# Author: Robert
# Helped by:
use strict;
print "Enter ogg name here: \n";
my $ogg;
chomp ($ogg = <STDIN>);
print "Enter avi name here: \n";
my $avi;
chomp ($avi = <STDIN>);
#!/bin/bash
mencoder -idx $ogg -ovc lavc -oac mp3lame -o $avi
# This is the only place that bash really makes an appearance