AW: do-timestamp option of fdsrc without effect
Thornton, Keith
keith.thornton at zeiss.com
Tue Jul 4 06:07:04 UTC 2017
Hi,
I think you’ll find that timestamps are a feature of the muxer. Add qtmux or mp4mux to your pipeline
Von: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org] Im Auftrag von Aleph Beth
Gesendet: Montag, 3. Juli 2017 17:05
An: Discussion of the Development of and With GStreamer <gstreamer-devel at lists.freedesktop.org>
Betreff: do-timestamp option of fdsrc without effect
Hej everybody,
I have the following pipeline to create an h264-encoded video from a bunch of raw images:
cat image*.raw | gst-launch-1.0 -vvv fdsrc do-timestamp=true ! \
videoparse width=960 height=536 format=bgr framerate=1/1 ! \
videoconvert ! \
video/x-raw,width=960,height=536,format=I420,framerate=1/1 ! \
x264enc ! \
filesink location="images.mp4"
Playing the final file images.mp4 succeeds (I use mpv), however I get the message 'This stream has no timestamps!'. Also, playback in the browser fails (still trying to get an error log here).
I tried the fdsrc options blocksize=1543680 and num-buffers=4 (I ran the pipeline using four images), to no avail.
How can I properly add timestamps to the video frames?
Thanks in advance
Philipp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170704/57742b79/attachment-0001.html>
More information about the gstreamer-devel
mailing list