Re: play audio via Rygel to USB sound card
- From: Soho Soho123 <soho123 2012 gmail com>
- To: Jens Georg <mail jensge org>
- Cc: rygel-list gnome org
- Subject: Re: play audio via Rygel to USB sound card
- Date: Sat, 11 Aug 2012 23:00:38 +0800
Dear Jens,
But playbin2 does not know the byte-order of sound card, right?
As my understanding,
just alsasink konw byte-order of sound card,right?
Thanks!
Soho
2012/8/10 Jens Georg <mail jensge org>:
> On Do, 2012-08-09 at 17:20 +0800, Soho Soho123 wrote:
>> Dear Jens,
>>
>> I find the cause by format issue between USB sound card and CPU BYTE_ORDER.
>> If CPU BYTE_ORDER is different with the format that USB sound card
>> supported, then the pads can not link normally in gstreamer.
>
> Hm, GStreamer should handle byte-order conversion in playbin2.
>
>>
>> 2012/8/9 Soho Soho123 <soho123 2012 gmail com>:
>> > Dear Jens,
>> >
>> > I got a error when I try to play audio via Rygel to usb sound card.
>> > but when I try to play by gst-launch, it is OK,
>> > the pipeline is :
>> > gst-launch-0.10 -v filesrc location=/bin/audio_src_48k_le.wav !
>> > wavparse ! audioconvert ! alsasink device="hw:0,0"
>> >
>> > it get not-linked error when playing audio from media server via Rygel
>> > to USB sound card,
>> > Do you have any idea?
>> >
>> > thanks!
>> > Soho
>> >
>> > (rygel:881): Playbin-DEBUG: rygel-playbin-player.vala:75: Changing playback
>> > state to PLAYING.
>> > (rygel:881): Rygel-DEBUG: rygel-changelog.vala:74: 'TransportState = PLAYING'
>> > logged
>> > (rygel:881): Rygel-DEBUG: rygel-changelog.vala:55: LastChange sent
>> > (rygel:881): Playbin-WARNING **: rygel-playbin-player.vala:218: Error from
>> > GStreamer element playbin20: gstbasesrc.c(2625): gst_base_src_loop ():
>> > /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstSoupHTTPSrc:source:
>> > streaming task paused, reason not-linked (-1)
>> > (rygel:881): Playbin-WARNING **: rygel-playbin-player.vala:221: Going to
>> > STOPPED state
>>
>
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]