sonnb
Well-known member
I have fixed all current known issues in my local installation. I am doing some evolution for XenGallery.Great! What other bug fixes? Can't wait!
I have fixed all current known issues in my local installation. I am doing some evolution for XenGallery.Great! What other bug fixes? Can't wait!
- Check path of ffmpeg in option.
- Changed video poster to use bigger thumbnail.
- Updated importer to generate gif if enabled when importing and as well as use the defer to convert video rather import instantly.
- Ability to rebuild thumbnails .
ErrorException: Fatal Error: Can't inherit abstract function PHPVideoToolkit\CacheInterface::isAvailable() (previously declared abstract in PHPVideoToolkit\CacheAbstract) - library/PHPVideoToolkit/CacheAbstract.php:22
Yes. You have to setup it.I did not setup ffprobe path, do i have to ?
Nope i did notDid you change anything in the addon, especially sonnb_XenGalleryVideoUpload_Model_FFMPEG? Since the addon is not configured to using a cache driver, you should not get that error.
Thanks for the support.ErrorException: Fatal Error: Can't inherit abstract function PHPVideoToolkit\CacheInterface::isAvailable() (previously declared abstract in PHPVideoToolkit\CacheAbstract) - library/PHPVideoToolkit/CacheAbstract.php:22
Généré par: kankan, il y a un instant
Trace de la pile
#0 [internal function]: XenForo_Application::handleFatalError()
#1 {main}
État de la demande
array(3) {
["url"] => string(124) "http://www.forum-des-portables-asus...h=6e795831e7288d2864db2772e3a54f37&album_id=1"
["_GET"] => array(2) {
["hash"] => string(32) "6e795831e7288d2864db2772e3a54f37"
["album_id"] => string(1) "1"
}
["_POST"] => array(6) {
["Filename"] => string(38) "H264_test1_Talkinghead_mp4_480x360.mp4"
["_xfSessionId"] => string(32) "50f2a04e779d87863d7ecf7690aac24d"
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"
["_xfNoRedirect"] => string(1) "1"
["Upload"] => string(12) "Submit Query"
}
}
Sorry for taking too long time to reply to you. If you are using PHP 5.3 then this is a known issue here: PHP :: Bug #43200 :: Interface implementation / inheritence not possible in abstract classes. You should upgrade your PHP version to get rid of this.re @sonnb,
i have setup ffprobe within the basedir
I did not changed anything to the addon files and still getting this error :
Thanks for the support.
It is not a problem as I have fixed it locally to get rid of it. New version will be posted later.Sadly i cannot upgrade my php version.
Thanks anyway.
- Fix watermark was not applied on animated thumbnails if using Imagick.
- Fix minor issue in he PHPVideoToolkit library which throws an exception while uploading video in PHP 5.3.0 which is a known issue of PHP 5.3.0.
- Fix minor issue in the PHPVideoToolkit library which throws an exception in the Server errors in some cases.
- Fix issue with animated thumbnail generation for very short videos.
- Fix issue when rebuilding contents.
I get this in my error log after uploading an MP4. The video works and plays fine.
Code:ErrorException: Undefined offset: 2 - library/PHPVideoToolkit/FfmpegParserAbstract.php:819 Generated By: Vex, 2 minutes ago Stack Trace #0 /home/vexmall/public_html/library/PHPVideoToolkit/FfmpegParserAbstract.php(819): XenForo_Application::handlePhpError(8, 'Undefined offse...', '/home/vexmall/p...', 819, Array) #1 [internal function]: PHPVideoToolkit\FfmpegParserAbstract->getCommands() #2 /home/vexmall/public_html/library/PHPVideoToolkit/FfmpegParser.php(83): call_user_func_array(Array, Array) #3 /home/vexmall/public_html/library/PHPVideoToolkit/Format.php(122): PHPVideoToolkit\FfmpegParser->__call('getCommands', Array) #4 /home/vexmall/public_html/library/PHPVideoToolkit/Format.php(122): PHPVideoToolkit\FfmpegParser->getCommands() #5 /home/vexmall/public_html/library/PHPVideoToolkit/AudioFormat.php(52): PHPVideoToolkit\Format->__construct('input', Object(PHPVideoToolkit\Config)) #6 /home/vexmall/public_html/library/PHPVideoToolkit/VideoFormat.php(61): PHPVideoToolkit\AudioFormat->__construct('input', Object(PHPVideoToolkit\Config)) #7 /home/vexmall/public_html/library/PHPVideoToolkit/Media.php(226): PHPVideoToolkit\VideoFormat->__construct('input', Object(PHPVideoToolkit\Config)) #8 /home/vexmall/public_html/library/PHPVideoToolkit/Media.php(188): PHPVideoToolkit\Media->_getDefaultFormat('input', 'VideoFormat', NULL) #9 /home/vexmall/public_html/library/PHPVideoToolkit/Media.php(150): PHPVideoToolkit\Media->getDefaultFormat('input', NULL) #10 /home/vexmall/public_html/library/PHPVideoToolkit/Media.php(78): PHPVideoToolkit\Media->setInputFormat(NULL) #11 /home/vexmall/public_html/library/PHPVideoToolkit/Video.php(35): PHPVideoToolkit\Media->__construct('/tmp/phpS03JAc', Object(PHPVideoToolkit\Config), NULL) #12 /home/vexmall/public_html/library/sonnb/XenGalleryVideoUpload/Model/FFMPEG.php(65): PHPVideoToolkit\Video->__construct('/tmp/phpS03JAc', Object(PHPVideoToolkit\Config)) #13 /home/vexmall/public_html/library/sonnb/XenGalleryVideoUpload/Model/FFMPEG.php(55): sonnb_XenGalleryVideoUpload_Model_FFMPEG->_initialData('/tmp/phpS03JAc') #14 /home/vexmall/public_html/library/sonnb/XenGalleryVideoUpload/sonnb/XenGallery/Model/VideoData.php(17): sonnb_XenGalleryVideoUpload_Model_FFMPEG->__construct('/tmp/phpS03JAc') #15 /home/vexmall/public_html/library/sonnb/XenGalleryVideoUpload/sonnb/XenGallery/ControllerPublic/XenGallery/Video.php(124): sonnb_XenGalleryVideoUpload_sonnb_XenGallery_Model_VideoData->insertUploadedVideoData(Object(sonnb_XenGalleryVideoUpload_Model_VideoUpload), Array, NULL) #16 /home/vexmall/public_html/library/XenForo/FrontController.php(347): sonnb_XenGalleryVideoUpload_sonnb_XenGallery_ControllerPublic_XenGallery_Video->actionDoUpload() #17 /home/vexmall/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch)) #18 /home/vexmall/public_html/index.php(13): XenForo_FrontController->run() #19 {main} Request State array(3) { ["url"] => string(119) "http://www.xxx.net/index.php?gallery/videos/do-upload.json&hash=ea831fc9f8ac4f960d9207c8d703e340&album_id=2" ["_GET"] => array(3) { ["gallery/videos/do-upload_json"] => string(0) "" ["hash"] => string(32) "ea831fc9f8ac4f960d9207c8d703e340" ["album_id"] => string(1) "2" } ["_POST"] => array(6) { ["Filename"] => string(21) "xxx" ["_xfNoRedirect"] => string(1) "1" ["_xfSessionId"] => string(32) "2981d8acb1b9d64719a45e462d3a9adf" ["_xfToken"] => string(8) "********" ["_xfResponseType"] => string(4) "json" ["Upload"] => string(12) "Submit Query" } }
ErrorException: Undefined offset: 2 - library/PHPVideoToolkit/FfmpegParserAbstract.php:819
Generated By: Admin, 3 minutes ago
Stack Trace
#0 /home/nginx/domains/MYSite//public/library/PHPVideoToolkit/FfmpegParserAbstract.php(819): XenForo_Application::handlePhpError(8, 'Undefined offse...', '/home/nginx/dom...', 819, Array)
#1 [internal function]: PHPVideoToolkit\FfmpegParserAbstract->getCommands()
#2 /home/nginx/domains/MYSite//public/library/PHPVideoToolkit/FfmpegParser.php(83): call_user_func_array(Array, Array)
#3 /home/nginx/domains/MYSite//public/library/PHPVideoToolkit/Format.php(122): PHPVideoToolkit\FfmpegParser->__call('getCommands', Array)
#4 /home/nginx/domains/MYSite//public/library/PHPVideoToolkit/Format.php(122): PHPVideoToolkit\FfmpegParser->getCommands()
#5 /home/nginx/domains/MYSite//public/library/PHPVideoToolkit/AudioFormat.php(52): PHPVideoToolkit\Format->__construct('input', Object(PHPVideoToolkit\Config))
#6 /home/nginx/domains/MYSite//public/library/PHPVideoToolkit/VideoFormat.php(61): PHPVideoToolkit\AudioFormat->__construct('input', Object(PHPVideoToolkit\Config))
#7 /home/nginx/domains/MYSite//public/library/PHPVideoToolkit/Media.php(226): PHPVideoToolkit\VideoFormat->__construct('input', Object(PHPVideoToolkit\Config))
#8 /home/nginx/domains/MYSite//public/library/PHPVideoToolkit/Media.php(188): PHPVideoToolkit\Media->_getDefaultFormat('input', 'VideoFormat', NULL)
#9 /home/nginx/domains/MYSite//public/library/PHPVideoToolkit/Media.php(150): PHPVideoToolkit\Media->getDefaultFormat('input', NULL)
#10 /home/nginx/domains/MYSite//public/library/PHPVideoToolkit/Media.php(78): PHPVideoToolkit\Media->setInputFormat(NULL)
#11 /home/nginx/domains/MYSite//public/library/PHPVideoToolkit/Video.php(35): PHPVideoToolkit\Media->__construct('/tmp/phpW1iU5c', Object(PHPVideoToolkit\Config), NULL)
#12 /home/nginx/domains/MYSite//public/library/sonnb/XenGalleryVideoUpload/Model/FFMPEG.php(65): PHPVideoToolkit\Video->__construct('/tmp/phpW1iU5c', Object(PHPVideoToolkit\Config))
#13 /home/nginx/domains/MYSite//public/library/sonnb/XenGalleryVideoUpload/Model/FFMPEG.php(55): sonnb_XenGalleryVideoUpload_Model_FFMPEG->_initialData('/tmp/phpW1iU5c')
#14 /home/nginx/domains/MYSite//public/library/sonnb/XenGalleryVideoUpload/sonnb/XenGallery/Model/VideoData.php(17): sonnb_XenGalleryVideoUpload_Model_FFMPEG->__construct('/tmp/phpW1iU5c')
#15 /home/nginx/domains/MYSite//public/library/sonnb/XenGalleryVideoUpload/sonnb/XenGallery/ControllerPublic/XenGallery/Video.php(124): sonnb_XenGalleryVideoUpload_sonnb_XenGallery_Model_VideoData->insertUploadedVideoData(Object(sonnb_XenGalleryVideoUpload_Model_VideoUpload), Array, NULL)
#16 /home/nginx/domains/MYSite//public/library/XenForo/FrontController.php(347): sonnb_XenGalleryVideoUpload_sonnb_XenGallery_ControllerPublic_XenGallery_Video->actionDoUpload()
#17 /home/nginx/domains/MYSite//public/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#18 /home/nginx/domains/MYSite//public/index.php(13): XenForo_FrontController->run()
#19 {main}
Request State
array(3) {
["url"] => string(104) "http://MYSite//gallery/videos/do-upload.json?hash=e31a9e766ce9693c1bba95fe02f0e9e5&album_id=2"
["_GET"] => array(3) {
["/gallery/videos/do-upload_json"] => string(0) ""
["hash"] => string(32) "e31a9e766ce9693c1bba95fe02f0e9e5"
["album_id"] => string(1) "2"
}
["_POST"] => array(6) {
["Filename"] => string(12) "IMG_0810.mp4"
["_xfResponseType"] => string(4) "json"
["_xfSessionId"] => string(32) "60ebf9ab20c08e04a4c2d1f9f35910e4"
["_xfNoRedirect"] => string(1) "1"
["_xfToken"] => string(8) "********"
["Upload"] => string(12) "Submit Query"
}
}
I believe that you have not updated the new version yet . New version fixes this issue.I've finally been able to resume video uploading, after moving our server thanks to @MattW
But @sonnb I'm getting page upon page of server errors now...
I've managed to upload one video which has triggered SIX pages of errors....
Similar to this;
My actual log...
Code:ErrorException: Undefined offset: 2 - library/PHPVideoToolkit/FfmpegParserAbstract.php:819 Generated By: Admin, 3 minutes ago Stack Trace #0 /home/nginx/domains/MYSite//public/library/PHPVideoToolkit/FfmpegParserAbstract.php(819): XenForo_Application::handlePhpError(8, 'Undefined offse...', '/home/nginx/dom...', 819, Array) #1 [internal function]: PHPVideoToolkit\FfmpegParserAbstract->getCommands() #2 /home/nginx/domains/MYSite//public/library/PHPVideoToolkit/FfmpegParser.php(83): call_user_func_array(Array, Array) #3 /home/nginx/domains/MYSite//public/library/PHPVideoToolkit/Format.php(122): PHPVideoToolkit\FfmpegParser->__call('getCommands', Array) #4 /home/nginx/domains/MYSite//public/library/PHPVideoToolkit/Format.php(122): PHPVideoToolkit\FfmpegParser->getCommands() #5 /home/nginx/domains/MYSite//public/library/PHPVideoToolkit/AudioFormat.php(52): PHPVideoToolkit\Format->__construct('input', Object(PHPVideoToolkit\Config)) #6 /home/nginx/domains/MYSite//public/library/PHPVideoToolkit/VideoFormat.php(61): PHPVideoToolkit\AudioFormat->__construct('input', Object(PHPVideoToolkit\Config)) #7 /home/nginx/domains/MYSite//public/library/PHPVideoToolkit/Media.php(226): PHPVideoToolkit\VideoFormat->__construct('input', Object(PHPVideoToolkit\Config)) #8 /home/nginx/domains/MYSite//public/library/PHPVideoToolkit/Media.php(188): PHPVideoToolkit\Media->_getDefaultFormat('input', 'VideoFormat', NULL) #9 /home/nginx/domains/MYSite//public/library/PHPVideoToolkit/Media.php(150): PHPVideoToolkit\Media->getDefaultFormat('input', NULL) #10 /home/nginx/domains/MYSite//public/library/PHPVideoToolkit/Media.php(78): PHPVideoToolkit\Media->setInputFormat(NULL) #11 /home/nginx/domains/MYSite//public/library/PHPVideoToolkit/Video.php(35): PHPVideoToolkit\Media->__construct('/tmp/phpW1iU5c', Object(PHPVideoToolkit\Config), NULL) #12 /home/nginx/domains/MYSite//public/library/sonnb/XenGalleryVideoUpload/Model/FFMPEG.php(65): PHPVideoToolkit\Video->__construct('/tmp/phpW1iU5c', Object(PHPVideoToolkit\Config)) #13 /home/nginx/domains/MYSite//public/library/sonnb/XenGalleryVideoUpload/Model/FFMPEG.php(55): sonnb_XenGalleryVideoUpload_Model_FFMPEG->_initialData('/tmp/phpW1iU5c') #14 /home/nginx/domains/MYSite//public/library/sonnb/XenGalleryVideoUpload/sonnb/XenGallery/Model/VideoData.php(17): sonnb_XenGalleryVideoUpload_Model_FFMPEG->__construct('/tmp/phpW1iU5c') #15 /home/nginx/domains/MYSite//public/library/sonnb/XenGalleryVideoUpload/sonnb/XenGallery/ControllerPublic/XenGallery/Video.php(124): sonnb_XenGalleryVideoUpload_sonnb_XenGallery_Model_VideoData->insertUploadedVideoData(Object(sonnb_XenGalleryVideoUpload_Model_VideoUpload), Array, NULL) #16 /home/nginx/domains/MYSite//public/library/XenForo/FrontController.php(347): sonnb_XenGalleryVideoUpload_sonnb_XenGallery_ControllerPublic_XenGallery_Video->actionDoUpload() #17 /home/nginx/domains/MYSite//public/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch)) #18 /home/nginx/domains/MYSite//public/index.php(13): XenForo_FrontController->run() #19 {main} Request State array(3) { ["url"] => string(104) "http://MYSite//gallery/videos/do-upload.json?hash=e31a9e766ce9693c1bba95fe02f0e9e5&album_id=2" ["_GET"] => array(3) { ["/gallery/videos/do-upload_json"] => string(0) "" ["hash"] => string(32) "e31a9e766ce9693c1bba95fe02f0e9e5" ["album_id"] => string(1) "2" } ["_POST"] => array(6) { ["Filename"] => string(12) "IMG_0810.mp4" ["_xfResponseType"] => string(4) "json" ["_xfSessionId"] => string(32) "60ebf9ab20c08e04a4c2d1f9f35910e4" ["_xfNoRedirect"] => string(1) "1" ["_xfToken"] => string(8) "********" ["Upload"] => string(12) "Submit Query" } }
Really becoming very frustrating.. Hope you can assist.
Thank you
PHPVideoToolkit\FfmpegProcessOutputException: The output "/var/www/html/internal_data/temp/_temp_1437629139_ca1be4b189f60c11985cc0eb0bda14ff_55b07ad33dccb_55b07ad33dd3a.mp4", of the Ffmpeg process does not exist. - library/PHPVideoToolkit/FfmpegProcessProgressable.php:301
Generated By: Unknown Account, 9 minutes ago
Stack Trace
#0 /var/www/html/library/PHPVideoToolkit/Media.php(662): PHPVideoToolkit\FfmpegProcessProgressable->completeProcess()
#1 [internal function]: PHPVideoToolkit\Media->_postProcessOutput(Object(PHPVideoToolkit\FfmpegProcessProgressable))
#2 /var/www/html/library/PHPVideoToolkit/Media.php(766): call_user_func(Array, Object(PHPVideoToolkit\FfmpegProcessProgressable))
#3 [internal function]: PHPVideoToolkit\Media->PHPVideoToolkit\{closure}(Object(PHPVideoToolkit\ExecBuffer))
#4 /var/www/html/library/PHPVideoToolkit/ExecBuffer.php(403): call_user_func(Object(Closure), Object(PHPVideoToolkit\ExecBuffer))
#5 /var/www/html/library/PHPVideoToolkit/ExecBuffer.php(384): PHPVideoToolkit\ExecBuffer->_callCompletionCallbacks()
#6 /var/www/html/library/PHPVideoToolkit/Media.php(780): PHPVideoToolkit\ExecBuffer->execute(Object(Closure))
#7 /var/www/html/library/sonnb/XenGalleryVideoUpload/Model/FFMPEG.php(103): PHPVideoToolkit\Media->save('/var/www/html/i...', Object(PHPVideoToolkit\VideoFormat_H264), -2, Object(PHPVideoToolkit\ProgressHandlerOutput))
#8 /var/www/html/library/sonnb/XenGalleryVideoUpload/Deferred/ConvertVideo.php(54): sonnb_XenGalleryVideoUpload_Model_FFMPEG->convert('mp4', Object(PHPVideoToolkit\ProgressHandlerOutput))
#9 /var/www/html/library/XenForo/Model/Deferred.php(294): sonnb_XenGalleryVideoUpload_Deferred_ConvertVideo->execute(Array, Array, 7.9999971389771, '')
#10 /var/www/html/library/XenForo/Model/Deferred.php(428): XenForo_Model_Deferred->runDeferred(Array, 7.9999971389771, '', false)
#11 /var/www/html/library/XenForo/Model/Deferred.php(373): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#12 /var/www/html/deferred.php(23): XenForo_Model_Deferred->run(false)
#13 {main}
Request State
array(3) {
["url"] => string(43) "http://www.xxxxx.net/deferred.php"
["_GET"] => array(0) {
}
["_POST"] => array(3) {
["_xfRequestUri"] => string(10) "/index.php"
["_xfNoRedirect"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
PHPVideoToolkit\FfmpegProcessOutputException: Encoding failed and an error was returned from ffmpeg. Error code 1 was returned the message (if any) was: Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height - library/PHPVideoToolkit/FfmpegProcessProgressable.php:284
Generated By: Unknown Account, Today at 03:32
Stack Trace
#0 /home/nginx/domains/MYSite/public/library/PHPVideoToolkit/Media.php(662): PHPVideoToolkit\FfmpegProcessProgressable->completeProcess()
#1 [internal function]: PHPVideoToolkit\Media->_postProcessOutput(Object(PHPVideoToolkit\FfmpegProcessProgressable))
#2 /home/nginx/domains/MYSite/public/library/PHPVideoToolkit/Media.php(766): call_user_func(Array, Object(PHPVideoToolkit\FfmpegProcessProgressable))
#3 [internal function]: PHPVideoToolkit\Media->PHPVideoToolkit\{closure}(Object(PHPVideoToolkit\ExecBuffer))
#4 /home/nginx/domains/MYSite/public/library/PHPVideoToolkit/ExecBuffer.php(403): call_user_func(Object(Closure), Object(PHPVideoToolkit\ExecBuffer))
#5 /home/nginx/domains/MYSite/public/library/PHPVideoToolkit/ExecBuffer.php(384): PHPVideoToolkit\ExecBuffer->_callCompletionCallbacks()
#6 /home/nginx/domains/MYSite/public/library/PHPVideoToolkit/Media.php(780): PHPVideoToolkit\ExecBuffer->execute(Object(Closure))
#7 /home/nginx/domains/MYSite/public/library/sonnb/XenGalleryVideoUpload/Model/FFMPEG.php(103): PHPVideoToolkit\Media->save('/home/nginx/dom...', Object(PHPVideoToolkit\VideoFormat_H264), -2, Object(PHPVideoToolkit\ProgressHandlerOutput))
#8 /home/nginx/domains/MYSite/public/library/sonnb/XenGalleryVideoUpload/Deferred/ConvertVideo.php(54): sonnb_XenGalleryVideoUpload_Model_FFMPEG->convert('mp4', Object(PHPVideoToolkit\ProgressHandlerOutput))
#9 /home/nginx/domains/MYSite/public/library/XenForo/Model/Deferred.php(294): sonnb_XenGalleryVideoUpload_Deferred_ConvertVideo->execute(Array, Array, 7.9999969005585, '')
#10 /home/nginx/domains/MYSite/public/library/XenForo/Model/Deferred.php(428): XenForo_Model_Deferred->runDeferred(Array, 7.9999969005585, '', false)
#11 /home/nginx/domains/MYSite/public/library/XenForo/Model/Deferred.php(373): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#12 /home/nginx/domains/MYSite/public/deferred.php(23): XenForo_Model_Deferred->run(false)
#13 {main}
Request State
array(3) {
["url"] => string(38) "http://MYSite/deferred.php"
["_GET"] => array(0) {
}
["_POST"] => array(4) {
["_xfRequestUri"] => string(26) "/gallery/albums/clips.303/"
["_xfNoRedirect"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"
}
}
This happens only if users upload videos are not MP4. It will not affect the video files and they still work as normal. I will catch this exception in the next update.Hi @sonnb! Whenever someone uploads a video of any supported format, I get this in the backend server error log, BUT, the video(s) upload and work fine!
Code:PHPVideoToolkit\FfmpegProcessOutputException: The output "/var/www/html/internal_data/temp/_temp_1437629139_ca1be4b189f60c11985cc0eb0bda14ff_55b07ad33dccb_55b07ad33dd3a.mp4", of the Ffmpeg process does not exist. - library/PHPVideoToolkit/FfmpegProcessProgressable.php:301 Generated By: Unknown Account, 9 minutes ago Stack Trace #0 /var/www/html/library/PHPVideoToolkit/Media.php(662): PHPVideoToolkit\FfmpegProcessProgressable->completeProcess() #1 [internal function]: PHPVideoToolkit\Media->_postProcessOutput(Object(PHPVideoToolkit\FfmpegProcessProgressable)) #2 /var/www/html/library/PHPVideoToolkit/Media.php(766): call_user_func(Array, Object(PHPVideoToolkit\FfmpegProcessProgressable)) #3 [internal function]: PHPVideoToolkit\Media->PHPVideoToolkit\{closure}(Object(PHPVideoToolkit\ExecBuffer)) #4 /var/www/html/library/PHPVideoToolkit/ExecBuffer.php(403): call_user_func(Object(Closure), Object(PHPVideoToolkit\ExecBuffer)) #5 /var/www/html/library/PHPVideoToolkit/ExecBuffer.php(384): PHPVideoToolkit\ExecBuffer->_callCompletionCallbacks() #6 /var/www/html/library/PHPVideoToolkit/Media.php(780): PHPVideoToolkit\ExecBuffer->execute(Object(Closure)) #7 /var/www/html/library/sonnb/XenGalleryVideoUpload/Model/FFMPEG.php(103): PHPVideoToolkit\Media->save('/var/www/html/i...', Object(PHPVideoToolkit\VideoFormat_H264), -2, Object(PHPVideoToolkit\ProgressHandlerOutput)) #8 /var/www/html/library/sonnb/XenGalleryVideoUpload/Deferred/ConvertVideo.php(54): sonnb_XenGalleryVideoUpload_Model_FFMPEG->convert('mp4', Object(PHPVideoToolkit\ProgressHandlerOutput)) #9 /var/www/html/library/XenForo/Model/Deferred.php(294): sonnb_XenGalleryVideoUpload_Deferred_ConvertVideo->execute(Array, Array, 7.9999971389771, '') #10 /var/www/html/library/XenForo/Model/Deferred.php(428): XenForo_Model_Deferred->runDeferred(Array, 7.9999971389771, '', false) #11 /var/www/html/library/XenForo/Model/Deferred.php(373): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false) #12 /var/www/html/deferred.php(23): XenForo_Model_Deferred->run(false) #13 {main} Request State array(3) { ["url"] => string(43) "http://www.xxxxx.net/deferred.php" ["_GET"] => array(0) { } ["_POST"] => array(3) { ["_xfRequestUri"] => string(10) "/index.php" ["_xfNoRedirect"] => string(1) "1" ["_xfResponseType"] => string(4) "json" } }
I suggest you to reinstall FFMPEG. Also try to change the options 'Conversion Tuning' and 'Conversion Speed' to see if it works for you.I get this from other formats besides MP4 and they do not play..
Code:PHPVideoToolkit\FfmpegProcessOutputException: Encoding failed and an error was returned from ffmpeg. Error code 1 was returned the message (if any) was: Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height - library/PHPVideoToolkit/FfmpegProcessProgressable.php:284 Generated By: Unknown Account, Today at 03:32 Stack Trace #0 /home/nginx/domains/MYSite/public/library/PHPVideoToolkit/Media.php(662): PHPVideoToolkit\FfmpegProcessProgressable->completeProcess() #1 [internal function]: PHPVideoToolkit\Media->_postProcessOutput(Object(PHPVideoToolkit\FfmpegProcessProgressable)) #2 /home/nginx/domains/MYSite/public/library/PHPVideoToolkit/Media.php(766): call_user_func(Array, Object(PHPVideoToolkit\FfmpegProcessProgressable)) #3 [internal function]: PHPVideoToolkit\Media->PHPVideoToolkit\{closure}(Object(PHPVideoToolkit\ExecBuffer)) #4 /home/nginx/domains/MYSite/public/library/PHPVideoToolkit/ExecBuffer.php(403): call_user_func(Object(Closure), Object(PHPVideoToolkit\ExecBuffer)) #5 /home/nginx/domains/MYSite/public/library/PHPVideoToolkit/ExecBuffer.php(384): PHPVideoToolkit\ExecBuffer->_callCompletionCallbacks() #6 /home/nginx/domains/MYSite/public/library/PHPVideoToolkit/Media.php(780): PHPVideoToolkit\ExecBuffer->execute(Object(Closure)) #7 /home/nginx/domains/MYSite/public/library/sonnb/XenGalleryVideoUpload/Model/FFMPEG.php(103): PHPVideoToolkit\Media->save('/home/nginx/dom...', Object(PHPVideoToolkit\VideoFormat_H264), -2, Object(PHPVideoToolkit\ProgressHandlerOutput)) #8 /home/nginx/domains/MYSite/public/library/sonnb/XenGalleryVideoUpload/Deferred/ConvertVideo.php(54): sonnb_XenGalleryVideoUpload_Model_FFMPEG->convert('mp4', Object(PHPVideoToolkit\ProgressHandlerOutput)) #9 /home/nginx/domains/MYSite/public/library/XenForo/Model/Deferred.php(294): sonnb_XenGalleryVideoUpload_Deferred_ConvertVideo->execute(Array, Array, 7.9999969005585, '') #10 /home/nginx/domains/MYSite/public/library/XenForo/Model/Deferred.php(428): XenForo_Model_Deferred->runDeferred(Array, 7.9999969005585, '', false) #11 /home/nginx/domains/MYSite/public/library/XenForo/Model/Deferred.php(373): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false) #12 /home/nginx/domains/MYSite/public/deferred.php(23): XenForo_Model_Deferred->run(false) #13 {main} Request State array(3) { ["url"] => string(38) "http://MYSite/deferred.php" ["_GET"] => array(0) { } ["_POST"] => array(4) { ["_xfRequestUri"] => string(26) "/gallery/albums/clips.303/" ["_xfNoRedirect"] => string(1) "1" ["_xfToken"] => string(8) "********" ["_xfResponseType"] => string(4) "json" } }
We use essential cookies to make this site work, and optional cookies to enhance your experience.