Hello,
I'm trying to figure out the length of a video file. Since ffmpeg is
dead and cfplayer isn't working righ now, I installed libav. There's a
useful command for that, which I call with cfexecute. But unfortunately
cfexecute isn't giving me back a result.
I tried this:
execute arguments='/var/www/myVideo.mp4' name='avprobe'
variable="sExeOut" timeout="5";
also I tried this (since the documenation says if no variable is
specified the output is displayed on the screen):
savecontent variable="sExeOut" {
execute arguments='/var/www/myVideo.mp4' name='avprobe' timeout="5";
}
my variable sExeOut is always empty. Even using the outputfile parameter
generates only an empty file.
Any idea how I can get the output of my execute command?
System:
Railo 4.1.1.009
Ubuntu 12.04
Thanks,
Michi
--
Mit herzlichen Grüßen,
Michael Hnat
bluegras - Internetlösungen
Kriegerstr. 49
82110 Germering
Tel.: 089 81029340
Fax: 089 81029339
E-Mail: m.h...@bluegras.de
--
Did you find this reply useful? Help the Railo community and add it to the Railo Server wiki at https://github.com/getrailo/railo/wiki
---
You received this message because you are subscribed to the Google Groups "Railo" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/railo/529B1096.6040208%40bluegras.de.
For more options, visit https://groups.google.com/groups/opt_out.
To view this discussion on the web visit https://groups.google.com/d/msgid/railo/CAB%3DtfTrrqxn3nMYm%3Df1GEvLaTDqjB4JKZ5DR8yLUL3v-hVV_6w%40mail.gmail.com.
Hello,
I'm trying to figure out the length of a video file. Since ffmpeg is
dead and cfplayer isn't working righ now, I installed libav. There's a
useful command for that, which I call with cfexecute. But unfortunately
cfexecute isn't giving me back a result.
I tried this:
execute arguments='/var/www/myVideo.mp4' name='avprobe'
variable="sExeOut" timeout="5";
also I tried this (since the documenation says if no variable is
specified the output is displayed on the screen):
savecontent variable="sExeOut" {
execute arguments='/var/www/myVideo.mp4' name='avprobe' timeout="5";
}
my variable sExeOut is always empty. Even using the outputfile parameter
generates only an empty file.
Any idea how I can get the output of my execute command?
System:
Railo 4.1.1.009
Ubuntu 12.04
Thanks,
Michi
--
Mit herzlichen Grüßen,
Michael Hnat
bluegras - Internetlösungen
Kriegerstr. 49
82110 Germering
Tel.: 089 81029340
Fax: 089 81029339
E-Mail: m.h...@bluegras.de
To view this discussion on the web visit https://groups.google.com/d/msgid/railo/CACLZGD%3DqcCPnCkWSG%2B%3DTUjx%2B5eCxgrtiZak8Cmy%3D-sQb3__Zfw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/railo/529B500A.6060206%40bluegras.de.
It's been a while, but can you look at standard error for non errors?
I had a similar issue way back when.
If you run your code with an added pipe to file, does the file get written to?
Adrian
To view this discussion on the web visit https://groups.google.com/d/msgid/railo/CACLZGDk5-gsE74i5VrP4Y%3Dg-imMehKkKzLx3C%3DkOUNK1oj-EWw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/railo/CAH368SQ9M26bEZSXeUu6WPBjM76iw5dn1H%2BU8ZgPwK8ZqUAugQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.
-- Igal Sapir Railo Core Developer http://getRailo.org/