rpicamsrc: Buffer has no PTS
Abu Abdullah
falcon.sheep at gmail.com
Wed Jan 11 07:47:52 UTC 2023
On Wed, Jan 11, 2023 at 10:59 AM Jan Schmidt <jan at widgetgrove.com.au> wrote:
>
> Hi,
>
> Remove the 'do-timestamp=true' and 'inline-headers=true' from rpicamsrc
>
> It will apply timestamps automatically, so doesn't need
> `do-timestamp=true`
>
> Sending `inline-headers=true` adds the packets with no timestamps, and
> h264parse isn't removing them - but you don't need inline-headers when
> muxing to mp4.
>
> This works fine:
>
> gst-launch-1.0 -e rpicamsrc preview=false keyframe-interval=30 !
> video/x-h264,width=640,height=480,framerate=30/1,profile=high !
> h264parse ! mp4mux ! filesink location=/tmp/tmp.mp4
>
> Cheers,
>
> Jan.
inline-headers is needed for the hls ts segments not for the mp4mux .
for some reason, hls is not working without it and the browser console
is displaying errors everywhere. not sure if something can be done
from the other side (hls.js module)
More information about the gstreamer-devel
mailing list