Perhaps it might help with the "nokiaaaccenc" parameters understanding
encoder = gst_element_factory_make("nokiaaacenc", NULL); if (!encoder) { fprintf(stderr, "err: create encoder nokiaaacenc failed\n"); return 1; } bitrate = 128000; width = 16; depth = 16; rate = 48000; channels = 1;