File for preset ‘normal’ not found – clipbucket conversion issues

If you see this error in β€˜File conversion details’of Clipbucket admin_area, to resolve the error do the following :
Download presets from : www.mediasoftpro.com/downloads/Presets.zip
Unzip and upload the presets to /usr/local/share/ffmpeg folder
Thats all.. now you are good to upload videos to your Clipbucket site. If you have any questions, let me know.

About Sarath

A Techie from Kochi, India with 8+ years of experience in Linux and Windows server administration. I learn new things almost everyday and I enjoy the fun of learning and sharing my knowledge.

COMMENTS

25 thoughts on “File for preset ‘normal’ not found – clipbucket conversion issues

  1. You uploaded all presets to /usr/share/ffmpeg? (If /usr/share/ffmpeg does not exist, try /usr/local/share/ffmpeg). Check if libx264-normal.ffpreset file exists in the folder. If not, upload the file to /usr/share/ffmpeg.

  2. Now, I get this ouput:

    Stream #0:2: Data: none
    /usr/local/share/ffmpeg/libx264-normal.ffpreset: Invalid option or argument: 'directpred=3
    ', parsed as 'directpred' = '3'
    Failed to stat file /var/www/mysite/htdocs/files/videos/137820642824153.flv!
    Failed to stat file /var/www/mysite/htdocs/files/videos/137820642824153.flv!

  3. Thank you Sarath,

    this error is gone. Do you maybe know why this message appears "Failed to stat file"?

    Greatz and thanks!

  4. Happy to help.. πŸ™‚

    Regarding the "Failed to stat file" error, can you please check the video conversion details from ClipBucket admin area and paste the full error message? There should be some error above the line "Failed to stat file…" which is the actual cause of the issue.

    Also, please refer the following docs. The first one contains Clipbucket video conversion settings and the second one contains common conversion issues and their fixes,

    1) http://docs.clip-bucket.com/video-conversion-settings
    2) http://docs.clip-bucket.com/how-to-fix-video-conversion-problem

  5. I think the conversion settings are all Ok.

    if I go to menue-point "my account" I get

    Not Found
    The requested URL /my_account was not found on this server.

    or if I go to "my channel" ->

    Not Found
    The requested URL /user/admin was not found on this server.

    full error message:

    Started on 2013-09-04 20:05:01 – 2013 Sep 04

    Checking File ….
    File : /var/www/mysite/htdocs/files/conversion_queue/137831789625dea.flv
    File Exists : Yes

    Preparing file…
    Unknown file details – Unable to get video details using FFMPEG

    Converting Video
    Conversion Command : /usr/local/bin/ffmpeg -i /var/www/phpmotion.meintalent.tv/htdocs/files/conversion_queue/137831789625dea.flv -f flv -vcodec libx264 -vpre normal -r 25 -s 0x0 -aspect 0 -vf pad=0:0:0:0:black -acodec libfaac -ab 128000 -an /var/www/phpmotion.meintalent.tv/htdocs/files/videos/137831789625dea.flv 2> /var/www/mysite/htdocs/files/temp/13783179013c64e.tmp

    Conversion Details

    ffmpeg version N-55964-g4fb3e1a Copyright (c) 2000-2013 the FFmpeg developers
    built on Sep 2 2013 15:49:17 with gcc 4.4.5 (Debian 4.4.5-8)
    configuration: –enable-gpl –enable-nonfree –enable-postproc –enable-pthreads –enable-x11grab –enable-swscale –enable-version3 –enable-shared –disable-yasm –enable-filter=movie –enable-frei0r –enable-libdc1394 –enable-libmp3lame –enable-libx264 –enable-libfreetype –enable-libgsm –enable-libopencore-amrnb –enable-libopencore-amrwb –enable-libopenjpeg –enable-librtmp –enable-libschroedinger –enable-libspeex –enable-libvpx –enable-libvo-amrwbenc –enable-libvo-aacenc –enable-libaacplus –enable-libxavs –enable-bzlib
    libavutil 52. 43.100 / 52. 43.100
    libavcodec 55. 31.100 / 55. 31.100
    libavformat 55. 15.100 / 55. 15.100
    libavdevice 55. 3.100 / 55. 3.100
    libavfilter 3. 82.102 / 3. 82.102
    libswscale 2. 5.100 / 2. 5.100
    libswresample 0. 17.103 / 0. 17.103
    libpostproc 52. 3.100 / 52. 3.100
    [flv @ 0x10fba80] Stream discovered after head already parsed
    Input #0, flv, from '/var/www/mysite/htdocs/files/conversion_queue/137831789625dea.flv':
    Metadata:
    starttime : 0
    totalduration : 131
    totaldatarate : 376
    bytelength : 6147963
    canseekontime : true
    sourcedata : BADC21302HH1339609266153526
    purl :
    pmsg :
    Duration: 00:02:10.91, start: 0.000000, bitrate: 375 kb/s
    Stream #0:0: Video: h264 (Main), yuv420p, 654×480 [SAR 1:1 DAR 109:80], 276 kb/s, 29.92 tbr, 1k tbn, 59.83 tbc
    Stream #0:1: Audio: aac, 44100 Hz, stereo, fltp, 99 kb/s
    Stream #0:2: Data: none
    Invalid aspect ratio: 0
    Failed to stat file /var/www/mysite/htdocs/files/videos/137831789625dea.flv!
    Failed to stat file /var/www/mysite/htdocs/files/videos/137831789625dea.flv!

    Unknown file details – Unable to get output video details using FFMPEG

    Time Took : 0.1021 seconds

    conversion_status : failed

  6. It is hard to tell what is causing these issues without checking the server and logs. Was there any changes done to the site? Like changing installation folder or migrating site from another server?
    If you have all folders, files in place "Not found" error may be because of either mod_rewrite is not installed or RewriteEngine is turned off in your .htaccess file. Please refer the below post for testing rewrite module :
    http://sar-thelinuxstudent.blogspot.in/2013/06/testing-modrewrite.html
    Also make sure RewriteBase is set correctly. If you have installed clipbucket inside a sub folder such as clip you should use the following RewriteBase
    RewriteBase /clip/

    Regarding Video conversion issue, from the error :

    Invalid aspect ratio: 0
    Failed to stat file /var/www/mysite/htdocs/files/videos/137831789625dea.flv!
    Failed to stat file /var/www/mysite/htdocs/files/videos/137831789625dea.flv!

    It is most probably due to the ffmpeg version you are using. Which ffmpeg version you have in your server? I would recommend trying a different ffmpeg version.

  7. Hi Sarath,

    ok rewrite Problem is fixed. Thanks! πŸ˜‰

    FFMPEG-Version:
    ffmpeg version N-55964-g4fb3e1a Copyright (c) 2000-2013 the FFmpeg developers
    built on Sep 2 2013 15:49:17 with gcc 4.4.5 (Debian 4.4.5-8)
    configuration: –enable-gpl –enable-nonfree –enable-postproc –enable-pthreads –enable-x11grab –enable-swscale –enable-version3 –enable-shared –disable-yasm –enable-filter=movie –enable-frei0r –enable-libdc1394 –enable-libmp3lame –enable-libx264 –enable-libfreetype –enable-libgsm –enable-libopencore-amrnb –enable-libopencore-amrwb –enable-libopenjpeg –enable-librtmp –enable-libschroedinger –enable-libspeex –enable-libvpx –enable-libvo-amrwbenc –enable-libvo-aacenc –enable-libaacplus –enable-libxavs –enable-bzlib
    libavutil 52. 43.100 / 52. 43.100
    libavcodec 55. 31.100 / 55. 31.100
    libavformat 55. 15.100 / 55. 15.100
    libavdevice 55. 3.100 / 55. 3.100
    libavfilter 3. 82.102 / 3. 82.102
    libswscale 2. 5.100 / 2. 5.100
    libswresample 0. 17.103 / 0. 17.103
    libpostproc 52. 3.100 / 52. 3.100

    What do you think may this Version cause the problems?

  8. If I start manual video_convert.php I get this warning:

    video:23kB audio:0kB subtitle:0 global headers:0kB
    muxing overhead -100.091916%

    Warning: Division by zero in /var/www/phpmotion.meintalent.tv/htdocs/includes/classes/conversion/ffmpeg.class.php on line 655

    Can this cause a failed status?

    I think my ffmpeg Version is the newest one Version 1.2.3

  9. I have seen the same error before, where latest ffmpeg version was causing the issue and downgrading ffmpeg did the trick. That's why I suggested you to try a different ffmpeg version. The below thread is about the same error/issue : http://code.google.com/p/clipbucket/issues/detail?id=399

    Also "Nameless"(FFmpeg 2.0.1)is the latest stable ffmpeg version not FFmpeg 1.2.3 "Magic". As you continuously have many issues, I would also recommend seeking help on ClipBucket Forum.

  10. Hi Sarath,

    I get the message "File for preset 'hq' not found". There is a libx264-hq.ffpreset File on /usr/local/share/ffmpeg.Do you know what to do..

  11. I am using FFMPEG 2.2.4. And, Clip Bucket. But "aspect 0" is the problem. Someone know how correct it?

    Conversion Command : /usr/bin/ffmpeg -i /home/****/public_html/files/conversion_queue/1404151681314a7.mp4 -f mp4 -vcodec libx264 -vpre normal -r 25 -b:v 512000 -s 0x0 -aspect 0 -vf pad=0:0:0:0:black -acodec libfaac -ab 128000 -an /home/*****/public_html/files/videos/1404151681314a7.flv 2> /home/*****/public_html/files/temp/14041516817a91e.tmp

  12. Apologies for the late response. You can use locate, which commands to locate ffmpeg path and files. If you need any assistance in locating the path, feel free to email me.

Leave a Reply

Your email address will not be published. Required fields are marked *