adding datetime tag to pipeline
Florian Echtler
floe at butterbrot.org
Thu Apr 14 18:56:05 UTC 2022
Hello Pablo,
not 100% a Gstreamer issue, but you can try something like
... ! taginject tags="title=Title,datetime=$(date +%Y%m%d-%H%M%S)" ! ...
if you're using bash.
Best, Florian
On 14/04/2022 19:57, Pablo Rodríguez via gstreamer-devel wrote:
> Dear list,
>
> I have the following command:
>
> gst-launch-1.0 autoaudiosrc ! audio/x-raw ! taginject
> tags="title=Title,artist=\"Artist\",datetime=how" ! lamemp3enc !
> id3v2mux ! filesink location=test.mp3
>
> How can I add the info of "Gst.DateTime.new_now_local_time()" to the
> datetime tag?
>
> Excuse my very basic question, but I have no idea how to do it.
>
> Many thanks for your help,
>
> Pablo
--
SENT FROM MY DEC VT50 TERMINAL
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 203 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20220414/4d7f1416/attachment.sig>
More information about the gstreamer-devel
mailing list