Hi all,
I try to stream a wav file which is encoded in uncompressed 16bit pcm data I try the following pipeline and it doesnt work gst-launch -m filesrc location=test3.wav ! wavparse ! audioconvert ! alawenc ! rtppcmapay ! udpsink host=172.20.122.23 port=19790 I can get the following working gst-launch -m audiotestsrc ! alawenc ! rtppcmapay ! udpsink host=172.20.122.23 port=19790 I am not very sure if it need decoder or not after wavparse anyone know? ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hi,
By "doesnt work" do you mean that the sender is failing or You are not getting anything at the receiving end. Can You post the logs also? Cheers Ved On Thu, Aug 21, 2008 at 1:08 PM, Terry Leung <[hidden email]> wrote: > Hi all, > > I try to stream a wav file which is encoded in uncompressed 16bit pcm data > > I try the following pipeline and it doesnt work > > gst-launch -m filesrc location=test3.wav ! wavparse ! audioconvert ! > alawenc ! rtppcmapay ! udpsink host=172.20.122.23 port=19790 > > I can get the following working > gst-launch -m audiotestsrc ! alawenc ! rtppcmapay ! udpsink > host=172.20.122.23 port=19790 > > > I am not very sure if it need decoder or not after wavparse > anyone know? > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hi ,
sorry, forgot to include the error message -bash-3.00$ gst-launch -m filesrc location=test3.wav ! wavparse ! audioconvert ! alawenc ! rtppcmapay ! udpsink host=172.20.122.23 port=19790 Setting pipeline to PAUSED ... Pipeline is PREROLLING ... Got Message from element "udpsink0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_VOID_PENDING; Got Message from element "rtppmcapay0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_VOID_PENDING; Got Message from element "alawenc0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_VOID_PENDING; Got Message from element "audioconvert0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_VOID_PENDING; Got Message from element "wavparse0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_VOID_PENDING; Got Message from element "filesrc0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_VOID_PENDING; Got Message from element "pipeline0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_PAUSED; Got Message from element "rtppmcapay0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_VOID_PENDING; Got Message from element "alawenc0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_VOID_PENDING; Got Message from element "audioconvert0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_VOID_PENDING; Got Message from element "wavparse0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_VOID_PENDING; Got Message from element "filesrc0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_VOID_PENDING; Got Message from element "wavparse0" (tag): taglist, audio-codec=(string)"Uncompressed\ 8-bit\ PCM\ audio"; Got Message from element "wavparse0" (error): GstMessageError, gerror=(GstGError)(NULL), debug=(string)"gstwavparse.c\(1778\):\ gst_wavparse_loop\ \(\):\ /pipeline0/wavparse0:\012streaming\ task\ paused\,\ reason\ not-linked\ \(-1\)"; ERROR: from element /pipeline0/wavparse0: Internal data flow error. Additional debug info: gstwavparse.c(1778): gst_wavparse_loop (): /pipeline0/wavparse0: streaming task paused, reason not-linked (-1) ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... FREEING pipeline ... This one is another file which is 8bit pcm audio instead of 16bit I mentioned before However, both of them have the same result thank you Regards, Terry On Thu, Aug 21, 2008 at 3:51 PM, ved kpl <[hidden email]> wrote: > Hi, > > By "doesnt work" do you mean that the sender is failing or You are not > getting anything at the receiving end. Can You post the logs also? > > Cheers > Ved > > On Thu, Aug 21, 2008 at 1:08 PM, Terry Leung <[hidden email]> wrote: >> Hi all, >> >> I try to stream a wav file which is encoded in uncompressed 16bit pcm data >> >> I try the following pipeline and it doesnt work >> >> gst-launch -m filesrc location=test3.wav ! wavparse ! audioconvert ! >> alawenc ! rtppcmapay ! udpsink host=172.20.122.23 port=19790 >> >> I can get the following working >> gst-launch -m audiotestsrc ! alawenc ! rtppcmapay ! udpsink >> host=172.20.122.23 port=19790 >> >> >> I am not very sure if it need decoder or not after wavparse >> anyone know? >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >> Build the coolest Linux based applications with Moblin SDK & win great prizes >> Grand prize is a trip for two to an Open Source event anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> gstreamer-devel mailing list >> [hidden email] >> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel >> > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by Terry Leung-2
On Thu, 2008-08-21 at 15:38 +0800, Terry Leung wrote:
> Hi all, > > I try to stream a wav file which is encoded in uncompressed 16bit pcm data > > I try the following pipeline and it doesnt work > > gst-launch -m filesrc location=test3.wav ! wavparse ! audioconvert ! > alawenc ! rtppcmapay ! udpsink host=172.20.122.23 port=19790 > rtppcmapay only accepts 8KHz samplerates. Add audioresample after audioconvert to make it work. Wim > I can get the following working > gst-launch -m audiotestsrc ! alawenc ! rtppcmapay ! udpsink > host=172.20.122.23 port=19790 > > > I am not very sure if it need decoder or not after wavparse > anyone know? > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hi Wim,
This fix my problem thank you very much Terry On Thu, Aug 21, 2008 at 4:37 PM, Wim Taymans <[hidden email]> wrote: > On Thu, 2008-08-21 at 15:38 +0800, Terry Leung wrote: >> Hi all, >> >> I try to stream a wav file which is encoded in uncompressed 16bit pcm data >> >> I try the following pipeline and it doesnt work >> >> gst-launch -m filesrc location=test3.wav ! wavparse ! audioconvert ! >> alawenc ! rtppcmapay ! udpsink host=172.20.122.23 port=19790 >> > > rtppcmapay only accepts 8KHz samplerates. Add audioresample after > audioconvert to make it work. > > Wim > >> I can get the following working >> gst-launch -m audiotestsrc ! alawenc ! rtppcmapay ! udpsink >> host=172.20.122.23 port=19790 >> >> >> I am not very sure if it need decoder or not after wavparse >> anyone know? >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >> Build the coolest Linux based applications with Moblin SDK & win great prizes >> Grand prize is a trip for two to an Open Source event anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> gstreamer-devel mailing list >> [hidden email] >> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |