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.

CommentFileSizeAuthor
enable-abolute-paths.patch2.22 KBguidot

Comments

guidot’s picture

Status: Active » Needs review
jbrown’s picture

I 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.

jbrown’s picture

Status: Needs review » Fixed

applied

Anonymous’s picture

Status: Fixed » Closed (fixed)
mbria’s picture

Thanks a lot for the patch. :-)
Works like a charm.