Re: command on video files after transcoding

Jörn Reder <[email protected]>
Newsgroups gmane.comp.video.dvdrip.user
Message-ID <[email protected]>
"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
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBGNlmM2hNi0Chc9HMRA9RDAJ4nsZHwJTpd0nlWHazVmad0RgcWygCfaDpd
1pLvgY5H2Oqt/3ghGkFTWes=
=IF2J
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.