[FFmpeg-trac] #7564(avfilter:new): hwdownload fails when size changes

FFmpeg trac at avcodec.org
Mon Nov 26 11:34:06 EET 2018


#7564: hwdownload fails when size changes
------------------------------------+------------------------------------
             Reporter:  msiders     |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avfilter
              Version:  git-master  |               Resolution:
             Keywords:  hwdownload  |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------

Comment (by msiders):

 Hi,

 Peharps the problem is related to the fact that the "hwdownload" filter is
 using the size from the output:

 https://github.com/FFmpeg/FFmpeg/blob/90ac0e5f29ba4730cd92d3268938b3730823e52b/libavfilter/vf_hwdownload.c#L158
 {{{
     output->width  = outlink->w;
     output->height = outlink->h;
 }}}

 As the "hwupload" gets it from the input:
 https://github.com/FFmpeg/FFmpeg/blob/90ac0e5f29ba4730cd92d3268938b3730823e52b/libavfilter/vf_hwupload.c#L172
 {{{
     output->width  = input->width;
     output->height = input->height;
 }}}

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


More information about the FFmpeg-trac mailing list