Intel QSV Codecs

Website, builds, or other suggestions.
Decer
Posts: 3
Joined: Mon Aug 17, 2015 11:25 am

Re: Intel QSV Codecs

Post by Decer » Mon Feb 22, 2016 7:46 pm

For the record, I'm a sw dev (too), so all builds are welcome: static, shared and dev.

llogan
Posts: 332
Joined: Fri Mar 14, 2014 3:29 am

Re: Intel QSV Codecs

Post by llogan » Fri Feb 26, 2016 4:08 am

I admit I'm fairly ignorant of the QSV & XP issue, but in my opinion XP support should be dropped, and if users really want a current build they should be referred to Custom Build Quote Request unless an occasional special XP build is provided.

Should this, should that... That being said, we're not the ones spending the time making the builds. The project and the community do appreciate the work, however.

User avatar
mikeversteeg
Posts: 16
Joined: Fri Feb 19, 2016 1:22 pm

Re: Intel QSV Codecs

Post by mikeversteeg » Sun Feb 28, 2016 10:43 am

+1

And it may help if we all make a small donation for Kyle's time. Just to show him we care more than whatever XP users are still out there holding us back. The Donate button is top-right of this page.

tintun
Posts: 1
Joined: Sun Feb 28, 2016 3:58 pm

Re: Intel QSV Codecs

Post by tintun » Sun Feb 28, 2016 4:46 pm

Yes me too, but can't wait so I did some research and build my own ffmpeg with qsv and libfdk_aac on Windows 10 and here is how:

step1: download MSYS from http://xhmikosr.1f0.de/tools/msys/ (get file: MSYS_MinGW-w64_GCC_530_x86-x64_Full.7z)

step2: extract to C:\MSYS

step3: run file C:\MSYS\postinstall\pi.bat and it will ask
To the question "Do you have MinGW installed? [yn ]" answer Y.
"Where is your MinGW installation?" - type C:/MSYS/mingw

step4: now run C:\MSYS\msys.bat

step5: Download libfdk_aac from http://sourceforge.net/projects/opencore-amr/
to your C:/MSYS/home/<your user name>/
now run command below:
tar xvfz fdk-aac-0.1.4.tar.gz (this will extract the file you just downloaded in step5)
now type command below:
cd ~/fdk-aac-0.1.4
then type command below:
PKG_CONFIG_PATH="/usr/local/x86_64-w64-mingw32/lib/pkgconfig" \
./configure --prefix=/usr/local/x86_64-w64-mingw32 --disable-shared --enable-static --enable-fast-install
(wait until it done and type command below:)
make clean && make -j4 && make install

step6: Download intel qsv from https://github.com/lu-zero/mfx_dispatch (click Download zip)
extract to your C:/MSYS/home/<your user name>/
run command below:
cd ~/mfx_dispatch-master
type: autoreconf -fiv
now run command below:
PKG_CONFIG_PATH="/usr/local/x86_64-w64-mingw32/lib/pkgconfig" \
./configure --prefix=/usr/local/x86_64-w64-mingw32 \
--disable-shared \
--enable-static \
--enable-fast-install
(wait until it done and type command below:)
make clean && make -j4 && make install

step7: download latest ffmpeg (v3) source code from
Download source snapshot from http://www.ffmpeg.org/download.html
to your C:/MSYS/home/<your user name>/
now run command below:
tar xvjf ffmpeg-snapshot.tar.bz2 (this will extract the file you just downloaded in step7)
now type command below:
cd ~/ffmpeg
then type command below:
PKG_CONFIG_PATH="/usr/local/x86_64-w64-mingw32/lib/pkgconfig" \
./configure --prefix="/usr/local/x86_64-w64-mingw32" \
--enable-gpl \
--enable-version3 \
--enable-libmfx \
--enable-w32threads \
--pkg-config-flags="--static" \
--extra-ldflags="-static" \
--extra-libs="-lsupc++ -lstdc++" \
--arch=x86_64 --cpu=x86_64 \
--enable-nonfree --enable-libfdk-aac
(wait until it done and type command below:)
make clean && make -j4 && make install

after all steps above are done open folder C:\MSYS\local\x86_64-w64-mingw32\bin you will see ffmpeg.exe compile version with qsv and libmfx.

Have fun!

User avatar
Zeranoe
Site Admin
Posts: 644
Joined: Sat May 07, 2011 7:12 pm
Contact:

Re: Intel QSV Codecs

Post by Zeranoe » Tue Mar 01, 2016 5:16 am

Intel QSV is now included in the daily builds, and Windows XP support has been dropped.

viewtopic.php?f=2&t=2937

User avatar
mikeversteeg
Posts: 16
Joined: Fri Feb 19, 2016 1:22 pm

Re: Intel QSV Codecs

Post by mikeversteeg » Tue Mar 01, 2016 7:29 am

Thank you! A wise decision.

User avatar
mikeversteeg
Posts: 16
Joined: Fri Feb 19, 2016 1:22 pm

Re: Intel QSV Codecs

Post by mikeversteeg » Thu Mar 03, 2016 3:46 pm

Had some spare time so gave this a try but I end up with "h264_qsv error initializing an internal mfx session". Has anyone got this encoder to work?

KevinA
Posts: 2
Joined: Thu Feb 25, 2016 8:57 pm

Re: Intel QSV Codecs

Post by KevinA » Tue Mar 08, 2016 4:47 pm

Does the computer your compiling on have Hardware encoding support?

If so, try updating the intel drivers

User avatar
mikeversteeg
Posts: 16
Joined: Fri Feb 19, 2016 1:22 pm

Re: Intel QSV Codecs

Post by mikeversteeg » Wed Mar 09, 2016 9:00 am

No compiling, I simply use the latest ready made Zeranoe build. I finally figured out I also need to install the latest Intel Media Server Studio but even the simple documented test commands keep returning errors about bitrate etc. (which I do not think are the real problem, unless all documentation on ffmpeg and intel is wrong). If it is this hard for me, I am beginning to worry this is not at all interesting for my clients.

User avatar
Zeranoe
Site Admin
Posts: 644
Joined: Sat May 07, 2011 7:12 pm
Contact:

Re: Intel QSV Codecs

Post by Zeranoe » Wed Mar 09, 2016 8:16 pm

mikeversteeg wrote:No compiling, I simply use the latest ready made Zeranoe build. I finally figured out I also need to install the latest Intel Media Server Studio but even the simple documented test commands keep returning errors about bitrate etc. (which I do not think are the real problem, unless all documentation on ffmpeg and intel is wrong). If it is this hard for me, I am beginning to worry this is not at all interesting for my clients.
Are you getting:

Code: Select all

[h264_qsv @ 000001e3022afe80] Error retrieving encoding parameters.

Post Reply