AVideo-Storage icon indicating copy to clipboard operation
AVideo-Storage copied to clipboard

Do not play video from storage

Open webdsf opened this issue 3 years ago • 26 comments

Hello, I was able to connect the storage, and even send a file, but it cannot be played. Please tell me how to fully configure it so that it works well and without failures. Set up a reverse proxy? https://i.ibb.co/pPQ43JK/Screenshot-20.png https://i.ibb.co/JpZ6M7W/Screenshot-21.png

webdsf avatar Dec 21 '21 19:12 webdsf

Hi

You MUST add a HTTPS on your YPT Storage as well

also make sure your endpoint is also https

DanielnetoDotCom avatar Dec 21 '21 19:12 DanielnetoDotCom

https://i.ibb.co/CWm0Jyd/Screenshot-22.png Everything works, the certificate is installed, but something went wrong. How to say, correcting one thing, there will always be something else)

webdsf avatar Dec 21 '21 22:12 webdsf

Make sure you install apache headers mod

1. Enable mod_headers

Just open a terminal and run the following command to enable mod_headers in Ubuntu/Debian Linux.

$ sudo a2enmod mod_headers

2. Restart Apache Server

Restart Apache webserver to Apply changes.

$ sudo service apache2 restart

DanielnetoDotCom avatar Dec 21 '21 22:12 DanielnetoDotCom

This is what I get. https://i.ibb.co/hX468xM/Screenshot-23.png

webdsf avatar Dec 21 '21 23:12 webdsf

After that, I used sudo apache2ctl configtest Everything worked in another blouse, and I noticed an interesting thing in explorer. https://i.ibb.co/71hcFFQ/Screenshot-24.png But you can add multiple voice tracks to a video. do you have plugins or ready-made solutions? By the way, this is steeper than the subs.

webdsf avatar Dec 21 '21 23:12 webdsf

As I understood with YPTCDN, storage does not work. Another big problem is that when you transfer it somewhere, all the qualities disappear. https://i.ibb.co/bXdrC8z/Screenshot-25.png https://i.ibb.co/HGQmzZk/Screenshot-28.png

Your Streamer Answer an error! Site not found I transferred several files without any problems, and then this error appeared. In the streamer, it shows that everything sent and everything is Played, but I cannot enter the storage.

webdsf avatar Dec 21 '21 23:12 webdsf

This is what I get. https://i.ibb.co/hX468xM/Screenshot-23.png

image

your restart failed

DanielnetoDotCom avatar Dec 22 '21 01:12 DanielnetoDotCom

After that, I used sudo apache2ctl configtest Everything worked in another blouse, and I noticed an interesting thing in explorer. https://i.ibb.co/71hcFFQ/Screenshot-24.png But you can add multiple voice tracks to a video. do you have plugins or ready-made solutions? By the way, this is steeper than the subs.

Sorry we do not support multiple tracks yet

DanielnetoDotCom avatar Dec 22 '21 01:12 DanielnetoDotCom

As I understood with YPTCDN, storage does not work. Another big problem is that when you transfer it somewhere, all the qualities disappear. https://i.ibb.co/bXdrC8z/Screenshot-25.png https://i.ibb.co/HGQmzZk/Screenshot-28.png

Your Streamer Answer an error! Site not found I transferred several files without any problems, and then this error appeared. In the streamer, it shows that everything sent and everything is Played, but I cannot enter the storage.

Your YPTStorage and the Streamer MUST be able to communicate with each other. if something on this communication happens you will see the message above

DanielnetoDotCom avatar Dec 22 '21 01:12 DanielnetoDotCom

Another big problem is that when you transfer it somewhere, all the qualities disappear. https://i.ibb.co/bXdrC8z/Screenshot-25.png https://i.ibb.co/HGQmzZk/Screenshot-28.png You have not answered an important question. Perhaps this is the root of the problem, and there are many of them. An old test address came from somewhere, signed an old one. https://ibb.co/album/LY1dmx Please help to configure, I took the module from you, and installed everything by command. You won't be full-on well-fed one command) https://ibb.co/album/LY1dmx

webdsf avatar Dec 22 '21 07:12 webdsf

The HLS format has an adaptive bitrate. for performance reasons, we do not show the quality switch, but the qualities will automatically change depending on the available bandwidth

The audio track may be a bug, currently, we do not have that, but I have plans to add it in the future

I could not see the last 2 images it does not open here.

instead of using ibb.co for images you should copy and paste the images on GitHub, what works pretty good

DanielnetoDotCom avatar Dec 22 '21 12:12 DanielnetoDotCom

Screenshot_35 Screenshot_34 Screenshot_33 Screenshot_32 Screenshot_31 Screenshot_30

webdsf avatar Dec 22 '21 13:12 webdsf

The HLS format has an adaptive bitrate. for performance reasons, we do not show the quality switch, but the qualities will automatically change depending on the available bandwidth All files located in local storage are displayed with the ability to copy any quality playlist. And transfer only one to the storage, how can this be changed, is it not a mistake? Playlists are played by another player, and he also selects the desired playlist. I cannot insert one full adaptive one, since the playlist itself does not contain quality, but only the bandwidth. and to determine where what quality is difficult for the player. I thought it was a mistake that the quality from the storage servers was not displayed, but is this the case? Is it possible to enable this function? In the screenshots, I have highlighted a strange glitch related to the old domain, which should not be Sorry for my English.

webdsf avatar Dec 22 '21 13:12 webdsf

Now I could see the image, but I am not sure what problem are you facing.

I guess we are talking about something that is not related to the original issue.

for example, does the file and directory on the image below exist?

image

DanielnetoDotCom avatar Dec 22 '21 13:12 DanielnetoDotCom

The HLS format has an adaptive bitrate. for performance reasons, we do not show the quality switch, but the qualities will automatically change depending on the available bandwidth All files located in local storage are displayed with the ability to copy any quality playlist. And transfer only one to the storage, how can this be changed, is it not a mistake? Playlists are played by another player, and he also selects the desired playlist. I cannot insert one full adaptive one, since the playlist itself does not contain quality, but only the bandwidth. and to determine where what quality is difficult for the player. I thought it was a mistake that the quality from the storage servers was not displayed, but is this the case? Is it possible to enable this function? In the screenshots, I have highlighted a strange glitch related to the old domain, which should not be Sorry for my English.

This is not a mistake. the automatic adaptive is the best option.

for example, if your user wants to watch a video in 1080p and your server or your user does not have enough bandwidth the video will be lagging and loading a lot. the automatic is the best way to try to prevent it

DanielnetoDotCom avatar Dec 22 '21 13:12 DanielnetoDotCom

for example, does the file and directory on the image below exist?

Screenshot_37

Here is the first problem. and the second is that all the transferred files do not work with your CDN Screenshot_25 The arrow shows how the file looks on the storage, whether it is possible to display the qualities since it does not always switch the qualities correctly. And even more so if you use another player.

webdsf avatar Dec 22 '21 13:12 webdsf

when you self host the videos we can determine the resolution directly from your drive, if you use the storage we need to query it.

BTW, check if you enabled this ...

image

even if it works with the storage, it may slow down your site. but I guess it worth a try

DanielnetoDotCom avatar Dec 22 '21 13:12 DanielnetoDotCom

Аnd what can you say about the work of the repository together with your CDN, since now it does not work with files transferred to the repository, I also cannot add the address to the CDN?

webdsf avatar Dec 22 '21 13:12 webdsf

BTW, check if you enabled this ...

Screenshot_38

separate playlists of qualities in storage do not work, and how to enable this? He can edit the playlists themselves for each bandwidth and prescribe the quality, then any player will be able to understand what quality, and there will be no need to sculpt a separate playlist for each quality, it would be good, albeit for a long time. It's a pity the playlist itself is created like that without the prescribed qualities to the bandwidth.

webdsf avatar Dec 22 '21 13:12 webdsf

I am not sure what you mean.

are you saying there is no need to have a separate playlist for each resolution? where did you see that?

DanielnetoDotCom avatar Dec 22 '21 13:12 DanielnetoDotCom

  1. Screenshot_39 [1] This file is located locally [2] Transfer this file to the storage How to make it look the same?

  2. Further. locally the file responds to YPTCDN, when I transferred it to external storage, it only responds to its main domain. YPTCDN doesn't work.

I threw off a few screenshots with errors. could it be their problem? And in general, everything works correctly there? These are the two main mistakes that nothing works for. Also, those messages I cannot go to the storage at all.

Your Streamer Answer an error! Site not found

webdsf avatar Dec 22 '21 14:12 webdsf

I bought everything, set it up by commands as it was said, It does not work storage. Stopped opening storage. Multiple playlists of qualities do not work, YPTCDN does not work. Files are sent and opened. Only these three errors that I do not know how to solve.

webdsf avatar Dec 22 '21 14:12 webdsf

Stopped opening storage.

Check the apache log from your storage server

Multiple playlists of qualities do not work, YPTCDN does not work.

It does work but it is automatic

Files are sent and opened.

what do you mean?

DanielnetoDotCom avatar Dec 22 '21 15:12 DanielnetoDotCom

It does work but it is automatic If you enter links to files uploaded to the storage like this domain.cdn.ypt.me/videos/video_211201160150_v30ae/index.m3u8, it doesn't work, just a direct link.

webdsf avatar Dec 22 '21 15:12 webdsf

And when I want to use the playlist in another player, I have to insert direct links to the storage, which is not good, and I don’t know how to fix this so that it’s impossible to access the storage from outside, but it was available for data exchange.

webdsf avatar Dec 22 '21 16:12 webdsf

can you please share real links so I can check?

DanielnetoDotCom avatar Dec 22 '21 18:12 DanielnetoDotCom