Comments (6)
not implemented conversion VA FOURCC �
I saw similar messages on machine with AMD videoadapter. The following occurs: libva returns some weird fourcc. I don't have every conversion implemented, so I just print an error message. There should be four character code after 'VA FOURCC', if it was actual format. Maybe there are memory corruption somewhere. I can't reproduce issue at this time (don't have access to that machine anymore).
just be curious if this is harmless?
libvdpau-va-gl returns VDP_STATUS_NO_IMPLEMENTATION in such case and does nothing. If application you're using survives this, it's ok.
from libvdpau-va-gl.
Hello i-rinat,
I am also receiving this error in VLC 2.1.2 when I play x.264 mpeg4 files either .mkv or .mp4. It just shows a green video screen. The audio does play. I have an AMD Radeon 6000HD video card.
What would be needed to implement the conversion. I was looking through VLC code specifically http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d6817151944c7697f30106124474f92deb19f246 and it is supposed to convert between VLC YUV format to VDPAU chroma type and YCbCr format. Is it possible for you to outline what would be required to do this conversion in the driver?
I might be able to implement it.
Thanks.
from libvdpau-va-gl.
Ok, @grancier , this is where conversion takes place:
Line 973 in e09defe
As you can see, there are chained if () {} else if () {} else... and so on. Every conversion have "from" part and "to" part. You pick the pair you want and then try to figure out how to convert image between those formats. NV12 to NV12 conversion is easy -- you just copy lines one by one or all of them at once if pitches are the same. YV12 have different planes for U and V, so you must unzip (you know, like zip in python) packed UV pairs.
That was the easy part. Here comes the hard one. You may only implement conversion if you know at least source format. The bad news is -- AMD driver (or xvba-va-driver wrapper, can't say for sure) returns garbage. There must be human readable source format name, that's the whole purpose of FOURCC. If there was something like
VA FOURCC NV21 -> VDP_YCBCR_FORMAT_NV12
, there would be chance to fix that by implementing NV21 to NV12 conversion. But there is no any. How do you know what format is if even its name is garbled? I have no answer.
Recent versions of opensource radeon drivers got VDPAU capabilites. You should definitely try them. People over Internet say they work nice. (Unfortunately I don't have capable hardware to test.)
from libvdpau-va-gl.
It's external bug. Closing.
from libvdpau-va-gl.
Where can this issue be fixed? If it is an external bug, where is the bug? I am seeing the same issue in VLC on Intel iGPUs and video doesn't play at all either.
from libvdpau-va-gl.
Where can this issue be fixed? If it is an external bug, where is the bug?
In either VA driver (i965-va-driver, recent fglrx versions have native VA-API driver too) or in VA-API compatibility layer (xvba-va-driver).
In either case, there is still possibility that error is hidden somewhere else, or even in libvdpau-va-gl
. No one can be sure.
from libvdpau-va-gl.
Related Issues (20)
- cmake issue HOT 5
- Unable to play some video with VLC (hardware accelerator failed to decode picture) HOT 15
- Segmentation fault in dri2_unbind_context HOT 5
- Change license to MIT (expat) HOT 7
- Wrong scaling in fullscreen VLC (was: Problems playing videos in VLC) HOT 24
- Vlc using vdpau, no decoding HOT 6
- Unable to compile HOT 12
- cppcheck errors HOT 3
- Build failure with clang/libc++ on Linux HOT 2
- GPU memory leak in VLC on Intel HOT 4
- Archlinux integration !
- When playing .webm files with video-output default (VDPAU) VLC ends up consuming a lot of RAM (using lib64vdpau-va-gl1-0.4.0-1.mga6 on Intel Graphics) HOT 5
- VLC with "--vout vdpau" won't play the video of a certain .mp4 file (generates an error) HOT 11
- flash video freezes the whole system HOT 3
- VLC's memory consumption steadily increases after switching to next videos HOT 4
- Some videos cause complete system hang with 0.4.0 HOT 7
- Create lists of supported hardware and software. HOT 2
- Discrepancy in decoder capabilities reported by `vainfo` and `vdpauinfo` wrt Kabylake. HOT 1
- vdpauinfo crash with VDPAU_DRIVER=va_gl on nouveau drivers HOT 1
- hardware accelerator failed to decode picture HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libvdpau-va-gl.