Cannot generate dot-files on Android
Sebastian Dröge
sebastian at centricular.com
Fri Dec 13 09:08:36 PST 2013
On Fr, 2013-12-13 at 12:10 +0100, Ole Bromose wrote:
> Hi,
>
> I'm trying to figure out what plugins the autoplugger inserts in the
> pipeline when playing various mp3-files by using "playbin". I have
> extended Tutorial 5 for Android and would like to generate dot-files on
> Android. However, no dot-files are generated. I use GStreamer 1.2.1,
> debug version.
>
> In app_function() I set the environment symbol:
> setenv("GST_DEBUG_DUMP_DOT_DIR", "/data/data/xyz/files", 1); //
> (xyz is app name)
>
> When a mp3-file is playing, I call:
> GST_DEBUG_BIN_TO_DOT_FILE(data->pipeline, GST_DEBUG_GRAPH_SHOW_ALL,
> "dotfile");
>
> Any help will be appreciated.
Can you check in the debug logs what happens when you call
GST_DEBUG_BIN_TO_DOT_FILE? It will tell you what goes wrong. Maybe the
permissions in that directory are not appropriate or it fails to write a
file there for another reason.
From the information you gave it should work in theory.
--
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131213/59a9f5f4/attachment-0001.pgp>
More information about the gstreamer-devel
mailing list