Codebase list libde265 / debian/0.6-1 sherlock265 / sherlock265.cc
debian/0.6-1

Tree @debian/0.6-1 (Download .tar.gz)

sherlock265.cc @debian/0.6-1raw · history · blame

/*
 * H.265 video codec.
 * Copyright (c) 2013 StrukturAG, Dirk Farin, <farin@struktur.de>
 *
 * This file is part of libde265.
 *
 * libde265 is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * libde265 is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with libde265.  If not, see <http://www.gnu.org/licenses/>.
 */

#include "VideoPlayer.hh"


int main(int argc, char **argv)
{
  if (argc != 2) {
    fprintf(stderr,"usage: sherlock265 videofile.bin\n");
    fprintf(stderr,"The video file must be a raw h.265 bitstream (e.g. HM-10.0 output)\n");
    exit(5);
  }


  QApplication app(argc, argv);

  VideoPlayer videoPlayer(argv[1]);
  videoPlayer.show();
 
  return app.exec();
}