zenity progress bar

Code junkies hangout here

Moderators: ChrisThornett, LXF moderators

zenity progress bar

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

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

Return to Programming

Who is online

Users browsing this forum: Google [Bot] and 1 guest