<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">вт, 24 сент. 2024 г., 23:20 Andrew Randrianasulu <<a href="mailto:randrianasulu@gmail.com">randrianasulu@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div dir="auto"><br></div><div dir="auto">got answer from ffmpeg devs</div><div dir="auto"><br></div><a href="https://ffmpeg.org//pipermail/ffmpeg-devel/2024-September/333906.html" target="_blank" rel="noreferrer">https://ffmpeg.org//pipermail/ffmpeg-devel/2024-September/333906.html</a><div dir="auto"><br></div><div dir="auto"></div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">tried to add this line to bin/ffmpeg/decode.opts on termux</div><div dir="auto"><br></div><div dir="auto">remap_video_decoder hevc=hevc_mediacodec<br></div><div dir="auto"><br></div><div dir="auto">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.</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">I also created mediacodec encoders profiles for hevcand h264 - they seems to work now on ffmpeg 6.1.2. see attached git am patch</div><div dir="auto"><br></div><div dir="auto">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)</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div dir="auto"><br></div></div>
</blockquote></div></div></div>