AAC stream play with faad gst plugin : negotiation problem

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

AAC stream play with faad gst plugin : negotiation problem

Ramana_polaka

Hi,

 

I tried to play an aac stream using faad bad plugin.

 

$ gst-typefind AAC_ADTS_LC_24_193_3.aac

  AAC_ADTS_LC_24_193_3.aac - audio/mpeg, framed=(boolean)false, mpegversion=(int)4

 

Command used:

----------------------

gst-launch filesrc location=AAC_ADTS_LC_24_193_3.aac  ! faad ! alsasink

 

Error log

------------

 

Setting pipeline to PAUSED ...

Pipeline is PREROLLING ...

ERROR: from element /pipeline0/filesrc0: Internal data flow error.

Additional debug info:

gstbasesrc.c(2165): gst_base_src_loop (): /pipeline0/filesrc0:

streaming task paused, reason not-negotiated (-4)

ERROR: pipeline doesn't want to preroll.

Setting pipeline to NULL ...

FREEING pipeline ...     

 

 

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.

Any suggestions pls?

 

Regards,

Ramana

**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are not 
to copy, disclose, or distribute this e-mail or its contents to any other person and 
any such actions are unlawful. This e-mail may contain viruses. Infosys has taken 
every reasonable precaution to minimize this risk, but is not liable for any damage 
you may sustain as a result of any virus in this e-mail. You should carry out your 
own virus checks before opening the e-mail or attachment. Infosys reserves the 
right to monitor and review the content of all messages sent to or from this e-mail 
address. Messages sent to or from this e-mail address may be stored on the 
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: AAC stream play with faad gst plugin : negotiation problem

Frans van Berckel
Hi,

You got to test it with this pipe line ...

gst-launch filesrc location="AAC_ADTS_LC_24_193_3.aac" ! decodebin !
audioconvert ! faac ! faad ! audioconvert ! alsasink



Frans van Berckel

On Wed, 2008-06-11 at 11:53 +0530, Ramana Reddy Polaka wrote:

> Hi,
>
> I tried to play an aac stream using faad bad plugin.
>
> $ gst-typefind AAC_ADTS_LC_24_193_3.aac
>
>   AAC_ADTS_LC_24_193_3.aac - audio/mpeg, framed=(boolean)false,
> mpegversion=(int)4
>
>  
>
> Command used:
>
> ----------------------
>
> gst-launch filesrc location=AAC_ADTS_LC_24_193_3.aac  ! faad !
> alsasink
>
>  
>
> Error log
>
> ------------
>
>  
>
> Setting pipeline to PAUSED ...
>
> Pipeline is PREROLLING ...
>
> ERROR: from element /pipeline0/filesrc0: Internal data flow error.
>
> Additional debug info:
>
> gstbasesrc.c(2165): gst_base_src_loop (): /pipeline0/filesrc0:
>
> streaming task paused, reason not-negotiated (-4)
>
> ERROR: pipeline doesn't want to preroll.
>
> Setting pipeline to NULL ...
>
> FREEING pipeline ...      
>
>  
>
>  
>
> 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.
>
> Any suggestions pls?
>
>  
>
> Regards,
>
> Ramana
>
>
> **************** CAUTION - Disclaimer *****************
> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
> for the use of the addressee(s). If you are not the intended recipient, please
> notify the sender by e-mail and delete the original message. Further, you are not
> to copy, disclose, or distribute this e-mail or its contents to any other person and
> any such actions are unlawful. This e-mail may contain viruses. Infosys has taken
> every reasonable precaution to minimize this risk, but is not liable for any damage
> you may sustain as a result of any virus in this e-mail. You should carry out your
> own virus checks before opening the e-mail or attachment. Infosys reserves the
> right to monitor and review the content of all messages sent to or from this e-mail
> address. Messages sent to or from this e-mail address may be stored on the
> Infosys e-mail system.
> ***INFOSYS******** End of Disclaimer ********INFOSYS***
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: AAC stream play with faad gst plugin : negotiation problem

Ramana_polaka


-----Original Message-----
From: Frans van Berckel [mailto:[hidden email]]
Sent: Wednesday, June 11, 2008 12:32 PM
To: Ramana Reddy Polaka
Cc: [hidden email]
Subject: Re: [gst-devel] AAC stream play with faad gst plugin : negotiation problem

Hi,

You got to test it with this pipe line ...

gst-launch filesrc location="AAC_ADTS_LC_24_193_3.aac" ! decodebin ! audioconvert ! faac ! faad ! audioconvert ! alsasink

log for above pipeline
----------------------
        Setting pipeline to PAUSED ...
        Pipeline is PREROLLING ...
        ERROR: from element /pipeline0/alsasink0: Could not get/set settings    from/on resource.
        Additional debug info:
        Gstalsasink.c(528): set_hwparams (): /pipeline0/alsasink0:
        Unable to set hw params for playback: Invalid argument
        ERROR: pipeline doesn't want to preroll.
        Setting pipeline to NULL ...


FREEING pipeline ...


Frans van Berckel

On Wed, 2008-06-11 at 11:53 +0530, Ramana Reddy Polaka wrote:

> Hi,
>
> I tried to play an aac stream using faad bad plugin.
>
> $ gst-typefind AAC_ADTS_LC_24_193_3.aac
>
>   AAC_ADTS_LC_24_193_3.aac - audio/mpeg, framed=(boolean)false,
> mpegversion=(int)4
>
>
>
> Command used:
>
> ----------------------
>
> gst-launch filesrc location=AAC_ADTS_LC_24_193_3.aac  ! faad !
> alsasink
>
>
>
> Error log
>
> ------------
>
>
>
> Setting pipeline to PAUSED ...
>
> Pipeline is PREROLLING ...
>
> ERROR: from element /pipeline0/filesrc0: Internal data flow error.
>
> Additional debug info:
>
> gstbasesrc.c(2165): gst_base_src_loop (): /pipeline0/filesrc0:
>
> streaming task paused, reason not-negotiated (-4)
>
> ERROR: pipeline doesn't want to preroll.
>
> Setting pipeline to NULL ...
>
> FREEING pipeline ...
>
>
>
>
>
> 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.
>
> Any suggestions pls?
>
>
>
> Regards,
>
> Ramana
>
>
> **************** CAUTION - Disclaimer *****************
> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
> for the use of the addressee(s). If you are not the intended recipient, please
> notify the sender by e-mail and delete the original message. Further, you are not
> to copy, disclose, or distribute this e-mail or its contents to any other person and
> any such actions are unlawful. This e-mail may contain viruses. Infosys has taken
> every reasonable precaution to minimize this risk, but is not liable for any damage
> you may sustain as a result of any virus in this e-mail. You should carry out your
> own virus checks before opening the e-mail or attachment. Infosys reserves the
> right to monitor and review the content of all messages sent to or from this e-mail
> address. Messages sent to or from this e-mail address may be stored on the
> Infosys e-mail system.
> ***INFOSYS******** End of Disclaimer ********INFOSYS***
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: AAC stream play with faad gst plugin : negotiation problem

Christopher Halse Rogers
In reply to this post by Frans van Berckel
On 6/11/08, Frans van Berckel <[hidden email]> wrote:
> Hi,
>
>  You got to test it with this pipe line ...
>
>  gst-launch filesrc location="AAC_ADTS_LC_24_193_3.aac" ! decodebin !
>  audioconvert ! faac ! faad ! audioconvert ! alsasink
>
Why are you converting to AAC (with the faac element) and then from
AAC to raw audio (with the faad element)?

I'm not sure that this will work, anyway.  Your aac file quite
possibly doesn't have the metadata headers (things like sample rate,
bitrate, etc) that faad requires.  If I remember correctly, faad won't
play a raw aac stream.

On the other hand, since typefind finds some information, maybe it's
just that you're missing an audioconvert between faad and alsasink.
You may want to try

gst-launch filesrc location=AAC_ADTS_LC_24_193_3.aac  ! faad !
audioconvert ! alsasink
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel