1 /*************************************************************************** 2 oplug_vcdff.h - description 3 ------------------- 4 begin : Sun Nov 10 2002 5 copyright : (C) 2002 by mean 6 email : fixounet@free.fr 7 ***************************************************************************/ 8 9 /*************************************************************************** 10 * * 11 * This program is free software; you can redistribute it and/or modify * 12 * it under the terms of the GNU General Public License as published by * 13 * the Free Software Foundation; either version 2 of the License, or * 14 * (at your option) any later version. * 15 * * 16 ***************************************************************************/ 17 #ifndef ADM_MUXER_Webm 18 #define ADM_MUXER_Webm 19 20 #include "ADM_muxer.h" 21 #include "ADM_coreMuxerFfmpeg.h" 22 #include "webm_muxer.h" 23 extern Webm_muxer WebmMuxerConfig; 24 25 class muxerWebm : public muxerFFmpeg 26 { 27 protected: 28 bool muxerRescaleVideoTimeDts(uint64_t *time,uint64_t computedDts); getContainerName(void)29 const char *getContainerName(void) {return "Webm";}; 30 public: 31 muxerWebm(); 32 virtual ~muxerWebm(); 33 virtual bool open(const char *file, ADM_videoStream *s,uint32_t nbAudioTrack,ADM_audioStream **a); 34 virtual bool save(void) ; 35 virtual bool close(void) ; useGlobalHeader(void)36 virtual bool useGlobalHeader(void) {return true;} 37 }; 38 39 #endif 40