Can't set max-file-duration property due to type issue?
pisymbol .
pisymbol at gmail.com
Fri Sep 6 12:03:37 UTC 2019
On Thu, Sep 5, 2019 at 6:07 PM pisymbol . <pisymbol at gmail.com> wrote:
>
>
> On Thu, Sep 5, 2019 at 5:28 PM Nicolas Dufresne <nicolas at ndufresne.ca>
> wrote:
>
>>
>>
>> Le jeu. 5 sept. 2019 16 h 10, pisymbol . <pisymbol at gmail.com> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190906/729964d8/attachment.html>
More information about the gstreamer-devel
mailing list