[FFmpeg-trac] #9801(undetermined:new): prores_videotoolbox failed in cli tool
FFmpeg
trac at avcodec.org
Fri Jun 3 19:30:53 EEST 2022
#9801: prores_videotoolbox failed in cli tool
-------------------------------------+-------------------------------------
Reporter: Juneleung | Owner: (none)
Chan |
Type: defect | Status: new
Priority: important | Component:
| undetermined
Version: git-master | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Description changed by Juneleung Chan:
Old description:
> Summary of the bug:
> mac OS 11.6.6 with ffmpeg5, prores_videotoolbox cant run with Cli
> successfully. H264_videoetoolbox and hevc_videoetoolbox can run
> successfully, only prores_videotoolbox failed. Error as "Error: cannot
> create compression session: -12908".
>
> if I run
> {{{
> "ffmpeg -h encoder=prores_videotoolbox"}}}
> , I can get
> {{{
> encoder info successfully as:
> "Encoder prores_videotoolbox [VideoToolbox ProRes Encoder]:
> General capabilities: dr1 delay hardware
> Threading capabilities: none
> Supported pixel formats: videotoolbox_vld yuv420p nv12 ayuv64le
> uyvy422 p010le nv16 p210le nv24 p410le bgra
> prores_videotoolbox AVOptions:
> -profile <int64> E..V....... Profile (from -99 to 5)
> (default auto)
> auto E..V....... Automatically determine
> based on input format
> proxy E..V....... ProRes 422 Proxy
> lt E..V....... ProRes 422 LT
> standard E..V....... ProRes 422
> hq E..V....... ProRes 422 HQ
> 4444 E..V....... ProRes 4444
> xq E..V....... ProRes 4444 XQ
> -allow_sw <boolean> E..V....... Allow software encoding
> (default false)
> -require_sw <boolean> E..V....... Require software encoding
> (default false)
> -realtime <boolean> E..V....... Hint that encoding should
> happen in real-time if not faster (e.g. capturing from camera). (default
> false)
> -frames_before <boolean> E..V....... Other frames will come
> before the frames in this session. This helps smooth concatenation
> issues. (default false)
> -frames_after <boolean> E..V....... Other frames will come
> after the frames in this session. This helps smooth concatenation issues.
> (default false)
> }}}
>
>
> How to reproduce:
> {{{
> % ffmpeg -i 123.mov -vcodec prores_videotoolbox 20220603.mov -y
> ffmpeg version
> built with Apple clang version 13.0.0 (clang-1300.0.29.3)
> }}}
>
> get info as :
> {{{[prores_videotoolbox @ 0x7fc10940ca80] Error: cannot create
> compression session: -12908
> [prores_videotoolbox @ 0x7fc10940ca80] Try -allow_sw 1. The hardware
> encoder may be busy, or not supported.
> Error initializing output stream 0:0 -- Error while opening encoder for
> output stream #0:0 - maybe incorrect parameters such as bit_rate, rate,
> width or height
> Conversion failed!}}}
New description:
Summary of the bug:
mac OS 11.6.6 with ffmpeg5, prores_videotoolbox cant run with Cli
successfully. H264_videoetoolbox and hevc_videoetoolbox can run
successfully, only prores_videotoolbox failed. Error as "Error: cannot
create compression session: -12908".
if I run
{{{
"ffmpeg -h encoder=prores_videotoolbox"
}}}
I can get encoder info successfully as:
{{{
"Encoder prores_videotoolbox [VideoToolbox ProRes Encoder]:
General capabilities: dr1 delay hardware
Threading capabilities: none
Supported pixel formats: videotoolbox_vld yuv420p nv12 ayuv64le
uyvy422 p010le nv16 p210le nv24 p410le bgra
prores_videotoolbox AVOptions:
-profile <int64> E..V....... Profile (from -99 to 5)
(default auto)
auto E..V....... Automatically determine
based on input format
proxy E..V....... ProRes 422 Proxy
lt E..V....... ProRes 422 LT
standard E..V....... ProRes 422
hq E..V....... ProRes 422 HQ
4444 E..V....... ProRes 4444
xq E..V....... ProRes 4444 XQ
-allow_sw <boolean> E..V....... Allow software encoding
(default false)
-require_sw <boolean> E..V....... Require software encoding
(default false)
-realtime <boolean> E..V....... Hint that encoding should
happen in real-time if not faster (e.g. capturing from camera). (default
false)
-frames_before <boolean> E..V....... Other frames will come
before the frames in this session. This helps smooth concatenation issues.
(default false)
-frames_after <boolean> E..V....... Other frames will come after
the frames in this session. This helps smooth concatenation issues.
(default false)
}}}
How to reproduce:
{{{
% ffmpeg -i 123.mov -vcodec prores_videotoolbox 20220603.mov -y
ffmpeg version
built with Apple clang version 13.0.0 (clang-1300.0.29.3)
}}}
get info as :
{{{
[prores_videotoolbox @ 0x7fc10940ca80] Error: cannot create compression
session: -12908
[prores_videotoolbox @ 0x7fc10940ca80] Try -allow_sw 1. The hardware
encoder may be busy, or not supported.
Error initializing output stream 0:0 -- Error while opening encoder for
output stream #0:0 - maybe incorrect parameters such as bit_rate, rate,
width or height
Conversion failed!
}}}
--
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9801#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list