appsrc, timestamp and filesink

Myzhar myzhar at gmail.com
Sat Feb 4 16:57:39 UTC 2017


Hi all,

I wrote my own appsrc code that takes an image from OpenCV and streams it to
file or to RTP.

While RTP works pretty well, I have an issue with "filesink": the video
obtained as result is "accelerated" 2x.

I'm trying to understand if I'm doing timestamp in the correct way, but I
cannot figure out what's wrong.

My pipeline is the follow:

appsrc name=videosrc do-timestamp=1 is-live=1 format=time !
video/x-raw,format=I420,framerate=30/1,width=1280,height=720 ! queue !
videorate ! videoconvert ! x264enc ! video/x-h264,
stream-format=byte-stream, bitrate=8000000, psy-tune=film ! h264parse !
mp4mux ! filesink location=test.mp4 sync=false

Thank you for help
Walter



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/appsrc-timestamp-and-filesink-tp4681716.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list