[Helix-client-dev] can't play last fm mp3 content using helix
Eric Hyche ehyche at real.comIs it indeed live or is it on-demand? I thought it was on-demand... Eric > -----Original Message----- > From: John Stirling [mailto:js at reciva.com] > Sent: Tuesday, September 12, 2006 11:50 AM > To: ehyche at real.com > Cc: helix-client-dev at helixcommunity.org > Subject: Re: [Helix-client-dev] can't play last fm mp3 > content using helix > > here it is.. > > from initial debug, the http filesystem has decided it's not > a live stream > not sure why yet... > > > > > Eric Hyche wrote: > > >Can you send it in tcpdump format. Then I can > >just load it into ethereal and look at it. > > > >Eric > > > > > > > >>-----Original Message----- > >>From: John Stirling [mailto:js at reciva.com] > >>Sent: Tuesday, September 12, 2006 11:12 AM > >>To: ehyche at real.com > >>Cc: helix-client-dev at helixcommunity.org > >>Subject: Re: [Helix-client-dev] can't play last fm mp3 > >>content using helix > >> > >>Attached is ethereal dump of the 2 GETs and responses. > >> > >>Does this help ? > >> > >>John > >> > >> > >>Eric Hyche wrote: > >> > >> > >> > >>>What is the Content-Size in the initial > >>>HTTP GET response? If it's doing an HTTP > >>>GET for somewhere near this content size, > >>>then it's trying to read the ID3 tags. > >>>The mp3 fileformat, however, only tries > >>>to do this if the HTTP server says it can > >>>handle byte-range requests. If it can't then > >>>it doesn't try it. > >>> > >>>Perhaps the Content-Size is screwed up in > >>>the HTTP GET response and the server is > >>>claiming to handle byte-range requests. If > >>>so, then it will try to do a HTTP GET > >>>with a byte-range of [ContentSize-128,ContentSize). > >>> > >>>Eric > >>> > >>>============================================== > >>>Eric Hyche (ehyche at real.com) > >>>Technical Lead > >>>Embedded Player and Technologies > >>>RealNetworks, Inc. > >>> > >>> > >>> > >>> > >>> > >>> > >>>>-----Original Message----- > >>>>From: John Stirling [mailto:js at reciva.com] > >>>>Sent: Tuesday, September 12, 2006 10:27 AM > >>>>To: ehyche at real.com > >>>>Cc: helix-client-dev at helixcommunity.org > >>>>Subject: Re: [Helix-client-dev] can't play last fm mp3 > >>>>content using helix > >>>> > >>>>We can download this clip via wget and then play the > >>>>downloaded clip via > >>>>splay (with gregs mods to ignore video packets) > >>>> > >>>>http://streamer2.last.fm/last.mp3?Session=cc941db0d6d21d9b60b5 > >>>>ddd65602bbe2 > >>>> > >>>>We can't play it direct via splay however. An ethereal > >>>> > >>>> > >>trace shows it > >> > >> > >>>>downloads about 20k, then does another WGET approx 4Gig into > >>>>the file, > >>>>and gets an HTTP OK (connection closed) > >>>> > >>>>Any ideas why this isn't working ? > >>>> > >>>>John > >>>> > >>>> > >>>> > >>>>John Stirling wrote: > >>>> > >>>> > >>>> > >>>> > >>>> > >>>>>http://copper.reciva.com/last.mp3 > >>>>> > >>>>> > >>>>>Eric Hyche wrote: > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>>>John, > >>>>>> > >>>>>> > >>>>>> > >>>>>>From looking at the code, the only place that > HXR_REQUEST_UPGRADE > >>>>> > >>>>> > >>>>>>is returned is when we encounter an .mp3 file that has > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>MPEG features > >>>> > >>>> > >>>> > >>>> > >>>>>>in it which we don't support. (For instance, > >>>>>>if someone renamed an .mpg file as an .mp3). I suppose > corruption > >>>>>>could cause this as well, but it's more likely just to > >>>>>>be an .mp3 with unsupported MPEG features. > >>>>>> > >>>>>>Can you provide the file or an http link to it? I can take > >>>>>>a quick look to see exactly what is unsupported... > >>>>>> > >>>>>>Eric > >>>>>> > >>>>>>============================================== > >>>>>>Eric Hyche (ehyche at real.com) > >>>>>>Technical Lead > >>>>>>Embedded Player and Technologies > >>>>>>RealNetworks, Inc. > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>>>-----Original Message----- > >>>>>>>From: helix-client-dev-bounces at helixcommunity.org > >>>>>>>[mailto:helix-client-dev-bounces at helixcommunity.org] On > >>>>>>> > >>>>>>> > >>Behalf Of > >> > >> > >>>>>>>John Stirling > >>>>>>>Sent: Friday, September 08, 2006 4:13 AM > >>>>>>>To: Greg Wright > >>>>>>>Cc: helix-client-dev at helixcommunity.org > >>>>>>>Subject: Re: [Helix-client-dev] can't play last fm mp3 > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>content using > >>>> > >>>> > >>>> > >>>> > >>>>>>>helix > >>>>>>> > >>>>>>>OK thanks for that. > >>>>>>> > >>>>>>>Who's the MP3 expert ? Can they comment ? > >>>>>>> > >>>>>>>John > >>>>>>> > >>>>>>> > >>>>>>>Greg Wright wrote: > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>>>I don't have a lot to add here, but on HEAD (and I would guess > >>>>>>>>150Cay) the reason the MP3 file format is requesting > an upgrade > >>>>>>>>is because it thinks there is a video packet in there: > >>>>>>>> > >>>>>>>>switch (nStartCode) > >>>>>>>>{ > >>>>>>>>case PACK_HEADER: > >>>>>>>>case SEQ_START_CODE: > >>>>>>>>case SYSTEM_HEADER: > >>>>>>>>case GROUP_START_CODE: > >>>>>>>>case VIDEO_PACKET: > >>>>>>>>case AUDIO_PACKET: > >>>>>>>> > >>>>>>>>hr = HXR_REQUEST_UPGRADE; > >>>>>>>>return (UINT16)-1; > >>>>>>>>} > >>>>>>>> > >>>>>>>>In this case nStartCode=480 and VIDEO_PACKET=480. > >>>>>>>> > >>>>>>>>Don't know enough about the MP3 file format to know if that > >>>>>>>>is just bad content or if we should just ignore that in this > >>>>>>>>case or what. > >>>>>>>> > >>>>>>>>If I change that code above to just ignore the nStartCode, it > >>>>>>>>plays fine. > >>>>>>>> > >>>>>>>>This is on Windows by the way. > >>>>>>>> > >>>>>>>>--greg. > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>>John Stirling wrote: > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>>>HELIX_DATESTAMP="-D 20060601" > >>>>>>>>> > >>>>>>>>>export BUILD_ROOT=$PWD/build > >>>>>>>>>export PATH=$BUILD_ROOT/bin:$PATH > >>>>>>>>>export SYSTEM_ID=linux-2.2-libc6-gcc32-i586 > >>>>>>>>>build -m hxclient_1_5_0_cayenne_restricted -P > >>>>>>>>>helix-client-audio-all-fixpt -h -trelease -tsymbols > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>$HELIX_DATESTAMP > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>>>>splay > >>>>>>>>> > >>>>>>>>>OR > >>>>>>>>> > >>>>>>>>>export BUILD_ROOT=$PWD/build > >>>>>>>>>export PATH=$BUILD_ROOT/bin:$PATH > >>>>>>>>>export SYSTEM_ID=linux-2.2-libc6-armv4l-cross-gcc3.2 > >>>>>>>>>build -m hxclient_1_5_0_cayenne_restricted -P > >>>>>>>>>helix-client-audio-all-fixpt -h -trelease -tsymbols > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>$HELIX_DATESTAMP > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>>>>splay > >>>>>>>>> > >>>>>>>>> > >>>>>>>>>But we're also seeing the issue on RealPlayer v10 running > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>on Windows > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>>>>XP so I doubt it's platform specific. > >>>>>>>>> > >>>>>>>>>John > >>>>>>>>> > >>>>>>>>> > >>>>>>>>>Jagmeet Singh wrote: > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>>>Hi John, > >>>>>>>>>> > >>>>>>>>>>Can you update us on what is the branch, target and > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>profile you are > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>>>>>using for your helix build. We would also like to know > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>what platform > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>>>>>are > >>>>>>>>>>you experiencing this problem on to enable us to help you > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>with this > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>>>>>issue. > >>>>>>>>>> > >>>>>>>>>>Regards, > >>>>>>>>>>Jagmeet Singh > >>>>>>>>>>Software Development Engineer > >>>>>>>>>>Helix Community > >>>>>>>>>>Real Networks, Inc. jsingh at real.com > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>http://www.helixcommunity.org > >>>> > >>>> > >>>> > >>>> > >>>>>>>>>>http://www.realnetworks.com/products/support/devsupport.html > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>>-----Original Message----- > >>>>>>>>>>From: helix-client-dev-bounces at helixcommunity.org > >>>>>>>>>>[mailto:helix-client-dev-bounces at helixcommunity.org] On > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>Behalf Of John > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>>>>>Stirling > >>>>>>>>>>Sent: Thursday, September 07, 2006 4:52 PM > >>>>>>>>>>To: helix-client-dev at helixcommunity.org > >>>>>>>>>>Subject: [Helix-client-dev] can't play last fm mp3 > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>content using helix > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>>>>>We're trying to play some mp3 content obtained from lastfm: > >>>>>>>>>> > >>>>>>>>>>http://copper.reciva.com/last.mp3 > >>>>>>>>>> > >>>>>>>>>>This plays fine on eg Windows Media Player but won't > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>play using > >>>> > >>>> > >>>> > >>>> > >>>>>>>>>>helix cayenne_1_5_0 (or RealPlayer10). > >>>>>>>>>> > >>>>>>>>>>helix gives error Error code 0x80040017 > (HXR_REQUEST_UPGRADE) > >>>>>>>>>>RealPlayer give the same sort of response, trys to > >>>>>>>>>> > >>>>>>>>>> > >>download an > >> > >> > >>>>>>>>>>upgrade then says there's no suitable upgrade available > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>to play that > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>>>>>content. > >>>>>>>>>> > >>>>>>>>>>Can someone have a look ? > >>>>>>>>>> > >>>>>>>>>>John > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>>_______________________________________________ > >>>>>>>>>>Helix-client-dev mailing list > >>>>>>>>>>Helix-client-dev at helixcommunity.org > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>http://lists.helixcommunity.org/mailman/listinfo/helix-client-dev > >>>> > >>>> > >>>> > >>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>_______________________________________________ > >>>>>>>>>Helix-client-dev mailing list > >>>>>>>>>Helix-client-dev at helixcommunity.org > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>http://lists.helixcommunity.org/mailman/listinfo/helix-client-dev > >>>> > >>>> > >>>> > >>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>_______________________________________________ > >>>>>>>Helix-client-dev mailing list > >>>>>>>Helix-client-dev at helixcommunity.org > >>>>>>>http://lists.helixcommunity.org/mailman/listinfo/helix- > client-dev > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>_______________________________________________ > >>>>>Helix-client-dev mailing list > >>>>>Helix-client-dev at helixcommunity.org > >>>>>http://lists.helixcommunity.org/mailman/listinfo/helix-client-dev > >>>>> > >>>>> > >>>>> > >>>>> > >>>> > >>>> > >>>> > >>>> > >>> > >>> > >>> > >>> > >> > >> > > > > > > > >