WWBN / AVideo

Create Your Own Broadcast Network With AVideo Platform Open-Source. OAVP OVP

Home Page:https://avideo.tube/AVideo_OpenSource

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Video resolution plugin buggy

para2022 opened this issue · comments

Hi,

I noticed this today.

The plugin is detecting the lowest quality instead of the highest by default.

This is affecting the big video worst by selecting a 360p out of (360p, 540p, 720p) so the quality is very very poor.

If i turn off the plugin the big video will display at 720p and all other videos on the site will display at their correct resolution.

Tried a clean install of it and nothing helps.

What file format? HLS or MP4?

can you please provide some screenshots?

[20-Mar-2024 12:09:05 Europe/London] AVideoLog::ERROR: Time: 2.005s | Limit: 0.7s | Location: path/to/my/streamer/site/view/modeYoutube.php Line 1104 [getVideosURL_V2::VideoHLS::getSourceFile(v_220628190053_v510e)] IP=213.180.203.98 BOT USER_AGENT=Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 backtrace=[{"file":"/home/myMySQLUser/public_html/myMySQLUser/objects/functions.php","line":1104,"function":"TimeLogEnd","args":["getVideosURL_V2::VideoHLS::getSourceFile(v_220628190053_v510e)",1104]},{"file":"/home/myMySQLUser/public_html/myMySQLUser/objects/functions.php","line":931,"function":"getVideosURL_V2","args":["v_220628190053_v510e"]},{"file":"/home/myMySQLUser/public_html/myMySQLUser/plugin/VideoResolutionSwitcher/VideoResolutionSwitcher.php(18) : eval()'d code(1) : eval()'d code","line":99,"function":"getVideosURL","args":["v_220628190053_v510e"]},{"file":"/home/myMySQLUser/public_html/myMySQLUser/objects/functions.php","line":1304,"function":"getVRSSources","args":["v_220628190053_v510e",false]},{"file":"/home/myMySQLUser/public_html/myMySQLUser/plugin/PlayerSkins/PlayerSkins.php","line":139,"function":"getSources","args":["v_220628190053_v510e"]},{"file":"/home/myMySQLUser/public_html/myMySQLUser/view/include/video.php","line":6,"function":"getMediaTag","class":"PlayerSkins","type":"::","args":["v_220628190053_v510e"]},{"file":"/home/myMySQLUser/public_html/myMySQLUser/view/modeYoutubeTop.php","line":29,"args":["/home/myMySQLUser/public_html/myMySQLUser/view/include/video.php"],"function":"require"},{"file":"/home/myMySQLUser/public_html/myMySQLUser/view/modeYoutubeBundle.php","line":40,"args":["/home/myMySQLUser/public_html/myMySQLUser/view/modeYoutubeTop.php"],"function":"require"},{"file":"/home/myMySQLUser/public_html/myMySQLUser/view/modeYoutube.php","line":381,"args":["/home/myMySQLUser/public_html/myMySQLUser/view/modeYoutubeBundle.php"],"function":"require"}] SCRIPT_NAME: /view/modeYoutube.php

...

What file format? HLS or MP4?

can you please provide some screenshots?

Its MP4 but appears ok now im keeping an eye on it though and next time it happens il post a screen shot here. But have error in regards to plugin above. Just for future reference I am using mod_php in my setup. I have no errors in developers tools on my pages or on the encoder pages.

look at this video you can see its showing lowest res instead of highest. I have lots like this https://ourtube.co.uk/video/231