Coder Social home page Coder Social logo

qpsnr's People

Contributors

hsanson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

qpsnr's Issues

Fix deprecation warning.

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]

qpsnr not working in Ubuntu 16.04

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.

File qpsnr.rb Error

vagrant@precise64:~/qpsnr$ ruby --version
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]

Error:

qpsnr.rb:268:in <main>': undefined methodsize' for nil:NilClass (NoMethodError)

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.