kieraneglin / pinchflat

Your next YouTube media manager
GNU Affero General Public License v3.0
793 stars 16 forks source link

[FR] Support for different codecs in the UI #392

Open moostmartijn opened 2 days ago

moostmartijn commented 2 days ago

Is your feature request related to a problem? Please describe. Finally a working solution for downloading YouTube videos automatically! Initially I was very happy, but after setting everything up and watching the first downloaded video's on my TV, I encountered a problem; the VP9 codec needs transcoding and my server can't handle it. Even small videos needs buffering unfortunately.

Samsung Smart TV 2021 Synology DS923+

Describe the solution you'd like I'm not sure if it is even possible with yt-dlp, but within Pinchflat I would like to see an option to change codecs... The .mp4 container is fine, so no need for .mkv, it's just the codec that has a problem playing directly from Plex to my TV. So .mp4 with hevc / h.264 would be perfect. I don't care much about the extra processing time per video download.

See the documentation of Plex for the Samsung TV: https://support.plex.tv/articles/203810286-what-media-formats-are-supported/

In this documentation they say the VP9 codec is fine with .mkv files, but I guess the metadata is not written to this container / Plex can't read the metadata in a .mkv container (?)

I would love to see a kind of drop-down menu (in the advanced editing mode) to choose a different codec and/or container

Describe alternatives you've considered I have my fingers crossed that someone comes up with a working solution for my problem, I guess I won't be the only one encountering this problem. If not I gues yt-dlp is not an option for me.

Anyway, keep up the good work with your application, I like it!

kieraneglin commented 1 day ago

Hey there! Thanks for the report (:

There is an option for this, but it's a global option for all videos. Could you try going into Config > Settings and enable advanced mode (upper right)? If you do that, you'll be able to set a preferred codec. Note that this is just a preference and yt-dlp will download what it determines to be the next-best if your codec of choice isn't available