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

Encoder not working anymore #527

Open lpadumorvan opened 9 months ago

lpadumorvan commented 9 months ago

Hello, Video files are no longer processed by Encoder. Progress bar is freezed. image

I'm using Ubuntu 20.04 and Apache 2.4

Here are the whole logs from encoder :

[11-Jan-2024 11:30:45 Europe/Paris] setStatusError(1, deleted from queue, ) [{"file":"\/var\/www\/AVideo\/upload\/objects\/Encoder.php","line":951,"function":"setStatusError","class":"Encoder","type":"::","args":["1","deleted from queue"]},{"file":"\/var\/www\/AVideo\/upload\/view\/deleteQueue.php","line":21,"function":"deleteQueue","class":"Encoder","object":{},"type":"->","args":[false]}] [11-Jan-2024 11:30:45 Europe/Paris] Encoder::save id=(1) title=(La capitale gauloise disparue) [11-Jan-2024 11:31:21 Europe/Paris] Upload.php will let function decide decideFormatOrder [11-Jan-2024 11:31:21 Europe/Paris] decideFormatOrder: {"file":"WIN_20230628_14_09_04_Pro.mp4","audioOnly":"false","spectrum":"false","webm":"false","override_status":"","videos_id":939,"update_video_id":0,"inputHLS":"false","inputLow":"false","inputSD":"false","inputHD":"false","inputAutoHLS":"false","inputAutoMP4":"true","inputAutoWebm":"false","inputAutoAudio":"false","title":"test","description":"","categories_id":0,"releaseDate":"2024-01-11 11:30:00","timezone":"Europe\/Paris","PHPSESSID":"s82ng3d9nkrbp052ori2svd5d0","notifyURL":""} [11-Jan-2024 11:31:21 Europe/Paris] decideFormatOrder: auto MP4 [11-Jan-2024 11:31:21 Europe/Paris] AVideo-Encoder Format::getFromOrder(7) [11-Jan-2024 11:31:21 Europe/Paris] Upload.php line: 113 "mp4" [11-Jan-2024 11:31:21 Europe/Paris] Encoder::sendFile videos_id=939, format=mp4 [11-Jan-2024 11:31:21 Europe/Paris] Encoder::sendFile sending file to aVideoEncoder.json from [11-Jan-2024 11:31:21 Europe/Paris] sendToStreamer to aVideoEncoder.json [11-Jan-2024 11:31:21 Europe/Paris] Encoder::save id=() title=(WIN_20230628_14_09_04_Pro) [11-Jan-2024 11:31:21 Europe/Paris] Encoder::save id=(2) title=(WIN_20230628_14_09_04_Pro) [11-Jan-2024 11:31:21 Europe/Paris] sendToStreamer spectrumimage not set [11-Jan-2024 11:31:21 Europe/Paris] sendToStreamer rawVideo not set [11-Jan-2024 11:31:21 Europe/Paris] sendToStreamer image not set [11-Jan-2024 11:31:21 Europe/Paris] sendToStreamer gifimage not set [11-Jan-2024 11:31:21 Europe/Paris] sendToStreamer webpimage not set [11-Jan-2024 11:31:21 Europe/Paris] sendToStreamer video not set [11-Jan-2024 11:31:21 Europe/Paris] sendToStreamer http://vod.intranet.fr/aVideoEncoder.json in 0.043 seconds {"error":false,"target":"aVideoEncoder.json","postFields":{"duration":"EE:EE:EE","title":"test","first_request":1,"categories_id":0,"format":"mp4","resolution":"","videoDownloadedLink":null,"description":"","downloadURL":"","chunkFile":"","encoderURL":"http:\/\/vod.intranet.fr\/upload\/","keepEncoding":"0","streamers_id":1,"user":"admin","pass":"_user_hash_b0gwVjNwYzB2WXFMVUZrVlpmVktEdHU2bkkyN1lJYzg1cithOXY2MTZlK00wWlNOc25JeVpDRCt1Qnc3V0hzT3Y5RkNrYVJhVzRHTUxpKzErSzdNb2c9PQ==","return_vars":"{\"videos_id\":939,\"video_id_hash\":\"\",\"releaseDate\":\"2024-01-11 11:30:00\"}","releaseDate":"2024-01-11 11:30:00","releaseTime":1704969000,"videos_id":939,"timezone":"Europe\/Paris"},"response_raw":"{\"error\":false,\"video_id\":939,\"video_id_hash\":\"TnFaV3ZpRDJ6OTI2OS9OTk1Bb2d0dHkxd1VsRi9KQ3I0VGFQdVVoWDJhWT0=\",\"releaseDate\":\"2024-01-11 11:30:00\",\"releaseTime\":\"1704969000\"}","response":{"error":false,"video_id":939,"video_id_hash":"TnFaV3ZpRDJ6OTI2OS9OTk1Bb2d0dHkxd1VsRi9KQ3I0VGFQdVVoWDJhWT0=","releaseDate":"2024-01-11 11:30:00","releaseTime":"1704969000"}} [11-Jan-2024 11:31:21 Europe/Paris] Encoder::save id=(2) title=(WIN_20230628_14_09_04_Pro)

PrXenon commented 8 months ago

You're a hero! it works again. What was the problem? Was it my fault? Many many thanks

DanielnetoDotCom commented 8 months ago

Probably some server update, the php was not finding the system grep command

but it should work now

PrXenon commented 8 months ago

Thanks again.. and ignore the Need help support request :-) I change the passwords back... I just deactivate the Daniel user... and delete the test videos.

DanielnetoDotCom commented 8 months ago

Thanks, appreciate that