[FFmpeg-trac] #3977(avformat:open): PNG / watermark files do not work with -vf filter

FFmpeg trac at avcodec.org
Fri Sep 26 21:46:37 CEST 2014


#3977: PNG / watermark files do not work with -vf filter
-------------------------------------+-------------------------------------
             Reporter:               |                    Owner:
  SeventhCycle                       |                   Status:  open
                 Type:  defect       |                Component:  avformat
             Priority:  important    |               Resolution:
              Version:  2.4.1        |               Blocked By:
             Keywords:  image2       |  Reproduced by developer:  1
  regression                         |
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by SeventhCycle):

 Hi,

 I confirmed this on my end.
 1dbdcb4a8c76df70ab41e3dacbfe01d59ed4091e is the first good commit.


 Script I ran:

 {{{
 git bisect start 1ea7a3e04e42f686b53704193e60d0745681a959
 e1ce4f805f31aecec83fc7c7ecaab623f3b6327f
 git bisect run ./testscript.sh
 }}}

 1ea7a3e04e42f686b53704193e60d0745681a959 is the current snapshot (as of
 now)
 e1ce4f805f31aecec83fc7c7ecaab623f3b6327f is 2.4.1


 Here's the contents of testscript.sh
 {{{

 #!/bin/bash

 # edit this path
 mpath="/path/to/ffmpeg_folder/"
 ./configure --enable-gpl > /dev/null 2>&1
 make -j8 > /dev/null 2>&1
 make install > /dev/null 2>&1
 #echo "Running FFmpeg"
 rm -f $mpath/out.mov
 ffmpeg -loglevel panic -y -i $mpath/BigBuckBunny_640x360.m4v -t 30 -vf
 movie=$mpath/sample-128.png[o],[in][o]overlay -qscale 2 -strict -2 -vcodec
 mpeg4 -acodec aac $mpath
 /out.mov
 actualsize=$(wc -c "$mpath/out.mov" | cut -f 1 -d ' ')
 #echo "filesize=$actualsize"

 if [ $actualsize -le 30000 ]
 then
   status=0
 else
   status=1
 fi

 echo "status is $status";
 exit $status;


 }}}

 Here's hoping this fix can be backported to 2.4 :)

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


More information about the FFmpeg-trac mailing list