[FFmpeg-user] How do I accelerate fisheye to hequirect conversion with cuda?

Paul B Mahol onemda at gmail.com
Tue May 10 11:16:36 EEST 2022


On Tue, May 10, 2022 at 9:54 AM Alexander Winnig via ffmpeg-user <
ffmpeg-user at ffmpeg.org> wrote:

> This is my command
>
> ffmpeg -y -i in.mp4 -vf
> v360=input=sg:ih_fov=118.2:iv_fov=69.5:output=hequirect:w=2924:h=2924
> -b:v 102400k -bufsize 5000k -c:a copy out.mp4
>
> I tried|
> |
>
>
The closest hw accelerated filter you will get is program_opencl video
filter.
Where you need to code own transform for arbitrary input format to output
format.

There is no CUDA or any other hw accelerated version of v360 filter in
FFmpeg official code.


> |
> |
>
> |ffmpeg -y -hwaccel cuda -hwaccel_output_format cuda -i in.mp4 -vf
> v360=input=sg:ih_fov=118.2:iv_fov=69.5:output=hequirect:w=2924:h=2924
> -c:v h264_nvenc -preset slow -b:v 102400k -bufsize 5000k -c:a copy out.mp4|
> ||
>
> But this resulted in|||
> |
>
> |Impossible to convert between the formats supported by the filter
> 'graph 0 input from stream 0:0' and the filter 'auto_scale_0'
> Error reinitializing filters!
> Failed to inject frame into filter network: Function not implemented
> Error while processing the decoded data for stream #0:0|
> ||
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>


More information about the ffmpeg-user mailing list