"Ivan F. Villanueva B." wrote:
> after transcoding a DVD into one or more AVI-files, I would like to run a
> command on all of them:
> avifix -i file.avi -F DX50
> (This makes the files playable in many video players)
>
> In the tab Transcode there is the option "Execute afterwards", where I can put
> the path of a script to do it each time.
>
> Is there a better way?
>
> I would like to suggest to add the possibility of doing it allowing special
> characters, for instance
> %p - complete path to the directory of the project
> %f - complete path to each video file (the command will be executed for
> each file if there is more than one and this special character is
> used)
>
> One could then use something like:
> avifix -i %f -F DX50
>
> Or even more complicated things like:
>
> bash -c "avifix -i %f -F DX50 ; mv %f %p ; rm -rf %f/avi %f/vob %f/tmp ; halt"
Good idea, I added this to my TODO list. Additionally an official
dvd::rip FOURCC option would be nice, which would indeed make this
feature for this task obsolete ;)
Regards,
Jörn
--
sub i($){print$_[0]}*j=*ENV;sub w($){sleep$_[0]}sub _($){i"$p:$c> ",w+01
,$_=$_[0],tr;i-za-h,;a-hi-z ;,i$_,w+01,i"\n"}$|=1;$f='HO';($c=$j{PWD})=~
s+$j{$f."ME"}+~+;$p.="$j{USER}\@".`hostname`;chop$p;_"kl",$c='~',_"zu,".
"-zn,*",_"#,epg,lw,gwc,mfmkcbm,cvsvwev,uiqt,kwvbmvb?",i"$p:$c> ";w+1<<07
pgpYnwVsTnFe1.pgp
Description: PGP signature
|