Giter Club home page Giter Club logo

Comments (16)

eandrade92630 avatar eandrade92630 commented on August 16, 2024

Not sure if this is the same issue I'm having but I fixed this by encoding only with FFmpeg then remuxing the files with mkvmerge. There's something wrong with the muxing process in FFmpeg.

from media-driver.

intel-mediadev avatar intel-mediadev commented on August 16, 2024

Auto Created VSMGWL-69499 for further analysis.

from media-driver.

warduweram avatar warduweram commented on August 16, 2024

@leyu-yao @XinfengZhang Has there been any progress on this issue?

from media-driver.

Sherry-Lin avatar Sherry-Lin commented on August 16, 2024

@xhaihao do you see any issues for ffmpeg-qsv VP9?

from media-driver.

xhaihao avatar xhaihao commented on August 16, 2024

@Sherry-Lin Yes, I see this issue. The root cause is that VPL runtime doesn't set keyframe flag on returned bitstream.
@warduweram Could you try this WA (intel-media-ci/ffmpeg#701) in FFmpeg ?

from media-driver.

warduweram avatar warduweram commented on August 16, 2024

@xhaihao I can try, sure, but I don't know how/where to apply that commit, so if you could give me a hand. :D

from media-driver.

xhaihao avatar xhaihao commented on August 16, 2024

@warduweram you may use the branch directly.
$ git clone https://github.com/xhaihao/ffmpeg-1.git -b wa-qsvenc-vp9

from media-driver.

warduweram avatar warduweram commented on August 16, 2024

@xhaihao Thanks for the effort, I appreciate it! I understand correctly that I have to build ffmpeg from that cloned repository, right? It might take me a while, since I haven't built something as complex as ffmpeg before. I might have to boot to Linux or figure out how to do it under Windows. So if there's anyone else with the necessary skills and hardware, feel free to try it out before me.

from media-driver.

jnko avatar jnko commented on August 16, 2024

I can confirm the fix is working with QSV VP9. Thanks a lot!

from media-driver.

warduweram avatar warduweram commented on August 16, 2024

@jnko Awesome, thanks for trying it out, I couldn't manage to compile under Windows.

@Sherry-Lin How do we continue from here, do we communicate this to the ffmpeg team or do you still wanna fix it in the drivers?

from media-driver.

xhaihao avatar xhaihao commented on August 16, 2024

@warduweram The patch was submitted to FFmpeg ML, see https://patchwork.ffmpeg.org/project/ffmpeg/patch/[email protected]/

from media-driver.

warduweram avatar warduweram commented on August 16, 2024

@xhaihao Awesome, thanks so much!

from media-driver.

leyu-yao avatar leyu-yao commented on August 16, 2024

With this commit intel/vpl-gpu-rt@89edcba VPL will set IDR flag (keyframe flag) for VP9 I frames.

from media-driver.

warduweram avatar warduweram commented on August 16, 2024

@leyu-yao Thanks so much for the lengthy explanation, I appreciate it! Will the fix work for RaptorLake iGPU?

leyu-yao wrote (on other thread):

I checked windows release driver on . Unfortunately, this is fix is not included yet.
For VPL and Media sdk, they are two runtime in graphics driver. On some new platforms, VPL is used. And media sdk is used on old platforms and it is not maintained anymore.
If you are using recent Intel platforms such as DG2(Arc Axxx) or MTL(Core Ultra xxx), these platforms will use the latest runtime. And this fix will be included the windows release driver in a few weeks. Once you install the driver which includes this fix, a stock ffmpeg build is good to use.
However, if you are using some older platforms, this fix won't benefit the windows release driver and you still need a build ffmpeg with Haihao's patch https://patchwork.ffmpeg.org/project/ffmpeg/patch/[email protected]/ I'm not sure when his ffmpeg patch will be included in some ffmpeg pre-build release. May need comment from Haihao.

from media-driver.

leyu-yao avatar leyu-yao commented on August 16, 2024

@leyu-yao Thanks so much for the lengthy explanation, I appreciate it! Will the fix work for RaptorLake iGPU?

leyu-yao wrote (on other thread):

I checked windows release driver on . Unfortunately, this is fix is not included yet.
For VPL and Media sdk, they are two runtime in graphics driver. On some new platforms, VPL is used. And media sdk is used on old platforms and it is not maintained anymore.
If you are using recent Intel platforms such as DG2(Arc Axxx) or MTL(Core Ultra xxx), these platforms will use the latest runtime. And this fix will be included the windows release driver in a few weeks. Once you install the driver which includes this fix, a stock ffmpeg build is good to use.
However, if you are using some older platforms, this fix won't benefit the windows release driver and you still need a build ffmpeg with Haihao's patch https://patchwork.ffmpeg.org/project/ffmpeg/patch/[email protected]/ I'm not sure when his ffmpeg patch will be included in some ffmpeg pre-build release. May need comment from Haihao.

Hi @warduweram
As I remember, both VPL and MSDK RT are supported on RaptorLake iGPU. But sorry I'm not very familiar with ffmpeg.
Hi @xhaihao, sorry could you help to comment on this? Which RT will ffmpeg qsv plugin load on RaptorLake?

from media-driver.

warduweram avatar warduweram commented on August 16, 2024

This seems to be fixed on 5382 WHQL Intel Arc/Iris drivers with ffmpeg 7.0 on RaptorLake if the right bitrate settings for ffmpeg are chosen, I'll close the issue. Thanks again for all the efforts involved.

from media-driver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.