Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

zenity progress bar

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Programming
View previous topic :: View next topic  
Author Message
sh2515



Joined: Wed Sep 26, 2007 3:39 pm
Posts: 65

PostPosted: Sat Mar 03, 2012 5:20 pm    Post subject: zenity progress bar Reply with quote

Hi

Wanting to get a progress bar to to show the progress going up per file converted but all I get is 0% or finished it all 100%

here is the code for converting video cast to audio for my dog walks
Code:

#!/bin/bash
cd ~/Videos/casts
echo n | for i in *.*; do
ffmpeg -i $i -vn -acodec copy ~/Videos/casts/audio/"${i%.*}".mp4
done 2>&1 | zenity --title="coverting" --text="$i" --progress --percentage=0 --auto-kill

any ideas
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Programming All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast