hsanson / qpsnr Goto Github PK
View Code? Open in Web Editor NEWFork of qpsnr tool (http://qpsnr.youlink.org/)
License: Other
Fork of qpsnr tool (http://qpsnr.youlink.org/)
License: Other
Compiling with recent avcodec/avformat libraries result in several deprecation warnings:
src/qav.cpp: In constructor ‘qav::qvideo::qvideo(const char_, int, int)’:
src/qav.cpp:30:6: warning: ‘int av_open_input_file(AVFormatContext__, const char_, AVInputFormat_, int, AVFormatParameters_)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1368) [-Wdeprecated-declarations]
src/qav.cpp:30:57: warning: ‘int av_open_input_file(AVFormatContext*, const char, AVInputFormat_, int, AVFormatParameters_)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1368) [-Wdeprecated-declarations]
src/qav.cpp:32:10: warning: ‘int av_find_stream_info(AVFormatContext_)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1412) [-Wdeprecated-declarations]
src/qav.cpp:32:40: warning: ‘int av_find_stream_info(AVFormatContext_)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1412) [-Wdeprecated-declarations]
src/qav.cpp:33:3: warning: ‘void av_close_input_file(AVFormatContext_)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]
src/qav.cpp:33:33: warning: ‘void av_close_input_file(AVFormatContext_)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]
src/qav.cpp:37:2: warning: ‘void dump_format(AVFormatContext_, int, const char_, int)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1902) [-Wdeprecated-declarations]
src/qav.cpp:37:40: warning: ‘void dump_format(AVFormatContext_, int, const char_, int)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1902) [-Wdeprecated-declarations]
src/qav.cpp:45:3: warning: ‘void av_close_input_file(AVFormatContext_)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]
src/qav.cpp:45:33: warning: ‘void av_close_input_file(AVFormatContext_)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]
src/qav.cpp:52:3: warning: ‘void av_close_input_file(AVFormatContext_)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]
src/qav.cpp:52:33: warning: ‘void av_close_input_file(AVFormatContext_)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]
src/qav.cpp:55:9: warning: ‘int avcodec_open(AVCodecContext_, AVCodec_)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4035) [-Wdeprecated-declarations]
src/qav.cpp:55:39: warning: ‘int avcodec_open(AVCodecContext_, AVCodec_)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4035) [-Wdeprecated-declarations]
src/qav.cpp:56:3: warning: ‘void av_close_input_file(AVFormatContext_)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]
src/qav.cpp:56:33: warning: ‘void av_close_input_file(AVFormatContext_)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]
src/qav.cpp:63:7: warning: ‘void av_close_input_file(AVFormatContext_)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]
src/qav.cpp:63:37: warning: ‘void av_close_input_file(AVFormatContext_)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]
src/qav.cpp:75:7: warning: ‘void av_close_input_file(AVFormatContext_)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]
src/qav.cpp:75:37: warning: ‘void av_close_input_file(AVFormatContext_)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]
src/qav.cpp:87:7: warning: ‘void av_close_input_file(AVFormatContext_)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]
src/qav.cpp:87:37: warning: ‘void av_close_input_file(AVFormatContext_)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]
src/qav.cpp: In destructor ‘qav::qvideo::~qvideo()’:
src/qav.cpp:231:2: warning: ‘void av_close_input_file(AVFormatContext_)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]
src/qav.cpp:231:32: warning: ‘void av_close_input_file(AVFormatContext_)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]
I'm trying to install qpsnr_0.2.5 on Ubuntu 16.04 but unfortunately it is not compatible:
$ sudo dpkg -i qpsnr_0.2.5_amd64.deb
(Reading database ... 379155 files and directories currently installed.)
Preparing to unpack qpsnr_0.2.5_amd64.deb ...
Unpacking qpsnr (0.2.5) over (0.2.5) ...
dpkg: dependency problems prevent configuration of qpsnr:
qpsnr depends on libavformat54; however:
Package libavformat54 is not installed.
qpsnr depends on libswscale2; however:
Package libswscale2 is not installed.
dpkg: error processing package qpsnr (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
qpsnr
Is there any plan to migrate qpsnr to Ubuntu 16.04?
Thank you.
vagrant@precise64:~/qpsnr$ ruby --version
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]
Error:
qpsnr.rb:268:in <main>': undefined method
size' for nil:NilClass (NoMethodError)
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.