Dynamic file playback causes timestamp disconts

oldskool oldskool at mail.ru
Fri Aug 9 11:43:38 UTC 2019


Hi All!

My main pipeline consists of several appsrc's mixed together and routed to
alsasink finally:

appsrc -> audioconvert -> audiomixer -> capsfilter -> audioconvert ->
alsasink

I need to playback audio from file occasionally, I use dynamically created
pipeline branch for that:

filesrc -> rawaudioparse -> audioconvert -> audioresample -> audioamplify ->
audiomixer

The behavior of the pipeline with the file-playing branch is strange.

When I set filesrc.do-timestamp=TRUE, everything works perfectly, but only
for files that do not require resampling.
E.g. the capsfilter is setup at 48KHz, when I use file encoded at 16KHz, the
'audioresample' element starts generating timestamp disconts and produces
garbled file playback.

On the other hand, if I set filesrc.do-timestamp=FALSE, files are played
back from the middle, and being cut at the end.

What I am missing, please help!




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list