New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
importing vids between 1080p => 2159p are reset to 1080p #6350
Comments
OH, when trying to import then via |
HI, Have you enabled the "original resolution transcoding" option (https://docs.joinpeertube.org/admin/configuration#resolutions)? |
No, as I have experienced significant bad results by doing it. |
What do you mean by "bad results"? |
Some really corny videos. Another thing I come to think of, I should have mentioned previously, is why should you want to re-encode a already correctly formatted video? My suggestion then become to also read the width of the imported video, as the high differ depending on the video scale 16:9|10:9|4:3 etc, but as the width is as little a constant... ie. as above links, I suggest to build the rule to say if bigger than, then accept it as equal next size Example
|
What do you mean by corny videos? |
seriously bad quality, think of a video clip recorded on mobile phone from the 90's; now scaled up and down 50 times, getting the picture.. or rather you won't 😏 |
You understand that peertube was designed to run on cheap VPS in the 2 core range correct? It's designed for everyone to run. If you want better video quality you need to use custom transcoding settings. I recommend the transcoding-profile-debug plugin. Your CPU usage is going to skyrocket and your server needs to be able to support the new hardware requirements. I too wish the design of peertube explained this better and had quality options built right into it. I also wish the remote runners were designed with custom transcoding settings in mind. It does not however. Anywho, my point is peertube -can- give you good quality videos if you tweak a few things. Good luck. |
Because videos are encoded in HLS which is the core of peertube and what makes P2P work. Peertube is not YouTube. |
Thanks god, I hope not 😄
Do you have a link to the documentation for this? and yes, the box have a bit more than 2 vCore's 😉 |
|
I would also take a good look at the source code for yt-dlp downloads and make sure it’s downloading and prioritizing the highest quality version available. I’ve had to change that in the past on prior versions. I’m planning on messing around with peertube again soon my site has been on pause for a while now. Edit: @spirillen https://github.com/Chocobozzz/PeerTube/blob/develop/server/core/helpers/youtube-dl/youtube-dl-cli.ts lines 86-104. |
Describe the problem to be solved
If you upload a video that is more than 1080p but not 2160p, it is only hosted as a 1080p,
Here is 3 examples. The first one stick to 2160p as supposed, number 2 and tree are downsized to 1080p
https://www.youtube.com/watch?v=5DuZkK_trYY
https://www.youtube.com/watch?v=D2KE2a5qo0g
https://www.youtube.com/watch?v=iqYK79jCssA
Describe the solution you would like
shouldn't the video then be hosted as a 2160Ip video?
The text was updated successfully, but these errors were encountered: