How to give current date and time as a file name.

Vinod Kesti vinodkesti at yahoo.com
Thu Jul 5 07:08:13 UTC 2018


Shubham,

By default integer number with format is used for file indexing.
To use file name as per your wish Use format-location or
format-location-full signals.


Below are the signal details.
Element Signals:
  "format-location" :  gchararray user_function (GstElement* object,
                                                 guint arg0,
                                                 gpointer user_data);
  "format-location-full" :  gchararray user_function (GstElement* object,
                                                      guint arg0,
                                                      GstSample* arg1,
                                                      gpointer user_data);

Use GLib Date and Time Functions for file name generation. 
https://developer.gnome.org/glib/stable/glib-Date-and-Time-Functions.html



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list