theora comments

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

theora comments

Andrés González
Hi,

Are there any means to insert theora comments in a stream using
GStreamer? Is it possible to do in a gst-launch command line?

Thanks,
Andrés
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: theora comments

René Stadler
2011/3/25 Andrés González <[hidden email]>
Hi,

Are there any means to insert theora comments in a stream using GStreamer? Is it possible to do in a gst-launch command line?

Thanks,
Andrés
 
Hi,

use the taginject element. Example launch lines are in the documentation:

  http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-taginject.html

I'm assuming this is what you mean by "theora comments".

--
René Stadler

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

Re: theora comments

Andrés González
On 25/03/11 11:38, René Stadler wrote:

> Hi,
>
> use the taginject element. Example launch lines are in the documentation:
>
> http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-taginject.html 
>
>
> I'm assuming this is what you mean by "theora comments".
>
> --
> René Stadler

Many thanks, René. I think this can do the job for what I want, as I
just wanted to add some metadata in an Ogg file containing both video
and audio I was thinking in storing the metadata in the video track, but
it's okay if it goes in the audio.

Anyway, I observed that 'taginject' works well with 'vorbisenc', but
doesn't seem to work with 'theoraenc'. For example:

gst-launch-0.10  filesrc location=/home/agonzalez/Videos/dv/test1.dv !
dvdemux name=demux ! queue ! audioconvert ! taginject
tags="title=Videoclip,artist=SomeBand" ! vorbisenc ! queue ! mux. demux.
! queue ! dvdec !  videoscale ! 'video/x-raw-yuv,width=320,height=240'
!  ffmpegcolorspace ! theoraenc ! oggmux name=mux ! filesink
location=test-dv-meta2.ogg

works, and you can see the metadata in Totem. But when moving taginject
just before theoraenc, there is not even a coincidence of the strings in
the file. Maybe the implementation for this feature is missing in theoraenc.







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

Re: theora comments

Stefan Sauer
Hi,

On 25.03.2011 14:35, Andrés González wrote:

> On 25/03/11 11:38, René Stadler wrote:
>> Hi,
>>
>> use the taginject element. Example launch lines are in the
>> documentation:
>>
>> http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-taginject.html
>>
>>
>> I'm assuming this is what you mean by "theora comments".
>>
>> --
>> René Stadler
>
> Many thanks, René. I think this can do the job for what I want, as I
> just wanted to add some metadata in an Ogg file containing both video
> and audio I was thinking in storing the metadata in the video track,
> but it's okay if it goes in the audio.
>
> Anyway, I observed that 'taginject' works well with 'vorbisenc', but
> doesn't seem to work with 'theoraenc'. For example:
>
> gst-launch-0.10  filesrc location=/home/agonzalez/Videos/dv/test1.dv !
> dvdemux name=demux ! queue ! audioconvert ! taginject
> tags="title=Videoclip,artist=SomeBand" ! vorbisenc ! queue ! mux.
> demux. ! queue ! dvdec !  videoscale !
> 'video/x-raw-yuv,width=320,height=240' !  ffmpegcolorspace ! theoraenc
> ! oggmux name=mux ! filesink location=test-dv-meta2.ogg
>
> works, and you can see the metadata in Totem. But when moving
> taginject just before theoraenc, there is not even a coincidence of
> the strings in the file. Maybe the implementation for this feature is
> missing in theoraenc.
>
Theoraenc does not yet support vorbis comments (no tagsetter interface
implementation). If I read http://wiki.xiph.org/VorbisComment right, it
should work in theory. Maybe you could try making a patch for theoraenc
that does simillar things like vorbisenc.

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

Re: theora comments

Andrés González
On 25/03/11 14:12, Stefan Kost wrote:
> Theoraenc does not yet support vorbis comments (no tagsetter interface
> implementation). If I read http://wiki.xiph.org/VorbisComment right, it
> should work in theory. Maybe you could try making a patch for theoraenc
> that does simillar things like vorbisenc.
Thanks! I'll be glad to try if I find the time :-)
Andrés

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

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