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 |
2011/3/25 Andrés González <[hidden email]>
Hi, Hi, use the taginject element. Example launch lines are in the documentation: 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 |
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 |
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. > 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 |
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 |
Free forum by Nabble | Edit this page |