• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Im so proud of myself

Cogman

Lifer
#!/bin/sh

for i in 1 2 3 4 5 6 7 8
do
s=$(expr $i + 16)
title=S01Ep$s
echo $s
neroAacEnc -ignorelength -q 0.45 -if audio.wav -of $title.m4a &
x264 test.y4m -o $title.264 --no-psnr --no-ssim --threads auto --no-fast-pskip -t 2 --mixed-refs --me tesa -w --direct auto -A all --crf 20.0 -r 6 -m 7 -b 16 --b-pyramid --progress --b-rdo &
mplayer dvd://$i -vo yuv4mpeg:file=test.y4m -ao pcm:fast:file=audio.wav -alang en
done

Encoding videos in linux can be a pain, expecially when you have 30 min eps, 8 to a disk. No more (for me at least 😀) Above is my great script to allow me to quickly rip videos off the disk.

So go ahead, show off you awesome scripting skills (this is one of my first shell scripts btw)

P.S. This may belong in the programming forum, but I figured it was really closer to *nix stuff then actual programming.
 
Now, for those of us who aren't fluent, how about documenting and remarking the script so we know what each step does, and why.

Joe
 
You guys wouldn't happen to have a script for backups would you? I want to run a backup script for my linux boxes at logoff or shutdown. I'm googling but am not really finding much. (my google skills are terrible)
 
my home directory. I've already got a base image ghosted, but I would like to have regular backups of /home/"all users" to store on a network share.
 
little do you realize that you'll be forced to make a small trivial change when your show hits season 2!!

muahahahahaha.

rasczak:have you tried
tar czf /network_share/`date +%Y%m%d`.tgz /home

Those be backticks around date.
 
Originally posted by: yoda291
little do you realize that you'll be forced to make a small trivial change when your show hits season 2!!

muahahahahaha.

rasczak:have you tried
tar czf /network_share/`date +%Y%m%d`.tgz /home

Those be backticks around date.

I, I, I don't know if I can handle that 😛
 
Originally posted by: rasczak
my home directory. I've already got a base image ghosted, but I would like to have regular backups of /home/"all users" to store on a network share.

If the share is on a another linux box, take a look at dirvish.
dirvish
It will do incremental backups of whatever, on a schedule. It is easy to get back to any version of a file it has saved. It utilizes rsync over ssh to do the dirty work.
 
Originally posted by: Cogman
Originally posted by: yoda291
little do you realize that you'll be forced to make a small trivial change when your show hits season 2!!

muahahahahaha.

rasczak:have you tried
tar czf /network_share/`date +%Y%m%d`.tgz /home

Those be backticks around date.

I, I, I don't know if I can handle that 😛

Why do I have this ominous feeling?

hehe thanks, I'll try to see if that works.

Skyking, thanks, for the link. I'll take a look at that as well.
 
Back
Top