timecodestamper after webrtcbin -> decodebin failed ?
Michael
michael.riha+gstreamerMailingList at gmail.com
Tue May 12 18:01:11 UTC 2020
also already added "framerate" as MediaConstraints but still
video/x-raw, format=(string)I420, width=(int)640, height=(int)480,
interlace-mode=(string)progressive, multiview-mode=(string)mono,
multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono,
pixel-aspect-ratio=(fraction)1/1, chroma-site=(string)jpeg,
colorimetry=(string)bt601, framerate=(fraction)0/1
// navigator.mediaDevices.getSupportedConstraints()
const stream = await navigator.mediaDevices.getUserMedia({
"audio": true,
// https://developer.mozilla.org/en-US/docs/Web/API/MediaTrackConstraints
"video": {
frameRate: {
exact: 25,
ideal: 25
}
}
});
console.debug("md::getUserMedia sucess",stream);
//Play it
addVideoForStream(stream,true);
// we add stream later
pc.addStream(stream);
I am lost in this case, now.
Am Di., 12. Mai 2020 um 18:53 Uhr schrieb Michael <
michael.riha+gstreamerMailingList at gmail.com>:
> Hello Thibault,
>
> but what might be the reason and it caught my eye now because my latency
> is ramping up from ms to ms, is that I get `framerate=(fraction)0/1`after
> the decodebin which is linked to webrtcbin.
>
> on_incoming_decodebin_pad:
>
> video/x-raw, format=(string)I420, width=(int)640, height=(int)480,
> interlace-mode=(string)progressive, multiview-mode=(string)mono,
> multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono,
> pixel-aspect-ratio=(fraction)1/1, chroma-site=(string)jpeg,
> colorimetry=(string)bt601, framerate=(fraction)0/1
>
>
> [image: Bildschirmfoto 2020-05-12 um 18.52.04.png]
>
> I will deliver the rest later.
>
> Thanks, Michael
>
>
> Am Mo., 11. Mai 2020 um 17:05 Uhr schrieb Thibault Saunier <
> tsaunier at gnome.org>:
>
>> Hello,
>>
>> I am not sure why it doesn't work, but could give us a way to reproduce
>> easily or get us a backtrace (set G_DEBUG=fatal-criticals so that your app
>> abort when this critical happens) and a `GST_DEBUG=5` debug log file?
>>
>> - Thibault
>>
>> On Fri, May 8, 2020 at 2:53 PM Michael <
>> michael.riha+gstreamerMailingList at gmail.com> wrote:
>>
>>> Hello,
>>>
>>> I try to add a `timecodestamper` and a `timeoverlay` after a `decodebin`
>>>
>>> [image: Bildschirmfoto 2020-05-08 um 20.47.40.png]
>>>
>>> which I put after a `webrtcbin`
>>>
>>> def on_add_stream(self,element, pad):
>>>
>>> of a `webrtcbin`.
>>>
>>> But I always get
>>>
>>> ** (python3:1527): CRITICAL **: 18:44:43.253:
>>> gst_video_time_code_add_frames: assertion 'gst_video_time_code_is_valid
>>> (tc)' failed
>>>
>>> Why isn't that possible?
>>> Or better why doesn't the webrtcbin -> decodebin offer a timestamp?
>>>
>>> Thanks in advance, Michael
>>>
>>>
>>> _______________________________________________
>>> gstreamer-devel mailing list
>>> gstreamer-devel at lists.freedesktop.org
>>> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200512/5490805e/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Bildschirmfoto 2020-05-08 um 20.47.40.png
Type: image/png
Size: 126119 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200512/5490805e/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Bildschirmfoto 2020-05-12 um 18.52.04.png
Type: image/png
Size: 143919 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200512/5490805e/attachment-0003.png>
More information about the gstreamer-devel
mailing list