Generate backdrops from screenshots? - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions) +--- Thread: Generate backdrops from screenshots? (/t-generate-backdrops-from-screenshots) |
Generate backdrops from screenshots? - stewed pork roti - 2024-07-14 Can the screen grabber be used to also generate backdrops for certain media types? I have a library of concert recordings and I'd like to use a random screenshot as the backdrop, instead of the plain black bg. If there isn't a built in function or a plugin, does anyone know of an external tool that can do this? RE: Generate backdrops from screenshots? - esjaysee - 2024-07-14 I have a few concerts that all have images. In the Library settings, go to Chapter Images and check both boxes. That should make a generic screenshot of the video as the thumbnail. Then you can go to Edit Images and use it as the backdrop. I might be missing a step but I think that's how I did it. RE: Generate backdrops from screenshots? - Efficient_Good_5784 - 2024-07-14 (2024-07-14, 10:09 PM)esjaysee Wrote: I have a few concerts that all have images. In the Library settings, go to Chapter Images and check both boxes. That should make a generic screenshot of the video as the thumbnail. Then you can go to Edit Images and use it as the backdrop. I might be missing a step but I think that's how I did it.I just checked. You cannot reach the chapter images from the edit images option. The user would need to find the exact folder in the config/metadata/library directory to copy the chapter images. What would be more easier is to just open the concert video with an external player on the PC (VLC, MPV, etc.) and screenshot it. Then simply just upload the screenshot as the background for the concert in Jellyfin. RE: Generate backdrops from screenshots? - stewed pork roti - 2024-07-18 So no built-in way to do it with Jellyfin, then? I've got a pretty big folder of music videos and concerts, so the best I can think of is to write a bash script and take screenshots with ffmpeg at a random time. The Mediaelch app kind of does this, but you have to set your folder as "Movies" instead of "Concerts" and then you'd have to click it for each one. Not ideal, but better than nothing. Let me know if anybody finds something to do this efficiently, and I'll let you know if I ever write that script RE: Generate backdrops from screenshots? - Efficient_Good_5784 - 2024-07-18 (2024-07-18, 06:08 AM)stewed pork roti Wrote: ...so the best I can think of is to write a bash script and take screenshots with ffmpeg at a random time. As an FYI, the episode screen grabber in Jellyfin isn't actually random. It pulls an image from the same video duration percentage (I think) each time. It will not randomly pick a picture from any point in the video, so even if you recreate them, they come out the same. RE: Generate backdrops from screenshots? - theguymadmax - 2024-07-18 (2024-07-18, 06:08 AM)stewed pork roti Wrote: Let me know if anybody finds something to do this efficiently, and I'll let you know if I ever write that script This python script should do the job, adjust to your needs. It's set to create three backdrops; one at 20 & 40 seconds and one random within the first 5 minutes. Just set the script to be executable and run it without passing any arguments. Requirements: Python3 & FFmpeg. Code: #!/usr/bin/env python3 |