Can't set max-file-duration property due to type issue?
pisymbol .
pisymbol at gmail.com
Sun Sep 8 01:03:55 UTC 2019
On Fri, Sep 6, 2019, 2:14 PM pisymbol . <pisymbol at gmail.com> wrote:
>
>
> On Fri, Sep 6, 2019 at 8:03 AM pisymbol . <pisymbol at gmail.com> wrote:
>
>>
>>
>> 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
>>
>>
>
> Also, happens under 1.16.0 as well.
>
> -aps
>
Should I file a bug?
-aps
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190907/a6b9526f/attachment.html>
More information about the gstreamer-devel
mailing list