[Cin] so, it looks like qsv integration a bit harder than just adding few lines ....

Andrew Randrianasulu randrianasulu at gmail.com
Wed Sep 25 00:00:10 CEST 2024


вт, 24 сент. 2024 г., 23:20 Andrew Randrianasulu <randrianasulu at gmail.com>:

>
> got answer from ffmpeg devs
>
> https://ffmpeg.org//pipermail/ffmpeg-devel/2024-September/333906.html
>
>


tried to add this line to bin/ffmpeg/decode.opts on termux

remap_video_decoder hevc=hevc_mediacodec

it seems to work, but automatic fallback to sw decoding does not work, so
you can try to remap normal h264/hevc/av1/vp9 to qsv codecs if linked with
suitable (system) ffmpeg, but how well it will work depends on hw/driver.


I also created mediacodec encoders profiles for hevcand h264 - they seems
to work now on ffmpeg 6.1.2. see attached git am patch

mpeg2_hdv is stray one you probably do not need - was experimenting with
parameters, but without real HDV camera it a bit pointless (camera's
decoder tend to be much less forgiving than sw decoder)



>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20240925/d2ea6b1b/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-mediacodec-based-encoder-profiles-for-termux.patch
Type: text/x-diff
Size: 1622 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20240925/d2ea6b1b/attachment.bin>


More information about the Cin mailing list