Version : 7.x-2.10+11-dev
Reported errors
PHPVideoToolkit error: Execute error. Output for file "/home/onevid/public_html/sites/default/files/videos/original/qw_1.mpg" was not found. Please check server write permissions and/or available codecs compiled with FFmpeg. You can check the encode decode availability by inspecting the output array from PHPVideoToolkit::getFFmpegInfo().
Executed commands and output
/usr/bin/ffmpeg -i '/home/onevid/public_html/sites/default/files/videos/original/qw_1.mpg' -vf 'scale=540:360' -strict experimental -vcodec 'libx264' -vpre 'libx264-normal' -qscale '12' -acodec 'libfaac' -ac '2' -pass '1' -passlogfile '/home/onevid/public_html/tmp/1377243445-5217113563c93-multipass' -y /home/onevid/public_html/tmp/1377243445-5217113563b49.mp4
FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers
built on Jan 29 2012 23:55:02 with gcc 4.1.2 20080704 (Red Hat 4.1.2-51)
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --enable-avfilter --enable-avfilter-lavf --enable-libdirac --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.19. 0 / 1.19. 0
libswscale 0.11. 0 / 0.11. 0
libpostproc 51. 2. 0 / 51. 2. 0
[mpeg @ 0x16b08b0]max_analyze_duration reached
Seems stream 0 codec frame rate differs from container frame rate: 59.94 (60000/1001) -> 30000.00 (30000/1)
Input #0, mpeg, from '/home/onevid/public_html/sites/default/files/videos/original/qw_1.mpg':
Duration: 00:00:14.00, start: 0.011978, bitrate: 3235 kb/s
Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x480 [PAR 1:1 DAR 3:2], 3000 kb/s, 29.97 fps, 30k tbr, 90k tbn, 59.94 tbc
Stream #0.1[0x1c0]: Audio: mp2, 44100 Hz, 2 channels, s16, 160 kb/s
Unrecognized option 'vf'
Comments
Comment #1
jorrit commentedYour FFmpeg version is very old. Is there any chance you can update it?
Comment #2
Nikdhil Mdohfan commentedWhich is the latest version of FFmpeg? Is there any specific tutorials to do it. Can you help me on this.
Comment #3
Nikdhil Mdohfan commentedAlso what about the PHPVideoToolkit error: Execute error. Output for file error ?
Comment #4
Nikdhil Mdohfan commentedYes i can update FFmpeg. Also what about the PHPVideoToolkit error: Execute error. Output for file error ?
Comment #5
Nikdhil Mdohfan commentedI got this
Comment #6
Nikdhil Mdohfan commentedConfirm that ffmpeg installed the latest version.
Comment #7
jorrit commentedIt is the latest version on your Linux distribution, but not the latest version of the software. You can try to build it yourself using the latest sources. The first error is caused by the second error.
Comment #8
Nikdhil Mdohfan commentedOkay. I will do that.
Is there any best practices to install and configure FFmpeg to use with Drupal to convert mp4, ogg, webm ? Some bash script or something ?
Comment #9
Nikdhil Mdohfan commentedffmpeg version 1.2.2
Reported errors
PHPVideoToolkit error: Execute error. It was not possible to encode "/home/onevid/public_html/sites/default/files/videos/original/qw_1.mpg" as FFmpeg returned an error. The error is with the video codec of the input file. FFmpeg reports the error to be "Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height".
Executed commands and output
Comment #10
jorrit commentedThe error that is important here is:
It appears you selected H.263 as your video codec. I think this is a mistake, you should select H.264. These two are entirely different.
Comment #10.0
jorrit commentedcode formatted
Comment #11
hypertext200