WWBN / AVideo

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

Video not loading properly #9353

Open fakeologist opened 2 weeks ago

fakeologist commented 2 weeks ago

https://fakeotube.com/video/7232

I uploaded this twice and it still barely plays any idea why? Is it an encoding issue?

DanielnetoDotCom commented 2 weeks ago

This seems to be a direct uploaded file.

it is a 2 minutes video that is 1GB file, so this is a huge resolution for a such small video.

I strongly recommend you to encode it.

image

https://github.com/WWBN/AVideo/wiki/About-Video-Upload#1-encode-video-and-audio-recommended

fakeologist commented 2 weeks ago

I uploaded it with encoder it is 18 MB.

DanielnetoDotCom commented 2 weeks ago

Did you changed the customize advanced plugin?

It should use the automatic mp4 resolution

DanielnetoDotCom commented 2 weeks ago

image

This should be unchecked

You are forcing HD resolution in all the videos, it also will upscale small videos

fakeologist commented 2 weeks ago

Okay it's unchecked but I'm still having problems uploading It's taking forever there's something still wrong since the last few updates I've even now logged into the YouTube account I had no idea that feature was added. Maybe test a few for me please.

fakeologist commented 2 weeks ago

Screenshot_20240825_182236_Brave.jpg

DanielnetoDotCom commented 2 weeks ago

That means the video is encoding

You need to wait it to finish

fakeologist commented 2 weeks ago

It's stuck. The small file encodes in seconds. Please investigate.

DanielnetoDotCom commented 2 weeks ago

Something is wrong with your encoder configuration, I will review and fix it, but please avoid change the customizeAdvanced

DanielnetoDotCom commented 2 weeks ago

I am processing now, I sent the 1GB video and now it is encoding properly.

it may take a while to finish because this is an upscaled video and now we need to reduce again.

fakeologist commented 2 weeks ago

I readded the 18mb file again and it still takes too long to process at 240p only. A screen recording like this used to take 5 seconds.

DanielnetoDotCom commented 2 weeks ago

I cannot controll how fast it will trancode, but at least now it will play properly

FYI, you should keep the 720p, I am not sure how good will be the 240p

also stop change the configurations, it may give you some headaches

DanielnetoDotCom commented 2 weeks ago

I just inspect your video

The primary reason your video file is so large (500 MB) is due to the extremely high video bitrate of 67.922 Mbps. This bitrate is much higher than typical values for 240p resolution. For comparison, a standard 1080p video might have a bitrate of around 8-10 Mbps, while a 240p video might only require around 0.5-1 Mbps.

Here is an update to improve the bitrate

fakeologist commented 2 weeks ago

the video is a screenshot recording. It has worked fine and uploaded quickly for years. I changed nothing - only updates to encoder have changed. I'll leave it at 720p.

DanielnetoDotCom commented 2 weeks ago

I am still testing, but the issue is the source

For now I found the bitrate is huge

Please leave the encoder file I sent I am still testing

DanielnetoDotCom commented 2 weeks ago

Upon reviewing the process and results, it appears that the source file is significantly complex, which is causing several issues during encoding. Here’s a detailed explanation:

Why the File Is So Large and Difficult to Encode:

Issues Encountered During Encoding:

Recommendations:

To resolve these issues, I recommend the following steps:

  1. Re-encode the Original File Locally: Before submitting the video to our encoder, try re-encoding the file on your local machine with a lower bitrate setting. Aim for a target bitrate that is appropriate for the resolution and content of the video (e.g., around 1,000 kbps for a 240p video).

  2. Avoid High-Bitrate Files: In the future, please avoid submitting files with such high bitrates to the encoder, as it may struggle to process them effectively. Lowering the bitrate before submission will result in faster encoding times and better output quality.

Conclusion:

The root cause of the issues lies in the source file's extremely high bitrate and complexity. While we made efforts to lower the bitrate during encoding, the complexity of the content made it difficult to achieve the desired reduction, especially when using faster encoding presets to save time.

fakeologist commented 2 weeks ago

I have been uploading this kind of file for years. Things only changed in the last few weeks. Either the Android screen recorder has completely changed or the encoder has some kind of problem with it that occurred during a recent update. Which is more likely?

DanielnetoDotCom commented 2 weeks ago

but there is no ffmpeg encoding changes for years.

fakeologist commented 2 weeks ago

I found the solution. I'll upload it to twitter with no issues and download it from there. That way I'll have the added benefit of crossposting. Something is definitely off about this. https://fakeotube.com/videoEmbed/7268/fakeologist-%F0%9F%8F%81%E2%9A%A1---january-6th-phony-insurrection-snippet.-listen-to-the-rest-here-fakeologist-audiochat-fac1454-raccoons-and-second-hour-is-free-fakeologistaudiochat-via-podcastad

fakeologist commented 2 weeks ago

Did you do any change? The latest screen recording from my phone that I uploaded works fine. https://fakeotube.com/video/7270/screen_recording_20240827_083826_podcast-addict

DanielnetoDotCom commented 2 weeks ago

No I did not change anything.

I can see, your new video has a different bitrate.

fakeologist commented 2 weeks ago

I wonder why the Samsung screen recorder changes the way it records audio for different files. I know the original file for the one it had trouble with has audio encoded at 32kbps.

DanielnetoDotCom commented 2 weeks ago

I am not sure what happened. but for sure was something in the source file