VideoHelp Forum
+ Reply to Thread
Results 1 to 3 of 3
Thread
  1. hello all,

    i have a question in ffmpeg. I would like to add a logo each 60s switch positison in the before the end of the video;
    so command below:

    the ffmpeg enable: --enable-static --disable-shared --enable-runtime-cpudetect --enable-memalign-hack --enable-pthreads --enable-gpl --enable-version3 --enable-libfreetype --enable-nonfree --enable-libxvid --enable-libx264 --enable-libfaac --enable-libaacplus --enable-libmp3lame --disable-decoder=amrnb --disable-decoder=amrwb --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-avfilter --enable-postproc --enable-libass --enable-librtmp

    ./ffmpeg_g -i tmp.flv -i 448x336.png -i 448x336.png -filter_complex overlay=10:10:enable='between(t,0*60,1*60)':enable ='between(t,1*60,2*60)' -acodec copy -vcodec libx264 -f flv -y tmp.new.flv

    but it have a question, is while the video is big, the exec command will be very long how can i make the command shorest without shell; Please give me advice, please. Thank you.
    Last edited by hyoryeo; 14th Jul 2014 at 00:18. Reason: resolved
    Quote Quote  
  2. Only way to shorten the call that comes to mind is to create a preset file (https://www.ffmpeg.org/ffmpeg-all.html#Preset-files) and move most options to the preset file and then call that preset file with ffmpeg.
    Quote Quote  
  3. Originally Posted by Selur View Post
    Only way to shorten the call that comes to mind is to create a preset file (https://www.ffmpeg.org/ffmpeg-all.html#Preset-files) and move most options to the preset file and then call that preset file with ffmpeg.
    Thank you for Selur, but this mothods is not i want and the lastest i modified the code directly and resolved.
    Quote Quote