zenity progress bar

Code junkies hangout here

Moderators: ChriThor, LXF moderators

zenity progress bar

Postby sh2515 » Sat Mar 03, 2012 5:20 pm


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: Select all
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
Posts: 65
Joined: Wed Sep 26, 2007 2:39 pm

Return to Programming

Who is online

Users browsing this forum: No registered users and 0 guests