I use a local FFMPEG.
For security reasons I have my files directory outside the web-dir. That does not work with Openpackage Video. ffmpeg.inc precedes every path with a
./
so I ended up with the error Transcoding failed. Please try another video.
The attached patch removes all these prefixes. The transcoding now works.
I'm not sure if there has been any idea beyond my mind, which made the author including these prefixes, especially in termes of security. If anyone does, please correct me.
| Comment | File | Size | Author |
|---|---|---|---|
| enable-abolute-paths.patch | 2.22 KB | guidot |
Comments
Comment #1
guidot commentedComment #2
jbrown commentedI put in the ./ becuase the version of ffmpeg that I was using during development wouldn't work without it. However I have just tried the latest revision of ffmpeg and the ./ is no longer required. Guess it was just a bug.
I'll apply your patch.
Comment #3
jbrown commentedapplied
Comment #4
(not verified) commentedComment #5
mbria commentedThanks a lot for the patch. :-)
Works like a charm.