How to set pts for raspivid stream
Abu Abdullah
falcon.sheep at gmail.com
Mon May 20 05:18:24 UTC 2019
scanning the code of rpicamsrc, it seems it sets gst_pts to
GST_CLOCK_TIME_NONE. the problem with the normal pipeline is the
missing pts. is there any way to set the pts to none in the normal
pipeline. i have seen some threads about setting pts from dts in
h264parse.
is there a way to overcome this with a standard pipeline
On Fri, May 17, 2019 at 1:56 PM Abu Abdullah <falcon.sheep at gmail.com> wrote:
>
> Thank you for your response.
> Is there a way to do it with normal pipeline. I tried rpicamsrc previously but found it not practical in my case.
>
> Thank you
>
> On Fri, 17 May 2019, 1:37 pm Tim Müller, <tim at centricular.com> wrote:
>>
>> On Fri, 2019-05-17 at 13:12 +0400, Abu Abdullah wrote:
>>
>> Hi,
>>
>> > Raspberry Pi camera (raspivid) outputs a raw H264 stream, which has
>> > no timing information. How to add pts to the pipeline to store it in
>> > mp4 format.
>> >
>> Use Jan's rpicamsrc element from here:
>>
>> https://github.com/thaytan/gst-rpicamsrc/
>>
>> It uses the same interface as raspivid, just from inside a GStreamer
>> element.
>>
>> Cheers
>> Tim
>>
>> --
>> Tim Müller, Centricular Ltd - http://www.centricular.com
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list