hi everybody,<br> I m trying to develop demuxer which will open file and parse it into audio and video. <br> I use gst-template tool for creating one simple filter plugin (filter with one sink and one source ...it will forward incoming buffer as it is ) . I used sub code gstplugin during creation of this filter. Now i want to build element which itself act as filesrc + demuxer . i.e <br>
_______<br> | |--------> Video<br> | |<br> |_______|--------->Audio<br><br>This element will use API for opening file for parsing file (mp4 ) and will spilt file<br>
into video and audio sample which will forwarded to h264 decoder and AMR decoder resp. <br> Now I have build one gstremer element which wrapp this API's and used them for it internal purpose (i.e opening and parsing).<br>
Please guid me through various step required to build this element...from my exp. in bulding simple filter element ....i used gstplugin stub code and get help Plugin<br>development manual for understanding various code snippets.....but now I don't have any guild line or stubcode to follow...<br>
So request you friend to state what are the step I must follow to get job done. How to proceed...<br> Thank You ......Have nice day... :) <br><br><div class="gmail_quote">
On Wed, Jun 11, 2008 at 12:15 PM, <<a href="mailto:gstreamer-devel-request@lists.sourceforge.net" target="_blank">gstreamer-devel-request@lists.sourceforge.net</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Send gstreamer-devel mailing list submissions to<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:gstreamer-devel-request@lists.sourceforge.net" target="_blank">gstreamer-devel-request@lists.sourceforge.net</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:gstreamer-devel-owner@lists.sourceforge.net" target="_blank">gstreamer-devel-owner@lists.sourceforge.net</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of gstreamer-devel digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: problem with 8 channel interleaved audio over rtp<br>
(Tristan Matthews)<br>
2. Re: oss audio pipeline doesn't work when debug on (Liu, Bin)<br>
3. Core/Base/Python 2nd pre-releases tomorrow. (Jan Schmidt)<br>
4. Re: Making Scaletempo good (Rov Juvano)<br>
5. Re: MP3, AAC and MPEG Audio codecs (Nitin Mahajan)<br>
6. AAC stream play with faad gst plugin : negotiation problem<br>
(Ramana Reddy Polaka)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Tue, 10 Jun 2008 13:41:26 -0400<br>
From: Tristan Matthews <<a href="mailto:tristan@sat.qc.ca" target="_blank">tristan@sat.qc.ca</a>><br>
Subject: Re: [gst-devel] problem with 8 channel interleaved audio over<br>
rtp<br>
To: Michael Smith <<a href="mailto:msmith@xiph.org" target="_blank">msmith@xiph.org</a>><br>
Cc: "<a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a>"<br>
<<a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a>><br>
Message-ID: <<a href="mailto:484EBCC6.4020800@sat.qc.ca" target="_blank">484EBCC6.4020800@sat.qc.ca</a>><br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
Hi Mike,<br>
<br>
Michael Smith wrote:<br>
> This is probably (roughly) the right approach, but there are some<br>
> problems. You want float audio (not int) - that's what vorbisenc<br>
> requires. You want to set 'channel-positions' (not<br>
> 'channel-position'). And I'm not sure if you can use channel positions<br>
> from gst-launch, you might need to write an actual application.<br>
><br>
<br>
You're right about the launch line not working for channel-positions,<br>
fortunately this was going into a C app anyway.<br>
I ended up fixing the issue by setting the channel-positions argument of<br>
interleave to the 8 channel layout specified in<br>
gst-plugins-base/ext/vorbis/vorbisenc.c<br>
(other layouts may work as well, I'm not sure), kind of like the 2<br>
channel example from gst-plugins-bad/tests/check/elements/interleave.c<br>
Thanks for your help, and thanks also to slomo for some earlier feedback<br>
on this issue.<br>
<br>
-Tristan<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Tue, 10 Jun 2008 16:08:40 -0500<br>
From: "Liu, Bin" <<a href="mailto:b-liu@ti.com" target="_blank">b-liu@ti.com</a>><br>
Subject: Re: [gst-devel] oss audio pipeline doesn't work when debug on<br>
To: <<a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a>><br>
Message-ID:<br>
<<a href="mailto:74DB28182CB793438AC65D689C58BBF8015D2460@dlee10.ent.ti.com" target="_blank">74DB28182CB793438AC65D689C58BBF8015D2460@dlee10.ent.ti.com</a>><br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
The issue got resolved. The video codec accidentally decreased the oss<br>
driver DMA priority.<br>
<br>
-Bin.<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:gstreamer-devel-bounces@lists.sourceforge.net" target="_blank">gstreamer-devel-bounces@lists.sourceforge.net</a><br>
[mailto:<a href="mailto:gstreamer-devel-bounces@lists.sourceforge.net" target="_blank">gstreamer-devel-bounces@lists.sourceforge.net</a>] On Behalf Of Liu,<br>
Bin<br>
Sent: Tuesday, June 10, 2008 9:28 AM<br>
To: <a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>
Subject: Re: [gst-devel] oss audio pipeline doesn't work when debug on<br>
<br>
Thanks, Dave,<br>
<br>
The issue I face is the pipeline can play either the audio or video<br>
stream, but not both together. (The mpeg4 decoder runs on a hardware<br>
similar as a DSP.) The pipeline seems running but no video and audio<br>
outputs.<br>
After a while when I Ctrl+C to stop the pipeline, few video frames will<br>
show on TV. The pipeline I use is<br>
<br>
gst-launch -v --gst-debug-level=2 \<br>
filesrc location=t.avi ! avidemux name=t t.audio_00 ! \<br>
queue ! mad ! osssink t.video_00 ! \<br>
queue ! gdecoder Codec=1 ! fbvideosink<br>
<br>
Is there any way to give the audio thread higher priority to avoid<br>
dropping samples?<br>
Please let me know if a debug log will give a better idea what is going<br>
on.<br>
<br>
Thanks,<br>
-Bin.<br>
<br>
-----Original Message-----<br>
From: David Schleef [mailto:<a href="mailto:ds@schleef.org" target="_blank">ds@schleef.org</a>]<br>
Sent: Monday, June 09, 2008 8:13 PM<br>
To: Liu, Bin<br>
Cc: <a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>
Subject: Re: [gst-devel] oss audio pipeline doesn't work when debug on<br>
<br>
On Mon, Jun 09, 2008 at 03:35:13PM -0500, Liu, Bin wrote:<br>
> Hi,<br>
><br>
> I am new to gstreamer. I cross-compiled gst to my ARM board. I have no<br>
> problem to play the mp3 audio stream from a movie clip using the<br>
> following pipeline:<br>
><br>
> gst-launch -v --gst-debug-level=2 \<br>
> filesrc location=t.avi ! avidemux ! queue ! mad ! osssink<br>
><br>
> But if I turn on the debug level higher than level 2 for any<br>
component,<br>
> I cannot hear anything from the speakers, for example using the<br>
> following pipeline:<br>
<br>
This is not surprising. Audio is automatically dropped when the<br>
buffers arrive at the sink late. Debugging produces a lot of output,<br>
and if the output device is slow or has a small buffer, it will<br>
likely fill up and cause all GStreamer processing to stop. On<br>
a desktop system, output to an xterm is both fast and has a large<br>
buffer, so you're unlikely to ever see the problem. The best way to<br>
solve this on an embedded system is using ssh to log into the system<br>
and/or pipe the debug output out to a file.<br>
<br>
It is also possible to write a custom debug handler that manages the<br>
output in a specific way. For one client, I created a custom debug<br>
handler that emulated a simple web server, and connecting to this<br>
web server gave a constant stream of gstreamer debug output in a<br>
web browser.<br>
<br>
<br>
<br>
dave...<br>
<br>
<br>
------------------------------------------------------------------------<br>
-<br>
Check out the new SourceForge.net Marketplace.<br>
It's the best place to buy or sell services for<br>
just about anything Open Source.<br>
<a href="http://sourceforge.net/services/buy/index.php" target="_blank">http://sourceforge.net/services/buy/index.php</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Tue, 10 Jun 2008 23:05:59 +0100<br>
From: Jan Schmidt <<a href="mailto:thaytan@noraisin.net" target="_blank">thaytan@noraisin.net</a>><br>
Subject: [gst-devel] Core/Base/Python 2nd pre-releases tomorrow.<br>
To: <a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>
Message-ID: <1213135559.6118.5.camel@fancy-ubuntu><br>
Content-Type: text/plain<br>
<br>
Hi all,<br>
<br>
I'm going to be cutting the 2nd pre-release tarballs of Core/Base/Python<br>
tomorrow afternoon sometime (Dublin time). It'd be great if people could<br>
flag out patches for inclusion for me so we can make sure they go in.<br>
<br>
Cheers,<br>
Jan.<br>
<br>
On Thu, 2008-06-05 at 01:01 +0100, Jan Schmidt wrote:<br>
> Hi all,<br>
><br>
> The Core, Base and Python modules are frozen for 0.10.20, 0.10.20 and<br>
> 0.10.12 releases respectively. I've just uploaded the first pre-release<br>
> tarballs. Please test them and file any found issues in bugzilla as<br>
> usual (<a href="http://bugzilla.gnome.org" target="_blank">http://bugzilla.gnome.org</a>)<br>
><br>
> <a href="http://gstreamer.freedesktop.org/src/gstreamer/pre/gstreamer-0.10.19.2.tar.bz2" target="_blank">http://gstreamer.freedesktop.org/src/gstreamer/pre/gstreamer-0.10.19.2.tar.bz2</a><br>
><br>
> <a href="http://gstreamer.freedesktop.org/src/gst-plugins-base/pre/gst-plugins-base-0.10.19.2.tar.bz2" target="_blank">http://gstreamer.freedesktop.org/src/gst-plugins-base/pre/gst-plugins-base-0.10.19.2.tar.bz2</a><br>
> and<br>
> <a href="http://gstreamer.freedesktop.org/src/gst-python/pre/gst-python-0.10.11.2.tar.bz2" target="_blank">http://gstreamer.freedesktop.org/src/gst-python/pre/gst-python-0.10.11.2.tar.bz2</a><br>
><br>
> Cheers,<br>
> Jan<br>
--<br>
Jan Schmidt <<a href="mailto:thaytan@noraisin.net" target="_blank">thaytan@noraisin.net</a>><br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Tue, 10 Jun 2008 19:50:39 -0400<br>
From: Rov Juvano <<a href="mailto:rovjuvano@users.sourceforge.net" target="_blank">rovjuvano@users.sourceforge.net</a>><br>
Subject: Re: [gst-devel] Making Scaletempo good<br>
To: <a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>
Message-ID: <20080610195039.nomail@owht.52.off><br>
<br>
On Mon, Jun 09, 2008 at 11:41:10AM +0200, Sebastian Dröge wrote:<br>
> Am Donnerstag, den 05.06.2008, 17:23 -0400 schrieb Rov Juvano:<br>
> > I'm working on a trick-mode plugin that maintains the audio<br>
> > pitch when playback rate != 1.0. Similar to soundtouch/pitch<br>
> > but in C and with no external dependencies and interactive.<br>
> ><br>
> > I have it in a working state, but need help making it good<br>
> > enough for GStreamer.<br>
> ><br>
> > I've also put together a demo app. I'm not too concerned<br>
> > with robustness of the demo, but if someone can figure out<br>
> > why, after awhile, my GtkEntry's stop updating and my menus<br>
> > get garbled, that would be much appreciated.<br>
> ><br>
> > You can grab the code at:<br>
> > <a href="http://sourceforge.net/project/showfiles.php?group_id=220192" target="_blank">http://sourceforge.net/project/showfiles.php?group_id=220192</a><br>
> ><br>
> > Git repos at:<br>
> > <a href="http://repo.or.cz/w/gst-scaletempo-rj.git" target="_blank">http://repo.or.cz/w/gst-scaletempo-rj.git</a><br>
> > <a href="http://repo.or.cz/w/gst-scaletempo-demo-rj.git" target="_blank">http://repo.or.cz/w/gst-scaletempo-demo-rj.git</a><br>
><br>
> I tested it a bit and it sounds good... would you be interested to have<br>
> your code added to gst-plugins-bad? If so it would be nice if you could<br>
> file a bug for this with a patch for adding it to gst-plugins-bad and<br>
> I'll care for it :)<br>
<br>
Is that the normal process? File a bug and have it added to<br>
-bad. I'm willing to work to make it -good, but I'm unsure<br>
of the standards and procedures.<br>
<br>
Bug #537700. Do you need me to make a patch against -bad?<br>
<br>
--<br>
rovjuvano<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Tue, 10 Jun 2008 20:16:02 -0700 (PDT)<br>
From: Nitin Mahajan <<a href="mailto:nitinm76@yahoo.com" target="_blank">nitinm76@yahoo.com</a>><br>
Subject: Re: [gst-devel] MP3, AAC and MPEG Audio codecs<br>
To: Michael Smith <<a href="mailto:msmith@xiph.org" target="_blank">msmith@xiph.org</a>><br>
Cc: <a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>
Message-ID: <<a href="mailto:527213.37422.qm@web50101.mail.re2.yahoo.com" target="_blank">527213.37422.qm@web50101.mail.re2.yahoo.com</a>><br>
Content-Type: text/plain; charset=utf-8<br>
<br>
Hello Micahel!<br>
<br>
--- On Tue, 10/6/08, Michael Smith <<a href="mailto:msmith@xiph.org" target="_blank">msmith@xiph.org</a>> wrote:<br>
<br>
> From: Michael Smith <<a href="mailto:msmith@xiph.org" target="_blank">msmith@xiph.org</a>><br>
> Subject: Re: [gst-devel] MP3, AAC and MPEG Audio codecs<br>
> To: <a href="mailto:nitinm76@yahoo.com" target="_blank">nitinm76@yahoo.com</a><br>
> Cc: <a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>
> Date: Tuesday, 10 June, 2008, 10:24 PM<br>
> On Tue, Jun 10, 2008 at 3:53 AM, Nitin Mahajan<br>
> <<a href="mailto:nitinm76@yahoo.com" target="_blank">nitinm76@yahoo.com</a>> wrote:<br>
> > HI!<br>
> ><br>
> > I tried to play MP3, AAC media files with gstreamer<br>
> with gst-ffmpeg plugin. I could not play both of them.<br>
><br>
> FFmpeg doesn't have an aac decoder, and the mp3 decoder<br>
> is very bad.<br>
> GStreamer won't autoplug the mp3 decoder, though you<br>
> can use it if you<br>
> build a pipeline manually.<br>
<br>
Thanks for the exaplaination.<br>
><br>
> There's a good quality mp3 decoder in gst-plugins-ugly<br>
> ('mad'), and an<br>
> aac decoder in gst-plugins-bad ('faad').<br>
><br>
I would test them, but would you recommend gst-plugins-bad from Quality perspective?<br>
> ><br>
> > Whether MP3 and AAC have been removed from ffmpeg in<br>
> gst-ffmpeg? If, yes whether it has been removed from<br>
> configuration or through source code?<br>
> ><br>
> > >From Quality and legal perspectives which ones<br>
> would be the right set of plugins for MP3, AAC and MPEG<br>
> Audio for playback purpose?<br>
><br>
> From a legal perspective, you'll want to get a licensed<br>
> decoder<br>
> plugin. Fluendo has a free mp3 decoder plugin (fully<br>
> licensed).<br>
<br>
I will try Fluendo aslo, but whats your input on this Quality wise?<br>
<br>
<br>
You'll<br>
> need to pay for any legal AAC decoder.<br>
<br>
If I am paying the license, quality wise which one is a good AAC decoder plugin for gstreamer? Any decoder plugin can be created in gstreamer?<br>
<br>
Thanks and regards<br>
<br>
-Nitin<br>
<br>
<br>
<br>
Send instant messages to your online friends <a href="http://uk.messenger.yahoo.com" target="_blank">http://uk.messenger.yahoo.com</a><br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Wed, 11 Jun 2008 11:53:36 +0530<br>
From: Ramana Reddy Polaka <<a href="mailto:Ramana_Polaka@infosys.com" target="_blank">Ramana_Polaka@infosys.com</a>><br>
Subject: [gst-devel] AAC stream play with faad gst plugin :<br>
negotiation problem<br>
To: "<a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a>"<br>
<<a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a>><br>
Message-ID:<br>
<<a href="mailto:BC658D4967D21E4AAF3C12EFB33B5AC114C4344316@BLRKECMBX01.ad.infosys.com" target="_blank">BC658D4967D21E4AAF3C12EFB33B5AC114C4344316@BLRKECMBX01.ad.infosys.com</a>><br>
<br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
Hi,<br>
<br>
I tried to play an aac stream using faad bad plugin.<br>
<br>
$ gst-typefind AAC_ADTS_LC_24_193_3.aac<br>
AAC_ADTS_LC_24_193_3.aac - audio/mpeg, framed=(boolean)false, mpegversion=(int)4<br>
<br>
Command used:<br>
----------------------<br>
gst-launch filesrc location=AAC_ADTS_LC_24_193_3.aac ! faad ! alsasink<br>
<br>
Error log<br>
------------<br>
<br>
Setting pipeline to PAUSED ...<br>
Pipeline is PREROLLING ...<br>
ERROR: from element /pipeline0/filesrc0: Internal data flow error.<br>
Additional debug info:<br>
gstbasesrc.c(2165): gst_base_src_loop (): /pipeline0/filesrc0:<br>
streaming task paused, reason not-negotiated (-4)<br>
ERROR: pipeline doesn't want to preroll.<br>
Setting pipeline to NULL ...<br>
FREEING pipeline ...<br>
<br>
<br>
It looks there is problem in negotiation. Should I use any parser? I tried using ffdemux_mov_mp4_m4a_3gp_3g2_mj2. But no use.<br>
Any suggestions pls?<br>
<br>
Regards,<br>
Ramana<br>
<br>
**************** CAUTION - Disclaimer *****************<br>
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely<br>
for the use of the addressee(s). If you are not the intended recipient, please<br>
notify the sender by e-mail and delete the original message. Further, you are not<br>
to copy, disclose, or distribute this e-mail or its contents to any other person and<br>
any such actions are unlawful. This e-mail may contain viruses. Infosys has taken<br>
every reasonable precaution to minimize this risk, but is not liable for any damage<br>
you may sustain as a result of any virus in this e-mail. You should carry out your<br>
own virus checks before opening the e-mail or attachment. Infosys reserves the<br>
right to monitor and review the content of all messages sent to or from this e-mail<br>
address. Messages sent to or from this e-mail address may be stored on the<br>
Infosys e-mail system.<br>
***INFOSYS******** End of Disclaimer ********INFOSYS***<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
<br>
------------------------------<br>
<br>
-------------------------------------------------------------------------<br>
Check out the new SourceForge.net Marketplace.<br>
It's the best place to buy or sell services for<br>
just about anything Open Source.<br>
<a href="http://sourceforge.net/services/buy/index.php" target="_blank">http://sourceforge.net/services/buy/index.php</a><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
<br>
<br>
End of gstreamer-devel Digest, Vol 25, Issue 14<br>
***********************************************<br>
</blockquote></div><br><br clear="all"><br>-- <br>Thanks and warm Regards<br><br>Rahul S. Nikose