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.
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.
didnt work -.- got the same issue as before
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.
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!
You are getting the error because your preset file contains the option "directpred" which is now called "direct-pred". Please try with this preset file : http://sar.mathusps.com/libx264-normal.ffpreset
Thank you Sarath,
this error is gone. Do you maybe know why this message appears "Failed to stat file"?
Greatz and thanks!
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
OK, thanks. I will check all the points π
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
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.
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?
>> ok rewrite Problem is fixed. Thanks! π
Glad to hear that.. π
>> What do you think may this Version cause the problems?
I am not sure if this version of ffmpeg has issues. But looking at the errors, I will recommend trying a different version of ffmmpeg. Since you are on Debian, please refer : http://www.vimp.com/en/documentation-faq-article/items/howto-compile-ffmpeg-for-ubuntu-and-debian.html
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
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.
Hi Sarath,
you were right because of ffmpeg-version. But with ffmpeg 2.0.1 I wasn't successfull. But with this Version everything will be converted fine.
wget http://www.bstack.net/repo/ffmpegauto/ffmpegauto_v3.1.zip
unzip ffmpegauto_v3.1.zip
chmod 777 *
./install.sh
Thanks a lot for your help!
Best regards!
Glad to hear that you got it working.. π Happy to Help..!!
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..
Hello,
Sorry for the delay in responding. Download presets from : http://www.mediasoftpro.com/downloads/Presets.zip
It has files ending .ffpreset, upload them in following directories :
– /usr/share/ffmpeg
– /usr/local/share/ffmpeg
Unknown encoder 'libfaac' error is showing
Libfaac is audio codec. Make sure your ffmpeg is compiled with 'libfaac'. Otherwise it will not process your video.
where in wamp
What is the path to ffmpeg on your system? Is it C:wampbinffmpeg.exe?
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
Sorry for the late response. Can you please let me know the exact error you are getting?
please help to find the path usr/ *
i did'nt find the path please help me out
my email addr ….
abj.atif@yahoo.com
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.