I want to read the contents of ffmpeg filter_complex.

Asked 2 years ago, Updated 2 years ago, 122 views

I would like to read the contents of ffmpeg's -filter_complex and apply it myself, but I can't find it even if I google it.

-filter_complex'[v:0]hwupload=extra_hw_frames=64,split=4[o1][o2][o3][o4],[o1]vpp_qsv=cw=1920:ch=1080:cx=0:cy=0[out1],[out1]split=3[r12][r12][r_12]hv=72040[ro23],[o3]vpp_qsv=cw=1920:ch=1080:cx=0:cy=1080[out3],[out3] split=3[r31][r32][r33],[r32]scale_qsv=w=1280:h=720[ro32],[r33]scale_qsv=w=9:qs=9:q334][ropp=9:qs=9:qs_v]

I'm going to qsv what I captured in 4K.

What are you looking at to find out about the processing used in filter_complex like this?
I would appreciate it if you could let me know.

ffmpeg

2022-09-30 19:26

1 Answers

What is hwupload=extra_hw_frames=64 doing?

The hwupload filter instructs the transfer of video to the GPU surface.
The extra_hw_frame option is the number of frames to keep in memory.

What is vpp_qsv,scale_qsv?

  • vpp_qsv: Generic image filter utilizing QSV, where image clipping (crop) is performed.
  • scale_qsv—Image scaling (resizing) filter using QSV.

What does split=4[o1][o2][o3][o4] specify?

Number of split filter branch output.The input image is divided into four branches, each labeled o1,...o4.

What are you looking at to find out about the processing used in filter_complex like this

Basically, it refers to the official online document, but it also refers to the source code if necessary.
As the hardware acceleration system seems to lack documentation, it is often faster to check the source code.


2022-09-30 19:26

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.