Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Compression Techniques Needing some advise for combining Video Filters (movie and scale)

  • Needing some advise for combining Video Filters (movie and scale)

    Posted by Torben Mohrfeldt on August 30, 2012 at 1:36 pm

    Hello Creative Cows,

    I’m a little bit desperate right now:

    I have to convert a bunch of videos for a dumb digital picture frame. After serious scaling issues I’ve finally came to this (working) command:

    ffmpeg -i input.mp4 -vcodec libxvid -vf "scale=720:405,pad=720:540:0:67.5,setdar=4:3" -b:v 5000k -acodec mp3 -ab 128k -ac 2 output.mp4

    This command converts a given video perfectly right for the frame. The Computer converting the video is not the fastest and I really need a logo to appear in the output video.

    The corresponding command should/would be:

    ffmpeg -i input.mp4 -vf "movie=overlay.png [logo]; [in][logo] overlay=14:432 [out]" output.mp4

    I’ve really tried hard merging these two commands, because if I’ve did the second command all my efforts are neglected. The corresponding video has the false format, the quality is worse (due to reencoding) and my machine is taking double the time.

    I’m certain there’s a way to do these tasks with one command, could you help me?

    Some background:

    I’m on a windows machine using this build:

    FFmpeg version: 2012-08-27 git-a366bea
    libavutil 51. 70.100 / 51. 70.100
    libavcodec 54. 54.100 / 54. 54.100
    libavformat 54. 25.104 / 54. 25.104
    libavdevice 54. 2.100 / 54. 2.100
    libavfilter 3. 13.101 / 3. 13.101
    libswscale 2. 1.101 / 2. 1.101
    libswresample 0. 15.100 / 0. 15.100
    libpostproc 52. 0.100 / 52. 0.100

    This FFmpeg was configured with:
    --disable-static
    --enable-shared
    --enable-gpl
    --enable-version3
    --disable-pthreads
    --enable-runtime-cpudetect
    --enable-avisynth
    --enable-bzlib
    --enable-frei0r
    --enable-libass
    --enable-libcelt
    --enable-libopencore-amrnb
    --enable-libopencore-amrwb
    --enable-libfreetype
    --enable-libgsm
    --enable-libmp3lame
    --enable-libnut
    --enable-libopenjpeg
    --enable-librtmp
    --enable-libschroedinger
    --enable-libspeex
    --enable-libtheora
    --enable-libutvideo
    --enable-libvo-aacenc
    --enable-libvo-amrwbenc
    --enable-libvorbis
    --enable-libvpx
    --enable-libx264
    --enable-libxavs
    --enable-libxvid
    --enable-zlib

    This build was compiled with these external libraries:
    bzip2 1.0.6:
    CELT 0.11.1:
    FreeType 2.4.8:
    Frei0r 20111008-git-16cfe66:
    LAME 3.99.5:
    libass 0.10.0:
    libgsm 1.0.13-3:
    Theora 1.1.1:
    Vorbis 1.3.2:
    libvpx 1.1.0:
    NUT 20110326-git-5e471c2:
    OpenCORE AMR 0.1.2:
    OpenJPEG 1.5.0:
    RTMPDump 20120308-git-7340f6d:
    Schroedinger 1.0.11:
    Speex 1.2rc1:
    Ut Video 10.2.4:
    VisualOn AAC 0.1.2:
    VisualOn AMR-WB 0.1.2:
    x264 git-d9d2288-20120718:
    XAVS svn-55:
    Xvid 1.3.2:
    zlib 1.2.6:

    Any help is really appreciated.

    Torben

    Stephen Dixon replied 13 years, 8 months ago 2 Members · 1 Reply
  • 1 Reply
  • Stephen Dixon

    August 31, 2012 at 11:39 am

    Can you post the output from the command?

    Stephen Dixon
    Editor, Animator, Motionographer
    Museum Victoria

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy