"Fossies" - the Fresh Open Source Software Archive

Member "ffmulticonverter-1.8.0/ffmulticonverter/config.py" (27 Jun 2016, 3530 Bytes) of package /linux/privat/ffmulticonverter-1.8.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Python source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. For more information about "config.py" see the Fossies "Dox" file reference documentation and the latest Fossies "Diffs" side-by-side code changes report: 1.7.2_vs_1.8.0.

    1 import os
    2 
    3 
    4 #-----general data
    5 
    6 home = os.getenv("HOME")
    7 config_dir = os.path.join(home, '.config/ffmulticonverter/')
    8 
    9 default_ffmpeg_cmd = ''
   10 default_imagemagick_cmd = ''
   11 
   12 #-----log data
   13 
   14 log_dir = os.path.join(config_dir, 'logs/')
   15 log_file = os.path.join(log_dir, 'history.log')
   16 log_format  = '%(asctime)s : %(levelname)s - %(type)s\n' +\
   17               'Command: %(command)s\n' +\
   18               'Return code: %(returncode)s\n%(message)s\n'
   19 log_dateformat = '%Y-%m-%d %H:%M:%S'
   20 
   21 #-----presets data
   22 
   23 presets_file_name = 'presets.xml'
   24 presets_file = os.path.join(config_dir, presets_file_name)
   25 presets_lookup_dirs = ["/usr/local/share/", "/usr/share/"]
   26 presets_lookup_virtenv = 'share'
   27 # prefix for old presets when synchronizing
   28 presets_old = '__OLD'
   29 
   30 #-----audiovideo data
   31 
   32 video_codecs = [
   33         'copy', 'flv', 'h263', 'libvpx', 'libx264', 'libxvid', 'mpeg2video',
   34         'mpeg4', 'msmpeg4', 'wmv2'
   35         ]
   36 
   37 audio_codecs = [
   38         'aac', 'ac3', 'copy', 'libfaac', 'libmp3lame', 'libvo_aacenc',
   39         'libvorbis', 'mp2', 'wmav2'
   40         ]
   41 
   42 video_formats = [
   43         '3g2', '3gp', 'aac', 'ac3', 'avi', 'dv', 'flac', 'flv', 'm4a', 'm4v',
   44         'mka', 'mkv', 'mov', 'mp3', 'mp4', 'mpg', 'ogg', 'vob', 'wav', 'webm',
   45         'wma', 'wmv'
   46         ]
   47 
   48 video_frequency_values = [
   49         '22050', '44100', '48000'
   50         ]
   51 
   52 video_bitrate_values = [
   53         '32', '96', '112', '128', '160', '192', '256', '320'
   54         ]
   55 
   56 #-----image data
   57 
   58 image_formats = [
   59         'bmp', 'cgm', 'dpx', 'emf', 'eps', 'fpx', 'gif', 'jbig', 'jng', 'jpeg',
   60         'mrsid', 'p7', 'pdf', 'picon', 'png', 'ppm', 'psd', 'rad', 'tga',
   61         'tif','webp', 'xpm'
   62         ]
   63 
   64 image_extra_formats = [
   65         'bmp2', 'bmp3', 'dib', 'epdf', 'epi', 'eps2', 'eps3', 'epsf', 'epsi',
   66         'icon', 'jpe', 'jpg', 'pgm', 'png24', 'png32', 'pnm', 'ps', 'ps2',
   67         'ps3', 'sid', 'tiff'
   68         ]
   69 
   70 #-----document data
   71 
   72 document_formats = [
   73         'bib', 'csv', 'dif', 'doc', 'docx', 'html', 'ltx', 'odp', 'ods', 'odt',
   74         'pdf', 'ppt', 'pptx', 'rtf', 'sdc', 'sdw', 'txt', 'xls', 'xlsx', 'xml'
   75         ]
   76 
   77 
   78 #-----misc
   79 translators = [
   80         ['[bg] Bulgarian', 'Vasil Blagoev'],
   81         ['[ca] Catalan', 'David Sabadell i Ximenes'
   82                   '\n     Toni Estévez'],
   83         ['[cs] Czech', 'Petr Simacek'],
   84         ['[de_DE] German (Germany)', 'Stefan Wilhelm'],
   85         ['[el] Greek', 'Ilias Stamatis'],
   86         ['[es] Spanish', 'Miguel Ángel Rodríguez Muíños'
   87                   '\n     Toni Estévez'],
   88         ['[fr] French', 'Rémi Mercier'
   89                  '\n     Lebarhon'],
   90         ['[gl] Galician', 'Miguel Anxo Bouzada'],
   91         ['[gl_ES] Galician (Spain)', 'Miguel Anxo Bouzada'],
   92         ['[hu] Hungarian', 'Farkas Norbert'],
   93         ['[it] Italian', 'Fabio Boccaletti'],
   94         ['[ms_MY] Malay (Malaysia)', 'abuyop'],
   95         ['[pl_PL] Polish (Poland)', 'Lukasz Koszy'
   96                              '\n     Piotr Surdacki'],
   97         ['[pt] Portuguese', 'Sérgio Marques'
   98                      '\n     Paulo Braz'
   99                      '\n     Nuno Duarte'],
  100         ['[pt_BR] Portuguese (Brasil)', 'José Humberto A Melo'],
  101         ['[ro_RO] Romanian (Romania)', 'Angelescu Constantin'],
  102         ['[ru] Russian', 'Andrew Lapshin'],
  103         ['[tu] Turkish', 'Tayfun Kayha'],
  104         ['[vi] Vietnamese', 'Anh Phan'],
  105         ['[zh_CN] Chinese (China)', 'Dianjin Wang'
  106                              '\n     Ziyun Lin'],
  107         ['[zh_TW] Chinese (Taiwan)', 'Taijuin Lee'
  108                               '\n     Jeff Huang'],
  109         ]