do-timestamp option of fdsrc without effect

Aleph Beth beth.aleph at yahoo.de
Mon Jul 3 15:05:22 UTC 2017


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 advancePhilipp

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170703/577081ae/attachment.html>


More information about the gstreamer-devel mailing list