Dynamic file playback causes timestamp disconts

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Dynamic file playback causes timestamp disconts

oldskool
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/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel