Hi Steipal
I'm trying to execute a ffprobe command with the "command special" processor...
I checked the ffprobe command and it is working well. So no question about the syntax of the command itself, but I don't know why it is not executed...
%comspec% /c "ffprobe -show_streams -print_format xml "%original_full%" > E:\MediaMove\%original_name%.xml"
Did I make something wrong ?
Thank you for your help.
Command Special
Re: Command Special
Make sure you ALWAYS supply the full path to whatever command you're executing. Also, ALWAYS encapsulate the ALL paths with quote (") to be on the safe side, like this:
%comspec% /c "D:\FFmpeg\ffprobe.exe -show_streams -print_format xml "%original_full%" > "E:\MediaMove\%original_name%.xml""
I've tried this particular example and it works like a charm
-steipal
%comspec% /c "D:\FFmpeg\ffprobe.exe -show_streams -print_format xml "%original_full%" > "E:\MediaMove\%original_name%.xml""
I've tried this particular example and it works like a charm
-steipal
Re: Command Special
Great !
Thank you very much !
Have a nice weekend
Thank you very much !
Have a nice weekend
Re: Command Special
Hi Steipal
I tried many times even in replicate your paths but I always have a resulting XML completely empty.
The file is written on the drive but there is even not the xml header.
Could you please take a look ?
Tank you very much.
I tried many times even in replicate your paths but I always have a resulting XML completely empty.
The file is written on the drive but there is even not the xml header.
Could you please take a look ?
Tank you very much.
Re: Command Special
Can you please post your complete unaltered command? Or send me you workflow? I cannot help you blindfolded;-)
-steipal
-steipal
Re: Command Special
Hi Steipal,
I finally succeeded but with NO quotes for the paths...
%comspec% /c "C:\FFAStrans_61\Processors\FFMpeg\ffprobe.exe -show_streams -print_format xml %original_full% > C:\meta\%original_name%.xml"
I finally succeeded but with NO quotes for the paths...
%comspec% /c "C:\FFAStrans_61\Processors\FFMpeg\ffprobe.exe -show_streams -print_format xml %original_full% > C:\meta\%original_name%.xml"
Re: Command Special
Ok, but then you're basically doing it wrong. If you submit a file with a space in it, your command ought to fail. Can you please try that and let me know how it works out.
And if/when it fails, replace your command with the one below:
%comspec% /c "C:\FFAStrans_61\Processors\FFMpeg\ffprobe.exe -show_streams -print_format xml "%original_full%" > "C:\meta\%original_name%.xml""
-steipal
And if/when it fails, replace your command with the one below:
%comspec% /c "C:\FFAStrans_61\Processors\FFMpeg\ffprobe.exe -show_streams -print_format xml "%original_full%" > "C:\meta\%original_name%.xml""
-steipal