WWBN / AVideo-Encoder

Encoder Server for AVideo Platform Open-Source
https://platform.avideo.com
GNU Affero General Public License v3.0
152 stars 189 forks source link

Encoding not working for windows ? #216

Open julzxcapz opened 4 years ago

julzxcapz commented 4 years ago

Hi,

Good day! Can I have some help? I've done installing the avideo and avideo-encoder locally but encountered some issue, I'm using window OS with xampp includes: Apache 2.4.41, MariaDB 10.4.11, PHP 7.3.15, phpMyAdmin 5.0.1, OpenSSL 1.1.1, XAMPP Control Panel 3.2.4, Webalizer 2.23-04, Mercury Mail Transport System 4.63, FileZilla FTP Server 0.9.41, Tomcat 7.0.100 (with mod_proxy_ajp as connector), Strawberry Perl 5.16.3.1 Portable.

VERSIONS

When Installing: avideo_install

avideo_encoder_install

When I uploaded a video: video_list

second_try_encode

My Log: [13-Mar-2020 20:39:07 Europe/Berlin] Upload.php will set format [13-Mar-2020 20:39:07 Europe/Berlin] Upload.php will let function decide decideFormatOrder [13-Mar-2020 20:39:07 Europe/Berlin] decideFormatOrder: {"file":"output.avi","audioOnly":"false","spectrum":"false","webm":"false","inputHLS":"false","inputLow":"true","inputSD":"true","inputHD":"true","title":"","description":"","categories_id":"0"} [13-Mar-2020 20:39:07 Europe/Berlin] decideFormatOrder: MP4 All [13-Mar-2020 20:39:07 Europe/Berlin] Encoder::sendFile videos_id=0, format=mp4 [13-Mar-2020 20:39:07 Europe/Berlin] {"status":"error", "msg":"getDurationFromFile ERROR, File () Not Found"} [13-Mar-2020 20:39:07 Europe/Berlin] Encoder::sendFile sending file to http://localhost/AVideo/aVideoEncoder.json [13-Mar-2020 20:39:07 Europe/Berlin] Encoder::sendFile reading file from [13-Mar-2020 20:39:08 Europe/Berlin] AVideo-Streamer answer {"error":false,"video_id":13} [13-Mar-2020 20:39:08 Europe/Berlin] {"error":false,"format":"mp4","file":"","resolution":"","videoDownloadedLink":null,"target":"http:\/\/localhost\/AVideo\/aVideoEncoder.json","postFields":12,"response_raw":"{\"error\":false,\"video_id\":13}","response":{"error":false,"video_id":13}} [13-Mar-2020 20:39:08 Europe/Berlin] Encoder::save id=() title=(output)[{"file":"F:\Program Files\xampp\htdocs\AVideo-Encoder\objects\Encoder.php","line":143,"function":"save","class":"Encoder","object":{},"type":"->","args":[]},{"file":"F:\Program Files\xampp\htdocs\AVideo-Encoder\objects\Encoder.php","line":852,"function":"setReturn_varsVideos_id","class":"Encoder","object":{},"type":"->","args":[13]},{"file":"F:\Program Files\xampp\htdocs\AVideo-Encoder\view\upload.php","line":89,"function":"sendFile","class":"Encoder","type":"::","args":["",0,"mp4",{}]},{"file":"F:\Program Files\xampp\htdocs\AVideo-Encoder\view\jquery-file-upload\server\php\fileuploadchunkdone.php","line":30,"args":["F:\Program Files\xampp\htdocs\AVideo-Encoder\view\upload.php"],"function":"require_once"}] [13-Mar-2020 20:39:08 Europe/Berlin] Encoder::save id=(14) title=(output)[{"file":"F:\Program Files\xampp\htdocs\AVideo-Encoder\view\upload.php","line":96,"function":"save","class":"Encoder","object":{},"type":"->","args":[]},{"file":"F:\Program Files\xampp\htdocs\AVideo-Encoder\view\jquery-file-upload\server\php\fileuploadchunkdone.php","line":30,"args":["F:\Program Files\xampp\htdocs\AVideo-Encoder\view\upload.php"],"function":"require_once"}] [13-Mar-2020 20:39:54 Europe/Berlin] Upload.php will set format [13-Mar-2020 20:39:54 Europe/Berlin] Upload.php will let function decide decideFormatOrder [13-Mar-2020 20:39:54 Europe/Berlin] decideFormatOrder: {"file":"output.avi","audioOnly":"false","spectrum":"false","webm":"false","inputHLS":"false","inputLow":"true","inputSD":"true","inputHD":"true","title":"","description":"","categories_id":"0"} [13-Mar-2020 20:39:54 Europe/Berlin] decideFormatOrder: MP4 All [13-Mar-2020 20:39:54 Europe/Berlin] Encoder::sendFile videos_id=0, format=mp4 [13-Mar-2020 20:39:54 Europe/Berlin] {"status":"error", "msg":"getDurationFromFile ERROR, File () Not Found"} [13-Mar-2020 20:39:54 Europe/Berlin] Encoder::sendFile sending file to http://localhost/AVideo/aVideoEncoder.json [13-Mar-2020 20:39:54 Europe/Berlin] Encoder::sendFile reading file from [13-Mar-2020 20:39:54 Europe/Berlin] AVideo-Streamer answer {"error":false,"video_id":14} [13-Mar-2020 20:39:54 Europe/Berlin] {"error":false,"format":"mp4","file":"","resolution":"","videoDownloadedLink":null,"target":"http:\/\/localhost\/AVideo\/aVideoEncoder.json","postFields":12,"response_raw":"{\"error\":false,\"video_id\":14}","response":{"error":false,"video_id":14}} [13-Mar-2020 20:39:54 Europe/Berlin] Encoder::save id=() title=(output)[{"file":"F:\Program Files\xampp\htdocs\AVideo-Encoder\objects\Encoder.php","line":143,"function":"save","class":"Encoder","object":{},"type":"->","args":[]},{"file":"F:\Program Files\xampp\htdocs\AVideo-Encoder\objects\Encoder.php","line":852,"function":"setReturn_varsVideos_id","class":"Encoder","object":{},"type":"->","args":[14]},{"file":"F:\Program Files\xampp\htdocs\AVideo-Encoder\view\upload.php","line":89,"function":"sendFile","class":"Encoder","type":"::","args":["",0,"mp4",{}]},{"file":"F:\Program Files\xampp\htdocs\AVideo-Encoder\view\jquery-file-upload\server\php\fileuploadchunkdone.php","line":30,"args":["F:\Program Files\xampp\htdocs\AVideo-Encoder\view\upload.php"],"function":"require_once"}] [13-Mar-2020 20:39:54 Europe/Berlin] Encoder::save id=(15) title=(output)[{"file":"F:\Program Files\xampp\htdocs\AVideo-Encoder\view\upload.php","line":96,"function":"save","class":"Encoder","object":{},"type":"->","args":[]},{"file":"F:\Program Files\xampp\htdocs\AVideo-Encoder\view\jquery-file-upload\server\php\fileuploadchunkdone.php","line":30,"args":["F:\Program Files\xampp\htdocs\AVideo-Encoder\view\upload.php"],"function":"require_once"}]

Some of my phpinfo(): image

image

image

Thanks in advance!

DanielnetoDotCom commented 4 years ago

Hi

sorry, we only support Ubuntu.

You may get it to work. but e can only give you support on a Linux environment

julzxcapz commented 4 years ago

Noted, Thanks !