View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 16 posts ] 
Go to page Previous  1, 2

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject:
PostPosted: Thu Dec 27, 2007 12:42 am 
Offline
Joined: Sat Aug 21, 2004 1:12 am
Posts: 32
Location: Sydney, Australia
I have since created a shell script that deletes partial encodings after a power outage or reboot. The script combines my previous posting command lines into one user job. I call my script DVB2DVD.sh

#!/bin/bash
file=$1;

# Remove any temporary encodings from an unclean restart or reboot

rm -f /myth/tv/tmp/*.mpg

# Convert DVB to DVD

nuvexport --nice 17 --infile /myth/tv/$file --mode DVD --path /myth/tv/tmp/ --force-aspect=1.7777
if [ "$?" -ne "0" ]; then
echo "nuvexport terminated abnormally"
exit 1
fi

# Overwrite original recording with new encoding

mv -f /myth/tv/tmp/*.mpg /myth/tv/$file

# Rebuild keyframes for smooth FF & RR

mythcommflag --file /myth/tv/$file --sleep --rebuild


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ] 
Go to page Previous  1, 2



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 22 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu