[FFmpeg-trac] #10795(ffmpeg:closed): scale2ref filter crash

FFmpeg trac at avcodec.org
Sat May 4 14:20:38 EEST 2024


#10795: scale2ref filter crash
---------------------------------------+----------------------------------
             Reporter:  Axel Terizaki  |                    Owner:  (none)
                 Type:  defect         |                   Status:  closed
             Priority:  important      |                Component:  ffmpeg
              Version:  git-master     |               Resolution:  fixed
             Keywords:  bounty         |               Blocked By:
             Blocking:  7.0            |  Reproduced by developer:  0
Analyzed by developer:  0              |
---------------------------------------+----------------------------------
Comment (by Niklas Haas):

 I tried your command line and it works for me:

 "movie=../bin/avatar.jpg[logo];[logo][0:v]scale2ref=w=(ih*.256):h=(ih*.256)[logo1][base];[base][logo1]overlay=x=W-(W*50/300):y=H*20/300"

 becomes

 "movie=../bin/avatar.jpg[logo];[logo][0:v]scale=w=(rh*.256):h=(rh*.256)[logo1];[0:v][logo1]overlay=x=W-(W*50/300):y=H*20/300"

 (by the way, you used "ih" twice - probably not intentionally, the fixed
 command line would have "w=(rw*.256)" instead)
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10795#comment:22>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list