[transmageddon] Add setting of encoding-application Tag
- From: Christian Fredrik Kalager Schaller <uraeus src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [transmageddon] Add setting of encoding-application Tag
- Date: Fri, 28 Jan 2011 18:53:47 +0000 (UTC)
commit ca9fb5b4f940e4fe6abac69b9ab384fa01e03f54
Author: Christian Fredrik Kalager Schaller <christian schaller collabora co uk>
Date: Fri Jan 28 18:52:55 2011 +0000
Add setting of encoding-application Tag
NEWS | 4 ++++
TODO | 6 +++---
src/transcoder_engine.py | 8 +++++++-
3 files changed, 14 insertions(+), 4 deletions(-)
---
diff --git a/NEWS b/NEWS
index 0ec7928..56d55c7 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,7 @@
+0.17
+ Port to new plugins-base discoverer
+ Add setting of Transmageddon as encoding application name if supported
+
0.16 - 21-05-2010
Add WebM support
fix handling of image based video formats like jpeg/jp2k
diff --git a/TODO b/TODO
index 3365894..262060e 100644
--- a/TODO
+++ b/TODO
@@ -1,8 +1,5 @@
This list is completely unordered. Nothing about the ordering in this list should cause anyone to make any kind of assumptions about priorties.
-* AVC HD support.
- Variation of MPEG TS with H264 and AC3 audio.
-
* Support non-muxed audio codec
Allow the outputting of non-muxed audio codecs (mp3 mostly). Not sure we really
want this as it would add more options to the UI to do something which I doubt
@@ -62,4 +59,7 @@ This list is completely unordered. Nothing about the ordering in this list shoul
* Add black borders based on aspect-ratio
+* AVC HD support.
+ Variation of MPEG TS with H264 and AC3 audio
+
* Support multiple audio tracks. Probably want to wait for new discoverer for that.
diff --git a/src/transcoder_engine.py b/src/transcoder_engine.py
index b988e92..eaae3e6 100644
--- a/src/transcoder_engine.py
+++ b/src/transcoder_engine.py
@@ -6,7 +6,7 @@
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later version.
#
-# This library is distributed in the hope that it will be useful,
+# This librarmy 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
# Library General Public License for more details.
@@ -144,6 +144,12 @@ class Transcoder(gobject.GObject):
self.pipeline.add(self.containermuxer)
+ # Add a tag setting Transmageddon as the application used for creating file if supported by format
+ GstTagSetterType = gobject.type_from_name("GstTagSetter")
+ if GstTagSetterType in gobject.type_interfaces(self.containermuxer):
+ taglist=gst.TagList()
+ taglist[gst.TAG_APPLICATION_NAME] = "Transmageddon"
+ self.containermuxer.merge_tags(taglist, gst.TAG_MERGE_APPEND)
self.transcodefileoutput = gst.element_factory_make("filesink", "transcodefileoutput")
self.transcodefileoutput.set_property("location", (DESTDIR+"/"+self.outputfilename))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]