Modifying and writing tags

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Modifying and writing tags

David Ó Laigheanáin
Hi,

I am currently tying to modify tags and write them back to the original
file. I can get the TagList with DiscovererInfo, but I'm unsure of how
to save these changes. Is it even possible with gstreamer?

Any help would be appreciated.

Thanks,
David

--
David Lynam | Ó Laıġeanáın
Software Engineer and System Administrator | Innealtóir Bogearraí agus Riarthóir Córais

www:        https://david.mmm.vodka
Github:     https://www.github.com/coconutlulz
Twitter:    https://www.twitter.com/coconutlulz

GPG:        http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xDA2E99B41C39C7D2
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Modifying and writing tags

Tim Müller
On Thu, 2016-03-31 at 14:31 +0100, David Ó Laigheanáin wrote:

Hi David,

> I am currently tying to modify tags and write them back to the
> original file. I can get the TagList with DiscovererInfo, but I'm
> unsure of how to save these changes. Is it even possible with
> gstreamer?
>
> Any help would be appreciated.

Our tag editing story is not great, there's no automatic handling for
this case yet. It should be possible for all common formats, but you'll
probably have to construct pipelines on a per-tag/format basis
yourself. Rhythmbox might have some code you could look at.

Cheers
 -Tim


--
Tim Müller, Centricular Ltd - http://www.centricular.com


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Modifying and writing tags

Stefan Sauer
In reply to this post by David Ó Laigheanáin
On 03/31/2016 03:31 PM, David Ó Laigheanáin wrote:

> Hi,
>
> I am currently tying to modify tags and write them back to the original
> file. I can get the TagList with DiscovererInfo, but I'm unsure of how
> to save these changes. Is it even possible with gstreamer?
>
> Any help would be appreciated.
>
> Thanks,
> David
>
Its is not as straight forward as discovering them. To write tags you
need to remux the files and send the changed tags. Take a look at
encodebin (which can be used for transmuxing too).

Stefan
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel