[Q] USB Microphone - High pitched sound - Nook Color General

Hi,
I have read a lot about the possibility to have audio in on the Nook Color, and most of the posts were not particularly optimistic in this ever becoming real. Anyway yesterday I have purchased a micro USB to female USB adapter and have been playing with USB host, so I tried to connect my Logitech QuickCam to a USB hub and the hub to the Nook. I was very surprised to see that, although the video doesn't work, audio kind of does. I was able to use Google Voice Search and give commands that were recognized and performed the intended actions, so I tried the next step that is to use Skype to make a phone call. Unfortunately Skype recognizes the microphone but the voice that is transmitted is very high pitched and accelerated, something like a chipmunk on helium!
What is even more interesting is that the audio I could hear from the receiving PC was high-pitched, but Skype sent also my voice to the Nook speakers, and this was fine: normal pitch and speed.
I have also tried to download a couple of audio recording applications from the store but they all got the high-pitched sound. Same story for Dolphin Sonar, commands are not recognized, I assume because of the very distorted sound.
So, just to recap:
- The USB microphone of the Logitech QuickCam is recognized (I had to put a hub between it and the Nook though)
- Google Voice Search Works fine
- Skype and other recording apps pick the sound, but it is high-pitched and accelerated. Skype however returns a normal pitched voice over the internal Nook speaker, with a very slight delay (maybe less than half a second).
Now the question: Is there a way to tweak the configuration of the microphone? Something like changing the bit rate? Is there an audio library I can upgrade, to see if the issue goes away? Do you think it is worth trying to upgrade to the latest available nightly?
If this problem is solved we could have a functional Skype.
I am currently running CyanogenMod 7.2.0 (Android version 2.3.7, kernel version 2.6.32.9), build date June 15th 2012, build number GWK74.
Thanks in advance for any help.
Ste

Use Terminal Emulator, type su to get # prompt and then type the command shown below:
# cat /proc/asound/card1/stream0
What is the capture rate shown under input?
If it is listed as continuous, it will work. If not, it only might work.
http://forum.xda-developers.com/showthread.php?p=21714449
Look under the audio input section and look at the links. That's about all I've figured out. The "USB audio tester root" app in the market works.
Sent from my NookColor using xda app-developers app

j8048188 said:
Use Terminal Emulator, type su to get # prompt and then type the command shown below:
# cat /proc/asound/card1/stream0
What is the capture rate shown under input?
If it is listed as continuous, it will work. If not, it only might work.
http://forum.xda-developers.com/showthread.php?p=21714449
Look under the audio input section and look at the links. That's about all I've figured out. The "USB audio tester root" app in the market works.
Sent from my NookColor using xda app-developers app
Click to expand...
Click to collapse
Thank you for the info j8048188.
This is the full content of /proc/asound/card1/stream0
USB Device 0x46d:0x9c1 at usb-musb_hdrc-1.2, full speed : USB Audio
Capture:
Status: Stop
Interface 3
Altset 3
Format: S16_LE
Channels: 1
Endpoint: 6 IN (ASYNC)
Rates: 16000
So, as far as I can see, there is not section Input and no Capture Rate parameter.
Maybe I have an older version of this file?
I'll also have a look at the thread you have indicated, to see if I can find something useful.
Ste

That bottom line is the capture rate. I'll check the rates that my USB card supports and post back.
Edit:
My card reports back the following:
# cat /proc/asound/card1/stream0
Generic USB Audio Device at usb-musb_hdrc-1.1, full speed : USB Audio
Playback:
Status: Running
Interface = 1
Altset = 1
URBs = 3 [ 7 8 8 ]
Packet Size = 200
Momentary freq = 44100 Hz (0x2c.199a)
Interface 1
Altset 1
Format: S16_LE
Channels: 2
Endpoint: 1 OUT (ADAPTIVE)
Rates: 48000, 44100
Capture:
Status: Stop
Interface 2
Altset 1
Format: S16_LE
Channels: 1
Endpoint: 2 IN (ASYNC)
Rates: 48000, 44100
These bottom 2 numbers are my capture rates. I haven't tried any live audio apps yet (Skype, chat, etc) but I can record with a voice recorder app from the market. When I use the built in recorder if I record for 3 seconds it plays back over 15 to 18 seconds. That is a rate mismatch error.
Sent from my NookColor using xda app-developers app

j8048188 said:
Capture:
Status: Stop
Interface 2
Altset 1
Format: S16_LE
Channels: 1
Endpoint: 2 IN (ASYNC)
Rates: 48000, 44100
These bottom 2 numbers are my capture rates. I haven't tried any live audio apps yet (Skype, chat, etc) but I can record with a voice recorder app from the market. When I use the built in recorder if I record for 3 seconds it plays back over 15 to 18 seconds. That is a rate mismatch error.
Sent from my NookColor using xda app-developers app
Click to expand...
Click to collapse
Apparently you have a problem that is opposite to mine: when I use a voice recorder the audio being captured is highly accelerated (maybe 5x), while yours is slowed down.
I thought I could play a bit with that config file, but I realized that it is being created when the USB mic is attached to the Nook, and destroyed when it is unplugged, and beside that, I could not modify it using a text editor or nano from Terminal, even if I had superuser privileges and I had chmod 777 it.
Do you know if there are other config files we can play with?
(or how to modify that file, although temporarily?)
Thank you
Ste

There was a modified alsa.omap3.so file that Verygreen modified to work with with one of the capture rates that my card supports. Can't find it for download any more.
Some work had been done on the nook simple touch to enable USB Mic input as well. You might want to check that out if you want to dabble in development. ( I won't have a computer to do so until the middle of September.)
Sent from my NookColor using xda app-developers app

j8048188 said:
There was a modified alsa.omap3.so file that Verygreen modified to work with with one of the capture rates that my card supports. Can't find it for download any more.
Some work had been done on the nook simple touch to enable USB Mic input as well. You might want to check that out if you want to dabble in development. ( I won't have a computer to do so until the middle of September.)
Sent from my NookColor using xda app-developers app
Click to expand...
Click to collapse
Unfortunately that file was on a server that does not exist anymore. I found another alsa.omap3.so out there and I wanted to give it a try, but I could not overwrite the current one, since it says that the file system is read-only. Maybe I am missing something, is there a way to make it writable?
Sorry for the very noob question.
Ste

Be really careful that the file is for the nook color and not some other device or build. Use vanilla CM7.2, not another modded version. Use es file explorer. In settings, use the root enhancement and also mount system as writable.
Be very careful, changing system files with unknown files can brick your nook!
Sent from my NookColor using xda app-developers app

j8048188 said:
Be really careful that the file is for the nook color and not some other device or build. Use vanilla CM7.2, not another modded version. Use es file explorer. In settings, use the root enhancement and also mount system as writable.
Be very careful, changing system files with unknown files can brick your nook!
Sent from my NookColor using xda app-developers app
Click to expand...
Click to collapse
I tried to retrieve another version of alsa.omap3.so, but could not find anything. Unfortunately Verygreen's version is no longer available, and the vanilla 7.2 version does not help too much. I then decided to buy the Syba USB2.0 7.1CH Sound Adapter, which was listed in the link you provided me with a while ago, and it arrived yesterday: I was surprised to see that it works; audio is not the best but is enough for a Skype call, which is somewhat surprising to me if you consider that this device costs only $3.10 (free shipping) on Amazon.com. Interesting enough this one works with the USB tester app, and shows speeds of 48000 and 44100.
Regards
Ste

Related

Nook Color preset for Handbrake

I created a preset in handbrake for the nook color. I've used it for several videos and they've all worked really well.
I'm not sure how to export the presets exactly. what I've done is copy my user_presets.xml file and rename it to nook_preset.txt (forums won't let me upload an xml file.)
It's the only preset in the file, so you should be able to add the preset node to your existing user_presets.xml or replace the file completely if you haven't defined any yourself.
Here's a step by step:
1) locate your presets file (this link handbrake presets will help you.)
2) rename it from user_presets.xml to user_presets.xml.bak
3) copy one of my attached files (use 0.9.5 for the latest version of handbrake) to the same directory
4) rename it to user_presets.xml
If you had any presets already, this will remove them. If you want them back, just copy them from user_presets.xml.bak into the new user_presets.xml.
UPDATE: The above instructions are not necessary. The newest version of Handbrake includes an import option under the presets menu. I've attached a zip file that contains the nook.plist file to import. This should work on all platforms.
UPDATE 1/9/2011: Added revised preset for Handbrake version 0.9.5
UPDATE 1/10/2011: Added step-by-step instructions.
UPDATE 2/9/2011: Added a plist file.
UPDATE 2/27/2011: New nook.zip - Added resolution and aspect ratio settings to the plist file
MattZTexasu said:
I created a preset in handbrake for the nook color. I've used it for several videos and they've all worked really well.
Click to expand...
Click to collapse
Can you list some of the changes that you used. I'd like to compare. Thx.
I used the regular ipod setting, but I changed the resolution to 854x480. I turned off all video processing, and set the audio to 48 bit / 128kbps aac.
UPDATE: I forgot that I also changed the video bitrate. Upping it to 1100 instead of 700[? I don't remember.]
Wouldn't using the iPad preset and changing the 1024x768 to 1024x600 be better?
good idea to post them, i was just about to do the same, and the good news is that i have almost identical settings. im just using slightly higher quality audio (160kpbs) and leaving it on Stereo always, everything else looks exactly the same!
epakrat75 said:
Wouldn't using the iPad preset and changing the 1024x768 to 1024x600 be better?
Click to expand...
Click to collapse
I'm not sure if that preset uses "high profile" or not. the NC only supports "baseline profile", and I know that's what the ipod setting uses.
The encodes from HD content look brilliant using this setting. I'm not sure how it could be better.
MattZTexasu said:
The encodes from HD content look brilliant using this setting. I'm not sure how it could be better.
Click to expand...
Click to collapse
If there's no discernible difference with 480 vs 600 then forget I said anything.
Using 1024x600 would not be "better" in any way. If you want to use the hardware decoding from the NC's default app (Movies when invoked from Astro but I think a part of Gallery), the video must be H.264 Baseline, AAC audio, resolution less than 854x480.
Sent from my Nook Color using XDA App
epakrat75 said:
If there's no discernible difference with 480 vs 600 then forget I said anything.
Click to expand...
Click to collapse
I didn't think about the resolution you specified because you could just make the iphone profile 1024x600.
If I had understood your intention, I would have made you aware that the max video accelerated rez on the NC is 854x480 in my initial reply. Instead, I just focused on your use of the ipad profile.
I don't have personal experience; but I think I read somewhere that H.264 @ 1024x600 is a slide show.
Tested with 720p Top Gun and looks perfect. Sound is a little low, but what I've read is that there is no way to adjust the audio gain in Handbrake. Thanks.
From the nook user guide
"Mpeg4 Simple Profile up to 854x480
H.264 Baseline profile up to 854x480"
I also use "DropFolders". It uses HandBrake, but adds a watch folder & destination folder. Any video you drop in the watch folder starts DropFolder & it converts it & places the converted file in the destination folder. Very convenient. Start DropFolder first & then move the file to the watched folder.
Cheers,
kev
Masterface7 said:
From the nook user guide
"Mpeg4 Simple Profile up to 854x480
H.264 Baseline profile up to 854x480"
Click to expand...
Click to collapse
Ah, so it dosnt support hardware decoding past 480 huh? Good to know. I was wondering why it kept failing at 600. Turns out it's just because I cant read instructions! Still, I was running at 400 and it looked alright. Glad to know I can indeed push it a bit further.
What's the average file size you guys are ending up with? I got a 32gb card begging for movies...
It is about 530MB per hour.
Sent from my super nook color
Do we expect this 480P limitation to be lifted once a proper 2.2 ROM comes out? Or is this just the limitations of the hardware?
teknikk7 said:
Do we expect this 480P limitation to be lifted once a proper 2.2 ROM comes out? Or is this just the limitations of the hardware?
Click to expand...
Click to collapse
It's a hardware limitation.
mojonba said:
Tested with 720p Top Gun and looks perfect. Sound is a little low, but what I've read is that there is no way to adjust the audio gain in Handbrake. Thanks.
Click to expand...
Click to collapse
you are correct that you cannot adjust the gain. however, (you may be aware of this already,) you can set the DRC on the Audio tab to compress the audio, which will essentially raise the quieter sections to match the louder ones. this will not make the loudest parts any louder though.
SubStation Alpha subtitles
For anybody trying to convert MKVs with SSA subtitles (i.e. sources such as anime), I had a heckuva time trying to figure out how get hard subs written to the MP4 output. Apparently the official stable release of Handbrake doesn't support SSA subs but all you need to do is download the latest nightly build and you're off to the races.
Using the settings the OP mentioned worked wonders when I was trying to convert my Hajime no Ippo episodes.
DropFolders looks interesting as well, I'm just not sure I'm crazy about using Adobe Air. Just another silly app to update all the freakin' time.
Anyway, good work, and thanks!
infinityPlusOne said:
DropFolders looks interesting as well, I'm just not sure I'm crazy about using Adobe Air. Just another silly app to update all the freakin' time.
Click to expand...
Click to collapse
i'm trying drop folders right now... it's a nice idea but it consumes almost the same CPU than handbrake itself.... i think it is better to run only handbrake and let it use full CPU (and finish in around half of the time)

Chisleu's "Things I Learned" Thread (GPS/Video convertion/etc/etc)

The first post is always updated to show the "how to do it quick" that I arrive at after my long series of "doing it painfully slow." All the other posts are simply notes I share while "doing it painfully slow."
I'm always trying to remember something I forgot, never something I remember.
I'm also new to the platform so I'm remembering things for the first time, which makes this a perfect time to document these learnings.
Sharing files over Wifi with Tablet:
http://www.redmondpie.com/access-ftp-sites-natively-in-windows-7/
I followed these simple directions to map the tablet's FTP sever as a network drive. What FTP server? I'm using "File Expert" which seems to work well. There are many other apps available as well.
Using an external bluetooth:
Download "Bluetooth GPS" from the market. This will allow you to import the gps data. You have to turn on GPS on the tablet and enable mock gps locations in the menus (instructions in application in market.)
Rooting my (just about any) Android Phone
SuperOneClick: http://forum.xda-developers.com/showthread.php?t=803682
Wow that was easy! Rooted my android 2.1 mb200 (Cliq) in 30 seconds. You need the drivers for your phone which you can get from the phone manufacturer's site. I got something called "MotoHelper" from Motorola's site.
Using your phone as a Wifi Hotspot:
android-wifi-tether is the program of choice. If your phone doesn't have a kernel that supports IP tables it won't work. Most phones probably don't have firewall capabilities loaded into them by default! If you want to do that: they support many phones. Check um out.
If you don't want to change the kernel and your phone is rooted, you can use the "Barnacle Wifi Tether" from the market. It turns the device into a mobile hotspot you can access with your android tablet. Works great!
Using your phone as an External Bluetooth GPS device:
Don't think it requires rooting. There are a lot of apps (a lot.. omg) that claim to do it. I was able to find ONE that actually works, for 10 minutes at least. It's only $1.50CDN (if you can get that **** to work) or $1.99 directly to unlock. Works great! It's in the market called "Bluetooth GPS Output". You can buy the $1.99 unlock code from their website. I spent hours hunting something free. haha
Watching video on CM7 (pre-hardware acceleration)
*NOTE* Getting audio in-sync is near impossible. I've given up. I don't think there is a way of accomplishing this without DSP support.
Download "MoboPlayer" and install w/ your favorite app installer. I use "File Expert" because of it's FTP server capabilites making copying super easy and wireless for me.
MoboPlayer is superior to RockPlayer for gingerbread (cm7) for software decoding. It has a silly "skip" button you have to hit when you start up. Not sure how to get rid of that. Yet.
Above is now depreciated with hardware accelerated video working in cm7.
Download the latest version of "Handbrake". I have attached a zipfile with a preset in it that you can import by clicking preset->import. You should then see a preset called "Chisleu High Quality (imported)" on the right side of the screen.
Step 1: Open your file to be converted
Step 2: Select the Preset
Step 3: Change your resolution if it is larger than 854x480.
854x480 is the maximum so set the width to 854 and make sure the width is under 480 (should be) but if not change it so the width and height are under 854x480.
It will always default to the original resolution if it is smaller than 854x480. It should default to 854x480 max if the source is higher resolution. If it doesn't include the 854x480 max, when you select it to encode a video, change the resolution to 854 width and save the preset.
Pairing/Using Zoom 9010 Bluetooth Mini Keyboard w/ NCEncore
Hit the button on the bottom of the keyboard. Go to the bluetooth menu and select the device to pair. It will ask for a pin. Type in 1234 into the tablet. THEN type 1234 into the keyboard and hit enter on the keyboard. Enjoy keyboard!
More to come!
These are notes I made while making the "howto" which is in the first post. The final steps needed are above. If you are hacking your way through this stuff and looking for insights, the stuff below could be helpful. If you are looking for "how do I do this fast" then don't read this stuff, just refer to the first post!!!
Watching video on CM7 (pre-hardware acceleration)
Rockplayer seems to work very well. I'm hoping to figure out the "ideal" formatting for software decode.
It seems everyone has their favorite way to pull this off... I'm using the free program "Handbrake" to convert video files over.
Well, I have reasonable quality video playing well but the sound is being a problem. With my last conversion, the sound will just stop playing after a while and you have to move the video slider around a little to get it to start back up. not good.
848x480 video seems to be pushing it and the quality isn't that much better than 720, so I'm going to limit myself to 720x480max video.
Sample rate 48 audio was very quiet, turns out 41 is too! Use the DRC slider in the audio tab -> 4 to help compensate. I also turned the volume on the speaker up 10db w/ thee "DSP Manager" that comes with the distribution. Helps to boost the volume to less silent levels. Workable, but headphones of some sort are still required IMHO.
Nope. Still crappy. Worried I won't be able to play anything past cartoons!
Update: Rockplayer sucks!!! (for me, on this platform, etc, etc)
http://moboplayer.com/moboplayer_en.html
At another's direction, the v7 "Neon" version of Moboplayer is EPIC. Works much better. It plays my encoding of "BBC Planet Earth - Jungles 1080p". On a side note, if you haven't seen the Planet Earth series, get it. It is super fun to watch. very interesting.
I used these settings:
720x400 (720 max w/ automatic height)
48k / 128kbps AAC/faac audio.
51 minutes is 765mb. Pretty huge.
I mostly used the direcitons provided here:
http://www.androidtablets.net/forum...using-handbrake-convert-video-nook-color.html
(3) On the Presets window, select High Profile.
(4) Click on the Source button, and load the video file you want to convert.
(5) Click the Browse, and select a destination and file name for the MP4 video file you will create.
(6) Go to the Picture tab. Set the Anamorphic menu to None. Enter 720 in the Width box, and check the Keep Aspect Ratio button. The Height should automatically adjust.
(7) Go to the Video Filters tab. Set Detelecine and Decomb to Off.
(8) Go to the Video tab. If you are using DVD source video, or standard resolution video, leave the Framerate option as Same as source. If your source is HD video (60fps), change the Framerate to 29.97.
(9) Go to the Audio tab. How many tracks appear? The goal is to end up with one track with an Audio Codec that shows up as AAC (faac) or MP3 (lame). If there are others, right click and remove them. On the remaining track, set Mixdown to Stereo, Samplerate to 48, and Bitrate to 128.
(10) Skip the Subtitles and Chapters tabs.
(11) Go to the Advanced tab. Set Maximum B-Frames to 0, and uncheck the CABAC Entropy Coding, 8x8 Transform, and Weighted P-Frames options.
Click to expand...
Click to collapse
I'm currently converting "Back To The Future 720p":
720x400:
average bitrate 800kbps (2pass)
44.1/128 MP3(lame)
Remember to jack up the DRC (I've been using the max setting of 4) which will help compensate for the low speaker volume. I also configured the DSP EQ for up to 5db of boost (mid range) curving down to 1db at the extremities.
Damn I love this platform.
EDIT: Retried my 854x480 conversion (high bitrate, 1gig/51minutes) It plays just great with MoboPlayer Neon. I'm going to watch the low bitrate encode of Back To The Future 720p (720x400 ~800kbps video 766meg/1:56). It is transfering now but my firewall isn't N-capable so it's slow!
I'm mainly checking to see if that quality is decent (low bitrate and 2 pass encoding)
Then I'm going to do a "final settings" encode to test out max quality.
I'm also going to do a 1024x600 video just to see if it's possible to play. I think it's probably overkill. I think the playback will suffer. 854 seems to really eat CPU as it is. We will see.
EDIT: Downloaded a 1 minute 1080p test video to use to test resolutions/such with to speed things up a bit.
http://www.fileserve.com/file/SdtfFxh/hd_other_sony_hd_experiment.m2ts
EDIT: Droid does!!! DRC doesn't! Specifically, it doesn't boost volume very much. It is really just normalization. Not encoding using DRC anymore. If you want to watch videos... use headphones.
EDIT: Wow, much faster using a 1 minute file plus the math is easy to determine 1 hour file sizes. hehe.
EDIT: 1024 width doesn't play.
EDIT: Uhm, maybe it does. for some reason MoboPlayer is calling it HD and trying to play in hardware. I can play the 854 w/ software decode so I'm reencoding... stop deleting stuff even if it doesn't work the first time dude...
EDIT: so.... many... variables....
EDIT: door to door salespeople suck... no this isn't an ipad, and no I don't want your cleaning products.
EDIT: Got a quality configuration working!
My 1 minute test video ended up at 5,487KB which puts us at roughly 330MB per hour. Acceptable size for me. This is a 2-pass 600kbps video stream. The 500kbps had noticeably less quality. Higher quality encoding does improve quality, but seems to have video sync issues.
Encoding a lower resolution (but longer) file now w/ my settings to test.
Successful video!!!! I converted Zombieland.720p into the format above and she plays wonderfully in software mode with no sync issues!!! Fantastic!!!
If you are looking to convert video for travel or the like, this is the ticket!
Feed your source material into HandBrake, select the Universal preset, get rid of the AC3 soundtrack if it's included in the source (since all you really need is the 2 channel stereo track), add subs if required, encode, put it on the NOOK Color, you're done.
No need for two-pass encoding as HandBrake's newer CRF based encoding methodology (for the x264 encoder) saves time and gets pretty much equal results in half the time.
People really overcomplicate this encoding for the NOOK Color, way too much. It's not that hard. The Universal preset will adjust the resolution to fit (the NOOK Color has a maximum video pixel width of 854, period), and it uses a good baseline profile (what the NOOK Color is designed to play) without issues.
Everything is already in that preset, ready to go, and you're not really going to get much better quality with all the fiddling, all the command line options, etc.
Source > HandBrake > Universal preset > drop AC3 track, set bitrate as desired for audio > Encode > Put it on the device > Enjoy the movie.
Simple.
I love different opinions!
br0adband said:
No need for two-pass encoding as HandBrake's newer CRF based encoding methodology (for the x264 encoder) saves time and gets pretty much equal results in half the time.
Click to expand...
Click to collapse
2 pass is vastly superior for file size. If you don't care about file size, ya you can use a larger file with great quality. But if you care about sizes (ie, using a CR of 40, which I did) it looks like crap. 2 pass encoding is vastly superior because it allows smaller size with dynamic bitrates and higher quality.
I'm not the "lazy" guy. I don't mind taking the time to figure out the way that is best for me. I am simply sharing that knowledge. A google search will reveal tons of different ways of doing this.
br0adband said:
Everything is already in that preset, ready to go, and you're not really going to get much better quality with all the fiddling, all the command line options, etc.
Click to expand...
Click to collapse
That preset is also 720 width, not 854. I'm trying to maximize quality, minimize file size, and stay compatible with the hardware accelerator. Of course, once hardware accel comes out, one can up the kbps to 1000-1200 if you wish, although I do not feel it is needed.
My setup generates files ~ 320mb per hour. Comparable static bitrate quality would be much larger.
br0adband said:
Simple.
Click to expand...
Click to collapse
Now that Handbrake has the ability to import presets, it's super easy for people. Import the file (once) select the file, select the preset, change the resolution. done. super simple.
Of course this is only intended for CM7 users.
chisleu said:
Flash 10.2 (leaked)
[...]I would expect it will work much better on nookie froyo. so much so that I'm going to use my SD card to boot nookie and try!
Click to expand...
Click to collapse
Did it work on Froyo, and if so, did you notice any improvement?
TJNooker said:
Did it work on Froyo, and if so, did you notice any improvement?
Click to expand...
Click to collapse
It "worked" on nookie froyo and rooted 2.1 (bn 1.1) to begin with (flash 10.1) but I would expect that 10.2 would give a dramatic improvement. The increase on CM7 was dramatic. I don't have a working froyo build to test though. enjoying CM7 too much.
br0adband said:
the NOOK Color has a maximum video pixel width of 854, period
Click to expand...
Click to collapse
Actually software viewers will play up to a 1024x600 file at full screen. Anything less is scaled (software) up to that.
The hardware encoder will up/down scale to 854x480.
Also I just used your instructions above which is RF:20 encoding. that's ~19mb per minute. Compared to ~5.5 w/ my settings. The quality is noticably higher, but it could be accomplished w/ 1000-1200kbps settings with 2 pass. (9-11MB/min)
Also video sync is still an issue for some reason. I'm not sure what the problem is anymore.
I'm on the new 3/15/11 test version including DSP video support. It works and it stays in sync but the framerate is garbage. It's roughly 5-15dps at any given time. Progress is sexy.
It looks like we really just need DSP support if we are going to play videos in sync.
chisleu said:
It "worked" on nookie froyo and rooted 2.1 (bn 1.1) to begin with (flash 10.1) but I would expect that 10.2 would give a dramatic improvement. The increase on CM7 was dramatic. I don't have a working froyo build to test though. enjoying CM7 too much.
Click to expand...
Click to collapse
How did you get flash running on stock eclair?
ace7196 said:
How did you get flash running on stock eclair?
Click to expand...
Click to collapse
I can not remember if I did or not. I believe there is a flash for 2.1 apk floating around if you look.
Chisleu,
why dint you try Vitalplaer neon. It has way better software encoding then rockplayer and moboplayer. Its the best I found so far fo xvid movies
zorvalth said:
Chisleu,
why dint you try Vitalplaer neon. It has way better software encoding then rockplayer and moboplayer. Its the best I found so far fo xvid movies
Click to expand...
Click to collapse
It seems to stay in sync more, but it also lags more. It also has ads on the bottom of the screen. I did try it, but as soon as I saw the ad I realized it wasn't for me.
But yes, unless it is lieing and really using the hardware to play, this is much better. I'm going to encode my test file to 1024x600 and see how it does in software with Vitalplayer Neon.
no 1024 didn't fly in software. Looks terrible, and lags/gets out of sync.
IMO, the argument is moot at this point. Vitalplayer isn't free, and software can't play video better than the hardware can (854x480)
Now that hardware acceleration is working the CM7 test it won't be long before it's in CM7, and I personally have no need for software acceleration.
Then again, for lower quality stuff that I don't want to reencode, vitalplayer is much better at staying in sync. Impressively so in fact.
I may buy it. Thanks for the tip.
I uploaded some test videos encoded to Nook specs at various bitrates so you could see and maybe avoid reencoding repeatedly to find a bitrate that works for you.
Original file is a 1080p Music Video for "Good Girl, Bad Girl" by Miss A. This is a k-pop group I love and they encourage redistribution of their music videos, so no issues there.
600kbps video 20mb
http://www.mediafire.com/?d42dmvva9vbigm2
1200kbps video 36.5mb
http://www.mediafire.com/?2lyb5qicpynz13a
2000kbps video 58.4mb
http://www.mediafire.com/?d42dmvva9vbigm2
I can not tell a difference between 1200 and 2000.
There is definitely a difference between 600 and 1200, but is the difference worth 4.3mb per minute? A 90 minute video would be an additional 387MB larger.
Maybe it is for you, and maybe it isn't, and maybe you will just go with 800 or 1000kbps if you want to split the difference.
These are just intended for you to have a jumping off point so you don't have to go to the lengths I have!
chisleu said:
It seems to stay in sync more, but it also lags more. It also has ads on the bottom of the screen. I did try it, but as soon as I saw the ad I realized it wasn't for me.
But yes, unless it is lieing and really using the hardware to play, this is much better. I'm going to encode my test file to 1024x600 and see how it does in software with Vitalplayer Neon.
no 1024 didn't fly in software. Looks terrible, and lags/gets out of sync.
IMO, the argument is moot at this point. Vitalplayer isn't free, and software can't play video better than the hardware can (854x480)
Now that hardware acceleration is working the CM7 test it won't be long before it's in CM7, and I personally have no need for software acceleration.
Then again, for lower quality stuff that I don't want to reencode, vitalplayer is much better at staying in sync. Impressively so in fact.
I may buy it. Thanks for the tip.
Click to expand...
Click to collapse
I don't know what you are downloading but Vitalplayer Neon is definitely free....
Sent from my NookColor
zorvalth said:
I don't know what you are downloading but Vitalplayer Neon is definitely free....
Sent from my NookColor
Click to expand...
Click to collapse
I miss the "ad" word in that sentence. It was meant to say "ad free".
I can't stand seeing ads. I don't mind paying for software I want, but I hate ads.
I bought the Vital Player Pro but we were unable to get it working and I was issued a refund. It would start up and immediately shutdown. I think there may be a problem with paid apps because I also can not get TapaTalk pro to work on my tablet. It keeps saying it isn't paid for. Tapatalk has much slower customer support than VitalPlayer did.
So now that hardware acceleration is enabled, do you still do the same handbrake encoding process as before? Or was that just a workaround for the software? Or because hardware acceleration is now enabled, are we able to handle more/different codecs?
br0adband said:
No need for two-pass encoding as HandBrake's newer CRF based encoding methodology (for the x264 encoder) saves time and gets pretty much equal results in half the time.
Click to expand...
Click to collapse
I apologize. This new 1 pass system is far superior to those of old. I bow to your wisdom. CF25 is about equal to 1200kbps video in both size and quality.
Thanks for posting up the sample vids. The first and third link are the same. Both go to Miss A Bad Girl Good Girl - Nook 2000.m4v
For me, the preset in the OP produces an image that is compressed horizontally. Anyone else seeing this? Using handbrake 0.9.5 and playing on the latest CM7 stock video player.

Sip app for ring central

I have got sipdroid working and acrobits working with ring central but both have poor audio (no low end in audio). Acrobits has uLaw and aLaw which RC supports but audio is still poor and has a skipping effect in the audio. Sipdroid has older codex that give same audio quality but without the skipping effect. Better of the two.
Does anyone have an idea of how to deal with this problem or has another app that may work?
Sent from my HD2 Android band using XDA App
i use csipsimple for my ringcentral account ..
Krunalkp
I was wondering if you had good quality audio. If so what do you have the clock rate set at, and what order is the codex in yours.
Thanks
Sent from my HD2 Android nand using XDA App
I have my rate set to 44.1 ans the codex set speex 32 then 16 the g711
Sent from my HD2 Android nand using XDA App
Krunalkp,
how were you able to make csipsimple work with ringcentral?
what are the settings?
i was trying to do it but i am getting registration timeout.
thanks.
how did you make it to work with ringcentral?

[GUIDE] CM10.1 and FM Radio..Finally AUDIO WORK!

In Cm rom 10.1 for lg optimus 4x there is a problem : fm radio do not run..
infact i try to use Spirit FM but no audio also if tuning runs very well..
so i try some things to set audio but no luck..
but today i try a trick that NOW its' runs very well and i hear audio..
Finally we have also FM Radio Working (Audio and Tune)
And i'm very happy..
The trick :
1) install a custom rom (PAC,AOKP,CM or other..it's no important
2) install alsa mixer from market (https://play.google.com/store/apps/details?id=com.skvalex.alsamixer&feature=search_result)
3) runs alsa mixer and install bin files
4) install Spirit FM Lite (from thread of XDA by Mikereidis) or Buy Spirit FM unlocked from market (it's a great app)
5) open Spirit FM from appdrawer,Yes for root permission and set it for your country (Band in khz)..Also In Settings page of Spirit FM choose Debug and Check ALSA PCM OPEN..Leave all settings in auto mode..
6) For Audio in Speaker - Open ALSA Mixer and check these Settings : Left SPK Mixer INB2 and set it ON
7) For Audio in Speaker - Open ALSA Mixer and check these Settings : Right SPK Mixer INB2 and set it ON
8) For Audio in Headset - Open ALSA Mixer and check these Settings : Left HP Mixer INB2 and set it ON thanks jonnya70
9) For Audio in Headset - Open ALSA Mixer and check these Settings : Right HP Mixer INB2 and set it ON thanks jonnya70
10) Now relaunch SpiritFM and you can hear audio and tuning your favourite fm stations..
EDIT
As reported by some users (Thanks Lamerduck) and me Spirit FM has some problem as loud volume and no audio when screen off..So use these settings to solve them..
Setting for normal volume (no very hight loud)
Settings-->Audio-->Volume Scale from 100 to 10
(you can increase this setting in 15 for a volume little loud)
Setting to Enable FM Radio Audio when Screen OFF
Settings-->Debug->Silent Loop (check it)
* Probably audio works also you unchecked ALSA PCM OPEN in Settings-->Debug..Yesterday i test without this setting and Audio Works so well..So you can test and report it..
Naturally you can create a script with Script Manager that runs on everyboot to set these parameters for ALSA..Infact on every reboot alsa mixer lost these settings so every time you can use fm radio you can set these settings on alsa..
PS i find this trick in LG Optimus 2x Thread for Spirit FM..
This is the Original link:
http://forum.xda-developers.com/showpost.php?p=38831550&postcount=8
i have only change settings for our ALSA (INB2)..So Credit for sudden36
These trick it's no difficult to use..
EDIT I edit a simple script from lg2x discussion changed the settings for OUR ALSA Configuration..
So you can use it for run on every reboot using Script Manager or you can use in init.d..In zip you find also my p880.conf that provide settings for FM Radio Audio and a little loud volume for speaker..
Also i attach xbin files for alsa mixer so developer can use it for roms and Alsa Mixer 1.0.9 (16 jan 2013)..
Mikereidis (developer of Spirit FM) has release a first experimental version of Spirit FM Light with LG P880 Support
This is the link where you can download it and report some problems too
Version 12062013 (NEW)
http://d-h.st/i5I
I also found a way to make the audio come from headphones as opposed to the speaker.
Set Left HP Mixer INB2 and set it on
Set Right HP Mixer INB2 and set it on
then the audio will come out from the headphones
jonnya70 said:
I also found a way to make the audio come from headphones as opposed to the speaker.
Set Left HP Mixer INB2 and set it on
Set Right HP Mixer INB2 and set it on
then the audio will come out from the headphones
Click to expand...
Click to collapse
yes..i want to write a new guide for use also headset using HP Mixer INB2..
So now we have FM Radio working ,audio and tuning, in headset or speaker..
Tne Only thing that remains to make is to switch audio only in headset when you plug jack and viceversa..infact now with these tricks audio works in headset and in speaker at the same time..But i think that with other test we can to have also the correct switching audio from headset to speaker..
thanks OP for the tip. alot of users here would probably benefit from it.
But as a rule of thumb when it comes to posting such guide, and since you wrote that you found this on op 2x's thread,
it will be good if you place a link to that thread.
One you are acknowledging this guide to the proper dev
And two you are proving that your guide works without you spending any effort
If you simply can't find or link the thread, or if you think what you wrote came from you,
posting a proof-of-concept would be good, since of course people would think twice before doing anything.
Hope you understand.
Tip: Adding a [GUIDE] tag to your title will help in letting people know what kind of thread this is.
How do you set those options to on in Alsa?
Sent from my LG-P880 using xda app-developers app
L2Deliver said:
thanks OP for the tip. alot of users here would probably benefit from it.
But as a rule of thumb when it comes to posting such guide, and since you wrote that you found this on op 2x's thread,
it will be good if you place a link to that thread.
One you are acknowledging this guide to the proper dev
And two you are proving that your guide works without you spending any effort
If you simply can't find or link the thread, or if you think what you wrote came from you,
posting a proof-of-concept would be good, since of course people would think twice before doing anything.
Hope you understand.
Tip: Adding a [GUIDE] tag to your title will help in letting people know what kind of thread this is.
Click to expand...
Click to collapse
Yes i undestand,so i edit my discussion..thanks..
and i finally find original thread so i can write original credit..
I write also in discussion of spiritfm to report it so maybe mikereidis could be add these tricks to next version of spiritfm..
However the tip rocks,the only problem is that it's no possible by now to switch audio from speaker to headset when you plug headset jack..infact audio remains on in speaker and in headset at the same time..but imho it's no a great problem,almost audio now works and this is the important thing..
@juanacevedo
you must install ALSA MIXER from Market,and open it,install bin files and set these settings..then go spiritfm and listen music..Remember that on every reboot settings lost so you can create a script for ScriptManager or you can set it every time you can listen fm radio..
nice work
can you provide the bin files and their destination, so that we can implement them into the roms?
i'd do it myself, but i'm messing around with bootloops ATM
thanks in advance
@zicoxx Yeah, I already have everything installed but how do I actually set the settings? There are no options to set them to on just a prompt where I can type something in.
Sent from my LG-P880 using xda app-developers app
@laufersteppenwolf
Yes,these are the xbin files for alsa mixer..
And then i upload also alsa mixer my conf where there are the correct settings (mine are also for loud speaker volume)..
So now you can use for roms..
OT However THANKS for your kernel and your roms..generally Thanks for you job for LGO4X..
@juanacevedo
uhmm..it's strange..
Do you have a custom rom ? Do oyu have root permissions?
When you launch alsa mixer what appair on screen?nothing?black screen?
You can try to copy alsa mixer xbin files in xbin folder (system/xbin) and set as permission 755..The you relaunch alsa mixer from drawer and see if something appairs..
IF again nothing something do not work well,maybe you must tell us what kind of rom you use,kernel,etc..so we can help you..
@zicoxx I just get to this part and I don't know what to type in. (screenshot below)
I'm on CM10.1 with the standard CM kernel.
Sent from my LG-P880 using xda app-developers app
juanacevedo said:
@zicoxx I just get to this part and I don't know what to type in. (screenshot below)
I'm on CM10.1 with the standard CM kernel.
Sent from my LG-P880 using xda app-developers app
Click to expand...
Click to collapse
Just type "on" in it. It's really that easy.
tool_king said:
Just type "on" in it. It's really that easy.
Click to expand...
Click to collapse
That's the very first thing I typed In after I imstalled the app. I get no sound at all and yes I'm on the right settings
Sent from my LG-P880 using xda app-developers app
juanacevedo said:
That's the very first thing I typed In after I imstalled the app. I get no sound at all and yes I'm on the right settings
Sent from my LG-P880 using xda app-developers app
Click to expand...
Click to collapse
it's so strange..
the four parameters that you write in alsa mixer should be ok for spiritfm audio..2 for speaker (SPK) and 2 for headset (HP)..
Do you have install on your rom some audio app (sony walkman,beataudio or similar)?
You use DSP Manager?Any Music Effect in Settings Audio of CM10.1?
What kind of Cm10.1 version you have?Nightly or RC?
I use now CM10.1 20130519 by arararagi..And i use also Volume+ as Music FX and no problem..But i don't use DSP Manager..And i use the last SpiritFM lite build..
What version of SpiritFM you use?
Try with the last if possibile..
And you can set also in --Settings-->Debug ALSA PCM OPEN and in Settings--> Audio set on Samsung Broadcom (audio 'll be very very low but stable..)
And the last thing,you can hear FM audio in headset?..
Thanks for the tips....I have one problem though. When I switch off my screen, the as o uh and disappears..... Anyone else experience this?
So can someone confirm that this is working?
Sent from my LG-P880 using xda app-developers app
snekler said:
So can someone confirm that this is working?
Sent from my LG-P880 using xda app-developers app
Click to expand...
Click to collapse
Yes, it's working for me.
thanks man i think i will switch to cm when stable version will be out ,i think its not over the mountains
grazieeeeeeee
Thank you very much! I can finally listen the radio with CM, LG goodbye!
thanks! i searched for it a long time ago and now i finally found it^^ works really great!
hey guys,i'm happy that this trick works!..
Next step:
i think that now it's the time to make something so everyone can enable audio for fm radio in simple mode,maybe flashing zip on CWM or TWRP..Or i'm thinking to create a simple apk that make this trick..
So if Someone,developer or everyone wants to help us for developer these things,i'm appreciate much..
in every case i'm try to simple these tricks..
So stay tuned..

[APP] Screen Stream Mirroring - Mirror to Chromecast, media players, web browsers....

Hi guys,
I just wanted to let you know that my app is already out for a while now and I still haven't posted about it here.
Maybe some Chromecast owners could find it useful
This is Screen Stream Mirroring, it allows you to fully mirror your Android device to Chromecast, media players, web browsers, Chromecast, online broadcast...
Mirroring feature to Chromecast is out for a while, it was out even before Google announced their Mirroring feature
The app works from Android 4.0, and gives high quality results from Android 4.3 or higher.
Fo now for Chromecast the issue there is compared to other targets is that there is few seconds of delay introduced by Chromecast, I'll do my best to improve this if possible...
Main features are:
Mirror to Chromecast
Mirror to media players with RTSP
Mirror to web browsers with HTTP
Broadcast online to Twitch, Ustream, Youtube, and others ...
Mirror full audio if you have a rooted Android device (or microphone for all)
A lot of settings to change quality and speed
There is a free version: https://play.google.com/store/apps/details?id=com.mobzapp.screenstream.trial
If you like it, want to support my work and purchase, here is the link to full version:
https://play.google.com/store/apps/details?id=com.mobzapp.screenstream
Main app thread on XDA is here: http://forum.xda-developers.com/android/apps-games/app-screen-mirroring-broadcasting-to-t3102378
App web site is here: http://mobzapp.com/mirroring
I hope I could have any feedbacks from XDA users.
Thanks !
Amazing app. Is it possible to get sound working on lollipop without root?
Doens;t work for me. None of the menu options do anything. The screen just stays on media players, which doesn't work either
Updated my Samsung s4 to lollipop the other day. Now the app doesn't work. Asks for root even if starting service from computer seems to work. Any ideas?
Johan1976 said:
Updated my Samsung s4 to lollipop the other day. Now the app doesn't work. Asks for root even if starting service from computer seems to work. Any ideas?
Click to expand...
Click to collapse
I think you don't have the last update... please get the new update from play store and it should fix it.
Dexter_Morgan said:
Amazing app. Is it possible to get sound working on lollipop without root?
Click to expand...
Click to collapse
No internal audio can only work with root.
can this stream amazon prime from android to chromecast?
nickmax1 said:
can this stream amazon prime from android to chromecast?
Click to expand...
Click to collapse
should work... but you can try with free version and see if that works.
good plan - will test it tonight when i get home from work/night out (!)
ah - just noticed its not compatible with 5.1.1 (I am on CM21.1)
Why do you say it's not compatible ?
based on the reviews - also i have just installed it and it glitches quite badly, i had to force close it to exit. I am afraid I had to uninstall it.
Hi @Sloosh
I have Samsung G901 ( This is almost Galaxy S5 ( snap 801)but i have version with better SoC (805).
Rooted stock but dont working Audio international.
Sammy stock 5.0, kernel 3.10 only with better th.
IF u need logcat, type to me. I rly like u app.
BTW. ADB recording working with sound
DienoX said:
Hi @Sloosh
I have Samsung G901 ( This is almost Galaxy S5 ( snap 801)but i have version with better SoC (805).
Rooted stock but dont working Audio international.
Sammy stock 5.0, kernel 3.10 only with better th.
IF u need logcat, type to me. I rly like u app.
BTW. ADB recording working with sound
Click to expand...
Click to collapse
What do you mean by "ADB recording working with sound" ?
Also please disable the option "keep internal audio" if you enabled it, this is maybe what is causing you issue.
@Sloosh
"ADB recording working with sound" - When i Connect G901F to PC or type in Terminal emulator type "adb shell screenrecord /sdcard/MyScreenRecordingGreetingsForSloosh.mp4". Then i get ADB Recording.
This file have dynamic bitrate (if u dont set --bit-rate xx) and sound from system.
In app Screen Stream Mirroring i cant set dynamic bitrate (0 working acts as a dynamic bitrate? i dont know/test it.) But the worst is i cant set audio from system. From mic working without problem. Only not working internal/mixed.
Yes, app working without problems if i dont set in Sound settings: Internal or Mixes settings.
Tell me what it is due. The problem is that I can not even born debbuging apps because it is closed source and app not leave anything worthwhile in logcat. Since there hangs just shows that there is a problem with sound. Aplication have root permission. I wonder why it is not working because SoC is this same as Nexus 6.
DienoX said:
@Sloosh
"ADB recording working with sound" - When i Connect G901F to PC or type in Terminal emulator type "adb shell screenrecord /sdcard/MyScreenRecordingGreetingsForSloosh.mp4". Then i get ADB Recording.
This file have dynamic bitrate (if u dont set --bit-rate xx) and sound from system.
In app Screen Stream Mirroring i cant set dynamic bitrate (0 working acts as a dynamic bitrate? i dont know/test it.) But the worst is i cant set audio from system. From mic working without problem. Only not working internal/mixed.
Yes, app working without problems if i dont set in Sound settings: Internal or Mixes settings.
Tell me what it is due. The problem is that I can not even born debbuging apps because it is closed source and app not leave anything worthwhile in logcat. Since there hangs just shows that there is a problem with sound. Aplication have root permission. I wonder why it is not working because SoC is this same as Nexus 6.
Click to expand...
Click to collapse
Yes but did you try internal audio or mixed audio source with "keep internal audio" option disabled ??
I don't understand how your screenrecord command would record system audio, because this tool from Google do not record audio from what I know...
@Sloosh
With option "keep internal audio" and without "keep internal audio" recording dont working.
Now i checked screenrecording command. You're right recording without sound BUT i now connect my old phone - I9300 with nameless rom and screenrecording recording with sound... strange magic. I apologize for misleading.
Look at YT why i mean -> https://www.youtube.com/watch?v=4M_kwCA-ogo
DienoX said:
@Sloosh
With option "keep internal audio" and without "keep internal audio" recording dont working.
Now i checked screenrecording command. You're right recording without sound BUT i now connect my old phone - I9300 with nameless rom and screenrecording recording with sound... strange magic. I apologize for misleading.
Look at YT why i mean -> https://www.youtube.com/watch?v=4M_kwCA-ogo
Click to expand...
Click to collapse
weird... please be sure you have the last version (last one is for now 2.1.5c).
Did you try restarting your device ? (if you try, again please try with "keep internal audio" disabled...)
@Sloosh
Yes, i have version 2.1.5c.
Did you try restarting your device ? (if you try, again please try with "keep internal audio" disabled...) --- No effect positive.
Hi!
If your Android is 4.4.2 or higher Chromecast app is able to mirror to Chromecast.
Regards
-jc
Hi, so far I love this app! But the camera overlay is so dark on my Note 5 it's unusable, even in broad daylight. I'm forced to use a "floating mirror" app instead until this is fixed.
#2 on my wishlist is a basic text/image overlay. Currently I'm using a custom widget to do this, along with the Overlays app which makes widgets into overlays. It all works fine (mostly), but together with the stupid mirror cam, that's a four-piece workaround to accomplish what I feel should be core functionality in Screen Stream Mirroring.
Thanks for your hard work and consideration. Like I said I love this app. It's worth the price and a lot more!
Sent from my SM-N920V using XDA Free mobile app

Categories

Resources