No way to call gst_base_parse_set_pts_interpolation on an Element?
Created by: pedrocr
I have an rtsp IP camera that h264parse
doesn't grok completely and results in broken PTS on I-frames. This makes it so that mp4mux
doesn't work at all and matroskamux
just generates a broken file with no I-frames. It is probably this bug:
https://bugzilla.gnome.org/show_bug.cgi?id=788777
In this case it happens 100% of the time. I've found a workaround by using a feature of GstBaseParse
:
https://gist.github.com/zougloub/0747f84d45bc35413c0c19584c398b3d/#file-dvr-py-L93-L94
But now I'm stuck on how to call gst_base_parse_set_pts_interpolation
on the h264parse
object. I don't see any path from the Element
to a *mut GstBaseParse
. Is this simply not packaged in any API?