yfdyh000 / PhotoSift

A fork with audio/video support, batch operations, and other optimizations.
GNU General Public License v3.0
8 stars 0 forks source link

suggestion: support .webm format #5

Open Flawlessa opened 3 years ago

Flawlessa commented 3 years ago

I was happy to see photosift forked to include video support. But doesn't seem to currently handle .webm. Any chance you can add that? They are found on a number of image board sites, and it'd be great to be able to sift those into appropriate folders with the same ease as plain images.

Flawlessa commented 3 years ago

Update: I was somewhat able to get .webm working, but it's a little awkward.

I installed the "WebM/VP8 DirectShow Filters v0.9.12.0" from WebM Project, as well the latest foundation, as well the latest K-Lite Codec Pack 16.12. With that I could get Windows Media Player loading the files but the Photosift Ex still working.

In the settings, I added .webm to the video suffixes. It doesn't seem to show in the Video file filters though and only way I could load files is with the . mask.

I toggled the Check MIME feature on and off. That didn't seem to show noticeable difference.

I added "video/webm" and "audio/webm" to MIME types, and that didn't seem to do it either.

I kept playing with these options, and then suddenly, it started showing the videos! I don't yet understand what made it go, but it started showing something.

At this point, my settings have the Check MIME disabled, the suffix added to video extensions, and the two MIME strings added. I'm going to experiment and see if they are all required.

Like the other poster wrote, when the WMP control shows on the screen, it's like half-there at first. If I minimize/resize and then maximize the overall photosift frame, the video then shows.

Sifting the .webms into various directories, the feature am most interested in (after viewing), works fine.