[FFmpeg-trac] #10492(undetermined:new): scale_vt does not seems to work correctly
FFmpeg
trac at avcodec.org
Fri Jul 28 10:23:40 EEST 2023
#10492: scale_vt does not seems to work correctly
-------------------------------------+-------------------------------------
Reporter: Paul | Owner: (none)
Pacifico |
Type: defect | Status: new
Priority: normal | Component:
| undetermined
Version: git-master | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Description changed by Paul Pacifico:
Old description:
> I've just compiled the latest git version of FFmpeg to use the
> ''scale_vt'' filter.
>
> **When using:**
>
> {{{
> ffmpeg -hwaccel videotoolbox -hwaccel_output_format videotoolbox_vld -i
> input.mov -c:v hevc_videotoolbox -b:v 5M
> -vf scale_vt=640:360 -an -tag:v hvc1 ouput.mp4
> }}}
>
> It does not scale the output.
>
> **But if I add hwdownload,format=nv12:**
>
> {{{
> ffmpeg -hwaccel videotoolbox -hwaccel_output_format videotoolbox_vld -i
> input.mov -c:v hevc_videotoolbox -b:v 5M
> -vf scale_vt=640:360,hwdownload,format=nv12 -an -tag:v hvc1 ouput.mp4
> }}}
>
> The image is cropped to a 640x360 scale.
>
> I've tried using various input file (8bit or 10bit) same result.
>
> Tested on a Mac Mini M1.
>
> Paul.
New description:
I've just compiled the latest git version of FFmpeg to use the
''scale_vt'' filter.
**When using:**
{{{
ffmpeg -hwaccel videotoolbox -hwaccel_output_format videotoolbox_vld -i
input.mov -c:v hevc_videotoolbox -b:v 5M
-vf scale_vt=640:360 -an -tag:v hvc1 ouput.mp4
}}}
It does not scale the output.
**But if I add hwdownload,format=nv12:**
{{{
ffmpeg -hwaccel videotoolbox -hwaccel_output_format videotoolbox_vld -i
input.mov -c:v hevc_videotoolbox -b:v 5M
-vf scale_vt=640:360,hwdownload,format=nv12 -an -tag:v hvc1 ouput.mp4
}}}
The image is cropped to a 640x360 scale.
I've tried using various input files (8bit or 10bit) same result.
Tested on a Mac Mini M1.
--
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10492#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list