• Resolved ppehrson

    (@ppehrson)


    Hi,

    Based on our findings, and of my own ideas, I give you a list of suggestions that I came about.

    1: option whether or not to NICE the video encoding. Add priorities, fx -19 (high), 10 (above average), 0 (average), 5 (low), 10 (minimum).
    2: Variable compression settings. qp or bitrate. Some may wish to compress the files more than others. By default, your plugin compresses at ~20 which is optimal, but it makes the files 50% larger without any quality gain.
    3: Setting to whether or not to letterbox or crop if the video size is different from the input file.
    4: ability to prefix the video with another video (or image for x seconds),
    5: Watermark improvement; try: -vf “movie=file.png [watermark]; [in][watermark] overlay=main_w-overlay_w-10:main_h-overlay_h-10 [out]” (this sets the watermark 10px from each edge in the bottom right, this can be controlled too. This will remove the white background in the watermark PNG which I experience with the current solution)

    More ideas may follow ??

    https://www.ads-software.com/plugins/video-embed-thumbnail-generator/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter ppehrson

    (@ppehrson)

    Another idea:
    Choice between php exec() or pclose(popen(”)) execution. This will also enable the plugin to work on both Linux and Windows (IIS) servers.

    Thread Starter ppehrson

    (@ppehrson)

    Oh, I just realized that the system does NOT embed the watermark in the video, but only overlays it. This is not good for copy protection.

    Plugin Author Kyle Gilman

    (@kylegilman)

    Thanks for the suggestions. I’ve put some of these on my future features list. I’m won’t be actively developing the plugin for the next few weeks so I wouldn’t expect anything for a while.

    The watermark is just a quick branding option. If you’re seeing a white background it’s because your image has a white background. It’s just a straight image overlay and works for users who don’t have FFMPEG installed. I’ll consider adding some FFMPEG watermark options.

    Plugin Author Kyle Gilman

    (@kylegilman)

    I know that I tested the pclose popen method when I first started this plugin, but that was two years ago and I don’t remember why but it didn’t work as well as exec. Exec works on Windows servers too.

    Thread Starter ppehrson

    (@ppehrson)

    Okay. Exec Works for me now, too, for some reason.
    I have read that pclose/popen is a bit slower but not sure why that should be.

    Oh, for the record, the correct watermarking parameter is below. I tested the one I wrote, that doesn’t work because it does not support absolute paths (or it does, but then your string has to be programmed differently).

    Instead, use (as FIRST parameter in the command):

    -i “(full-path-to-watermark-PNG)” -filter_complex overlay=main_w-overlay_w-10:main_h-overlay_h-10

    To render the watermark at the bottom right, 10px from the border. Might want to set that to 16-20 or so.

    The watermark must be PNG-24 ffmpeg must be compiled with zlib and png support.

    For your reference (I know a lot of distros have ffmpeg not supporting h264 and watermarking by default), an FFMPEG supporting your plugin fully has to be compiled with the following parameters in ./configure:

    –enable-libvo-aacenc –enable-version3 –enable-libfaac –enable-nonfree –enable-libx264 –enable-gpl –enable-avfilter –enable-libopenjpeg –enable-libvorbis –enable-libvpx –enable-zlib1g –enable-decoder=png –enable-encoder=png

    -Peter

    Oh thank ppehrson and Kyle Gilman.

    ppehrson i am successfully add overlay my video when i update. Thank for your idea. This parameters work:

    ./configure --enable-gpl --enable-bzlib --enable-zlib --enable-version3 --enable-nonfree --enable-libx264 --enable-gpl --enable-avfilter --enable-libvorbis --enable-decoder=png --enable-encoder=png

    Plugin Author Kyle Gilman

    (@kylegilman)

    Watermark overlays for encoded videos are now available in version 4.3 of the plugin.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Suggestions for future versions’ is closed to new replies.