plex_generate_vid_previews icon indicating copy to clipboard operation
plex_generate_vid_previews copied to clipboard

Add support for GenerateBIFKeyframesOnly parameter

Open boblickj opened this issue 7 months ago • 7 comments

Certain video files will not generate previews with the default Plex ffmpeg args if the encoded media has a lack of keyframes. This can be fixed by adding GenerateBIFKeyframesOnly="0" to parameters.xml. Essentially, this removes -skip_frame:v nokey from the argument list. This shouldn't be enabled by default as it can increase processing time, but in my experience, it now successfully generates previews for all media.

I can submit a PR if this is something you would be okay supporting.

https://www.reddit.com/r/PleX/comments/u2u5j1/generating_video_preview_thumbnails_keeps_redoing/ https://support.plex.tv/articles/201105343-advanced-hidden-server-settings/

boblickj avatar Jul 02 '24 20:07 boblickj