embedded - GStreamer memory buffer usage -


i'm experimenting gstreamer on embedded system , i'm wondering if there way determine maximum amount amount of memory gstreamer use. if have simple source -> filter -> filter -> sink pipeline, can figure out how many buffers each stage allocate , maximum size be?

my understanding can't limit memory usage, @ least understand worst case scenario. possible or dependent on run-time conditions and/or data content. i'm new gstreamer, please let me know if there add pipeline make more deterministic.

thanks!

with gstreamer-0.10 can use gst-tracelib (http://cgit.freedesktop.org/~ensonic/gst-tracelib/) e.g. peak memory consumption , various data flow relates statistics. elements don't keep copies of buffers around. exception e.g. queue elements , codecs (that need keep reference buffers). many elements try work in-place, don't allocate new buffers, rather change buffer received , pass on (e.g. volume).


Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -