Mediamorph
Publicado: Lun, 17 Feb 2014, 13:24
Este hilo es para ir discutiendo de las funcionalidades, sugerencias y desarrollo del mediamorph, el formatfactory cubano multiplataforma y libre.
Foro de Soporte Técnico
https://gutl.jovenclub.cu/foro/
Código: Seleccionar todo
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>760</width>
<height>548</height>
</rect>
</property>
<property name="windowTitle">
<string>MediaMorph</string>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<layout class="QVBoxLayout" name="vl_main_main">
<item>
<layout class="QVBoxLayout" name="vl_top_main">
<item>
<layout class="QHBoxLayout" name="hl_audiosubt_main">
<item>
<layout class="QHBoxLayout" name="hl_audiofile_main">
<item>
<widget class="QLabel" name="lb_audiofile_main">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Audio:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="cb_audiofile_main">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="hl_subtitlesfile_main">
<item>
<widget class="QLabel" name="lb_subtitlesfile_main">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Subtitles:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="cb_subtitlesfile_main">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="editable">
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="hsp_audiosubt_main">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Preferred</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>220</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="hl_tasksprofile_main">
<item>
<widget class="QGroupBox" name="gb_tasks_main">
<property name="enabled">
<bool>true</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="title">
<string>Tasks:</string>
</property>
<property name="flat">
<bool>false</bool>
</property>
<property name="checkable">
<bool>false</bool>
</property>
<layout class="QVBoxLayout" name="verticalLayout_6">
<item>
<widget class="QTableView" name="lv_tasks_main"/>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="gb_profile_main">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Profile:</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QHBoxLayout" name="hl_filename_main">
<item>
<widget class="QLabel" name="lb_filename_main">
<property name="text">
<string>File Name:</string>
</property>
</widget>
</item>
<item>
<spacer name="hsp_filename_main">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<widget class="QLineEdit" name="ed_filename_main">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>200</width>
<height>0</height>
</size>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="hl_videosize_main">
<item>
<widget class="QLabel" name="lb_videosize_main">
<property name="text">
<string>Video Size:</string>
</property>
</widget>
</item>
<item>
<spacer name="hsp_videosize_main">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<widget class="QComboBox" name="cb_videosize_main">
<property name="minimumSize">
<size>
<width>200</width>
<height>0</height>
</size>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="hl_videoquality_main">
<item>
<widget class="QLabel" name="lb_videoquality_main">
<property name="text">
<string>Video Quality:</string>
</property>
</widget>
</item>
<item>
<spacer name="hsp_videoquality_main">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<widget class="QComboBox" name="cb_videoquality_main">
<property name="minimumSize">
<size>
<width>200</width>
<height>0</height>
</size>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="hl_audioquality_main">
<item>
<widget class="QLabel" name="lb_audioquality_main">
<property name="text">
<string>Audio Quality:</string>
</property>
</widget>
</item>
<item>
<spacer name="hsp_audioquality_main">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<widget class="QComboBox" name="cb_audioquality_main">
<property name="minimumSize">
<size>
<width>200</width>
<height>0</height>
</size>
</property>
</widget>
</item>
<item>
<spacer name="vsp_profile_main">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
</layout>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="hl_outprev_main">
<item>
<widget class="QGroupBox" name="gb_output_main">
<property name="title">
<string>Output:</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<layout class="QHBoxLayout" name="hl_profile_main" stretch="0,0,0,0">
<property name="sizeConstraint">
<enum>QLayout::SetFixedSize</enum>
</property>
<item>
<widget class="QLabel" name="lb_profile_main">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="cursor">
<cursorShape>ArrowCursor</cursorShape>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="text">
<string>Profile:</string>
</property>
<property name="indent">
<number>-1</number>
</property>
</widget>
</item>
<item>
<spacer name="hsp_profile_main">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>38</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QComboBox" name="cb_profile_main">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="bt_newprofile_main">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="cursor">
<cursorShape>PointingHandCursor</cursorShape>
</property>
<property name="text">
<string>New Profile</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="hl_outputfolder_main">
<item>
<widget class="QLabel" name="lb_outputfolder_main">
<property name="text">
<string>Output Folder:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="ed_outputfolder_main"/>
</item>
<item>
<widget class="QToolButton" name="bt_outputfolder_main">
<property name="cursor">
<cursorShape>PointingHandCursor</cursorShape>
</property>
<property name="text">
<string>...</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QProgressBar" name="pb_globalprogress_main">
<property name="value">
<number>24</number>
</property>
<property name="textVisible">
<bool>false</bool>
</property>
<property name="invertedAppearance">
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="gb_preview_main">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string/>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_11">
<property name="margin">
<number>0</number>
</property>
<item>
<layout class="QVBoxLayout" name="vl_preview_main">
<property name="sizeConstraint">
<enum>QLayout::SetDefaultConstraint</enum>
</property>
<property name="margin">
<number>6</number>
</property>
<item>
<widget class="QCheckBox" name="cb_preview_main">
<property name="text">
<string>Preview:</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="im_preview_main">
<property name="minimumSize">
<size>
<width>160</width>
<height>120</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>160</width>
<height>120</height>
</size>
</property>
<property name="baseSize">
<size>
<width>160</width>
<height>120</height>
</size>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true">background: rgb(0,0,0)</string>
</property>
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap>:/Video/icons/video.png</pixmap>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
</layout>
</item>
</layout>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>760</width>
<height>20</height>
</rect>
</property>
<widget class="QMenu" name="menuFile">
<property name="title">
<string>File</string>
</property>
</widget>
<widget class="QMenu" name="menuEdit">
<property name="title">
<string>Edit</string>
</property>
</widget>
<widget class="QMenu" name="menuView">
<property name="title">
<string>View</string>
</property>
</widget>
<widget class="QMenu" name="menuActions">
<property name="title">
<string>Actions</string>
</property>
</widget>
<widget class="QMenu" name="menuTools">
<property name="title">
<string>Tools</string>
</property>
</widget>
<widget class="QMenu" name="menuHelp">
<property name="title">
<string>&Help</string>
</property>
</widget>
<addaction name="menuFile"/>
<addaction name="menuEdit"/>
<addaction name="menuView"/>
<addaction name="menuActions"/>
<addaction name="menuTools"/>
<addaction name="menuHelp"/>
</widget>
<widget class="QStatusBar" name="statusbar"/>
<widget class="QToolBar" name="toolBar">
<property name="windowTitle">
<string>toolBar</string>
</property>
<attribute name="toolBarArea">
<enum>LeftToolBarArea</enum>
</attribute>
<attribute name="toolBarBreak">
<bool>false</bool>
</attribute>
</widget>
</widget>
<resources/>
<connections/>
</ui>
Código: Seleccionar todo
MediaMorph
├── AUTHORS
├── CHANGELOG
├── COPYING
├── INSTALL
├── README
└── src
├── core
│ ├── commands.py
│ ├── __init__.py
├── mediamorph.py
├── translations
│ └── __init__.py
└── ui
├── icons
│ ├── discs.png
│ ├── images.png
│ ├── music2.png
│ ├── music.png
│ ├── preferences.png
│ └── video.png
├── images
│ └── splash_loading.png
├── __init__.py
├── MediaMorph_Init.py
├── MediaMorph.ui
├── MediaMorph_UI.py
Código: Seleccionar todo
# Copyright 2014 Alex Vergara Gil <alexvergaragil@gmail.com>
# http://gutl.jovenclub.cu
#
# This program is part of the mediamorph project
# http:// (poner la dirección del proyecto en git)
#
# This program 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 2 of the License, or
# (at your option) any later version.
#
# This program 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 this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
# MA 02110-1301, USA.
#
[Desktop Entry]
Encoding=UTF-8
ServiceTypes=KonqPopupMenu/Plugin,video/*
TryExec=avconv
Type=Service
Actions=tomkv;toavi;tomp4;towebm;toflv;tompg;toDVD;toVCD;toipod;toiphone;topsp;
X-KDE-Submenu=Convert To
X-KDE-Submenu[ar]=حول إلى
X-KDE-Submenu[be]=Канвертаваць у
X-KDE-Submenu[bg]=Конвертиране към
X-KDE-Submenu[bs]=Pretvori u
X-KDE-Submenu[ca]=Converteix a
X-KDE-Submenu[ca@valencia]=Converteix a
X-KDE-Submenu[cs]=Převést do
X-KDE-Submenu[da]=Konvertér til
X-KDE-Submenu[de]=Umwandeln in
X-KDE-Submenu[el]=Μετατροπή σε
X-KDE-Submenu[en_GB]=Convert To
X-KDE-Submenu[es]=Convertir a
X-KDE-Submenu[et]=Teisendamine
X-KDE-Submenu[eu]=Bihurtu hona
X-KDE-Submenu[fa]=تبدیل به
X-KDE-Submenu[fi]=Muunna muotoon
X-KDE-Submenu[fr]=Convertir en
X-KDE-Submenu[ga]=Tiontaigh Go
X-KDE-Submenu[gl]=Converter en
X-KDE-Submenu[he]=המר ל־
X-KDE-Submenu[hne]=ये मां बदलव
X-KDE-Submenu[hr]=Pretvori u
X-KDE-Submenu[hu]=Konvertálás
X-KDE-Submenu[ia]=Converte a
X-KDE-Submenu[is]=Umbreyta í
X-KDE-Submenu[it]=Converti in
X-KDE-Submenu[ja]=変換
X-KDE-Submenu[kk]=Келесіге аудару:
X-KDE-Submenu[km]=បម្លែងទៅ
X-KDE-Submenu[kn]=ಇದಕ್ಕೆ ಪರಿವರ್ತಿಸು
X-KDE-Submenu[ko]=다음으로 변환
X-KDE-Submenu[ku]=Veguhezîne Ji
X-KDE-Submenu[lt]=Konvertuoti į
X-KDE-Submenu[lv]=Pārveidot uz
X-KDE-Submenu[nb]=Konverter til
X-KDE-Submenu[nds]=Ümwanneln na
X-KDE-Submenu[nl]=Converteren naar
X-KDE-Submenu[nn]=Gjer om til
X-KDE-Submenu[pa]=ਬਦਲੋ
X-KDE-Submenu[pl]=Przekształć do
X-KDE-Submenu[pt]=Converter Para
X-KDE-Submenu[pt_BR]=Converter para
X-KDE-Submenu[ro]=Convertește la
X-KDE-Submenu[ru]=Преобразовать в
X-KDE-Submenu[sk]=Previesť do
X-KDE-Submenu[sl]=Pretvori v
X-KDE-Submenu[sr]=Претвори у
X-KDE-Submenu[sr@ijekavian]=Претвори у
X-KDE-Submenu[sr@ijekavianlatin]=Pretvori u
X-KDE-Submenu[sr@latin]=Pretvori u
X-KDE-Submenu[sv]=Konvertera till
X-KDE-Submenu[tg]=Табдилкунӣ ба
X-KDE-Submenu[th]=แปลงเป็น
X-KDE-Submenu[tr]=Dönüştür
X-KDE-Submenu[ug]=ئايلاندۇر
X-KDE-Submenu[uk]=Перетворити на
X-KDE-Submenu[vi]=Chuyển đổi sang
X-KDE-Submenu[wa]=Kivierser viè
X-KDE-Submenu[x-test]=xxConvert Toxx
X-KDE-Submenu[zh_CN]=转换为
X-KDE-Submenu[zh_TW]=轉換為
#TryExec=convert
[Desktop Action tomkv]
Name=MKV
Icon=video-x-generic
Exec=avconv -i %f -y "`echo %f | perl -pe 's/\\.[^.]+$//'`.mkv"
[Desktop Action toavi]
Name=AVI
Icon=video-x-generic
Exec=avconv -i %f -y "`echo %f | perl -pe 's/\\.[^.]+$//'`.avi"
[Desktop Action tomp4]
Name=MP4
Icon=video-x-generic
Exec=avconv -i %f -y "`echo %f | perl -pe 's/\\.[^.]+$//'`.mp4"
[Desktop Action towebm]
Name=WEBM
Icon=video-x-generic
Exec=avconv -i %f -s 320x240 -b 500k -ar 44100 -y "`echo %f | perl -pe 's/\\.[^.]+$//'`.webm"
[Desktop Action toflv]
Name=FLV
Icon=video-x-generic
Exec=avconv -i %f -s 320x240 -b 500k -ar 44100 -y "`echo %f | perl -pe 's/\\.[^.]+$//'`.flv"
[Desktop Action tompg]
Name=MPG
Icon=video-x-generic
Exec=avconv -i %f -y "`echo %f | perl -pe 's/\\.[^.]+$//'`.mpg"
[Desktop Action toDVD]
Name=DVD-NTSC
Icon=video-x-generic
Exec=avconv -i %f -target ntsc-dvd -s 720x480 -r 29.97 -aspect 4:3 -ab 128k -ar 48000 -ac 2 -acodec ac3 -y "`echo %f | perl -pe 's/\\.[^.]+$//'`_DVD.mpg"
[Desktop Action toVCD]
Name=VCD-NTSC
Icon=video-x-generic
Exec=avconv -i %f -target ntsc-vcd -aspect 4:3 -y "`echo %f | perl -pe 's/\\.[^.]+$//'`_VCD.mpg"
[Desktop Action toipod]
Name=IPOD
Icon=video-x-generic
Exec=avconv -i %f -f ipod -vcodec mpeg4 -aspect 4:3 -s 320x240 -b 700k -mbd 2 -cmp 2 -subcmp 2 -r 30000/1001 -acodec aac -strict experimental -ar 24000 -ab 128k -y "`echo %f | perl -pe 's/\\.[^.]+$//'`_IPOD.mp4"
[Desktop Action toiphone]
Name=IPHONE
Icon=video-x-generic
Exec=avconv -i %f -f ipod -vcodec mpeg4 -aspect 16:9 -s 480x320 -b 700k -mbd 2 -cmp 2 -subcmp 2 -r 30000/1001 -acodec aac -strict experimental -ar 24000 -ab 128k -y "`echo %f | perl -pe 's/\\.[^.]+$//'`_IPHONE.mp4"
[Desktop Action topsp]
Name=PSP
Icon=video-x-generic
Exec=avconv -i %f -f psp -vcodec mpeg4 -aspect 16:9 -s 368x208 -b 768k -mbd 2 -cmp 2 -subcmp 2 -r 30000/1001 -acodec aac -strict experimental -ar 24000 -ab 128k -y "`echo %f | perl -pe 's/\\.[^.]+$//'`_PSP.mp4"
# Para instalarlo en Dolphin guardas este archivo en ~/.kde/share/kde4/services/ServiceMenus para tu usuario
# o también puedes guardarlo en /usr/share/kde/services/ServiceMenus para instalarlo para todos los usuarios