OS/2, eCS & ArcaOS - Technical > Multimedia

AVX safe FFmpeg

(1/5) > >>

Igor:
This is a version of ffmpeg compiled with AVX support and correct alignment. When launched with the OS / 4 kernel, it takes advantage of the AVX instructions of modern processors.
http://ru2.halfos.ru/ffmpeg/ffmpeg-4.2.2-os2-avx.zip

Dariusz Piatkowski:
Hi Igor,

Do you have a quick pre-requisites summary?

I ask b/c trying on non OS4 kernel (assuming here that it runs w/o the AVX instructions in such a scenario) shows the following:


--- Code: ---[G:\test\ffmpeg_avx]ffmpeg
SYS1804: The system cannot find the file VORBIS0.

--- End code ---

...so clearly a missing DLL.

Thanks!

Igor:

--- Quote from: Dariusz Piatkowski on February 18, 2021, 03:00:30 pm ---Hi Igor,

Do you have a quick pre-requisites summary?

I ask b/c trying on non OS4 kernel (assuming here that it runs w/o the AVX instructions in such a scenario) shows the following:


--- Code: ---[G:\test\ffmpeg_avx]ffmpeg
SYS1804: The system cannot find the file VORBIS0.

--- End code ---

...so clearly a missing DLL.

Thanks!

--- End quote ---

Hi Dariusz,

Please install libvorbis via ANPM.
You can also use yum, but I don't know what the package is called there. Perhaps the same.

David Graser:
Need to install OPUS in YUM also.

Dariusz Piatkowski:
Igor,


--- Quote from: Igor on February 18, 2021, 04:21:16 pm ---
--- Quote from: Dariusz Piatkowski on February 18, 2021, 03:00:30 pm ---Hi Igor,

Do you have a quick pre-requisites summary?

I ask b/c trying on non OS4 kernel (assuming here that it runs w/o the AVX instructions in such a scenario) shows the following:


--- Code: ---[G:\test\ffmpeg_avx]ffmpeg
SYS1804: The system cannot find the file VORBIS0.

--- End code ---

...so clearly a missing DLL.

Thanks!

--- End quote ---

Hi Dariusz,

Please install libvorbis via ANPM.
You can also use yum, but I don't know what the package is called there. Perhaps the same.

--- End quote ---

You know, I was a little too-quick on the response, should have done my homework and at least ran chkdll32x against the EXE.

So now that I've actually done that, here are the results:


--- Code: ---[G:\test\ffmpeg_avx]chkdll32x ffmpeg.exe
Loading DLL 'libcx0' --> G:\USR\LIB\LIBCX0.DLL.
Loading DLL 'avdevi58' --> NOT loaded!
Unable to load DLL 'avdevi58'.  DosLoadModule returned: 2
OS/2 reports 'SDL2200' contributed to the failure.
Loading DLL 'avfilt7' --> NOT loaded!
Unable to load DLL 'avfilt7'.  DosLoadModule returned: 2
OS/2 reports 'VORBIS0' contributed to the failure.
Loading DLL 'avform58' --> NOT loaded!
Unable to load DLL 'avform58'.  DosLoadModule returned: 2
OS/2 reports 'VORBIS0' contributed to the failure.
Loading DLL 'avcode58' --> NOT loaded!
Unable to load DLL 'avcode58'.  DosLoadModule returned: 2
OS/2 reports 'VORBIS0' contributed to the failure.
Loading DLL 'avresa4' --> G:\TEST\FFMPEG_AVX\LIB\AVRESA4.DLL.
Loading DLL 'postpr55' --> G:\TEST\FFMPEG_AVX\LIB\POSTPR55.DLL.
Loading DLL 'swresa3' --> G:\TEST\FFMPEG_AVX\LIB\SWRESA3.DLL.
Loading DLL 'swscal5' --> G:\TEST\FFMPEG_AVX\LIB\SWSCAL5.DLL.
Loading DLL 'avutil56' --> G:\TEST\FFMPEG_AVX\LIB\AVUTIL56.DLL.
Loading DLL 'gcc1' --> G:\USR\LIB\GCC1.DLL.
Loading DLL 'libcn0' --> G:\USR\LIB\LIBCN0.DLL.
Loading DLL 'doscalls' --> loaded.

--- End code ---

I'll YUM all of these to see which RPM packages they belong to...

Navigation

[0] Message Index

[#] Next page

Go to full version