yashsingh1/xdaforums huggingface dataset:
[Nook Color Android Development] chisleu:
Yes I see that in landscape. It is in sync, but the video lags behind in starting. Once the video is playing it's synced though. also, I'm having stuttering (very tiny stuttering for split seconds)

Seemingly randomly. Perhaps do to background/system process? It is the same type of stuttering that happens when you go from landscape to portrait, just much much shorter.
[Nook Color Android Development] chisleu:
google "nook color video format"

http://xdaforums.com/showthread.php?p=12076390

I go into it a bit here:
[Nook Color Android Development] zorvalth:
I have already read almost every thread about video conversion and formats support but nobody says that hardware encoding is just for the officialy supported formats. That's why I am asking. I doubt that everybody wants to reencode his movies and series! I also tried every player I found on and off the market and in my experience Vitalplayer is the best! It has amazing software encoding way better then rockplayer, moboplayer, vplayer and etc. I am guessing the hardware encode is better on the battery then software one and I wanted to know can we get it on xvid too.

And please don't tell me its not officialy supported because the bluetooth is not official too but thanks to some nice devs we got it!

Sent from my NookColor
[Nook Color Android Development] RoboRay:
How could it do hardware decoding of an unsupported format? The codec is either built in to the hardware or it isn't. If it's there, it works; if it's not, it don't.
[Nook Color Android Development] chisleu:
Cool. Those are the codecs supported by the hardware. Larger resolutions do not seem to work through the hardware accelerator, nor do other formats.

I do not find Vitalplayer to be better than MoboPlayer (neon, not the one from the market...)

Either use a format that is compatible, or play in software. I don't think there is a plan C.

EDIT: I take it back. I skipped Vitalplayer when I was on a quest to try every video player. I skipped it because it had ads on the screen when you are watching a video, but it goes away with the controls when you tap the screen, so rock and roll! The audio sync on software-played formats is much much better and it can play through the hardware accel engine. Great app.

I purchased it but after installation, as soon as I run it, it crashes. Still working with the company to resolve the problem. Hopefully we can figure it out because it seems to be the best ATM.
[Nook Color Android Development] ADude:
What we see as the "Nook supported hardware decoding codecs" may not be the same as the graphics processor's supported hardware decoding.

Similar or same chip is in other tablets (iPad IIRC?), so it may be a question of modifying firmware. Although I have no idea what other codecs may be supported by other tablets/phones.

Clearly the unsupported codec we would want is xvid and the unsupported containers avi and mkv.

If you are going to the trouble of re-encoding videos, then the supported ones are quite sufficient. I'm pretty sure that all "ipod" and "iphone" videos that you find on the Interwebs are supported by the nook hardware decoding.
[Nook Color Android Development] dalingrin:
The GPU is not used in video decoding beyond providing an overlay to bypass the CPU. The DSP is what is doing the decoding. The DSP is a very general purpose processor so it is not a hardware limitation. The issue is the availability of codecs that are written to take advantage of the DSP. Currently we are limited to what is available in the AOSP because the Nook was never licensed for the nicer codecs.
[Nook Color Android Development] Divine_Madcat:
Is there any way other codecs can be legally acquired (other open source or freebies)?
[Nook Color Android Development] Eddog4DROID:
Same question. What about when 2.2 is released? Will that help?

> Sent from my Super Clean Fascinate via XDA Premium app <
[Nook Color Android Development] aludal:
FFmpeg comes to mind, and RockPlayer is arguably its best implementation: http://rockplayer.freecoder.org/index_en.html It claims it can play

. However, I'm getting mixed results. The newer builds of FFmpeg are supposed to have hardware assistance (DSP in our case? or SGX? or both) though I was never been able to make that option work. Besides, claiming as playable so many different formats/containers should put serious constraints on optimal, or adaptive size of buffer to achieve more or less smooth playback in each case. NEON framework was not designed to adapt so many decoders, VisualOn's VOME engine has never materialized in AOSP 2.3, Honeycomb ditches previous pipelines and adopts Renderscript which I believe is optimized for Tegra 2. I didn't flash the latest dalingrin's Video Fix just yet (will be doing it on my "size-agnostic" bootable SD card, and as of now I would greatly appreciate if somebody who uses the Fix could post Neocore benchmarks.

Thank you, dalingrin.
[Nook Color Android Development] fattire:
And now for something completely different...

Quick change of subject--

Under settings>Date & Time Settings, there's that option "Automatic" to "Use network-provided times". Well, unfortunately the "network" referred to isn't the wi-fi network. It's the (non-existant) cellular network, using a protocol called Network Identity and Time Zone (NITZ).

What to do, what to do? Well, one solution to get a nice time/date sync is to use the venerable Network Time Protocol, to sync time over the Internet. That's exactly what Android-On-Freerunner Issue 67 is all about.

A nice workaround for now (at least as far as I can tell) is the ClockSync app from Sergey Baranov. Seems to get some pretty good reviews.

Perhaps a project for the enterprising tablet enhancement folks might be to incorporate ntpd into cm7?

Man! Can I link up a post or what?
[Nook Color Android Development] zorvalth:
How is the sound level of your nooks? Mine is kind of low. Is there any trick to increase it or this is all we got?

Sent from my NookColor
[Nook Color Android Development] lschroeder:
Neocore benchmarks 21.7fps on "size-agnostic" bootable SD card - test build lexmar 8gb class 6 - cpu 300 1100 INTERACTIVE
[Nook Color Android Development] Divine_Madcat:
IM sorry, but what does Neocore have to do with ANYTHING? The fix found was related to an audio buffer; that said, even if the fix was to something DSP related, it still would not effect the GPU performance, as the two are separate..
[Nook Color Android Development] Oskiee:
Since the latest update, i havent been able to install the market. Ive reflashed the newest one at least 3 times, and flashes gapps all those times. Not sure if im doing something wrong or missing something. Can anyone help?
[Nook Color Android Development] jbuggydroid:
Use the dps manger, enable equalizer and moved all bars up. I don't suggest going all the way to 10 at first. Move it to like 5 and see how it sounds. Then move it up gradually. That should increase sound a bit. Worked for me.

Does anybody know if here is an app that will let u toggle between mono and stereo? Wuld be nice to have te speakers on mono and the headphones on stereo or does cm7 do this automatically?

Thanks
[Nook Color Android Development] lschroeder:
I was the one who gave the Neocore score. I was just doing what was asked. Do not know anything about how the nook handles codecs, CPU, and GPU. I do know on pc's that GPU is real important for video playback if you have an underpowered CPU and that you need the right codecs for video and audio playback.

Is local video GPU playback enabled yet? Does Flash 10.2 enable the nook's GPU? In the two players that function for my mp4's, yxplayer Neon and Vital Player Neon, I have to set to software decoding and hardware decoding does not work at all.
[Nook Color Android Development] aludal:
Sure I might be completely wrong and Neocore scores didn't actually improved by last "video fix". I might have been puzzled by seeing the whole SGX SDK tree as a matter of last commit, instead of just adjusting buffer size.
[Nook Color Android Development] dalingrin:
Latest SDK isn't in the test build. That said, it didn't change the performance much if at all. With the latest SDK I get between 22.6 and 23 fps in neocore.
[Nook Color Android Development] evilPERSOn2009:
That is weird. gapps was not problem for me. Have you try doing a fresh install? Other than that I not sure what is going on.:o
[Nook Color Android Development] tootseroel:
bottom status bar

i have the latest test video build on my nook and was wondering how i go about using that rom and having the bottom status bar mod at the same time.
[Nook Color Android Development] Oskiee:
Just to make sure... How do i go about a fresh install?
[Nook Color Android Development] aludal:
Thank you for sorting out some things. By "latest SDK" you must be referring to your commit http://review.cyanogenmod.com/#change,4278. I wonder how much Neocore fps was it before. Then again, I must be completely mistaken, sorry for that uneducated guess, but I was of opinion that HW rendering/overlay is provided by SGX shaders, so any improvement/update here can help not just 2D/3D UI and gaming, but in video playback, too.
[Nook Color Android Development] Divine_Madcat:
Right, i understand that.. which is why i quoted the asker, not the responder. ;)

As it is, Flash has been DSP accelerated since the first video test build; now, with the audio sync fix, it can now play studder free. Hardware decoding is fine, assumig you ahve the video in a format the hardware can decode.

I don't believe the GPU has that much (if any) effect on the playback like that, so i wouldn't count on a huge change. Certainly, i doubt it will get worse, but the workhorse here is the DSP, not the GPU. As for what Neocore was before (why do you like that bench so much BTW? It was customized for Snapdragon hardware....), lschroeder already gave you a "pre" score.. 21.7.
[Nook Color Android Development] ADude:
The test video build fix has been submitted, so the next time that the bottom status bar mod is recompiled, he will have it.

So, to get both, you need simply install the next bottom status bar mod build.
[Nook Color Android Development] RoboRay:
You can't until one or both of them is merged into the nightly builds.
[Nook Color Android Development] aludal:
To Divine_Madcat:

. OK, OK, though I'm still of conviction that HW rendering/overlay is the function of SGX. Sure, it is controlled, audio-synced by DSP, but it's good SGX functioning/better OpenGL EX 2.0 realization that makes UI and video smoother.

I'm aware that Neocore is tooled mostly for showing up their Adreno, but the only other viable option would be using some metered test video clips, the same set for every new build, to see a progression -- if any.

On a side note, to see how good HW assisted rendering can be, one might try to use the latest Opera Mobile -- just to see how stock browser stutters in comparison.
[Nook Color Android Development] GrillMouster:
Last night I went from Customized Nookie Froyo v3 to to the 3/29 test build of CM7 with the 3/28 OC kernel. All I can say is Wow. Not only is video smoother than it ever was on froyo, but it's also stable. On froyo, pausing and jumping around would frequently cause forced closures that required a reboot to get video working again. With CM7 it's stable as a rock!

When the sleep-of-death issue is fixed, and when BT range is improved, CM7 will be killer!

I just noticed some bad color banding in photographs in CM7 that wasn't there in froyo. The banding occurs primarily in darker gradient portions of images. This happens in third party apps, like QuickPic, not just the native gallery app. The problem did not happen in Froyo and it doesn't happen on my Droid X using QuickPic. I hope this gets fixed, cause I was hoping to use my Android devices to display my photography.
[Nook Color Android Development] chisleu:
I thought RockPlayer was the best until I tried the website download of MoboPlayer Neon which is a much better player.

Then I tried the VitalPlayer Neon (free market app) and it is, BY FAR, head and shoulders above any competition.

I bought the $2.69 full version last night but we were unable to get it to work. After trouble shooting they sent me a refund and said "Enjoy the free version". haha

Free version is definitely the best player out right now though.
[Nook Color Android Development] :
remove android text on startup?

Just a minor thing:

I was wondering if it was possible to remove the little sideways android text on boot up, so it will just show the BN bootloader screen then the CM7 one :P
[Nook Color Android Development] dalingrin:
Keep in mind the SGX's involvement in video is simply the overlay. All the overlay is doing is copying the video frames directly from memory to the general framebuffer. Without the overlay the video frames would need to be moved from memory to the cpu then out to the framebuffer. The overlay is a very simple operation which does not require the use of shaders or OpenGL. As far as I can tell there is nothing holding back the video performance except the availability of codecs. Assuming you had a proper DSP accelerated 720P codec, it should play fine on CM7. I'll have more on the codecs later.

And yes, the only browser I use is the latest Opera Mobile because it is uses the SGX for panning and zoom. This can be independently verified by watching the power domain states.

lol, there is no convincing you that the SGX and DSP are working as they were intended is there?
[Nook Color Android Development] chisleu:
I think that is shown while the system prepares the kernel (decompresses? I forget)

Ran linux since pre-2.0 days (umsdos FS ftw! hah) but I've been off of linux for years.
[Nook Color Android Development] Divine_Madcat:
I believe that is challenge more difficult to fix than the remaining sleep issue.. ;)
[Nook Color Android Development] chisleu:
Am I the only person experiencing the random/rare stuttering in video playback? Happens all the time. Also, If I play a mp3 in the background and browse the web, the mp3 will skip from time to time. Used to be able to play a mp3 in the background and watch a audio-track less video without either stuttering. I think it is due to the smaller buffers.

I just want to make sure that I'm not the only one experiencing this.

EDIT: Oh this is interesting. Using most of the cpu frequency governors causes video to lock on the first frame. I usually use on demand, which is where I was having those minor hits of stuttering. I changed it to Userspace and the stuttering is much less often. I also found less stuttering in On Demand, when I set the min freq up to 600 and 800.

With 300/1100 User Space, I am having virtually no stutters. Only 2 (1 almost not perceivable, 1 strong) stutters in a 3m 34s test file.

Not sure what UserSpace does on our platform though. perhaps it allows the video player suggest max cpu freq?
[Nook Color Android Development] poofyhairguy:
Do you have some screenshots or pictures of this issue?
[Nook Color Android Development] :
Try interactive?
[Nook Color Android Development] :
Now that we're getting close...

There are a few things I would like to ask/see where people are:

Long pressing home seems to result in either recent apps showing up (with gradients taking up the whole screen) or in a smaller window (not taking up the whole screen). I know this has to do with the 161 LCD density "fix", but is there anyway to make it always be full screen?

I changed my density to 160, restarted, and my apps shows up fine. Could be a fluke, but does anyone else still have issues/is there a fix if so? (running most recent DSP fix + OC'd @ 1.1).

Maps still FCs, and I know (5.1?) works at 160, but was wondering if we're always going to be stuck with this issue?

Let me know if I'm forgetting something, and thanks everyone! This community rocks!
[Nook Color Android Development] Divine_Madcat:
I guess a full screen option would be nice, but i have to say i would vote against it being always full screen.

As all these bugs get fixed, we will run into more of these things, where people headbutt on preferances, and there is no "right" solution. That said, i doubt some of these things will change, since it is being kept uniform across all devices.
[Nook Color Android Development] chisleu:
With interactive it looks like it will allow the video to lag just a touch to keep the audio playing (very little if any stuttering)

I take back what I said about UserSpace. I just had a good couple of runs.

Interactive works great when I set the min to 1000 and the max to 1100. If I set the min lower, I get progressively worse video performance, although this governor will seemingly allow the video to lag to prevent the stuttering.

If I set it to 1100/1100, then it acts like the performance governor and the video locks on the first frame (audio plays, but video doesn't update.)

Note: Interactive governor is much better than ondemand at rendering the app drawer animation (with transparent background) over a live wallpaper. It has a little video stutter, but it doesn't stall when it stutters, it just seems to skip frames. Having to turn the min freq up to 1000 every time you want to watch a video is silly though.
[Nook Color Android Development] :
Very interesting.

I assume you've wiped everything (everything being cache and Dalvik cache)?

Also, maybe try fix permissions?

Min/Max shouldn't matter. I found video plays the same regardless of max (for 360/480 stuff).

Are you running the modified kernel by (madcat? something like that) or dalingrin's that he fixed when he got back (3/29).

Not sure if any of these would help, just going though some ideas...
[Nook Color Android Development] chisleu:
Are you saying you aren't having the video stutter etc? I've asked repeatedly but no one has directly answered. lol

I am running dalingrin's latest kernel and max definitely should matter! hehe. That min is mattering is troublesome.

If I'm the only one having this weird issue, I don't mind doing a fresh install with cleared system/cache/data to narrow that down. I flashed this over cm31 IIRC.

EDIT: Flashed madcat's kernel and no improvement. interactive 300/1100 still lags, but 800/1100 is better. 1000/1100 nearly flawless. weird stuff. This is on 2000kbps video. lower bitrates (600kbps-1200kbps) are much less intensive and less laggy.

going to do a clean install tonight after I save a few things.

Even on 600 min / 1100 max, 600kbps video has lag.
[Nook Color Android Development] :
Haha, sorry, must have skimmed over that.

So, your question got be curious, so I've been trying different apps to test for video shutter. Given our network at school seems pretty damn slow lately, but I've let some things buffer.

Tv.com app: smooth playback.

Youtube app: Consistent behavior: Audio plays right away, video is black until about 4-5 seconds in, then they play in sync smoothly. Seeking is fine, but seeking back to the start results in same behavior as starting video.

Flash plugin on youtube.com (using latest Opera): videos that have THE OPTION for HD (720, sometimes 1080), shutter for everything I try (360p windowed, 480p fullscreen). Videos without higher than 480p play fine both windowed and fullscreen.

TV Shows Stream app: All videos smooth.
[Nook Color Android Development] :
The thread that talks about video and has the handbrake profile for 600kbps gave me shuttered video as well. Sorry, didn't know you meant an actual video :P

Tried it on QQplayer, Mobi, stock, etc. All pretty much same result.
[Nook Color Android Development] chisleu:
That is my thread, and it works great 99% of the time. I might get out the video camera to record what I'm talking about.

My handbrake profile uses the settings that everyone has recommended for the NC.

because those resolutions are not supported in hardware.
[Nook Color Android Development] :
I know that, but I guess I just don't understand how youtube (website) works that well. Does it just compress the HD file to 480p, and that results in shutter?
[Nook Color Android Development] jbuggydroid:
Is there anyway to get nook speaker in mono and not stereo. I know a guy over at androidcentral is working on it but just wondering if u guys know of any apps to make nook speaker mono and leave headset jack at stereo.

Running cm7 with latest video test build
[Nook Color Android Development] chisleu:
I believe the speaker doesn't mix to mono, but only plays one channel.

I didn't see that "THE OPTION" part. haha

That is interesting.
[Nook Color Android Development] evilPERSOn2009:
Just to be clear is there an 3/29 kernel or are you guys referring to the cm7 video test build?
[Nook Color Android Development] GrillMouster:
Attached are two images. One is the original image, a small file of a graduated sky. The gradient was smooth on my desktop computer, in QuickPic on my Nook Color running froyo, in QuickPic on my stock Droid X. However, in QuickPic on my Nook Color running CM7, you see blocking up on the left side of the screen. The second image is a closeup photo I took with my phone showing this problem (ignore the bright light clare in the upper left). I notice the same thing in other photos that looked fine in froyo on the nook and my Droid X.

This isn't the banding that happens in the stock gallery app (which only uses 16 bit color depth and drops resolution of images). So far in CM7 I've only noticed this in medium-to-dark tones. I disabled dithering in CM7 settings and it didn't change.
[Nook Color Android Development] GrillMouster:
Running the 3/29 video test build and Dalingrin's 3/28 OC kernel and I, too, experienced the problem where at the beginning of a YouTube video the audio will play for a seconds while the screen is black, then video kicks in and is all in sync. Dragging the slider back to the beginning, the video kicks in a second earlier than before. Occassionally there will be a split-second blip in play, but that could be background processes or network issues. Wiping cache & dalvik didn't help.
[Nook Color Android Development] aludal:
Interesting... What was FULL version of that VitalPlayer Neon supposed to add and it didn't work? HW assisted overlay?
[Nook Color Android Development] chadamir:
Confirmed. Can someone try it on nook color not running cm7?
[Nook Color Android Development] chisleu:
It was just ad removal upgrade.
[Nook Color Android Development] RoboRay:
I see a Release Candidate build!!!

http://mirror.cyanogenmod.com/?device=encore&type=RC
[Nook Color Android Development] Divine_Madcat:
How??? Dal's video fix is NOT yet included (unless I missed something), and there are other things that need to be fixed. The nightlies are great, but we are still a few away from an RC....
[Nook Color Android Development] ADude:
Has there been any discussion of audio input ?

Presumably this would have to be via bluetooth.

What are the obstacles ?
[Nook Color Android Development] boqonx:
SGX binary for nook color had been updated. Can somebody test how this affects games/quadrant 3d test?
[Nook Color Android Development] chisleu:
I think it's supported. Try it out?
[Nook Color Android Development] Divine_Madcat:
NO changes...
[Nook Color Android Development] Calla969:
Flashed the RC and lost the reboot into recovery option in the shut down menu, ROM Manager won't bboot into recovery, and I can't boot into recovery by holding the n button at startup. Can't restore a backup. Any ideas?
[Nook Color Android Development] fattire:
There's actually a slightly newer version that dal said he'd update soon. But I wouldn't expect to see anything new. The one new feature that I thought was interesting was:

[NEW] Active power management supported on OMAP35x/37x devices.

(The nook is a OMAP3621, which is an OMAP3630 w/o a camera) I've no clue what this "power management" support will add. Maybe nothing.
[Nook Color Android Development] chisleu:
You have to flash CWM it before you reboot into recovery. Will it not let you flash it?