yashsingh1/xdaforums huggingface dataset:
[Nook Color General] lschroeder:
In my posts a couple above I have an average bit rate and a max bit rate. I set the resolution to 768x432 with a Level 3.0 to get hardware acceleration. I could set the average bit rate from 1000 Kbps to 1500 Kbps and max bit rate from 1500 Kbps to 3000 Kpbs, do you think that the improvement in video quality would merit the increase in file size? The source is an Hauppauge HD PVR mp4 from 1080i comcast encrypted HBO recorded at its highest quality. The original recording quality is lower than Blueray but higher than DVD.

I can not increase video size any bigger. If I do I lose hardware acceleration and 16:9 aspect ratio. It does scale to very close to full size in the default Movie video player with the correct 16:9 aspect ratio.
[Nook Color General] chisleu:
Oh no I got the point. That's cool. I get that you get off on high speed scrubbing. We all have our own "holy crap look at this" things. Mine is getting an 854 width video to play without any skipping for 2 hours straight. OK, one single skip would be ok, but not 1 skip every 2-5 minutes.
[Nook Color General] 360Razir:
Did you try my HB settings just for giggles?

When I get my BD player for my PC, then I will be able to play around with the 854 widths. As of right now, I am playing a 720x368 @ 159Kbps .m4v and the only skip I had today during about an hour of viewing is when an email came thru and the notification sound went active.

I did go through each running program last night and used Bloat Freeze to disable all of the running programs in order to ascertain if it was an app (system or user) or widget that was causing the choppiness. After testing each app, I have kept some "frozen" and "defrosted" the others that were needed.

Finally, I did play around with some of the "Performance" settings of the kernel within CM7 and I changed "Compcache RAM Usage" to 26% and checked "Allow purging of assets" and then rebooted. I am not a coder/developer/programmer/kernel guru, so I have no idea if changing those settings made a difference. However, from a usability perspective, I am not experiencing the stuttering that I once did, so until I hear back from someone that changing those two settings are "bad", I will probably roll this way for now.

Also, I am not seeing dalingrin's settings for HB in the OP....am I just missing it somehow or is it in another thread somewhere?

~ Razir
[Nook Color General] mkm1126:
I thought I would chime in here . . . I am running CM7 with Dal's 3.31 kernel set on interactive with Max cpu 1100 Min 800. I use DVD Catalyst 4 with default Nook profile. Videos are perfect. No stutters, no pauses. Same video with stock or Dal's 4.04 kernel I see pauses, pops, and stutters.
[Nook Color General] chisleu:
I think Compcache RAM Usage is worse for performance? Doesn't this compress the ram to increase capacity at the cost of performance?

I don't know what "Allow purging of assets" does.

I am going to reinstall the 3/31 kernel but I am sure I had stutters on it too.

I get fewer stutters on performance mode as well, but that isn't the point, or is it?
[Nook Color General] MedLine:
Well, obviously not. On a 7 inch screen running video resolutions within the NC's comfort zone I personally don't see any improvement in image quality above video bit rate of 800 -1000 Kbps. I was just trying to show off the NC flexing its muscle handling video in CM7 with dalingrin's OC kernel.

Nice work with VideoRedo, by the way. There's probably a few WMC refugees or DVRMS veterans who still have VideoRedo laying around that can use it for NC video.
[Nook Color General] MedLine:
Scrubbing through video footage is extremely processor intensive and requires a lot of specialized code. There's a lot of us who pack desktop boxes with Nvidia GeForce GT 200 and up video cards (GT 240 in my case with 96 CUDA cores) to hack the Adobe Mercury Playback Engine. We do it for a single reason, and that is to enable smooth scrubbing of video footage for nonlinear editing.

That the CM7 crew and dalingrin with his kernels have managed to get Gingerbread scrubbing H.264 video on the NC is the best example of how good video playback already is (or at least can be, for users with persisting video playback bugs).

That's all I was trying to say.
[Nook Color General] MedLine:
Will somebody please high-speed scrub through video and tell me that it's not just me able to do it.

While playing video with stock player, put your finger on the middle of the screen and slide left or right.

This should be the new bar for video playback. So what if video plays back smoothly. You haven't optimized video encoding until you can high-speed scrub with no dropped frames.
[Nook Color General] mkm1126:
True that, but if I want that, I'll use hardware meant for that. This will let me skip forward and back and plays well. Much more than I expected to see the Nook do. Just sayin . . . For me, this is great!
[Nook Color General] chisleu:
Thanks for that. I reinstalled the 3/31 kernel and using interactive 300/1100 I get completely stutter free playback of all my files, including the 854 eagle I did (and the other guy's eagle too)

The only difference is some file system stuff? Doesn't make sense but I get through my high action 854x480 2000kbps files no problem. Check this one.

http://www.mediafire.com/?d42dmvva9vbigm2
[Nook Color General] chadamir:
So is compcache worth enabling on the nook?
[Nook Color General] chisleu:
We only have 512 megs of ram. It can increase that, but the way that JIC and android in general works, you don't typically need a ton of ram. I disable compcache (I think it's disabled by default even though it doesn't show anything as selected?)

Maybe someone needs it for something, but I don't know what.

EDIT: btw, I can play my RF:20 Sony HD Experiment with 48k/160 audio. I don't even change it to stereo from PLII.
[Nook Color General] mkm1126:
Nice! Works great here too.
[Nook Color General] chisleu:
I just uploaded a 26MB test file to my nook over .11n wifi, while playing a high quality movie.

The audio didn't stutter once.

The VIDEO did have a bit of lag from time to time.

3/31 was intended to fix a problem we were having in performance mode watching movies (but they worked fine in interactive. In interactive, if they got to a point where they would have stuttered, the video might drop a frame but the audio wouldn't fall out.)

In 4/4 the audio will drop out and it will stutter.

In 3/31 the video will skip a frame (as it should) to allow the audio to go stutter free.

I can also play mp3's in the background while doing stuff (copying files, etc) and the mp3 doesn't stutter.

So should I post this in the OC kernel thread? :D
[Nook Color General] MedLine:
Plays well on my nook. Not quite my taste in music, but plays well.

I can feel my nook straining a bit, though ... high-speed scrubbing through it will drop a few frames. :)
[Nook Color General] MedLine:
Also changes to how virtual network kernel devices supported.

Dalingrin OC kernel 033111 installed tun.ko module in system/lib/modules.

Beginning with CM7 n37, tun/tap support was baked in stock kernel and a dev/net/tun device was installed with the nightly.

Dalingrin OC 040411 kernel removes both, but TUN support still provided, I am not sure how, that dalingrin is full of tricks.

Thus, among other things when you flashed back to 033111 you get a tun.ko module back in system/lib/modules (or at least I think you should).

I don't see how this would affect video playback though.
[Nook Color General] chisleu:
yeah. That's because it's 2000kbps of 854 width. The small res "eagle" decode drops frames when you slide the bar around as well, but it is less noticeable because of the lower resolution. Of course it drops frames... try it on a longer file than 2.5 minutes (ie, 2 hour movie) and you will have to go super slow with your finger or it will go nuts.
[Nook Color General] chisleu:
hrms. I might try the stock kernel.
[Nook Color General] chisleu:
Flashed CM7.0 final just now and I did not install the OC kernel.

video is perfect on the stock kernel 925 max on demand.
[Nook Color General] MedLine:
Flashed the new stable CM7, decided to flash 033111 kernel since I was already flashing. My video playback was already very good with 040411 kernel, mind you.

But I have to admit, it's even better reverting back to 033111. The 854x480 2000 Kbps video file from chisleu flew through high-speed scrubbing, for example.

You guys are on to something.
[Nook Color General] MedLine:
Wow, CM stable with 033111 kernel, just played and scrubbed through a 576x240 5000 Kbps file.

Definitely better than with 040411 kernel.

Well I guess call that a problem solved, and that we all have new found appreciation for Nook Color video playback capabilities.

Edit: Forget about Quadrant scores, how badass a video file can you get o play on the Nook?
[Nook Color General] liqn7:
Can someone very quickly confirm whether CM7 stable plays .avi files now with the help of a player like Vitalplayer/Rockplayer etc?

.avi files work in froyo with vital player and its the only thing holding me back from flashing CM7 at the moment.

cheers :)
[Nook Color General] snives:
AVI plays fine in rockplayer in software mode for sure. I haven't tested AVI via hardware mode ever. I stream AVIs with UPnPlay and Rockplayer on a regular basis.
[Nook Color General] chisleu:
srsly. I encoded a 1080p music video (~3minutes long) with RF:0 ("lossless") and the output file was like 675 megs. I recoiled in horror and deleted the file, but now I wish I had checked to see if it would play. haha.

I have been encoding like a madman. I did the BBC's Planet Earth last night although it is really meant to be played in 1080p and some of the scenes look bad when not in 1080p (zooming out on a giant flock of birds for instance, it just turns into a white mat.)
[Nook Color General] MedLine:
I agree, once a few more posters confirm the 033111 kernel finding, chisleu, would you please take us back to the kernel thread. It feels lonely out here.

EDIT: That kernel thread looks a little neglected since we took the discussion here anyway.
[Nook Color General] chisleu:
I'm sure it will play in software mode with VitalPlayer. I've been unable to get many formats to play properly synced in RockPlayer. I prefer VitalPlayer Neon.
[Nook Color General] japzone:
CM7 Stable?

I've been leaning towards switching from Nookie Froyo to CM7 but I've read that Video playback only works with a Bluetooth headset. Has this issue been resolved in the Stable Release? I have no interest in getting a Bluetooth headset just to watch Video.

Also what are the best options for watching Videos on CM7. In Froyo I've been using Rockplayer and have really enjoyed it but are there better options for CM7? My requirements are smooth playback of most formats and subtitle support. Plus I like the Output monitor in Rockplayer that lets my see the framerate and other things like Battery life. Also Video resizing would be nice but not required.

Thanks in advance
[Nook Color General] Gin1212:
Who told you that you need a bluetooth headset to watch video...? Completely false, rockplayer and vitalplayer will both play videos fine with software mode (and some in hardware mode if encoded correctly) enabled and you can choose to use headphones, speakers or bluetooth speakers(I think; should you want too)
[Nook Color General] japzone:
Thanks for the quick respose :)

____________________________________________________

Sent from Nookie Froyo using Tapatalk
[Nook Color General] LarcenQ:
Ok, so I'm starting to think my nook is lame. Or broken. Or just, I'm an idiot. Even with encoding movies @ 1100 or less bitrate I get stutters every now and then, randomly. Your video file there of the asian chicks is more common stuttering. If I use the 3/31 kernel, 300/1100 interactive, ondemand, performance, 800/1100, different governers, wifi on or off, none of this has any effect on playback for me.

CM7 (stable)

OC Kernel(s) (Both latest, and 3/31)

Internal Memory install

Pulling Video from Class 6 16GB A-Data SD Card

Using the 'built in' Movie Player (Could this be it?)

I dunno, Maybe I'm just not holding my mouth right, cause others seem to not be having -any- issues playing video files.

ALSO! I dunno if this has any bearing on this, but even 3 feet away from my router, and Pandora skips now and then too, as if I had a bad connection or something. Bah.
[Nook Color General] breebauer:
Does anyone know where I can get the 4/11 kernel?

I never got a chance to download it, and the link from yesterday isn't working...

Thanks!
[Nook Color General] LongbowFoSho:
Well, since I can't downgrade from the 4/12 kernel back to 3/11 without bootlooping, I'm stuck with jittery video. YouTube jitters, MP4s jitter, everything jitters.

I've tried every combo of governor settings imagineable it seems.

This sucks. Video is the last frontier before I feel like I'm truly comfortable with taking this thing to Afghanistan. Otherwise, I might have to get an iPad. At least I know it can play videos without wasting hours trying to optimize.
[Nook Color General] keyodi:
I had to reflash CM stable, then OC 4/4 (or any other OC kernel) in order to fix the boot loop issue.
[Nook Color General] chisleu:
pm me your email address
[Nook Color General] ryanmcdonald:
Super easy FFMPEG script for great looking video

For everyone who detests video converters because of the the awesomeness of ffmpeg... :)

This is a Linux/BSD script but this can be adapted to Winderz easily.

#!/bin/sh

#Quality: sane values for crf are 20-26 (20~hq, 26~economy)
options="-vcodec libx264 -flags +loop+mv4 -cmp 256 \
-partitions +parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 \
-me_method hex -subq 7 -trellis 1 -refs 5 -bf 0 \
-flags2 +mixed_refs -coder 0 -me_range 16 \
-g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 \
-crf 21 -qdiff 4"

audio="-acodec libfaac -ar 44100 -ab 96k"
#audio="-an" #no audio

scaleopts="-vf scale=720:480"
#scaleopts="-vf pp=lb,scale=720:480" #with deinterlacing

#aspect="-aspect 4:3"
aspect="-aspect 16:9"

timeopts="" #process entire clip
#timeopts="-ss 200 -t 15" #start 200 seconds in and run for 15 seconds

ffmpeg -y -i "$1" $audio $scaleopts $aspect $timeopts -threads 2 $options "$1.NC.mp4"
[Nook Color General] LarcenQ:
UPDATE:

So. As it would appear, flashing back to 'Factory' install, meaning as it was when I opened the box, I can play just about any video thrown at my Nook. So happily its not a hardware issue on my end. Also, Pandora plays just fine. Unfortunetly it would appear 'my' CM7 isn't capable of handling even the lowest of quality video, and especially the higher quality ones. As much as I enjoy CM7, I'll be sticking with B&N Rooted until this is rectified.

Nice, with all the options in ffmpeg I've bee dreaming of the day I run across a script such as this. One question though, as I'm about to leave for work for the day and can not try it out myself, whats the quality to file size ratio like? HQ/file size to LQ/file size? Thanks!
[Nook Color General] long2know:
When I was using Nookie Froyo, I could play 720p videos over CIFS with Rockplayer. Now, with CM7 final, I can't even play low bitrate DVD-quality video in Rockplayer from emmc or sdcard. It's pretty frustrating.
[Nook Color General] LongbowFoSho:
I can also confirm that the stock ROM plays video flawlessly. I wiped and went back to stock, used the same 854x480 1500 kbps DRC 3 44.1 Khz episode of The Office that I've tried on CM7 for all of my testing and the stock ROM blows CM7 away, even at the stock CPU speed.

So far, the only benefit I can see to CM7 for me is better PDF viewing. I don't need BT or Flash, so if I can get PDFs working right, I'm good to go. The stock ROM doesn't handle large PDF files well, although I'm going to try to overclock up to 1100 and see if that makes it bearable on 2.1.

If not, I'm selling the Nook (already have a buyer waiting) and getting an iPad.

EDIT: Crazy Quadrant results. Even though CM7 at 1100 Mhz with the 4/11 OC kernel nets Quadrant scores of over 2400, video framerates during the benchmark are consistently lower than on Eclair with the same kernel at the same speed with an overall Quadrant score of ~1100.

Does Froyo have any video issues?
[Nook Color General] dalingrin:
Try this ALSA tweak in combination with the Conservative governor.

http://xdaforums.com/showpost.php?p=12888347&postcount=1344
[Nook Color General] LongbowFoSho:
I'm sure this isn't anything new, but I can now definitively say that CM7 itself isn't causing the video issues. The stock CPU kernel plays video flawlessly on CM7, as does the 03/11 kernel. I loved the speed of the 4/12 kernel, but the video issues weren't worth it.

What is the consensus on the newer kernels with video? Which one is best?
[Nook Color General] Deaks2:
See what dalingrin posted above...
[Nook Color General] LongbowFoSho:
I'm on the 3/11 kernel now.

Any confirmation that its actually fixed? More specifically, is there still a boot loop from trying to revert back to 3/11? I really don't want to wipe this thing again if the test kernel isn't as advertised.

Also, does a recovery include the CPU kernel?
[Nook Color General] dalingrin:
You didn't need to wipe in the first place....
[Nook Color General] HTCF4N:
Yes it does. Nookie Froyo plays videos flash and youtube videos fine, but when it comes to hardware accelrated video, there's a weird issue with the video playing only in a squeezed portrait mode after the video plays correctly in landscape the first time video is launched.

At first, I thought it was the OC kernel, but I can confirm that it's in the NF core since I tried going back to stock NF kernel with the same results. Nookie Comb has the same issue when I flashed it over the NF. If anyone wants to confirm, play a couple of trailers in Movie Fone and you'll see.

I recently tried CM7 latest nightly and the same videos played well with hw accleration and it even scales according to the accelerometer and not forced landscape.
[Nook Color General] LongbowFoSho:
I did at the time because reverting to the 3/11 or 4/11 kernel caused boot loops.

I'm glad I did wipe it though, because it allowed me to see that the Nook can actually play video quite well on the stock CPU.

Anyways, never got an answer to my questions. The help is appreciated.
[Nook Color General] Divine_Madcat:
No, you still didn't need to fully wipe. All you had to do was reflash the CM7 stable zip over your existing install, and you would be all set (aka, no lost programs or data)..
[Nook Color General] chisleu:
I made a revert kernel, but dalingrin found the source of the underlying issue causing certain kernels to misbehave. Check the kernel thread. He has a fix.

Back to video chat!!! YEAH!!!! This new alsa w/ the new kernel is amazing..

uploading 52 meg 1:50 test file... hehehe..

edit: damnit.. it crashes the NC. haha. going to try (just) 3000kbps.

3000kbps works... I mean... i do miss that 1300kbps, but I will live. uploading to mediafire now.

WATCH THIS:

http://www.mediafire.com/?5a07xb5vxpdx5aq

Tell me that's not magically delicious.
[Nook Color General] a.fenderson:
I can't get the download to work under IE 7, Firefox 3.6.13, or Opera: the page reloads endlessly. Chrome reports it as a 403 denied: is this a public link or private?
[Nook Color General] chisleu:
works for me. *shrug*

EDIT:

http://www.hd-trailers.net/movie/pirates-of-the-caribbean-on-stranger-tides/

The 76 meg file, 2nd line (right now) with the "MF" icon on the right. downloaded the (~4300kbps video 720p) video...

Plays in software w/ VitalPlayer Neon. Hucka Chucka. Not flawlessly though QQ

No audio chop but the NC just can't keep up with the video. I can't believe it played such a huge kbps file though. That's incredible in it's own right.

If we had some of the processing being done by the dsp instead of the processor then I'm certain the NC could display it. I think it would have to be scaled to 854x480 before being fed into the hardware accel, although I think the CPU could handle it.
[Nook Color General] Divine_Madcat:
Try that same video in Mobo player, and prepare to pic your jaw up off the floor......
[Nook Color General] chisleu:
had trouble with mobo syncing audio on software accelerated videos. I guess with the new audio stuff working... :)

HOLY CRAP.

Still, 4000kbps... seriously... overkill! I guess if you have 720p/4mbps videos and you absolutely don't want to convert it... or if you have a 32gb SD (holds ~5-6 720p movies)

neeto. When did mobo get this awesome interface??? :)
[Nook Color General] 360Razir:
Did you encode the movie? If so, did you use Handbrake? If so, what were your settings? I am downloading the file now. Thanks.

EDIT: Glad I have another video test other than the "Eagle" trailer that Med posted awhile back. I have watched that trailer well over a 100x's by now :)
[Nook Color General] Divine_Madcat:
Did you try it with the "hardware" mode (ie, not holding the file and selecting software). Aside from just a minor slowdown here and there, the video played perfect...
[Nook Color General] chisleu:
Uhm yeah I kinda assumed it was playing in software mode... I assumed wrong it seems. how why what?

No sir that is the original 720p file. It's 4300+kbps. rediculously big for us. I think the max we would need for testing/showing off purposes is in the 3000kbps range for 854x480 video. I wouldn't use this for everyday use, but for small videos. I don't use avg bitrate for my everyday type conversions. I use RF:22-18 (18 for 1080p source, 22 for lower quality 480p source)

No reason for me to make files bigger outside of showing off.

EDIT: PROBLEM

Am I the only one having this issue?

clean cm7 n 39 + 4/13A kernel + alsa fix

Sometimes when I play videos it freaks out and mobo/vital/etc start refusing to play in hardware mode. If I try enough times it can lock up the system. Requires a reboot to fix.

I am going to try to make it happen reliably.
[Nook Color General] Divine_Madcat:
I had the hard lockup once - you are not alone.
[Nook Color General] chisleu:
Yeah another has reported it in the kernel thread. glad I'm not alone. If there is any way I can help test I will.

Learning android API so maybe I can be less useless for The Cause(tm)

Something fun and video related. I can record videos w/ shootme now (show people how to turn off features and such.)

It works best at 3 frames per second for me, with animations off (so settings doesn't slide in or whatever)

It can play directly on the nook, fullscreen, with software accel.
[Nook Color General] Canadoc:
was just about to post the same thing. a video I watched earlier to day in hardware mode refused to play in the movie plaster out mobo player. Weird. Tried rebooting and it worked fine.

Last week the same movie would nor play St all in hardware dip definitely some big improvements. Would be nice to know how to fix the file wont play problem requiring reboot.

From 1.1 Nook Color with 1.1 ghz overclock
[Nook Color General] chisleu:
If you long press the file you can force it to play in software mode, which is perfectly fine. It will get addressed. I'm sure this is related to the change to alsa so maybe it will be easy to narrow down. It is amazing what open source development is doing on handheld devices! :)
[Nook Color General] Canadoc:
Yeah it is. I watched that trailer for the pirates movie and steamed it watching in mobo player and it was awesome!

From 1.1 Nook Color with 1.1 ghz overclock
[Nook Color General] a.fenderson:
@MedLine et al: If high-speed scrubbing's your thing, try this clip: it's 1024x600 M-JPEG downscaled from a Blu-ray rip. Being an intra-only codec and normally used for NLE, it should do quite well. Further discussion here. With all the reports of near-perfect playback of true 1280x720p material, though, it's probably only a matter of time until someone hits on a combination of software and encoding options that provides perfect playback of high-quality 1024x600 (or above) AVC material, rendering my experiments in this area moot--here's hoping, anyway.

@chisleu: I finally got your Handbrake-encoded Insidious Trailer downloaded, the quality is awesome @ native, but I don't have a Nook Color yet: how subjectively sharp is it after scaling to panel-native?