Git Product home page Git Product logo

hwdecode-demos's People

Stargazers

 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

hwdecode-demos's Issues

compiler error

/hwdecode-demos$ make Making all in src make[1]: Entering directory '/home/sol/projects/paperspace/hwdecode-demos/src' make all-am make[2]: Entering directory '/home/sol/projects/paperspace/hwdecode-demos/src' CC ffmpeg_h264-ffmpeg_video.o ffmpeg_video.c: In function ‘decode’: ffmpeg_video.c:72:5: error: unknown type name ‘ByteIOContext’ ByteIOContext ioctx; ^ ffmpeg_video.c:96:9: warning: implicit declaration of function ‘init_put_byte’ [-Wimplicit-function-declaration] if (init_put_byte(&ioctx, (uint8_t *)video_data, video_data_size, 0, NULL, NULL, NULL, NULL) < 0) ^ ffmpeg_video.c:99:9: warning: implicit declaration of function ‘av_open_input_stream’ [-Wimplicit-function-declaration] if (av_open_input_stream(&ic, &ioctx, "", format, NULL) < 0) ^ ffmpeg_video.c:102:9: warning: implicit declaration of function ‘av_find_stream_info’ [-Wimplicit-function-declaration] if (av_find_stream_info(ic) < 0) ^ ffmpeg_video.c:104:5: warning: implicit declaration of function ‘dump_format’ [-Wimplicit-function-declaration] dump_format(ic, 0, "", 0); ^ ffmpeg_video.c:121:9: warning: implicit declaration of function ‘avcodec_open’ [-Wimplicit-function-declaration] if (avcodec_open(avctx, codec) < 0) ^ ffmpeg_video.c:147:9: warning: implicit declaration of function ‘av_close_input_stream’ [-Wimplicit-function-declaration] av_close_input_stream(ic); ^ Makefile:2214: recipe for target 'ffmpeg_h264-ffmpeg_video.o' failed make[2]: *** [ffmpeg_h264-ffmpeg_video.o] Error 1 make[2]: Leaving directory '/home/sol/projects/paperspace/hwdecode-demos/src' Makefile:1071: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/sol/projects/paperspace/hwdecode-demos/src' Makefile:423: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1

i get this when i compile on latest ubuntu.
i tried to install every ffmpeg-dev package i could find. but still no luck

any advice?

demo usage

Can you show me how to play a H264 file with the vdpau decode

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.