porting recorder app to GStreamer 1.0

mattes effemm at mykmk.com
Mon Mar 31 11:50:11 PDT 2014


Porting my recorder app which was running on GStreamer 0.10 to v1.0.
The pipeline is capturing video and audio and encoding it to h264/aac
into a file.

App is running with GStreamer 1.0 now and it works for straight up
single recordings just fine.
Ran into one problem though. The original app is supporting Pause and Resume.
When setting the pipeline to pause and resuming, I noticed a difference in
behaviour compared to 0.10.    

In GStreamer 0.10 the timestamps continue on resume where left off when hitting
pause. The pause duration is automatically calculated into the timestamps.

In GStreamer 1.0 the timestamps reflect the running time after resume and 
do not take the pause duration into account.

What is the recommended way to do this in GStreamer 1.0?
Should I just adjust the base time by adding the pause duration?

Is there a difference in timestamp behaviour when using GStreamer 1.2?
 
Mat




More information about the gstreamer-devel mailing list