Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

page_export_mjpeg.h

Go to the documentation of this file.
00001 /*
00002 * page_export_mjpeg.h Notebook Firewire/AVI/Still Frame Export Page Object
00003 * Copyright (C) 2002 Charles Yates <charles.yates@pandora.be>
00004 * Copyright (C) 2001-2007 Dan Dennedy <dan@dennedy.org>
00005 *
00006 * This program is free software; you can redistribute it and/or modify
00007 * it under the terms of the GNU General Public License as published by
00008 * the Free Software Foundation; either version 2 of the License, or
00009 * (at your option) any later version.
00010 *
00011 * This program is distributed in the hope that it will be useful,
00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014 * GNU General Public License for more details.
00015 *
00016 * You should have received a copy of the GNU General Public License
00017 * along with this program; if not, write to the Free Software Foundation,
00018 * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00019 */
00020 
00021 #ifndef _PAGE_EXPORT_MJPEG_H
00022 #define _PAGE_EXPORT_MJPEG_H
00023 
00024 #ifdef HAVE_CONFIG_H
00025 #include <config.h>
00026 #endif
00027 
00028 #include <vector>
00029 
00030 #include "export.h"
00031 #include "page_export.h"
00032 #include "kino_common.h"
00033 
00034 
00035 class DVDTool;
00036 
00040 class ExportMJPEG : public Export
00041 {
00042 private:
00043     Preferences& prefs;
00044     GtkEntry *fileEntry;
00045 
00046     // MJPEG MPEG Inputs
00047     GtkMenu *mjpegFormat;
00048     GtkEntry    *mjpegVideo;
00049     GtkEntry    *mjpegAudio;
00050     GtkEntry    *mjpegMultiplexer;
00051     GtkMenu *deinterlaceMenu;
00052     GtkToggleButton *splitCheck;
00053     GtkToggleButton *cleanupCheck;
00054     GtkMenu *mjpegAspect;
00055     GtkEntry *mjpegXMLScript;
00056     bool hasYuvDeinterlace;
00057     bool isAvailable;
00058     vector < DVDTool * > m_dvdTools;
00059 
00060     void start();
00061     gulong onActivate();
00062     enum export_result
00063     doExport( PlayList * playlist, int begin, int end, int every,
00064               bool preview );
00065 
00066     void createAuthorXml( const char *filename,
00067                           std::vector<std::string>& nameList,
00068                           bool split, bool isPal );
00069 
00070 public:
00071     ExportMJPEG( PageExport*, KinoCommon* );
00072     virtual ~ExportMJPEG();
00073 
00074     void loadTools( string directory );
00075     void activateTool( int tool );
00076     void selectTool( int tool );
00077 };
00078 #endif

Generated on Sun Mar 11 22:11:46 2007 for Kino by  doxygen 1.4.2