Dm365 gsttiaudenc1 and mp4 muxing fix

pratikshinde pratik at panaceasys.com
Thu Feb 9 12:08:38 PST 2012


Dear Paul,
Thanks for sharing your experience,
I am using latest gst_ti, 
I have been trying to get work h264 and aac in flv. I have followed
directions from your post. It did not work and I could not understand some
things,

#define LC_PROFILE 2
what is this profie?

guchar *data;
guint sr_idx  = gst_get_aac_rateIdx(audenc1->samplefreq);
gchar profile = LC_PROFILE;
I could not find these variables.

codec_data = gst_buffer_new_and_alloc(2);
What does this number signifies? Is it only  size of 2 int allocation?

data = GST_BUFFER_DATA(codec_data);
data[0] = ((profile & 0x1F) << 3) | ((sr_idx & 0xE) >> 1);
data[1] = ((sr_idx & 0x1) << 7) | ((channels & 0xF) << 3); 

These lines are not there in my sources, 

For more info please read my posts:
http://www.igep.es/index.php?option=com_kunena&Itemid=97&func=view&catid=80&id=6765&limit=6&limitstart=36#6883

https://gstreamer.ti.com/gf/project/gstreamer_ti/forum/?_forum_action=ForumMessageBrowse&thread_id=4646&action=ForumBrowse&forum_id=187

Here is source code:
http://pastebin.com/tQirstPn

I have tried hardcoding:
codec_data = gst_buffer_new_and_alloc(1210);

If you have info in newer versions of gst_ti please share,

Thanks 

Pratik

--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/fit-2-videos-in-the-same-window-tp4342991p4374216.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list