![]() |
#46 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
I just wanted to show support for Geekmaster here.
Excellent job on this. Some details on piping a video thru the dithmatron would be greatly appreciated. As an almost first time c coder I find the structure daunting but no doubt it will become clear with some actual elbow grease. Compared with implementing Cross-platform tool chains this looks to be fun in the making. Much appreciated. I, for one, am definitely watching your work, with admiration. If I can hookup a viddy in the sometime I will. Last edited by twobob; 01-10-2013 at 07:21 PM. |
![]() |
![]() |
![]() |
#47 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Read the posts of that thread for details and then the first post of the thread for current info. |
|
![]() |
![]() |
![]() |
#48 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
For my own personal preference, I like as much of the code "above the fold" visible with no scrolling) as possible. I let my eyes dart around in what is visible, as I absorb the code, and the more visible the better (for me). I am glad you enjoy it. My demos are really just examples that demonstrate how to use the ALGORITHMS and function that I present (which is why they are called "demos"). The point is to teach people how to use fairly low-level access to computers that is quite "cross-platform". I my case, I usually try to support all the eink kindles, and I plan to add support for Nook Simple Touch to my future demos (now that I have one). I also make my demos use a single C file, so they are easy to compile with gcc or tcc (tinycc). Graphics demos usually run a lot faster if cross-compiled with gcc, than when compile on the kindle with tcc, but tcc can be easier to install and use (from an SSH shell). |
|
![]() |
![]() |
![]() |
#49 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Also, check out the newtrix demo thread, and the geekmaster kindle video player thread (and the videos in it). They have newer versions of the eink update logic.
|
![]() |
![]() |
![]() |
#50 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Kek.righto!
Quote:
Ah happy days, I see that project now. I will carefully pick that which I need. At the moment I have the arm-none-linux-gnueabi-gcc in action. But I have a few more to try out as well to see what suits the task I have in mind best. They seem much of a muchness to a newb like me ![]() No doubt there will be a speed / size advantage to each. Time will tell. Really appreciate you guys putting this stuff out here. Lifesaver. |
|
![]() |
![]() |
![]() |
#51 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
you betcha
Quote:
Always happy to help out when I can. perhaps if you get a moment (and yes, I've read a great deal about your obligations vicariously so I'm not holding my breath) you could shove me a look-see at some audio-code. No pressure, I'm working on it anyhow and I'll be putting it out MIT or something if I actually manage something of note. Cheers |
|
![]() |
![]() |
![]() |
#52 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
The quotes show two built-in audio players, both that can accept audio (different formats) piped from STDIN:
https://www.mobileread.com/forums/sho....php?p=2080308 As I recall, aplay needs a parameter to tell it that the input format is "cd" audio, to match what ffmpeg puts out. I never got around to posting my "all features" static build of ffmpeg for the kindles (tested on K3 and K5). I think I still need to post my "raw2gmv" video trancoder too. I could pipe ffmpeg|raw2gmv|gmplay on a K5, but a K3 was only fast enough to pipe raw2gmv to gzip and to a file (like videos saved in the gm video thread), then play that with zcat piped to gmplay. The problem with ffmpeg is that even the online guides show starting multiple instances of it, one to output video and another to output audio. Both output streams sync to the input framerate, so the stay in sync. If you want to do something useful, try building ffmpeg with also sound. I think I had toolchain version problems. NiLuJe suggested a hint to fix alsa sound in the gm video thread, I think... |
![]() |
![]() |
![]() |
#53 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Also, the same algorithms that make the interesting Moire (aliasing) effects in some of my demos also work well for audio instead of video. I used to do audio in the olden days when the only affordable "video" device was blinking front panel LEDs, and audio only needed a single output bit driving an audio amplifier. Back then, we used guitar amplifiers because computers did not have amplified speakers (or even sound cards).
![]() |
![]() |
![]() |
![]() |
#54 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
yes indeed, my old vic 20's 16k (WITH RAM PACK!) of ram seem silly now.
and the STFM was indeed revolutionary. I am indeed trying to construct a very healthy toolchain using buildroot but when I compile the GCC ver 4.4 I get... /tmp/ccSlmrCk.s:33: Error: selected processor does not support `bx lr' How hum. I'll keep digging until I get one to completely build. The advantage of buildroot is allegedly a large client-ready toolset. let's see how it goes I'm a couple of days into doing that one now. Yeah audio. I've done a bit, http://soundcloud.com/twobob always happy to get my hands dirty. I'll keep digging then. and read the links to death again. Much appreciated Last edited by twobob; 06-30-2012 at 07:37 PM. Reason: 16k was with RAM PACK Extension. 5kb was standard install... more typos |
![]() |
![]() |
![]() |
#55 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Check out the KeK thread for a toolchain. I just used CodeSourcery to build ffmpeg (and my demos). I also test my demos using tcc (tinycc), which is packaged to run on all eink kindles (in its own thread, which can be found in the tools index). Beware that programs compiled with tcc run a lot slower than if compiled with gcc, but tcc is very handy for on-kindle development and debugging.
|
![]() |
![]() |
![]() |
#56 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#57 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
There is also a "getting_started" guide (with same build number in name) in the tool collection provided by Mentor Graphics. Following the common MR practice, the first post is being kept current with the overall state of the project. Last edited by knc1; 06-30-2012 at 09:26 AM. |
|
![]() |
![]() |
![]() |
#58 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
![]()
Just to be clear:
I have Codesourcery toolchain 90% installed. (I need to find a suitable root AFAIK to do the full-job-monty-compile but the arm-none-linux-gnueabi-gcc -03 works fine with a single c file argument ) I can report that Buildroot does not like to play on Slackware 64 multilib. but looks AWESOME on a system it would work on.... so to that end.... I'm half way thru a CLFS build just to be good and thorough. I'll go 32 bit and KISS. see if I can get us some of those toys. ![]() I have downloaded and used the TCC. works great ![]() So really Kek is my last port of call and it seems it should have been my first one. Ho-Hum, this is the way of things. but it was quite the learning curve ![]() no but seriously. Kek here I come. Happy days. the CLFS can wait a while. I want to play!!! Last edited by twobob; 06-30-2012 at 07:36 PM. Reason: typos and such |
![]() |
![]() |
![]() |
#59 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Did someone sneak in some Freescale defines I didn't notice? Or did you add them youself? If so, please contribute them to the Buildroot project. |
|
![]() |
![]() |
![]() |
#60 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@twobob: There's sporadic evidence that Amazon uses scratchbox internally, if you want to go the whole LFS way of things, and not just a X-TC
![]() (I know, it's fun to point to another project after spending two days making faces at buildroot, no? ![]() I personally only need a TC, so crosstool-ng suits me just fine, but YMMV ![]() Last edited by NiLuJe; 06-30-2012 at 07:10 PM. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Troubleshooting Kindle and math formula | DrShakalu | Amazon Kindle | 12 | 12-11-2011 07:25 AM |
Formula Plots | PuxyYunm | General Discussions | 9 | 05-15-2011 04:19 AM |
Demo: Jetbook mini official demo | bookwarm | Ectaco jetBook | 36 | 09-21-2010 12:18 PM |