Add setting of encoding-application Tag

parent 7a9f41bb
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
......
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.
......@@ -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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment