So I have been playing with the ffmpeg-wrapper.sh script that is posted on the
Wiki in the link mentioned above. I am interested in it for puposes other than Refresh on Demand. I don't know if anyone else is using that script. But I found that it had quite a few issues.
I have made some corrections so that it runs for me. But I have not tested it with the whole Refresh on Demand set up.
I have posted it to the Wiki as
ffmpeg-wrapperv2.zipMy changes are:
Make it a bash script instead of a sh script - so the [[ ]] extended test construct works
Fixed line feeds so they are Unix style not windows style
Fixed missing close quotes on the curl call (and added the closing </PARAMETER> tag
added [[ ]] to the test for =="-i"
Make it work if ffmpeg executable is not in the same folder as this script
To do this you set a FFmpegFOLDER variable to the location of your ffmpeg executable. If it resides in the same folder as
this ffmpeg-wrapper.sh then "." is valid
This is all just FYI stuff. Don't expect anyone to do any thing with this. Somone might find it useful. Or Not.