U. Artie Eoff
9bf1848acf
lavfi: add hwdevice flag to hwupload/hwmap
This fixes a regression introduced by:
commit 3f63685c3554aea7f72bab1fdbde440820816d37
and
commit 632c34993195f716e9fa575af3de80d07fd50991
...where command-lines like:
ffmpeg -v verbose -hwaccel qsv \
-init_hw_device qsv=qsv,child_device=/dev/dri/renderD128 \
-hwaccel_output_format qsv -f rawvideo -pix_fmt yuv420p \
-s:v 352x288 -r:v 25 -i input.yuv \
-vf 'format=nv12,hwupload=extra_hw_frames=120' \
-an -c:v h264_qsv -y output.h264
ffmpeg -v verbose -hwaccel qsv \
-init_hw_device qsv=qsv,child_device=/dev/dri/renderD128 \
-hwaccel_output_format qsv -f rawvideo -pix_fmt nv12 \
-s:v 352x288 -r:v 25 -i input.yuv \
-vf 'format=nv12|qsv,hwupload=extra_hw_frames=16,vpp_qsv=procamp=1:saturation=1.0,hwdownload,format=nv12' \
-pix_fmt nv12 -f rawvideo -fps_mode passthrough -an -y output.yuv
...produced errors like:
[hwupload @ 0x55b6171d0dc0] A hardware device reference is required to upload frames to.
[Parsed_hwupload_1 @ 0x55b6172053c0] Query format failed for 'Parsed_hwupload_1': Invalid argument
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2023-03-27 17:14:31 +02:00
..
2023-03-26 09:19:42 +08:00
2023-03-25 13:27:20 -03:00
2022-12-19 20:43:58 +01:00
2023-01-27 15:00:53 +01:00
2023-01-03 10:25:06 +01:00
2023-01-17 17:46:58 +01:00
2023-01-17 17:46:58 +01:00
2023-01-17 14:50:08 +01:00
2023-01-02 15:33:57 +01:00
2022-08-23 12:20:05 +02:00
2022-12-01 19:50:54 +01:00
2023-01-17 17:46:58 +01:00
2023-03-20 10:42:09 +01:00
2022-11-19 00:25:47 +01:00
2023-02-11 17:30:20 +01:00
2022-11-19 00:25:47 +01:00
2022-10-07 14:05:31 +02:00
2023-02-08 18:56:57 +01:00
2023-02-08 18:56:56 +01:00
2023-01-17 14:50:08 +01:00
2022-11-10 19:16:05 +01:00
2022-11-17 13:28:58 +01:00
2022-12-19 18:45:56 +01:00
2022-11-17 12:37:22 +01:00
2023-02-19 18:28:52 -03:00
2022-08-23 22:18:02 +02:00
2022-11-19 00:25:47 +01:00
2022-11-07 08:32:48 +01:00
2022-11-19 00:25:47 +01:00
2023-01-17 14:50:08 +01:00
2023-01-17 18:36:37 +01:00
2023-03-20 10:42:09 +01:00
2023-01-02 15:33:57 +01:00
2023-02-16 11:15:50 +08:00
2023-01-16 09:59:31 +01:00
2022-11-19 00:25:47 +01:00
2023-03-20 10:42:09 +01:00
2022-11-19 00:25:47 +01:00
2023-01-17 14:50:08 +01:00
2023-02-12 13:32:00 +01:00
2023-02-12 13:32:00 +01:00
2023-02-12 13:32:00 +01:00
2023-02-12 13:32:00 +01:00
2022-11-25 19:40:11 +01:00
2023-01-17 14:50:08 +01:00
2022-11-19 00:25:47 +01:00
2022-11-19 00:25:47 +01:00
2023-02-12 13:32:00 +01:00
2023-02-12 13:32:00 +01:00
2023-03-20 10:42:09 +01:00
2023-03-24 10:16:51 +01:00
2022-08-06 20:32:46 -03:00
2023-02-09 15:35:14 +01:00
2023-02-09 15:35:14 +01:00
2023-03-05 12:21:45 +01:00
2023-03-25 02:38:17 +01:00
2022-11-14 10:04:16 +08:00
2022-12-10 14:57:05 +01:00
2022-07-30 13:17:28 +02:00
2022-07-30 13:17:28 +02:00
2022-07-30 13:17:28 +02:00
2022-10-13 10:19:13 +02:00
2023-02-12 13:32:00 +01:00
2022-07-19 12:27:17 +02:00
2022-12-01 11:21:14 +01:00
2023-02-12 13:32:00 +01:00
2023-01-27 23:53:26 +01:00
2023-03-20 10:42:09 +01:00
2023-03-20 10:42:09 +01:00
2022-07-30 11:42:06 +02:00
2022-07-30 11:42:06 +02:00
2023-02-12 13:32:00 +01:00
2022-08-10 09:15:37 -03:00
2023-03-10 13:04:25 +01:00
2023-02-12 10:17:26 +01:00
2023-03-25 22:13:56 +08:00
2022-09-03 15:41:44 +02:00
2023-01-03 17:18:55 +01:00
2023-01-03 17:18:55 +01:00
2022-11-09 17:39:00 +01:00
2023-02-16 11:15:50 +08:00
2023-01-17 10:10:52 +08:00
2022-09-27 00:07:43 +02:00
2022-09-27 00:07:43 +02:00
2023-03-20 10:42:09 +01:00
2022-10-13 10:19:13 +02:00
2022-10-13 10:19:13 +02:00
2022-11-02 10:53:44 +01:00
2023-03-24 10:16:51 +01:00
2023-03-11 10:05:47 -03:00
2022-12-20 14:02:37 +01:00
2023-01-17 10:10:52 +08:00
2023-01-17 10:10:52 +08:00
2022-11-19 00:25:47 +01:00
2023-03-13 11:30:58 -03:00
2023-03-24 10:16:51 +01:00
2023-03-24 10:16:51 +01:00
2023-03-24 10:16:51 +01:00
2022-11-05 10:52:39 +01:00
2022-09-03 15:18:56 +02:00
2022-09-03 20:27:34 +02:00
2022-12-20 14:02:37 +01:00
2023-03-24 10:16:51 +01:00
2022-07-30 13:17:28 +02:00
2022-12-04 23:02:07 +01:00
2023-03-25 02:38:17 +01:00
2023-03-24 10:16:51 +01:00
2022-10-27 10:23:09 +02:00
2022-12-07 00:57:25 +01:00
2023-01-27 23:13:16 +01:00
2023-03-24 10:16:51 +01:00
2022-10-27 10:23:09 +02:00
2023-01-30 18:42:49 +01:00
2022-09-15 19:35:30 +02:00
2022-09-13 22:59:30 +02:00
2023-03-24 10:16:51 +01:00
2022-11-14 10:04:16 +08:00
2022-11-19 00:25:47 +01:00
2022-12-01 11:21:14 +01:00
2022-12-08 13:03:42 +01:00
2023-02-12 13:32:00 +01:00
2023-03-20 10:42:09 +01:00
2023-01-27 14:57:28 +01:00
2022-10-22 19:35:44 +02:00
2023-01-27 19:50:10 +01:00
2023-01-19 12:33:55 +01:00
2022-12-19 16:24:25 +01:00
2023-02-12 13:32:00 +01:00
2023-03-24 10:16:51 +01:00
2022-09-03 15:41:44 +02:00
2022-09-03 15:41:44 +02:00
2022-09-03 15:41:44 +02:00
2022-11-15 13:42:58 +01:00
2022-09-15 09:13:29 -03:00
2023-03-20 10:42:09 +01:00
2022-07-30 13:17:28 +02:00
2023-01-17 22:43:39 +01:00
2023-03-20 10:42:09 +01:00
2023-03-20 10:42:09 +01:00
2022-10-13 10:19:13 +02:00
2023-02-11 10:36:56 +01:00
2022-09-27 19:35:49 +02:00
2022-11-19 00:25:47 +01:00
2022-11-19 00:25:47 +01:00
2022-09-03 15:41:44 +02:00
2022-11-05 11:50:36 +01:00
2023-03-24 10:16:51 +01:00
2023-02-12 13:32:00 +01:00
2022-10-04 11:55:03 +02:00
2022-10-13 10:19:13 +02:00
2022-10-29 17:11:14 +02:00
2023-03-24 10:16:51 +01:00
2022-09-10 22:11:38 +02:00
2023-01-17 23:20:00 +01:00
2022-11-09 17:39:00 +01:00
2023-03-27 17:14:31 +02:00
2023-03-27 17:14:31 +02:00
2023-01-17 22:55:14 +01:00
2023-02-12 13:32:00 +01:00
2023-03-24 10:16:51 +01:00
2022-12-01 11:21:14 +01:00
2022-09-03 15:41:44 +02:00
2022-10-21 20:11:14 +02:00
2023-03-26 01:46:49 +01:00
2022-10-13 10:19:13 +02:00
2023-03-24 10:16:51 +01:00
2023-03-24 10:16:51 +01:00
2022-09-03 15:41:44 +02:00
2023-03-20 10:42:09 +01:00
2023-03-24 10:16:51 +01:00
2023-03-24 10:16:51 +01:00
2023-01-17 10:10:52 +08:00
2023-03-24 10:16:51 +01:00
2023-03-20 10:42:09 +01:00
2023-03-20 10:42:09 +01:00
2023-03-24 10:16:51 +01:00
2023-01-03 17:18:56 +01:00
2023-02-12 13:32:00 +01:00
2023-02-12 13:32:00 +01:00
2023-03-24 10:16:51 +01:00
2022-11-04 08:50:04 +01:00
2022-09-03 15:41:44 +02:00
2022-11-09 17:39:00 +01:00
2023-01-27 23:01:52 +01:00
2023-03-24 10:16:51 +01:00
2023-02-12 13:32:00 +01:00
2022-10-10 02:58:39 +02:00
2023-03-20 10:42:09 +01:00
2023-03-24 10:16:51 +01:00
2023-03-20 10:42:09 +01:00
2023-01-24 22:02:45 +01:00
2023-03-20 10:42:09 +01:00
2023-02-12 13:32:00 +01:00
2022-09-03 15:41:44 +02:00
2022-07-22 08:15:04 +08:00
2023-03-14 07:16:45 +01:00
2022-09-03 15:41:44 +02:00
2023-03-24 10:16:51 +01:00
2023-03-24 10:16:51 +01:00
2023-03-20 10:42:09 +01:00
2023-02-12 13:32:00 +01:00
2022-10-27 10:23:24 +02:00
2022-12-05 21:08:02 +01:00
2022-12-20 14:02:37 +01:00
2023-03-24 10:16:51 +01:00
2023-01-27 23:01:52 +01:00
2023-03-24 10:16:51 +01:00
2023-03-24 10:16:51 +01:00
2023-03-24 10:16:51 +01:00
2023-03-16 16:07:40 -03:00
2023-03-26 01:46:49 +01:00
2023-02-11 10:36:56 +01:00
2023-02-12 13:32:00 +01:00
2022-09-03 15:41:44 +02:00
2022-12-07 12:23:16 +01:00
2022-09-03 15:41:44 +02:00
2023-03-24 10:16:51 +01:00
2023-03-24 10:16:51 +01:00
2022-07-12 16:32:30 +02:00
2023-02-14 19:09:19 +00:00
2022-07-28 16:17:23 +02:00
2022-09-14 21:49:00 +02:00
2023-01-17 17:46:58 +01:00
2022-07-18 13:08:39 +02:00
2023-03-24 10:16:51 +01:00
2023-01-17 18:49:31 +01:00
2023-01-17 17:46:58 +01:00
2023-01-17 17:46:58 +01:00
2023-01-17 17:46:58 +01:00
2023-01-17 17:46:57 +01:00
2023-01-17 17:46:57 +01:00
2022-10-20 12:13:37 +02:00