[FFmpeg-trac] #7507(avfilter:new): hwupload: missing device platform
FFmpeg
trac at avcodec.org
Tue Oct 23 01:27:00 EEST 2018
#7507: hwupload: missing device platform
-------------------------------------+-------------------------------------
Reporter: msiders | Owner:
Type: enhancement | Status: new
Priority: normal | Component: avfilter
Version: unspecified | Resolution:
Keywords: hwupload, | Blocked By:
hwaccel | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by jkqxz):
It sounds like you want to look at the options `-init_hw_device`,
`-hwaccel_device` and `-filter_hw_device`.
Replying to [comment:4 msiders]:
> INPUT --> DECODER A --> FILTER B --> HWDOWNLOAD --> FILTER C -->
HWUPLOAD --> ENCODER D --> OUTPUT
>
> As you can note:
>
> - GPU platform X: applies to A,B & hwdownload.
> - System memory: C only .
> - GPU platform Y: hwupload & D.
Something like:
`ffmpeg -init_hw_device x_dev:x_args -init_hw_device y_dev:y_args -hwaccel
x -hwaccel_device x_dev ... -i ... -filter_hw_device y_dev -vf
b,hwdownload,c,hwupload -c:v d ...`
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7507#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list