Cannot create movies

Bug #1086075 reported by Karthik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Helioviewer.org
New
High
Keith Hughitt

Bug Description

After installing the application, I am not able to create any movies. It just says forever, the movie is processing.

See the screen shot of the issue.

Revision history for this message
Karthik (karthikgp) wrote :
Revision history for this message
Keith Hughitt (keith-hughitt) wrote : Re: [Bug 1086075] [NEW] Cannot create movies

Are any related error logs generated in either <web_root>/log or
/var/log/apache/error.log?

Did you install FFmpeg and x264?

On Mon, Dec 3, 2012 at 1:07 PM, Karthik <email address hidden> wrote:

> Public bug reported:
>
> After installing the application, I am not able to create any movies. It
> just says forever, the movie is processing.
>
> See the screen shot of the issue.
>
> ** Affects: helioviewer.org
> Importance: Undecided
> Status: New
>
> ** Attachment added: "Screen shot of the application in a browser"
>
> https://bugs.launchpad.net/bugs/1086075/+attachment/3450759/+files/Image%204.png
>
> --
> You received this bug notification because you are a member of
> Helioviewer, which is subscribed to Helioviewer.org.
> https://bugs.launchpad.net/bugs/1086075
>
> Title:
> Cannot create movies
>
> Status in Helioviewer.org:
> New
>
> Bug description:
> After installing the application, I am not able to create any movies.
> It just says forever, the movie is processing.
>
> See the screen shot of the issue.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/helioviewer.org/+bug/1086075/+subscriptions
>

Revision history for this message
Karthik (karthikgp) wrote :

I just installed ffmpeg, not x264.

I will install x264 and see what happens.

Revision history for this message
Karthik (karthikgp) wrote :

Also, I do not see any error logs generated in <web_root>/log or in /var/log/apache/error.log

Revision history for this message
Keith Hughitt (keith-hughitt) wrote :
Revision history for this message
Karthik (karthikgp) wrote :

I enabled the logs, however I dont see an log error in folder <web_root>/log or any significant logs in file /var/log/apache/error.log.

I installed ffmpeg and x264 and I still have the same issue.

Revision history for this message
Karthik (karthikgp) wrote :

After a day finally I see some message. Movie status is changed from "Processing" to "Error".

See the screen shot attached.

I do not see any significant error log in apache2 error.log file, and I do not see anything in [root folder]/log directory.

Revision history for this message
Keith Hughitt (keith-hughitt) wrote :

In the cache directory for a given movie (e.g. cache/movies/.../abc123) there should be a log generated with the command used by FFmpeg. Are those logs there?

If so, what I would try is editing api/src/Movie/HelioviewerMovie.php and temporarily comment out the lines which are responsible for deleting the movie frame after the videos have been generated:

340- // Clean up movie frame images that are no longer needed
341- if (file_exists($dir)) {
342- foreach (glob("$dir*") as $image) {
343: unlink($image);
344- }
345- rmdir($dir);

Then go back and try running the FFmpeg command from the log manually and see if it works.

Revision history for this message
Karthik (karthikgp) wrote :

I dont see a directory for movies inside cache directory.

And what is the command used by FFmpeg ?

See the screen shot of folders that I have under /var/www/cache directory.

Revision history for this message
Karthik (karthikgp) wrote :

After adding filling in the value for HV_MOVIE_ID_PASS in /var/www/settings/Private.php file with define("HV_MOVIE_ID_PASS", "8sHNa4ju");

I see error message in resque web management for a movie I created.

See attached screen shot of resque web management failed jobs.

Revision history for this message
Keith Hughitt (keith-hughitt) wrote :

What permissions do you have for the cache dir? Apache (www-data or httpd) much be able to write there. The easiest way to ensure this is to do a chmod -R 777 cache/, or add www-data to a group with all privileges there.

How did you end up getting Resque web working?

Revision history for this message
Karthik (karthikgp) wrote :

See the attached screen shot of permission on cache directory.

I made the permission of webserver to access the entire folder /var/www and earlier I just tried "http://helioviewer.cs.montana.edu:4567/" and it did not work. This is how it was mentioned in the installation wiki (i.e, http://localhost:4567 (replace "localhost" with the hostname for your server when accessing externally). )

However, it worked when I tried "http://helioviewer.cs.montana.edu:4567/resque/"

Revision history for this message
Karthik (karthikgp) wrote :

Moreover, for resque setup, I also make these settings

PATH=/usr/local/bin:/usr/bin APP_INCLUDE=/var/www/api/scripts/resque_env.php

 and run these jobs in the background.

QUEUE=on_demand_movie COUNT=5 php /var/www/api/scripts/resque.php &
USER=username PASS=pass /var/lib/gems/1.8/bin/rackup api/scripts/boot.ru &

Please note, in the installation wiki only the job "USER=username PASS=pass /var/lib/gems/1.8/bin/rackup api/scripts/boot.ru" is mentioned. We need to update the wiki with other information as well.

Revision history for this message
Karthik (karthikgp) wrote :

Keith,
I am not able to create movies still. I have loaded all the data.

See the screen shot of error details in resque management. It says, "could not find job class Job Moviebuilder"

Karthik

Revision history for this message
Karthik (karthikgp) wrote :

Keith,
Do we have any update on this issue ? Please, let me know.

Thanks.
Karthik

Revision history for this message
Keith Hughitt (keith-hughitt) wrote :

Karthik,

It is possible that the error you encountered in Resque is due to the workers not be launched with the proper configuration.

Start by killing any workers currently running (you can use "resque list" or "ps -ef | grep resque" to identify them), and then
run the command "APP_INCLUDE=/var/www/api/scripts/resque_env.php QUEUE=on_demand_movie COUNT=1 php /var/www/api/scripts/resque.php" on the command-line. Do not background the job though so you can follow it's output. Also, make sure the paths pointing to resque_env.php and resque.php are correct.

If all goes well the resque worker daemon should start without any errors. If this is the case, now try requesting a movie on Helioviewer and see if the worker on the command-line recieves the request, and if so, any output that is displayed. Also, check the web UI to see if any errors appear there.

Let me know how this goes and we will decide how to proceed from here.

Revision history for this message
Karthik (karthikgp) wrote :

Keith,
I killed and started the workers in command line as you mentioned.

See the attached screen shots of the error (in console and in resque web management).

Karthik

Revision history for this message
Karthik (karthikgp) wrote :

See the attached screen shot of resque web management display with more detailed error information.

Revision history for this message
Karthik (karthikgp) wrote :

Keith, Do we have any updates on this ? Please, let me know.

Karthik

Changed in helioviewer.org:
importance: Undecided → High
Revision history for this message
Keith Hughitt (keith-hughitt) wrote :

Okay, so the workers are at least responding to the jobs now. Next things to check:

1) Does the user running the resque workers have permissions to read/write in cache/movies? You can test this by creating a directory and touching a file in there as the same user.
2) If so, do you see any directories created in the movie cache? e.g. 2013/03/05/xxxyyy/

If the directories do exist, check to see if an ffmpeg.log exists inside. That should provide you with more information. You can also check the main log directory to see if anything is logged there, but In this case I don't think there will be.

If the problem is not a permission error, then I suspect at this point it may be missing codecs (e.g. libx264).

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

Revision history for this message
Karthik (karthikgp) wrote :

Hi Kieth,
Do we have any update on this bug. Kindly, let me know.

Thanks.
Karthik

Revision history for this message
Keith Hughitt (keith-hughitt) wrote :

Hi Karthik,

It looks like there is still some underlying permissions issue. It looks like something is still off as far as the permissions go. Using the same user that you are running resque_env as, what happens if you try "mkdir -p /var/www/cache/movies/2013/03/05/6222Z/frames/"?

Another thing you can try to see if this is the issue is to try making the cache directory completely open, e.g.

chmod -R 777 /var/www/cache

Revision history for this message
Karthik (karthikgp) wrote :

Hi Keith,
Using the same user name that I use for running resque_env, I tried the command "mkdir -p /var/www/cache/movies/2013/03/05/6222Z/frames/". It created the frames directory in that path successfully.

And also, I changed cache directory to be completely open with the command chmod -R 777 /var/www/cache. However, I still get the error for processing movies.

Karthik

Revision history for this message
Keith Hughitt (keith-hughitt) wrote :

Strange. Helioviewer must be attempting to create the directory in the wrong location...

Just to be sure though, can you try creating a test.php script somewhere in your web server with a simple command to create a directory in the cache, e.g.

<?php
mkdir("/var/www/cache/movies/2013/03/05/6222Z/test", 0777, true);
?>

And open it in the web browser. Then check and see if the directory is there (if not, try checking the Apache/PHP error logs to verify that it failed).

If that works, then we Helioviewer is definitely pointing to the wrong location so we need to figure out what is going on.

As a first step, try editing HelioviewerCompositeImage.php and right before the problematic line (436), try adding a print statement to print out $this->_dir.

Revision history for this message
Karthik (karthikgp) wrote :

I created the test.php with the command you mentioned and when I open it in a browser, it created a directory in that path specified.

Moreover, with the print command I am seeing this message.

*** Starting worker helioviewer:18626:on_demand_movie
Starting movie d222Z
directory is /var/www/cache/movies/2013/04/11/d222Z/frames

And then followed by

Error processing movie d222Z

I dont see the frames directory :(, but d222z does exist with the following permissions.

-rw-r--r-- 1 k_ganesanpillai k_ganesanpillai 779 2013-04-11 16:02 ffmpeg.log
-rw-r--r-- 1 k_ganesanpillai k_ganesanpillai 366436 2013-04-11 16:02 preview-full.png
-rw-r--r-- 1 k_ganesanpillai k_ganesanpillai 4457 2013-04-11 16:02 preview-icon.png
-rw-r--r-- 1 k_ganesanpillai k_ganesanpillai 153680 2013-04-11 16:02 preview-large.png
-rw-r--r-- 1 k_ganesanpillai k_ganesanpillai 43178 2013-04-11 16:02 preview-medium.png
-rw-r--r-- 1 k_ganesanpillai k_ganesanpillai 25676 2013-04-11 16:02 preview-small.png

Revision history for this message
Keith Hughitt (keith-hughitt) wrote :

Hi Karthik,

To see if the frames directory (and the corresponding frames) are ever created, try editing HelioviewerMovie.php and comment out the "unlink" and "rmdir" lines in the "_cleanUp()" method.

Then try creating a new movie and you will be able to see how far the process gets.

Revision history for this message
Karthik (karthikgp) wrote :

Hi Keith,
I commented "unlink" and "rmdir" in the "_cleanUp()" method in HelioviewerMovie.php.

Then, tried to create a movie, however still the same error message as before. See below.

k_ganesanpillai@helioviewer:/var/www/api/src/Movie$ 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:24839:on_demand_movie
Starting movie c222Z
directory is /var/www/cache/movies/2013/04/12/c222Z/framesError processing movie c222Z

Karthik

Revision history for this message
Keith Hughitt (keith-hughitt) wrote :

Do you now see a "frames" directory? or is it still not being created?

Revision history for this message
Karthik (karthikgp) wrote :

Awesome, yes I see the frames directory and lots of bmp files are in it. See below.

k_ganesanpillai@helioviewer:/var/www/cache/movies/2013/04/12/c222Z/frames$ ls
frame0.bmp frame110.bmp frame121.bmp frame16.bmp frame27.bmp frame38.bmp frame49.bmp frame5.bmp frame70.bmp frame81.bmp frame92.bmp
frame100.bmp frame111.bmp frame122.bmp frame17.bmp frame28.bmp frame39.bmp frame4.bmp frame60.bmp frame71.bmp frame82.bmp frame93.bmp
frame101.bmp frame112.bmp frame123.bmp frame18.bmp frame29.bmp frame3.bmp frame50.bmp frame61.bmp frame72.bmp frame83.bmp frame94.bmp
frame102.bmp frame113.bmp frame124.bmp frame19.bmp frame2.bmp frame40.bmp frame51.bmp frame62.bmp frame73.bmp frame84.bmp frame95.bmp
frame103.bmp frame114.bmp frame125.bmp frame1.bmp frame30.bmp frame41.bmp frame52.bmp frame63.bmp frame74.bmp frame85.bmp frame96.bmp
frame104.bmp frame115.bmp frame126.bmp frame20.bmp frame31.bmp frame42.bmp frame53.bmp frame64.bmp frame75.bmp frame86.bmp frame97.bmp
frame105.bmp frame116.bmp frame127.bmp frame21.bmp frame32.bmp frame43.bmp frame54.bmp frame65.bmp frame76.bmp frame87.bmp frame98.bmp
frame106.bmp frame117.bmp frame128.bmp frame22.bmp frame33.bmp frame44.bmp frame55.bmp frame66.bmp frame77.bmp frame88.bmp frame99.bmp
frame107.bmp frame118.bmp frame12.bmp frame23.bmp frame34.bmp frame45.bmp frame56.bmp frame67.bmp frame78.bmp frame89.bmp frame9.bmp
frame108.bmp frame119.bmp frame13.bmp frame24.bmp frame35.bmp frame46.bmp frame57.bmp frame68.bmp frame79.bmp frame8.bmp
frame109.bmp frame11.bmp frame14.bmp frame25.bmp frame36.bmp frame47.bmp frame58.bmp frame69.bmp frame7.bmp frame90.bmp
frame10.bmp frame120.bmp frame15.bmp frame26.bmp frame37.bmp frame48.bmp frame59.bmp frame6.bmp frame80.bmp frame91.bmp

Revision history for this message
Keith Hughitt (keith-hughitt) wrote :

Alright! Now we are getting somewhere!

Now try running the FFmpeg command from the ffmpeg log file in the same movie directory. It will probably fail, but will hopefully tell us something interesting.

Revision history for this message
Karthik (karthikgp) wrote :

Okay, here is the new error message!

k_ganesanpillai@helioviewer:/var/www/cache/movies/2013/04/12/c222Z$ ffmpeg -r 15 -i /var/www/cache/movies/2013/04/12/c222Z/frames/frame%d.bmp -r 15 -vcodec libx264 -vpre lossless_fast -metadata title="SDO AIA 304 (2011-04-12 15:25:08 - 16:24:32 UTC)" -metadata artist="Helioviewer.org" -metadata description="The Sun as seen through SDO AIA 304 from 2011 to 04 to 12 15:25:08 to 16:24:32 UTC." -metadata comment="This movie was produced by Helioviewer.org. See the original at http://localhost/?movieId=c222Z or download a high-quality version from http://localhost/api/?action=downloadMovie&id=c222Z&format=mp4." -timestamp "2013-04-12T15:56:08Z" -threads 4 -crf 18 -s 672x834 -an -y /var/www/cache/movies/2013/04/12/c222Z/2011_04_12_15_25_08_2011_04_12_16_24_32_AIA_304.mp4
ffmpeg version N-47486-g6d7effa Copyright (c) 2000-2012 the FFmpeg developers
  built on Dec 5 2012 12:07:27 with gcc 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4)
  configuration: --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --disable-ffplay --enable-shared --enable-gpl --enable-postproc --enable-version3 --enable-nonfree --enable-avfilter --enable-pthreads
  libavutil 52. 11.101 / 52. 11.101
  libavcodec 54. 79.100 / 54. 79.100
  libavformat 54. 46.100 / 54. 46.100
  libavdevice 54. 3.102 / 54. 3.102
  libavfilter 3. 24.100 / 3. 24.100
  libswscale 2. 1.103 / 2. 1.103
  libswresample 0. 17.102 / 0. 17.102
  libpostproc 52. 2.100 / 52. 2.100
Input #0, image2, from '/var/www/cache/movies/2013/04/12/c222Z/frames/frame%d.bmp':
  Duration: 00:00:05.16, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: bmp, bgra, 672x834, 25 fps, 25 tbr, 25 tbn, 25 tbc
File for preset 'lossless_fast' not found

Revision history for this message
Karthik (karthikgp) wrote :
Download full text (4.2 KiB)

However, after removing all the preset options, the ffmpeg command generated the movie. See below.

k_ganesanpillai@helioviewer:/var/www/cache/movies/2013/04/12/c222Z$ ffmpeg -r 15 -i /var/www/cache/movies/2013/04/12/c222Z/frames/frame%d.bmp -r 15 -vcodec libx264 /var/www/cache/movies/2013/04/12/c222Z/2011_04_12_15_25_08_2011_04_12_16_24_32_AIA_304.mp4
ffmpeg version N-47486-g6d7effa Copyright (c) 2000-2012 the FFmpeg developers
  built on Dec 5 2012 12:07:27 with gcc 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4)
  configuration: --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --disable-ffplay --enable-shared --enable-gpl --enable-postproc --enable-version3 --enable-nonfree --enable-avfilter --enable-pthreads
  libavutil 52. 11.101 / 52. 11.101
  libavcodec 54. 79.100 / 54. 79.100
  libavformat 54. 46.100 / 54. 46.100
  libavdevice 54. 3.102 / 54. 3.102
  libavfilter 3. 24.100 / 3. 24.100
  libswscale 2. 1.103 / 2. 1.103
  libswresample 0. 17.102 / 0. 17.102
  libpostproc 52. 2.100 / 52. 2.100
Input #0, image2, from '/var/www/cache/movies/2013/04/12/c222Z/frames/frame%d.bmp':
  Duration: 00:00:05.16, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: bmp, bgra, 672x834, 25 fps, 25 tbr, 25 tbn, 25 tbc
[libx264 @ 0xfbb520] using cpu capabilities: MMX2 SSE2Fast FastShuffle LZCNT BMI1
[libx264 @ 0xfbb520] profile High, level 3.1
[libx264 @ 0xfbb520] 264 - core 129 r2230 1cffe9f - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=15 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to '/var/www/cache/movies/2013/04/12/c222Z/2011_04_12_15_25_08_2011_04_12_16_24_32_AIA_304.mp4':
  Metadata:
    encoder : Lavf54.46.100
    Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 672x834, q=-1--1, 15360 tbn, 15 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (bmp -> libx264)
Press [q] to stop, [?] for help
frame= 129 fps= 71 q=-1.0 Lsize= 765kB time=00:00:08.46 bitrate= 740.5kbits/s
video:763kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.299115%
[libx264 @ 0xfbb520] frame I:1 Avg QP:16.85 size: 64078
[libx264 @ 0xfbb520] frame P:36 Avg QP:17.68 size: 19303
[libx264 @ 0xfbb520] frame B:92 Avg QP:16.81 size: 235
[libx264 @ 0xfbb520] consecutive B-frames: 4.7% 0.0% 2.3% 93.0%
[libx264 @ 0xfbb520] mb I I16..4: 65.7% 17.4% 16.8%
[libx264 @ 0xfbb520] mb P I16..4: 0.4% 0.0% 0.0% P16..4: 14.6% 5.2% 6.4% 0.0% 0.0% skip:73.4%
[libx264 @ 0xfbb520] mb B I16..4: 0.1% 0.0% 0.0% B16..8: 6.1% 0.0% 0.0% direct: 0.3% skip:9...

Read more...

Revision history for this message
Keith Hughitt (keith-hughitt) wrote :

Ah, I should have guessed it. So the FFmpeg presets are a way to specify a group of settings to apply during encoding to achieve some particular goal (e.g. quality level or file size).

Here is some information about it:

http://wiki.helioviewer.org/wiki/Movie_generation_using_FFmpeg

Can you check to see if you have any .ffpreset files? You can try checking the default locations (e.g. /usr/share/ffmpeg), or using 'sudo updatedb' and 'locate' to look for 'ffpreset'.

Depending on which presets you have available, we can either adjust the relevant settings in Config.ini, or you can copy the presets included with Helioviewer, which are located in "api/resources/FFmpeg/".

Changed in helioviewer.org:
assignee: nobody → Keith Hughitt (keith-hughitt)
Revision history for this message
Karthik (karthikgp) wrote :

Hi Keith,
Here is the details on the presets I have now.

k_ganesanpillai@helioviewer:/var/www/cache/movies/2013/04/12/c222Z$ locate ffpreset
/usr/local/share/ffmpeg/libvpx-1080p.ffpreset
/usr/local/share/ffmpeg/libvpx-1080p50_60.ffpreset
/usr/local/share/ffmpeg/libvpx-360p.ffpreset
/usr/local/share/ffmpeg/libvpx-720p.ffpreset
/usr/local/share/ffmpeg/libvpx-720p50_60.ffpreset
/usr/local/share/ffmpeg/libx264-ipod320.ffpreset
/usr/local/share/ffmpeg/libx264-ipod640.ffpreset
/var/www/api/resources/FFmpeg/libx264-hq.ffpreset
/var/www/api/resources/FFmpeg/libx264-lossless_fast.ffpreset
/var/www/ffmpeg/presets/libvpx-1080p.ffpreset
/var/www/ffmpeg/presets/libvpx-1080p50_60.ffpreset
/var/www/ffmpeg/presets/libvpx-360p.ffpreset
/var/www/ffmpeg/presets/libvpx-720p.ffpreset
/var/www/ffmpeg/presets/libvpx-720p50_60.ffpreset
/var/www/ffmpeg/presets/libx264-ipod320.ffpreset
/var/www/ffmpeg/presets/libx264-ipod640.ffpreset

I have the following information in Config.ini file on presets, under movie parameters.

x264_preset = "lossless_fast"
x264_hq_preset = "ultrafast"

Let me know, what to do. Thanks.

Karthik

Revision history for this message
Keith Hughitt (keith-hughitt) wrote :

It looks like FFmpeg may now use the 'avpreset' files provided by the 'libav-tools' package. Try doing another locate for 'avpreset' and see if anything comes up.

Revision history for this message
Karthik (karthikgp) wrote :

Keith,
Nothing comes up for avpreset, when I do a locate avpreset :(

Karthik

Revision history for this message
Keith Hughitt (keith-hughitt) wrote :

Karthik -- try installing libav-tools:

sudo apt-get install libav-tools

then do a 'sudo updatedb' and try to locate the avpreset files again.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.