gbeauchesne / hwdecode-demos Goto Github PK
View Code? Open in Web Editor NEWTest programs to address various HW video decoding APIs like Broadcom Crystal HD, VA-API, VDPAU and XvBA
Test programs to address various HW video decoding APIs like Broadcom Crystal HD, VA-API, VDPAU and XvBA
/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?
Can you show me how to play a H264 file with the vdpau decode
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.