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.
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 18811:on_ demand_ movie api/src/ Image/Composite /HelioviewerCom positeImage. php on line 436 api/src/ Image/Composite /HelioviewerCom positeImage. php on line 436 api/src/ Image/Composite /HelioviewerCom positeImage. php on line 436 api/src/ Image/Composite /HelioviewerCom positeImage. php on line 436
*** Starting worker helioviewer:
Starting movie 6222Z
PHP Warning: mkdir(): Permission denied in /var/www/
PHP Warning: mkdir(): Permission denied in /var/www/
PHP Warning: mkdir(): Permission denied in /var/www/
PHP Warning: mkdir(): Permission denied in /var/www/
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