WWBN / AVideo

Create Your Own Broadcast Network With AVideo Platform Open-Source. OAVP OVP
https://avideo.tube/AVideo_OpenSource
Other
1.92k stars 974 forks source link

Loading video mp4 error #5701

Closed sharknetwork24 closed 3 years ago

sharknetwork24 commented 3 years ago

The biggest problem is that when users upload certain mp4 video files, they appear to be loaded. When I check inside the server if the video is present I find only the preview image files but no mp4 files. This happens mostly with videos downloaded from Whatsapp, Facebook, YouTube etc. Some time ago you asked me to try to upload them to your demo platform, I tried as admin but I get a warning message that it is not possible to upload videos to your demo platform. There are probably limits set by you. I would like to no longer have this unpleasant problem because users find it very boring and it leads to a departure from our platform on their part. Meanwhile, I would like to solve once and for all the loading of the mp4 format without any more problems. And then later, always if possible, to be able to load other video file formats such as MKV, MOV, MPG, MPEG-1, MPEG-2, AVI, WMV, etc. It would be great if you could use different formats. Daniel one at a time we have to fix everything. In the photo you can find an indication of what users use to upload videos. I'm waiting for your answer. Thanks

77

DanielnetoDotCom commented 3 years ago

What video format you could not upload?

sharknetwork24 commented 3 years ago

I can only upload a certain type of mp4 video. But if I download videos from Facebook, Whatsapp or YouTube despite being in mp4 it won't load them. If you want, I'll let you enter the platform and try it yourself.

DanielnetoDotCom commented 3 years ago

Please answer the question https://github.com/WWBN/AVideo/issues/5701#issuecomment-920771390

What video format you could not upload?

sharknetwork24 commented 3 years ago

This is not loading why?

https://sharktube.info/video/2521/e-tratto-da-crolla-cabala-crolla-sequel?channelName=AdminSharkTube

https://user-images.githubusercontent.com/82677269/133600297-1a419f06-1aa1-444e-b0dd-3451a445de34.mp4

DanielnetoDotCom commented 3 years ago

I found something,

for the specifically provided video, the problem was the resolution, the provided video is 352p (not standard) what we could not auto-detect the rates.

the last encoder update may resolve that.

also please update your streamer to make sure you got few updates from today

check your video here https://demo.avideo.com/video/355/133600297-1a419f06-1aa1-444e-b0dd-3451a445de34

sharknetwork24 commented 3 years ago

In fact it works perfectly for you. This problem happens very often. Please arrange as soon as possible. Thanks Daniel

DanielnetoDotCom commented 3 years ago

If you update your encoder and streamer this error will not happen anymore.

sharknetwork24 commented 3 years ago

I just updated everything and it still doesn't load the video. I deleted the old one and reloaded it again. It only sees the preview image and does not load the video. What should be done?

NEW LINK:

https://sharktube.info/video/2522/e-tratto-da-crolla-cabala-crolla-sequel?channelName=AdminSharkTube

DanielnetoDotCom commented 3 years ago

The old videos you upload should not work

new videos should work, if does not please provide your encoder log file

sharknetwork24 commented 3 years ago

I send you the original video by mail. I'm afraid the one uploaded to github is different.

DanielnetoDotCom commented 3 years ago

received and they are exactly the same video

JoshWho commented 3 years ago

I just updated encoders and website and now it says streamer site not found on my end, main website stuck in maintenance mode.

JoshWho commented 3 years ago

also now my site is stuck in maintenance mode after git pull

JoshWho commented 3 years ago

I did a roll back on the website and I am now out of maintenance mode. Git pull for the encoder worked fine, Website Git pull caused a error and had to roll back

DanielnetoDotCom commented 3 years ago

please make sure you update your plugins then update with git pull please check which one you need to update.

if still a problem please check the log

JoshWho commented 3 years ago

I can't update CDN and the FTP storage I have no access to it. That is what the bug is on.

array(4) { ["type"]=> int(64) ["message"]=> string(76) "Cannot declare class FtpClient\FtpClient, because the name is already in use" ["file"]=> string(59) "/var/www/html/YouPHPTube/plugin/CDN/FtpClient/FtpClient.php" ["line"]=> int(48) }

DanielnetoDotCom commented 3 years ago

For now you can just delete the folder as long as you are not using it

DanielnetoDotCom commented 3 years ago

Also I sent an update that may prevent this error to happen

JoshWho commented 3 years ago

I deleted CDN and it is working now. The git pull put it back in maintenance mode so that is why I just deleted the cdn folder.

DanielnetoDotCom commented 3 years ago

NOT the CDN, delete the FTP_Storage

DanielnetoDotCom commented 3 years ago

then you can upload the new version of this plugin

JoshWho commented 3 years ago

it was the cdn that was causing the error /var/www/html/YouPHPTube/plugin/CDN/FtpClient/FtpClient.php

JoshWho commented 3 years ago

i do not have dl access to the other plugins like ftp and cdn

DanielnetoDotCom commented 3 years ago

Again, you MUST delete the FTP, delete the CDN may bring you other problems

sharknetwork24 commented 3 years ago

But is it possible to solve my problem? The problem was not solved by me. Still not uploading certain videos.

DanielnetoDotCom commented 3 years ago

But is it possible to solve my problem? The problem was not solved by me. Still not uploading certain videos.

Please provide a video so we can reproduce the error.

try to reproduce it on demo site

sharknetwork24 commented 3 years ago

can you give me the address of your demo site?

DanielnetoDotCom commented 3 years ago

https://demo.avideo.com/

user: admin pass: 123

sharknetwork24 commented 3 years ago

It doesn't even work on yours.

https://demo.avideo.com/video/357/test-video-italia

DanielnetoDotCom commented 3 years ago

can you please try to submit the video again, the encoder was not updated

sharknetwork24 commented 3 years ago

You can find the video in the email I sent you in the afternoon. I have updated everything there is to update.

sharknetwork24 commented 3 years ago

Sent again by mail

DanielnetoDotCom commented 3 years ago

I do not know what you are talking about. please read what I wrote for you, and please try again on demo site.

sorry I will not open your email.

DanielnetoDotCom commented 3 years ago

and if you can please use the encode network on demo site

image

sharknetwork24 commented 3 years ago

ok

sharknetwork24 commented 3 years ago

Now on your demo the video works. What do I have to do to make it work on mine too?

https://demo.avideo.com/video/358/test-2-italian

I use this Encode video and audio How do I activate Encoder Network?

These are my settings.

imp

DanielnetoDotCom commented 3 years ago

To make it work you just need to update your encoder and streamer

to have your own encoder network check this https://github.com/WWBN/AVideo-Encoder-Network

sharknetwork24 commented 3 years ago

What i have to do? Do I just have to add by clicking on option A?

sharknetwork24 commented 3 years ago

Daniel on the server I cannot find the AVideo-Network / install directory

How should I do?

sharknetwork24 commented 3 years ago

Do I have to go here?

cd / var / www / html / AVideo / install

It's right?

sharknetwork24 commented 3 years ago

This is what I have inside install

install

sharknetwork24 commented 3 years ago

coder

walt93 commented 3 years ago

I found something,

for the specifically provided video, the problem was the resolution, the provided video is 352p (not standard) what we could not auto-detect the rates.

the last encoder update may resolve that.

also please update your streamer to make sure you got few updates from today

check your video here https://demo.avideo.com/video/355/133600297-1a419f06-1aa1-444e-b0dd-3451a445de34

This is super interesting because I threw thousands of files at my encoder and a good 10% of them failed in the same way. We never resolved what the issue was. I'm going to do some more experiments with old videos...

sharknetwork24 commented 3 years ago

Apparently I haven't installed my own encoder.

codificatore

What should I do? I don't know how to install without a detailed step by step guide.

DanielnetoDotCom commented 3 years ago

you should read the links I keep sending to you and follow the instructions ... https://github.com/WWBN/AVideo/wiki/How-to-Update-your-AVideo-Platform

sharknetwork24 commented 3 years ago

and this is the command to update right?

cd /var/www/html/AVideo/Encoder && sudo git pull

sharknetwork24 commented 3 years ago

Daniel I have updated the encoder but nothing has changed. I reloaded the video and there is only the preview image. Now can I understand why it still doesn't work?

enc

But is there any way to figure out what I'm using?

sharknetwork24 commented 3 years ago

I also activated the encoder network and reloaded the video. The video doesn't always start as it did before. The upload image remains still and the encoding progress is not seen. Can we solve this annoying problem? I updated everything as you told me but despite the updates it doesn't work. Why did it work on your demo platform after you updated the encoder and not on mine?

encore 1

encore 2

This is the video reloaded with Encoder Network

https://sharktube.info/video/2553/e-tratto-da-crolla-cabala-crolla-sequel?channelName=AdminSharkTube

DanielnetoDotCom commented 3 years ago

I am pretty sure you have a misconfiguration , you enabled something you not supposed to enable or you did not follow the instructions correctly

I do not know how to help you .

  1. You are not following what I am guiding you to do (for example I asked you to update the encoder a while ago. You have said you did but we can see that you only did it now )
  2. you not supposed to enable the encoder network, no one tell you to do it , you suppose to read the link I sent to you. looks like you did not understand the propose of it
  3. You suppose to read all the links and instructions I sent to you.
  4. I am felling I am wasting time because we are i circles here

I can try to help you but sorry I cannot teach you things

sharknetwork24 commented 3 years ago

Daniel I have never touched anything on the configuration. It seems absurd to me that every time to solve a problem I have to pay you. By doing this you put your platform in a bad light because a user like me who is buying almost everything slowly is left like this. I've always tried to do the things you told me. Sometimes a misunderstanding can happen but this does not mean abandoning a customer. I am very sorry for your answer. Hope to get your help in solving starting step by step all over again.

You say to me: I can try to help you but I'm sorry I can't teach you things.

You must enable customers to perform the steps you described. You sometimes forget that translating from English to Italian could be misunderstood.

I hope for your help.