Question about 3gpp and appsrc usage.

Nicolas Dufresne nicolas.dufresne at gmail.com
Thu May 12 06:11:56 UTC 2016


Le mercredi 11 mai 2016 à 16:35 +0600, Jabra Havridi a écrit :
> I use this pipeline to produce 3gp-files (this is equivalent for my
> code):
> appsrc caps="audio/AMR,rate=8000,channels=1" stream-
> type=GST_APP_STREAM_TYPE_STREAM format=GST_FORMAT_TIME is-live=TRUE
> min-latency=0 do-timestamp=TRUE ! queue ! 3gppmux ! filesink
> location="/mnt/sdcard/temp/recording.3gp". 

The timestamps generated by appsrc (do-timestamp=TRUE) in this case
will be extremely approximate. You should probably timestamp the buffer
yourself, somewhere closer to the capture. Or even better, use
timestamp for your source.

Nicolas


More information about the gstreamer-devel mailing list