- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everyone, for this nice FFMPEG-GUI called FastFlix we're discussing about hw encoding in this issue.
Since QSV doesn't (yet) support 2-pass mode, we thought it could be possible take advantage of the speed at least for the first pass.
If so, can someone help to correctly "transpose" these commands ?
1st pass:
ffmpeg -y -hwaccel auto -i "<sourcefile>" -max_muxing_queue_size 1024 -map "[v]" -c:v libx265 -pix_fmt yuv420p10le -x265-params "aq-mode=2:repeat-headers=1:strong-intra-smoothing=1:bframes=4:b-adapt=2:frame-threads=0:colorprim=bt2020:transfer=smpte2084:colormatrix=bt2020nc:hdr10_opt=1:master-display=G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,1):max-cll=0,0:hdr10=1:chromaloc=2:pass=1:no-slow-firstpass=1" -passlogfile "<logfile>" -b:v <bitrate> -preset:v medium -an -sn -dn -f mp4 NUL
Of course we can change libx265 into hevc_qsv and yuv420p10le into p010le, but how about -x265-params ?
2nd pass:
ffmpeg -y -hwaccel auto -i "<sourcefile>" -max_muxing_queue_size 1024 -map "[v]" -c:v libx265 -pix_fmt yuv420p10le -x265-params "aq-mode=2:repeat-headers=1:strong-intra-smoothing=1:bframes=4:b-adapt=2:frame-threads=0:colorprim=bt2020:transfer=smpte2084:colormatrix=bt2020nc:hdr10_opt=1:master-display=G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,1):max-cll=0,0:hdr10=1:chromaloc=2:pass=2" -passlogfile "<logfile>" -b:v <bitrate> -preset:v medium "<output>"
Last but not least, here is an interesting page about QSV available parameters in FFMPEG:
https://gist.github.com/nico-lab/58ac62e359bd63feed36af64db3e4406#file-hevc_qsv-txt
Thanks to anyone that can help.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for posting in Intel Communities,
This forum handles issues related to Intel oneVPL and Intel MSDK. We will able to help you resolve issues if they are related to Intel oneVPL or Intel MSDK only.
Thanks,
Jaideep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your reply.
Well then, how to "transpose" above FFMPEG encoding commands into OneVPL calls ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We are working on this internally and we will get back to you soon with an update.
Thanks,
Jaideep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apologies for the delays. Media SDK functionality has been superseded by oneVPL, FFmpeg and GStreamer.
For more information see the oneVPL Landing Page: https://www.intel.com/content/www/us/en/developer/tools/oneapi/onevpl.html where you will find, among other information
oneVPL version 2.x is an API that is the successor to Intel® Media SDK. The Intel Media SDK project is no longer active and will not be updated. Packages and downloads are still available on GitHub*. For continued support and access to new features, Intel Media SDK users are encouraged to move to oneVPL as soon as possible.
Let us know if you have any questions about oneVPL.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page