playing AAC+ over bluetooth is choppy. Advice? - 8125, K-JAM, P4300, MDA Vario General

I've got the tmobile MDA, it plays back AAC+ files great using TCPMP when not using bluetooth, but I recently got my first bluetooth stereo headset and I guess bluetooth must eat alot of cpu b/c AAC+ playback becomes choppy. Has anyone here been able to get smooth AAC+ playback using bluetooth on the HTC Wizard, and if so what did you do to make it happen? I tried another app called gsplayer but that made it even more choppy, and also tried fiddling with the buffer settings in TCPMP but made no difference.
Since I'm a bluetooth newb, I've got a couple more questions while I'm at it. Right now when I want to connect my bluetooth set to the phone I have to:
1) press comms manager button
2) click bluetooth settings
3) go to "devices" tab
4) rightclick my bluetooth headset and click "set as wireless stereo"
Now that's really a pain in ass in my opinion just to connect a headset. Is there an easier way?
BTW, is there a way to make Windows Media Player mobile to playback AAC+ files with the "+" settings? It plays them but sounds like 22 khz, I was wondering if someone has done a hack or something so it recognizes the full "spectrum" of aac+ files.

Sounds more like RFI interference to me.
Is there a wifi network nearby or is the wifi on the phone turned on at the time? Bluetooth uses the same frequency.

Pretty sure It's not an interference problem because it can pipe mp3 music over bluetooth just fine. I know aac is much more cpu intensive to decode compared with mp3. Are you able to listen to aac+ over bluetooth on this 200mhz smartphone?
FYI, there is a wifi network but I have wifi turned off on my phone.

My reason for saying that is that you said it plays back AAC just fine when not on Bluetooth. The other explanation I see being that transmitting data over bluetooth is also CPU intensive and that the two together are too much. But that's just a theory.
No, I've never tried AAC. The few AAC files I've ever gotten I immediately converted to MP3.
But you're right, mp3's play fine over bluetooth. Unless I get too close to my wireless router downstairs, then I get choppiness and skips like you mentioned. However, I do have my wifi signal strength amped up to increase the range.

I managed to solve the problem by overclocking the cpu as described in this thread:
http://forum.xda-developers.com/showthread.php?t=271012
I'm running at 252 mhz now and AAC+ playback is smooth over bluetooth and the system is stable, and feels overall snappier now. But still if anyone knows a solution w/o overclocking I'd like to hear it.

Evander said:
I managed to solve the problem by overclocking the cpu as described in this thread:
http://forum.xda-developers.com/showthread.php?t=271012
I'm running at 252 mhz now and AAC+ playback is smooth over bluetooth and the system is stable, and feels overall snappier now. But still if anyone knows a solution w/o overclocking I'd like to hear it.
Click to expand...
Click to collapse
switching to a player requiring less CPU for AAC+ decoding may be of help. If you followed my articles in the General forum, you already knew the answer: most importantly, Pocket Tunes. Kinoma Play may also turn out to be OK, but it consumes more CPU (but still less than TCPMP)
See http://forum.xda-developers.com/showthread.php?t=350786 for more info and, again, do follow my articles.

Not looking to spend the asking price for Pocket Tunes or Kinoma Play, but thanks anyway for the suggestion. In your first post you described mplayer's cpu usage as "17%(!) for HE-AAC" which seems low to me, but you also describe the player as useless. That post was dated from 2005 however, so I was wondering if things have improved in 3 years. And I think I read somewhere that the Windows Media Player mobile for WM6 has AAC+ support- is that true? I'm reasonably satisfied with TCPMP except that I can't use use the media control buttons on my bluetooth phones to control it, so I'm keeping an eye out for something better (preferably free, but I'd be willing to shell out $10 to $20 on a good app)

Related

.mp4/.m4a and a2dp don't play together!

After searching around about the Imageon coprocessor on the TyTN, I decided to experiment a little. If the TyTN can do .mp4 and .m4a files in hardware, I converted some audio files over to .m4a and see if there was any performance improvement (in Windows Media Player). And there definitely was! General device usage was very quick while playing; I couldn't even notice a difference with or without playing. So, I converted all my music over to .m4a's.
However, the story doesn't end here. My testing was using just the onboard speaker. When I got on the train for my commute to work, I started up my A2DP headset to listen to some tunes. Funny thing, though. They started playing through the onboard speaker! I could hear device sounds through the bluetooth, and if I played an mp3 or a wma, I could hear it through the headset too. But no go on the .m4a/.mp4 over A2DP. No matter what I did, it wouldn't play through anything but the onboard speaker (or wired headset, of course).
Thinking about this, it actually makes sense. If the playback is hardware accelerated, it's probably not designed to go through an A2DP process, which is complete software. The Imageon chip probably passes decoded sound and video directly to the hardware speaker, without going through a software sublayer. I imagine this is by design, as it keeps performance pretty high. MP3's and WMA's are decoded in software without the imageon, so it processes like any other windows sound, and can go through A2DP.
So, there's a bit of a tradeoff here. Do I give up A2DP and all the AVRCP goodness I've come to love at the cost of performance, or do I live with the performance hit of WMAs? Admittedly, audio was ok before, but i've never been happy with the video performance of the TyTN with WMVs. With MP4s, though, it works great. Hmm...decisions, decisions.
Oh, and I've tried TCPMP too. It plays through A2DP, but with the same slowdown. I suspect this is because it doesn't know how to use the Imageon correctly, and is decoding in software too.
cjohnson6965 said:
After searching around about the Imageon coprocessor on the TyTN, I decided to experiment a little. If the TyTN can do .mp4 and .m4a files in hardware, I converted some audio files over to .m4a and see if there was any performance improvement (in Windows Media Player). And there definitely was! General device usage was very quick while playing; I couldn't even notice a difference with or without playing. So, I converted all my music over to .m4a's.
However, the story doesn't end here. My testing was using just the onboard speaker. When I got on the train for my commute to work, I started up my A2DP headset to listen to some tunes. Funny thing, though. They started playing through the onboard speaker! I could hear device sounds through the bluetooth, and if I played an mp3 or a wma, I could hear it through the headset too. But no go on the .m4a/.mp4 over A2DP. No matter what I did, it wouldn't play through anything but the onboard speaker (or wired headset, of course).
Thinking about this, it actually makes sense. If the playback is hardware accelerated, it's probably not designed to go through an A2DP process, which is complete software. The Imageon chip probably passes decoded sound and video directly to the hardware speaker, without going through a software sublayer. I imagine this is by design, as it keeps performance pretty high. MP3's and WMA's are decoded in software without the imageon, so it processes like any other windows sound, and can go through A2DP.
So, there's a bit of a tradeoff here. Do I give up A2DP and all the AVRCP goodness I've come to love at the cost of performance, or do I live with the performance hit of WMAs? Admittedly, audio was ok before, but i've never been happy with the video performance of the TyTN with WMVs. With MP4s, though, it works great. Hmm...decisions, decisions.
Oh, and I've tried TCPMP too. It plays through A2DP, but with the same slowdown. I suspect this is because it doesn't know how to use the Imageon correctly, and is decoding in software too.
Click to expand...
Click to collapse
Very interesting post and findings. You may find the upcoming Coreplayer 1.0 from the devlopers of TCPMP and Betaplayer of interset to you, as they will be processing everything through software only and claim that they will be releasing the best multi- platform media player ever released: WM, Symbian, Palm etc, XP/Vista Desktop player and Mac Osx. I think you get my meaning. But I for one am looking forward to this as the Imageon 2282 Co-processor is limited in support for various fileformats anyway, and now with your findings, it appears the benefits of it hardware accelerated media cannot be enjoyed over A2DP...man this sucks!!
Anyway, check out this link & hopefully everything will look much brighter in the near future:
http://www.corecodec.com/forum/index.php?topic=3193.50
http://www.aximsite.com/boards/showthread.php?t=139390
Interesting app...I'll definitely be looking forward to it. In the meantime, I found kind of a half-assed solution that works ok for me. I use the wired headset (spliced so I can use real headphones, of course) and I'm using my Itech clip. I pair it up with the Tytn, and AVRCP works within windows media player! So, I get the hardware benefit of the Imageon, and the AVRCP to pause, go forward and backward. Volume even works too! Certainly not the absolute optimum, but it was never the wires that bothered me so much. Works great for me!
Glad u found a workaround. Still, bloody ridiculous that we have to physically adapt things on what is supposed to be cutting edge technology!!
mackaby007 said:
Glad u found a workaround. Still, bloody ridiculous that we have to physically adapt things on what is supposed to be cutting edge technology!!
Click to expand...
Click to collapse
BTW, with an alternate player (if you only need audio), you can have full AVRCP support without cables. (TCPMP isn't compatible with WM5 it seems; some other players are).
I've written a complete article on this at http://forum.xda-developers.com/showthread.php?t=279459 ; it contains a LOT of never-before-published tips and tricks, AVRCP -wise.
Well, doesn't this thread just solve the "Why does WMP play some music out the speaker" question! Thanks, this was very aggravating to me. Most of my music is mp4a (AAC) encoded so I thought that it was a global bug (WMP won't stream music over A2DP). Imagine my surprise when I fired up an mp3 and the damn thing worked
Monday, this might all be moot, however, if CorePlayer actually can do AVRCP. I'm hoping this will be the case since Picard and I exchanged emails on AVRCP back in June. I pointed him to the mortplayer thread and hopefully he did some successful lurking there...
In a way though, CorePlayer will be a bit of a disappointment because their out-of-the-gate solution to the ATI Imageon dhilema will be "no Imageon support". ATI based acceleration is quite impressive when it actually works.
you think ati would bother with coding a player for support, they have the source code after all ,kinda like macromedia with their flash player for ppc, I don't get why they don't benefit from making a player and selling it, instead we're left with 3'rd party players from under developed companies.
Playing with the hardware acceleration has got me thinking, and I'm going to try some experimenting. As you know, mp4 is just a container format, and can house different video/audio codecs. I'm curious as to what exactly has been implemented. LE-AAC seems supported, but I'm going to try to convert some to HE-AAC and see if that has an effect on processor. With video, mpeg4 is probably supported, but what about h.264? I use my TyTN as kind of a PMP, so I'd like to get the best quality I can get out of it.
I'll start some experimenting tonight (watching CPU load on the TyTN) and post my results here!
tcpmp works fine on my universal so is compatable with wm05
Ok, Mpeg4 is definitely hardware accelerated, and h.264 is flat out not supported. A h.264 file encoded as an mp4 wouldn't play in windows media player. The .mp4 files take a while to load up (15-20sec or so), but once they do I could play at full speed, and jump around to any poing within the video with no slowdown. I encoded up to 768k video/128k audio. The higher bitrate I used, the longer it took to load up, but once they were loaded they played flawlessly.
AAC is a little different. If you've read up on types of AAC encoding, there's LE-AAC and HE-AAC. HE is the later standard, and gets better compression at similar bitrates. It's also backward compatible, so LE-AAC players can still play HE-AAC players, but it can't interpret the higher efficiency algorithm and quality is reduced. I can say with some confidence that the player only supports LE-AAC. Both types of files played, but the quality of HE-AAC files (both encoded at the same bitrate) was definitely reduced.
Now, with a proper version of Coreplayer that supports the Imageon, some interesting possibilities open up. The imageon chip does support h.264, and HE-AAC isn't much different either. Once we get version 1.1, or whatever, then we should be able to get the holy grail of Imageon acceleration in most codecs, plus the benefit of bluetooth A2DP streaming. I believe this will make the device much more usable during A2DP, as the only thing the CPU will have to do is A2DP; audio decoding will be left to the Imageon. I hope they can get this to work soon!
I hope I can get the video to forward/rewind/ fullscreen /back without going haywire soon
Hi, I have been looking for a discussions on HE-AAC in this forum for months and finally found yours! To bad though, it is on the Tytn, I am using the good old wizard and HE-AAC is playing well via TCPMP(with the AAC plugin), so well that I converted all my CDs to HE-AAC(in m4a containers).
Just some questions for you:
1) When playing in WMP, are the songs(in LE-AAC) playing in stereo? From what I know and experience, the songs only play in mono in the wizard... So, has the hardware acceleration in the Tytn enable playing in stereo? Cool!!
2) I encode my songs at 16kbps(HE-AAC) though and they are great but all the effort seems to be wasted as I cannot really use A2DP on the wizard as the codecs that I use(be it mp3 or HE-AAC) plays with distortion. The only solution I have now is to use MSI Blueplayer which gives superb quality via bluetooth BUT only MP3s, which I have "happily" dumped a few months ago... sigh...
BTW, is the bta2dp.dll on the Tytn the same files as the used for the Tornado hack?

SoftBank X01HT

I have the Softbank X01HT and I am trying to get my bluetoot headset working.
I have the i-PHONO PLUS BT450Rx Bluetooth Stereo Headphones.
It skips a little, and I think it may be because of how much it lags the PPC.
As soon as music is playing in media player through the bluetooth the ppc suffers heavy lag if I try doing anything else the music will highly skip and you can tell everything is very slow.
If i stop the audio from playing by clicking pause the lag is gone. I don't remember my old Cingular 8125 lagging this bad when bluetooth was playing, and that had half this processor, so I'm guessing something is wrong?
Has anyone else had this problem?
I would appreciate help,
Thanks
yeah it lags abit when the A2DP is on.
Well I just installed the a2dp cab fix I found on these forums and It seemed to help alot and I think it even fixed my skipping problem!
Can't say for sure yet have only tested for about 15 minutes, but it was skipping every 15 seconds or so before now no skipping at all.
My media player dosent skip now which is good.
But still my skype skips if I try using the headset with skype.
I'm guessing because skype takes more resources than media player.
Have you had any luck using a bluetooth headset with skype marktang?
no lol i have never used skype yet. and for the skipping problem i never had that. the only problem i have is that when im using stereo bluetooth the phone will lag abit.
Well I'm pretty sure that A2DP cab fixed the skipping on media player.
But I really want to use the headset for skype too, but I think because a2dp takes up resources and skype takes a lot of resources it is laggy.
Do you know of any way to free up resources? What programs I can close or something, or is there a way yet to overclock the cpu on the X01HT?

PocketPlayer 3.2 & bluetooth stereo

hi all,
can anyone tell me how best to change the settings in PocketPlayer to allow me to use it with bluetooth headphones. At the moment the sound pauses every few seconds and the player itself is unresponsive most of the time, also if i press any button the music stutters, basically its unusable.
so far i have done the following;
with HTCustom, change the bitpool to 40 & normal stereo.
turned off dsp
turned off visualization
turned off equalizer
under the advanced settings there are loads of settings, does changing any of these help? i've tried changing a few with no great success.
Are there any other hacks within WM5 i can apply to get bluetooth stereo working well?
thanks in advance
Get iplay from 40th floor software--uses much fewer resources and sound is great. Also I have done what was recently posted in the hermes forum--delete the bitpool and set usejointstereo to 1 in WM6----sound is great now.
where to download this iplay, evertytime I open the website of this app my email client opens
you can get it from ppcwarez.
i've tried iplay but the problem is still there, though i agree it's less cpu intensive than pocketplayer and the audio clipping has nearly disappeared.
i think i'm going to upgrade to wm6 as it seems to handle bluetooth audio better.
I am in the same situation.
I've concluded that the Trinity has some bug with a2dp or bluetooth, as when you set the bitpool to some decent value, the performance goes down dramatically, even clicking the stylus interrumpts the sound.
As bjrmd stated before, you may try a light player (I'll do), as I've got different results with different players. Pocket Player is by now my best choice, as PocketMusic can't play with the equalizer on.
By the way, I've checked that setting bitpool isn't enough, you may also set MaxSupportedBitpool to the same value (or delete this entry). The higher the value, the slower the Trinity runs.
See some of the other threads regarding WM6 and the correct implementation of joint stereo. To get proper sound and bandwith you must use WM6 and the above settings.

Stutter Probs Streaming audio over network and playing over A2DP

First Post, Hi to all.
Hardware:
I have just purchased an SPV M3100 (HTC TyTn) and I think it's great I want to use it to play music from my MP3 collection which is shared over the LAN and output the music to my new bluetooth A2DP speakers (Accoustic Energy)
Software:
The PDA is running WM5. I have installed V-mobile Software Network Browser which adds a network folder to the system and allows me to map my Computers MP3 shared folder as a network drive on the phone (This works a treat).
I am using CorePlayer as my media player as this is the best one I've found, it plays all my music and also my divx/xvid movies.
Problem:
I can play music straight over the network using coreplayer fine from the phone (WIFI & BT both turned on), but when I connect the BT speakers I get stuttering. Occasionally it seems to work fine, but most of the time the music is really broken up.
I can play music straight off the phone and send to the BT speakers and it works great, but only if WIFI is turned off.
It seems that the phone is maybe struggling to run WIFI & A2DP simultaneously, which is a little bit annoying.
Plea For Help:
Is there ANYONE who has tried to do this on ANY PDA? If there is, was it successful or are you having similar stuttering probs?
PS. I have tried the A2DP bitpool reg hacks with no luck, and even tried the 802.11g wifi hack in case it was a wifi bandwidth problem.
If Anyone can offer any suggestions or advice I would be most greatful.
//not sure if I posted this in the correct thread, it might be better suited to accessories?

[Q] Bluetooth Headset & Playing Video

Heyho,
I noticed a really annoying problem the other day when I was watching an episode of The Mentalist on the bus.
First of all a list of what I used when the problem occured
- X1i flashed with Itje's Touch-IT Xperience 3.01.
- Sony Ericsson HBH-IS800 Bluetooth headset
- A 230mb 45-minute 800x480 h.264 video file, packed in an mp4 at 500kb/s.
The problem that occured is that when my bluetooth headset was connected (and playing the audio), the video would lag like hell, e.g. 1 fps or less.
When I disconnected the bluetooth headset and used my wired 3.5mm jack headset, there was not a problem at all!
How do I fix this!?
the same thing happens when i use my hbh-ds980 for watching videos..
what i did to resolve this issue was to use the Super video convertor by eRightSoft (freeware) and convert my videos to MP4 with the "Hi Quality" and "Top Quality" boxes checked in the Video options. so even if i convert videos at 23 fps at 800x480 resolution, video and audio play smoothly through A2DP.
Happens to me too, I use the Motorola SoundPilot S705 and with bluetooth headsets the video lags, while with wired headset quite smooth.
I watch Divx video encoded for PC playback with coreplayer...
update:
Does this has anything to do with the issue? the bluetooth audio bitpool:
http://forum.xda-developers.com/showpost.php?p=3024995&postcount=7
i will try tonight when i get home.
I will test those advanced config settings and see what it does.
Sounds fine now, but doesn't fix my problem. Who can tell me more?
Angelusz said:
Sounds fine now, but doesn't fix my problem. Who can tell me more?
Click to expand...
Click to collapse
What is "Fine" now? better sound? did you reduce o increase the bitpool?
I increased the bitpool and I feel the sound is better, less crackly. Still, it's not the answer to my prying question.
Hallo,
I have the same problem after download norti roms nX1i v1.03 and 1.03 Did you solve it?
czyno said:
Hallo,
I have the same problem after download norti roms nX1i v1.03 and 1.03 Did you solve it?
Click to expand...
Click to collapse
Nope, haven't found a fix yet. It's still too slow. Nobody had an answer..
did you ever figure this out?
i just bought a bluetooth headset (jabra bt3030) and i thought id give it a try with my x1a running the orignal rom, software version r1aa021 / customization version R2A.
As for my experience, i dont have any video lag using dvd movies converted at 640x320 768kbps/64 kbps audio and other videos converted at 480 x 320 500kbps/64 kpbs audio. movies were converted using super and also nero recode 2 and played using the media player and also the panel media player.
the only problem i have encountered once in while when starting a movie is the audio would be out of sync. the remedy that i found out for this is to pause the video and then push play again, then everything audio and video is synched up. i think it has more to do with the bluetooth, phone or headset, i dont know which but i figure this because when i start my movie, the movie starts before my bluetooth headset would like click on and start to play the audio.
i see you are using a customized rom, do you think that could be part of the problem? too high of a resolution? i didnt notice much of resolution difference between video converted at 800 x 400 and 640 x 320, 480 x ??? at the same kpbs. then again im not a big hd buff and my eyes arent as sharp as others. the smaller resolution played just as well in full screen mode. i think nero recode 2 does a pretty good job at converting videos, a lot quicker than using super and i got nero free with the cheap dvd writer i bought.
hope you got it figured out but if not, hope this helps others.
im using Nokia BH-503 stereoheadset im not having problems regarding to bluetooth and lags.
im using windows media player and of course i convert the video files to smaller resolution like 480x260.
also tried playing 800x600 but acceptable lags like every 15mins lags for lessthan 1 secs with bluetooth headset.
also try to end background task in your phone like antivirus, skype, etc... it might affect the performance of your phone.
U can use Core Player and there is an option to adjust the time synchronization between video and audio.
I've had these problems whilst playing x264 encoded files. I think that they just suck too much CPU power. It's not that the video and audio desynced or anything. It just had a really low fps! (like 3~4)

Categories

Resources