
Enviado em 21/09/2011 - 16:05h
Olá a todos!#!/bin/bash
zenity --info --title "Converter XtoAVI" --window-icon '/usr/share/pixmaps/convertxtoavi.png' --text "Bem-vindo ao Converter XtoAVI!
Selecione o arquivo a ser convertido"
input=`zenity --file-selection --multiple --title "Selecione um arquivo rmvb"`
if [ $? = 1 ];
then zenity --error --title "Converter XtoAVI" --text "Conversão cancelada" & exit
fi
clear
zenity --question --title "Converter XtoAVI" --text "A conversão irá criar um arquivo .avi no mesmo diretório do arquivo a ser convertido
Deseja prosseguir com a conversão?"
if [ $? = 1 ];
then zenity --error --title "Convert XtoAVI" --text "Conversão cancelada" & exit
fi
sleep 1s
mencoder "$input" -ovc xvid -oac mp3lame -xvidencopts fixed_quant=4 -o "$input"~.avi | awk -vRS="\r" '$1 ~ /Pos/ {gsub(/Pos:/," ");gsub(/%\)/," ");gsub(/ \(/," ");print $3"\n#Position :\\t"$1"\\nFrame :\\t"$2"\\nPorcentagem concluída :\\t"$3"%\\nFrame Rate :\\t"$4"\\nTempo Restante :\\t"$6; fflush();}' | zenity --progress --title "Converter XtoAVI" --auto-close
if [ $? = 1 ];
then zenity --error --title "Converter XtoAVI" --text "Conversão cancelada" & exit
fi
sleep 1s
zenity --info --title "Convert XtoAVI" --text "Conversão terminada!"
exit
Cirurgia para acelerar o openSUSE em HD externo via USB
Void Server como Domain Control
Modo Simples de Baixar e Usar o bash-completion
Monitorando o Preço do Bitcoin ou sua Cripto Favorita em Tempo Real com um Widget Flutuante
Script de montagem de chroot automatica
Atualizar Linux Mint 22.2 para 22.3 beta
Jogar games da Battle.net no Linux com Faugus Launcher
Como fazer a Instalação de aplicativos para acesso remoto ao Linux
Assisti Avatar 3: Fogo e Cinzas (4)
Conky, alerta de temperatura alta (11)









