Coder Social home page Coder Social logo

Comments (13)

spirillen avatar spirillen commented on June 18, 2024

OH, when trying to import then via videos/upload#import-url number two and tree was downsixed to 480p

from peertube.

spirillen avatar spirillen commented on June 18, 2024

Screenshots to show the situation

image

image

image

from peertube.

Chocobozzz avatar Chocobozzz commented on June 18, 2024

HI,

Have you enabled the "original resolution transcoding" option (https://docs.joinpeertube.org/admin/configuration#resolutions)?

from peertube.

spirillen avatar spirillen commented on June 18, 2024

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.

from peertube.

Chocobozzz avatar Chocobozzz commented on June 18, 2024

No, as I have experienced significant bad results by doing it.

What do you mean by "bad results"?

from peertube.

spirillen avatar spirillen commented on June 18, 2024

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

3240x1556 would be accepted as 3841x2160 as it is bigger than 1920x1080

from peertube.

SimplyCorbett avatar SimplyCorbett commented on June 18, 2024

What do you mean by corny videos?

from peertube.

spirillen avatar spirillen commented on June 18, 2024

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 😏

from peertube.

SimplyCorbett avatar SimplyCorbett commented on June 18, 2024

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.

from peertube.

SimplyCorbett avatar SimplyCorbett commented on June 18, 2024

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?

Because videos are encoded in HLS which is the core of peertube and what makes P2P work.

Peertube is not YouTube.

from peertube.

spirillen avatar spirillen commented on June 18, 2024

Peertube is not YouTube.

Thanks god, I hope not πŸ˜„

I recommend the transcoding-profile-debug plugin.

Do you have a link to the documentation for this? and yes, the box have a bit more than 2 vCore's πŸ˜‰

from peertube.

SimplyCorbett avatar SimplyCorbett commented on June 18, 2024

Peertube is not YouTube.

Thanks god, I hope not πŸ˜„

I recommend the transcoding-profile-debug plugin.

Do you have a link to the documentation for this? and yes, the box have a bit more than 2 vCore's πŸ˜‰

https://pastebin.com/TdVBPUfd

from peertube.

SimplyCorbett avatar SimplyCorbett commented on June 18, 2024

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.

from peertube.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.