Can't set max-file-duration property due to type issue?

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

Can't set max-file-duration property due to type issue?

pisymbol .
2019-09-05 15:58:48,188 ERROR: could not convert '60000000000' to type 'guint64' when setting property 'GstMultiFileSink.max-file-duration'

Trying to set it to a minute in nanoseconds. This is gstreamer-1.14.5 on an Ubuntu 18.04 run-time (arm64).

Is this just simply a bug?

-aps

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

Re: Can't set max-file-duration property due to type issue?

Nicolas Dufresne-5


Le jeu. 5 sept. 2019 16 h 10, pisymbol . <[hidden email]> a écrit :
2019-09-05 15:58:48,188 ERROR: could not convert '60000000000' to type 'guint64' when setting property 'GstMultiFileSink.max-file-duration'

Trying to set it to a minute in nanoseconds. This is gstreamer-1.14.5 on an Ubuntu 18.04 run-time (arm64).

Is this just simply a bug?

In code ? In gst-launch ?


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

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

Re: Can't set max-file-duration property due to type issue?

pisymbol .


On Thu, Sep 5, 2019 at 5:28 PM Nicolas Dufresne <[hidden email]> wrote:


Le jeu. 5 sept. 2019 16 h 10, pisymbol . <[hidden email]> a écrit :
2019-09-05 15:58:48,188 ERROR: could not convert '60000000000' to type 'guint64' when setting property 'GstMultiFileSink.max-file-duration'

Trying to set it to a minute in nanoseconds. This is gstreamer-1.14.5 on an Ubuntu 18.04 run-time (arm64).

Is this just simply a bug?

In code ? In gst-launch ?

Oh duh! In Python via element.set_property() etc.

-aps

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

Re: Can't set max-file-duration property due to type issue?

pisymbol .


On Thu, Sep 5, 2019 at 6:07 PM pisymbol . <[hidden email]> wrote:


On Thu, Sep 5, 2019 at 5:28 PM Nicolas Dufresne <[hidden email]> wrote:


Le jeu. 5 sept. 2019 16 h 10, pisymbol . <[hidden email]> a écrit :
2019-09-05 15:58:48,188 ERROR: could not convert '60000000000' to type 'guint64' when setting property 'GstMultiFileSink.max-file-duration'

Trying to set it to a minute in nanoseconds. This is gstreamer-1.14.5 on an Ubuntu 18.04 run-time (arm64).

Is this just simply a bug?

In code ? In gst-launch ?

Oh duh! In Python via element.set_property() etc.


310             mfsink = self.recorderBin.get_by_name('mfsink')
311             if mfsink:
312                 mfsink.set_property('max-file-duration', maxFileDuration)

Fails with 'ERROR: could not convert '60000000000' to type 'guint64' when setting property 'GstMultiFileSink.max-file-duration'

Is this a bug or am I using the API incorrectly? Again, gstreamer-1.14.5

-aps

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

Re: Can't set max-file-duration property due to type issue?

pisymbol .


On Fri, Sep 6, 2019 at 8:03 AM pisymbol . <[hidden email]> wrote:


On Thu, Sep 5, 2019 at 6:07 PM pisymbol . <[hidden email]> wrote:


On Thu, Sep 5, 2019 at 5:28 PM Nicolas Dufresne <[hidden email]> wrote:


Le jeu. 5 sept. 2019 16 h 10, pisymbol . <[hidden email]> a écrit :
2019-09-05 15:58:48,188 ERROR: could not convert '60000000000' to type 'guint64' when setting property 'GstMultiFileSink.max-file-duration'

Trying to set it to a minute in nanoseconds. This is gstreamer-1.14.5 on an Ubuntu 18.04 run-time (arm64).

Is this just simply a bug?

In code ? In gst-launch ?

Oh duh! In Python via element.set_property() etc.


310             mfsink = self.recorderBin.get_by_name('mfsink')
311             if mfsink:
312                 mfsink.set_property('max-file-duration', maxFileDuration)

Fails with 'ERROR: could not convert '60000000000' to type 'guint64' when setting property 'GstMultiFileSink.max-file-duration'

Is this a bug or am I using the API incorrectly? Again, gstreamer-1.14.5



Also, happens under 1.16.0 as well.

-aps

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

Re: Can't set max-file-duration property due to type issue?

pisymbol .


On Fri, Sep 6, 2019, 2:14 PM pisymbol . <[hidden email]> wrote:


On Fri, Sep 6, 2019 at 8:03 AM pisymbol . <[hidden email]> wrote:


On Thu, Sep 5, 2019 at 6:07 PM pisymbol . <[hidden email]> wrote:


On Thu, Sep 5, 2019 at 5:28 PM Nicolas Dufresne <[hidden email]> wrote:


Le jeu. 5 sept. 2019 16 h 10, pisymbol . <[hidden email]> a écrit :
2019-09-05 15:58:48,188 ERROR: could not convert '60000000000' to type 'guint64' when setting property 'GstMultiFileSink.max-file-duration'

Trying to set it to a minute in nanoseconds. This is gstreamer-1.14.5 on an Ubuntu 18.04 run-time (arm64).

Is this just simply a bug?

In code ? In gst-launch ?

Oh duh! In Python via element.set_property() etc.


310             mfsink = self.recorderBin.get_by_name('mfsink')
311             if mfsink:
312                 mfsink.set_property('max-file-duration', maxFileDuration)

Fails with 'ERROR: could not convert '60000000000' to type 'guint64' when setting property 'GstMultiFileSink.max-file-duration'

Is this a bug or am I using the API incorrectly? Again, gstreamer-1.14.5



Also, happens under 1.16.0 as well.

-aps



Should I file a bug?

-aps

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