flingo64 / PhotoStation-Upload-Lr-Plugin

Photo StatLr (aka PhotoStation Upload) is a Lightroom Publish and Export Service Plugin that enables the export /publishing of photos and videos from Lr to a Synology Photo Station. It uploads the photos/videos and all required thumbnails. It can download comments and ratings and do a real two-way synch of various metadata (tags, ratings, labels).
http://messmer-online.de/index.php/software/11-photo-statlr
GNU General Public License v3.0
209 stars 21 forks source link

Reduce Framerate of video #39

Closed stepman0 closed 5 years ago

stepman0 commented 5 years ago

My camera (mobile phone) records videos with 60 fps. I want to reduce the framerate to 30 fps for the preview videos (to save bandwidth while streaming over the internet). This can be achieved by adding "-r 30" to the conversion parameters.

But: Some of my videos are filmed with 25 fps, this bitrate should not be changed.

Question: In the plugin, do you already read the framerate of the video? I could not find any function.

flingo64 commented 5 years ago

The fps is currently not determined by the plugin. If required, it should be done in PSConvert.ffmpegGetAdditionalInfo(), line 327 by adding another capture to the regexp. Anyway, how would you proceed with that information?

flingo64 commented 5 years ago

Version 6.8.x supports user-configurable video conversion presets.

stepman0 commented 5 years ago

Sorry I missed to answer.

I have videos from my smartphone with 60 fps. To save bandwith, I want to reduce it to 30 fps for these videos. But others, which have for example 25 fps should stay unchanged. Therefore I would try to add a "Max fps" function, which reduces fps if above.

Just an idea - nothing really urgent...