• HDRI Median Cut plugin

    , ,

    www.hdrlabs.com/picturenaut/plugins.html

     

     

    Note. The Median Cut algorithm is typically used for color quantization, which involves reducing the number of colors in an image while preserving its visual quality. It doesn’t directly provide a way to identify the brightest areas in an image. However, if you’re interested in identifying the brightest areas, you might want to look into other methods like thresholding, histogram analysis, or edge detection, through openCV for example.

     

    Here is an openCV example:

    (more…)
  • FFmpeg – examples and convenience lines

    , ,

    # extract one frame at the end of a video
    ffmpeg -sseof -0.1 -i intro_1.mp4 -frames:v 1 -q:v 1 intro_end.jpg

    -sseof -0.1: This option tells FFmpeg to seek to 0.1 seconds before the end of the file. This approach is often more reliable for extracting the last frame, especially if the video’s duration isn’t an exact multiple of the frame interval.
    Super User
    -frames:v 1: Extracts a single frame.
    -q:v 1: Sets the quality of the output image; 1 is the highest quality.

    # extract one frame at the beginning of a video
    ffmpeg -i speaking_4.mp4 -frames:v 1 speaking_beginning.jpg

    # check video length
    ffmpeg -i C:\myvideo.mp4 -f null –

    # Convert mov/mp4 to animated gifEdit
    ffmpeg -i input.mp4 -pix_fmt rgb24 output.gif
    Other useful ffmpeg commandsEdit

    (more…)