16
submitted 1 year ago by boo_ to c/selfhosted@lemmy.world

I have a laptop with limited decoding capabilities with regards to royalty free formats, which YouTube tends to use, but I do prefer the quality that I get out of av1/vp9 encoded content on YouTube when using those on my home PC over what I get through h264ify.

What I do have, is a server which runs Jellyfin and can transcode content just fine. Is there any software I could host which could transcode videos I watch with a browser extension via my server?

Sorry if this is jumbled or unclear but it's something that I would really have a use for, and if feasible, would even write myself.

top 6 comments
sorted by: hot top controversial new old
[-] SheeEttin@lemmy.world 4 points 1 year ago

Well, you could download them with youtube-dl or something for later watching. I don't know of anything that will proxy and transcode live, but even if you did that, you'd still have a loss of quality due to transcoding to a format your client supports.

[-] vividspecter@lemm.ee 3 points 1 year ago* (last edited 1 year ago)

you’d still have a loss of quality due to transcoding to a format your client supports.

If you have a fast network you could transcode to high-bitrate h264/h265 etc, which would have some quality loss but probably less than using h264 directly (due to Youtube's aggressive compression).

But I'm not aware of anything that ties it altogether either, especially if the OP needs browser support.

[-] Smash@lemmy.self-hosted.site 2 points 1 year ago

Maybe piped can do this, idk

[-] 9point6@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

There's a couple of browser UIs for yt-dlp out there which you could configure to dump the videos into a folder configured in jellyfin. You're probably not gonna get metadata, but it will probably do the job

[-] vegetaaaaaaa@lemmy.world 3 points 1 year ago* (last edited 1 year ago)

You’re probably not gonna get metadata

You can do it using --write-info-json option [1] and https://github.com/ankenyr/jellyfin-youtube-metadata-plugin which reads metadata from yt-dlp's .info.json files and displays it in Jellyfin.

This is what I do - except I don't use a Web UI, but a script that downloads videos I bookmark on my shaarli instance [1]. Having a local copy of my bookmarked videos is nice (but takes quite a bit of disk space)

[-] 9point6@lemmy.world 1 points 1 year ago

Oooh thanks for letting me know about the metadata JSON, I had no idea it could do that

this post was submitted on 11 Sep 2023
16 points (100.0% liked)

Selfhosted

40296 readers
243 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS