Coder Social home page Coder Social logo

vdadecodercheck's Introduction

README

Downloads

  • Sorry - no precompiled binary from this fork.

Summary

Small command line tool that checks the capabilities of your graphics hardware & OS to decode h264 videos on your GPU. Apple doesn't seems to allow all GPU's to use the System Framework, despite the fact that they have the hardware capabilities (like Geforce 8800 or Fermi cards). The tool have the same error codes like other VDA Software (XBMC) but its easier to test.

Apple officaly support Hardware Video Acceleration only on Mac models equipped with: GeForce 9400M GeForce 320M GeForce GT 330M ATI HD Radeon GFX Intel HD Graphics and newer

Feel free to contribute on Github

License

VDADecoderChecker is released under the GNU General Public License V3. Please see http://www.gnu.org/licenses/gpl-3.0.html for further information.

Known Issues

On Lion with current Fermi drivers i get an error by the decoder. I think its a driver or OS bug.

vdadecodercheck's People

Contributors

breuhan avatar othercat avatar saman-vdr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

vdadecodercheck's Issues

Bad CFRelease

Hi,

at the end of CreateDecoder(), you call if(decoderConfiguration) CFRelease(decoderConfiguration); twice, which of course crashes the program. ๐Ÿ˜Ž

Test fails on GTX 260 with kVDADecoderDecoderFailedErr

I know GTX 260 supports video acceleration, and it is used by Flash, FaceTime, Photo Booth, Quicktime, ScreenFlow and etc.

I am suspecting some issue with the sample encoded data input. Do you have an access to another samples of type avcC_subler[] and avcC[]? I could help to verify it on GTX 260 and soon GTX 285

AVFQTX_CreateInstance PhysicalAccelerator create error

I have been having DumpGPURestart related freezes on my dual E5/VegaFE machine. I noticed these errors while attempting to track down the issue.

โˆด VDADecoderChecker 
GVA info: [11.10.16] AVFQTX_CreateInstance 0x7fcc28020000, [1920x1056::1280x720] profile_level:77:41, tt(fp):0(0), usage:0, frame_mbs:1, di:0, dither:1, oold:0, stream_ram:0, stream_buf_size:2097152, fmt: 420v ...
GVA info: AVFQTX_CreateInstance, GFX:0 ,Bandwidth:-48234497, PhysicalAccelerator create error = 0
GVA info: AVFQTX_DisposeInstance 0x7fcc28020000, scheduled:0, output:0, high_perf:0[  nan%], blocked:0[  nan%], error:0, slices:0, maxFrameSize:0
Hardware acceleration is fully supported

Do we know anything about the meaning?

segmentation fault

VDADecoderCreate failed. err: -12473
[1] 16743 segmentation fault ./VDADecoderChecker

Correction for Segmentation fault on Lion

I looked at the code and remarks about Lion issue. Well, the issue is with the code, not Lion.
To correct the issue just replace old code section at the end with this one:
...
if(kVDADecoderNoErr != status) fprintf(stderr, "VDADecoderCreate failed. err: %d\n", status);
if(decoderOut) VDADecoderDestroy(decoderOut);
if(decoderConfiguration) CFRelease(decoderConfiguration);
if(inAVCCData) CFRelease(inAVCCData);
return 0;
...

kVDADecoderDecoderFailedErr when VDADecoderCreate

Hello,

thank you very much for this example code. I'm trying to make vda work with ffmpeg, but I have no luck so far. there is no document at all, your code the the best information I could find.

when I run your code, it tells me my hardware is capable of vda decoding. I compared your code with ffmpeg, it seems that I'm not passing the right kVDADecoderConfiguration_avcCData. Apple's document is so sketchy, I can't understand what avcCdata is?

in your code, you use some hard-coded data from a mp4 file?

in my program, I need to do video streaming, where should I get avcCData?

also, can the VDA decoder handle resolution change? because by the time I initialize my decoder, I don't really know the incoming video size.

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.