Comment 21 for bug 1086075

Revision history for this message
Karthik (karthikgp) wrote :

Keith,
I ran using my user name, and I do have permission to create directories/files in cache/movies. Also, www-data (web server) also has the read/write access.

Also when I checked the ffmpeg.log I see this command..

ffmpeg -r 15 -i /var/www/cache/movies/2013/03/05/6222Z/frames/frame%d.bmp -r 15 -vcodec libx264 -vpre lossless_fast -metadata title="SDO AIA 131 (2011-03-05 16:33:21 - 17:32:45 UTC)" -metadata artist="Helioviewer.org" -metadata description="The Sun as seen through SDO AIA 131 from 2011 to 03 to 05 16:33:21 to 17:32:45 UTC." -metadata comment="This movie was produced by Helioviewer.org. See the original at http://localhost/?movieId=6222Z or download a high-quality version from http://localhost/api/?action=downloadMovie&id=6222Z&format=mp4." -timestamp "2013-03-05T17:03:49Z" -threads 4 -crf 18 -s 672x772 -an -y /var/www/cache/movies/2013/03/05/6222Z/2011_03_05_16_33_21_2011_03_05_17_32_45_AIA_131.mp4 2>/dev/null

However, I could not find the frames directory in the folder /var/www/cache/movies/2013/03/05/6222Z/.

Also, I see permission deny error in the command line ...

k_ganesanpillai@helioviewer:~$ APP_INCLUDE=/var/www/api/scripts/resque_env.php QUEUE=on_demand_movie COUNT=1 php /var/www/api/scripts/resque.php
*** Starting worker helioviewer:18811:on_demand_movie
Starting movie 6222Z
PHP Warning: mkdir(): Permission denied in /var/www/api/src/Image/Composite/HelioviewerCompositeImage.php on line 436
PHP Warning: mkdir(): Permission denied in /var/www/api/src/Image/Composite/HelioviewerCompositeImage.php on line 436
PHP Warning: mkdir(): Permission denied in /var/www/api/src/Image/Composite/HelioviewerCompositeImage.php on line 436
PHP Warning: mkdir(): Permission denied in /var/www/api/src/Image/Composite/HelioviewerCompositeImage.php on line 436
Error processing movie 6222Z

Moreover, I see this error message in main log directory for Resque log.

Unable to create movie: Error encountered during video encoding. This may be caused
            by a FFmpeg configuration issue, or by insufficient permissions in the cache.

Hope, this provides more information on the issue.

Karthik