[FFmpeg-trac] #4803(undetermined:new): ffmpeg overlay a gif to video using parameter of enable , will display the gif picture before enable time.

FFmpeg trac at avcodec.org
Thu Aug 27 03:48:56 CEST 2015


#4803: ffmpeg overlay a gif to video using parameter of enable ,will display the
gif picture before enable time.
-------------------------------------+-------------------------------------
             Reporter:  taniey       |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:  overlay      |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by taniey):

 Replying to [comment:4 cehoyos]:

 I use the command

 {{{
 $ ffmpeg -y  -i 'test.mkv' -itsoffset 48.560 -ignore_loop 0 -i
 '/data/mediadata/source/gif.gif' -filter_complex
 "overlay=x=182:y=82:shortest=1:repeatlast=0:enable=between(t\,48.560\,60)[out]"
 -map [out] -c:v h264 -s 640*360 -b:v 500k -t 60  'v_8JnNXs.mkv'
 }}}
 to get output video {{{v_8JnNXs.mkv}}}.

 then, I use command

 {{{
 ffmpeg -y -i v_8JnNXs.mkv -ss 00:00:48.000 -r 23.98 -f image2
 ./picdir/image-%3d.jpeg
 }}}
 transform all frames in video {{{v_8JnNXs.mkv}}} between 48s and 60s to
 serial images .
 When look all the images,there is no picture be overlaied on image
 {{{image-274.jpeg}}}

 The input file {{{test.mkv}}} url is
 :[http://www.datafilehost.com/d/42e9d283]
 All the output images url is :[http://www.datafilehost.com/d/0bc83c9d]

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4803#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list