AMD Ryzen 5500GT APU video processing libraries and Linux ffmpeg video encoding.

Need help with peripherals or devices?
Post Reply
Message
Author
rupeshforu3
Posts: 150
Joined: 2012-12-06 07:04
Location: India

AMD Ryzen 5500GT APU video processing libraries and Linux ffmpeg video encoding.

#1 Post by rupeshforu3 »

Hi I am Rupesh from India and I brought a new desktop pc with ryzen 5500GT APU and Asus prime b450 m k2 motherboard. I have installed debian Trixie testing Linux distribution and everything is working fine except I have some doubts related to video encoding using ffmpeg and libaom av1.

I have some mp4 h264 video files and I thought to convert them to av1 codec using libaom. So I compiled ffmpeg source code with options cpu=znver3 and --enable-libaom and --enable-x265.

I succeeded in building ffmpeg from source code but my Linux doesn't have package related to AMF which is the software from AMD related to video codecs. During the configuration of ffmpeg first I have included the option --enable-amf but I got error as amf requested but not found. So I removed this option and after that the compilation was successful.

I have used the recently build ffmpeg to convert h264 files to av1 codec and succeeded. After that I have copied converted av1 files to the latest android tablet and tried to play through vlc video player but when I skip forward 10 minutes the player is getting stuck for few seconds and resume. I mean it can't respond quickly when I fast forward.

Previously I used Intel 10th gen 10100 APU and Asus prime h 510 me motherboard and used the same ffmpeg tool to convert the same h264 files to av1 codec in the same Linux operating system. After that I have copied them to the same latest android tablet and tried to play through vlc video player and at that time there is no lag when I fast forward. I mean it responded quickly when I fast forwarded.

Previously while using Intel 10th gen pc there were options such as --enable-libmfx --enable-qsv --enable-libvpl

I think that those are related to Intel but not useful while using amd APU and so I have given option --disable-libmfx and not used vpl qsv at all.

I searched web for AMD ffmpeg and found only AMF but there are no options mfx, vpl found in Intel.

I found an article on how to compile ffmpeg with AMF support and it suggested to clone the git of AMF and so I cloned it and the resulting cloned folder is 1300 mb.

I am confused on how to compile ffmpeg with AMF support.

Is there any degradation in the quality of converted av1 file when libraries such as AMF mfx vpl are not used.

If you say just ignore AMF support for ffmpeg I will ignore.

Kindly clarify my doubts related to AMF and if you think AMF is must for proper libaom encoding kindly suggest proper method to compile ffmpeg with AMF support.

Regards,
Rupesh.

peter_irich
Posts: 1414
Joined: 2009-09-10 20:15
Location: Saint-Petersburg, Russian Federation
Been thanked: 12 times

Re: AMD Ryzen 5500GT APU video processing libraries and Linux ffmpeg video encoding.

#2 Post by peter_irich »

You can get amf from github. Enter in searching:
amf support in Linux

rupeshforu3
Posts: 150
Joined: 2012-12-06 07:04
Location: India

Re: AMD Ryzen 5500GT APU video processing libraries and Linux ffmpeg video encoding.

#3 Post by rupeshforu3 »

Are there any equivalents to mfx vpl from AMD.

Other Linux distributions have packages related to AMF but debian doesn't have. I searched Fedora packages for the word AMF and found.

What is the meaning of uvd, vce from AMD and is there any way to use them in ffmpeg.

Post Reply