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

Can't upload video #449

Open foxinstone opened 2 years ago

foxinstone commented 2 years ago

Hi, Daniel: I don't know why, After I fresh instal newest version AVideo & Encoder on ubunttu 22.04 ,I can't upload video ,Include Mp4 Or youtube. Even use yours Encoder. I was using ubuntu 20.04 a few days ago and everything worked fine.

I didn't post the screenshot of the streamer, there will be a line of information in "My Video", it will stay in "Encoding..." forever, and there is no abnormality in the log. Trust my familiarity with AVideo, everything worked fine during the installation. The health check also works fine (except for HTTPS). I have installed all the tables and disabled VR360 before uploading the video... The situation is the same with your encoder, of course in that case I won't get the encoder logs and I won't see the MP4 file appear.

When uploading a youtube video, youtube-dl works normally and can download the youtube video file smoothly. The next situation is the same as uploading MP4.

Ubuntu: 22.04 PHP: 8.1 FFMPEG: 4.4.2 MariaDB: 10.6.7

Help me!

image image image

DanielnetoDotCom commented 2 years ago

Check your streamer and encoder logs

but I suspect you need to make a git pull on both.

also make sure you run the update on them properly

foxinstone commented 2 years ago

Ok, I just did a "git pull" (steamer & encoder). but same fault. streamer log: image

too long,the text: [25-Jul-2022 12:22:22 Africa/Abidjan] AVideoLog::DEBUG: aVideoEncoder.json: start to receive: {"duration":"EE:EE:EE","title":"test","videos_id":0,"video_id_hash":"","first_request":"1","categories_id":0,"format":"mp4","resolution":"","videoDownloadedLink":"","description":"","user":"admin","password":"_user_hash_OXJZVWxDY3FBY3EvQkRNb1ZTcHVpSzZGYVgrYXpQRW5EcWxiRmNsRUlISjJ4SGg5VlZRSmowUGttcW9LNFNNTStNZ0xjZXpaRWh6Q0hQV0d1a3c2M1E9PQ==","downloadURL":"","chunkFile":"","encoderURL":"https:\/\/xxxx.xxxx-xx.com\/upload\/","keepEncoding":"0","return_vars":"{\"videos_id\":0,\"video_id_hash\":\"\"}","redirectUri":""} SCRIPT_NAME: /objects/aVideoEncoder.json.php

[25-Jul-2022 12:22:22 Africa/Abidjan] AVideoLog::DEBUG: aVideoEncoder.json: Encoder receiving post {"duration":"EE:EE:EE","title":"test","videos_id":0,"video_id_hash":"","first_request":"1","categories_id":0,"format":"mp4","resolution":"","videoDownloadedLink":"","description":"","user":"admin","password":"_user_hash_OXJZVWxDY3FBY3EvQkRNb1ZTcHVpSzZGYVgrYXpQRW5EcWxiRmNsRUlISjJ4SGg5VlZRSmowUGttcW9LNFNNTStNZ0xjZXpaRWh6Q0hQV0d1a3c2M1E9PQ==","downloadURL":"","chunkFile":"","eencoderURL":"https:\/\/xxxx.xxxx-xx.com\/upload\/","keepEncoding":"0","return_vars":"{\"videos_id\":0,\"video_id_hash\":\"\"}","redirectUri":""} SCRIPT_NAME: /objects/aVideoEncoder.json.php (I don't know why the timezone info becomes "Africa/Abidjan"?)

Encoderlog: image

DanielnetoDotCom commented 2 years ago

can you see this screen on your encoder?

image

what version do you see there?

foxinstone commented 2 years ago

Don't worry man, I'm pretty familiar with this project. image

foxinstone commented 2 years ago

You may have overlooked the situation I introduced earlier, that is, even if I use the encoder "https://encoder1.wwbn.net", I can't upload videos (the phenomenon is the same, but I can't see the log, and I can't see it uploaded MP4 files.). This seems to indicate that it is not the encoder's problem. Personally I tend to think that the problem now is related to the environment (eg Ubuntu 22.04). I was using a LAMP environment under Ubuntu 20.04 a few days ago and everything worked fine.

DanielnetoDotCom commented 2 years ago

Hi

you may want to check your streamer logs

the videos_id error in most of the cases is a communication fail between encoder and streamer.

mbicha68 commented 2 years ago

Hi, we have a very similar problem after upgrading 20.04 LTS. Were you able to solve the problem or find the cause ? Thanks in advance