Support » Plugin: WP Video Posts » Bad file passed to ffmpeg in Multisite

  • We are testing “WP Video Posts” in clean installed multisite.

    The root site is called “videoblogs”, and we have created another called “testsite1”.

    When we upload videos to “videoblogs” everything seems ok. But when we upload to “testsite1” videos don’t work.

    We have changed the code just to log the ffmpeg command, and get this:

    Tue, 25 Jun 2013 07:07:35 +0000 -> ffmpeg -i /var/www/medusa/videoblogs/wp-content/uploads/2013/06/test11.avi -acodec libfaac -vcodec libx264 -vpre normal -refs 1 -coder 1 -level 31 -threads 8 -partitions parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 -flags +mv4 -trellis 1 -cmp 256 -me_range 16 -sc_threshold 40 -i_qfactor 0.71 -bf 0 -g 250 /var/www/medusa/videoblogs/wp-content/uploads/2013/06/test11.mp4
    Tue, 25 Jun 2013 07:07:35 +0000 -> Video file was not converted. Possible reasons: missing libraries for ffmpeg, permissions on the directory where the file is being written to...

    The input file to the ffmpeg is not correct, the file has been uploaded to the specific site in:

    “/var/www/medusa/videoblogs/wp-content/uploads/sites/2/2013/06”

    instead of:

    “/var/www/medusa/videoblogs/wp-content/uploads/2013/06/test11.avi”

    ┬┐There’s any configuration needed for multisite?

Viewing 1 replies (of 1 total)
  • Plugin Author cmstactics

    (@cmstactics)

    Hi Murmansk,

    Thank you for your post but unfortunately we have never performed any testing on a multisite so our plugin most likely won’t work on a multisite as you have experienced. We would need to update the plugin to detect if multisite is enabled and determine the site id so that the uploaded video can be uploaded, encoded and stored to the correct directory. Sorry for the inconvenience.

Viewing 1 replies (of 1 total)
  • The topic ‘Bad file passed to ffmpeg in Multisite’ is closed to new replies.