05-09-2012, 05:16 PM | #76 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
@ixtab: s/fluent/fluid/
|
05-09-2012, 05:19 PM | #77 |
(offline)
Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Fixed, thanks. Damn foreign languages! And I thought my english was quite fluid
Last edited by ixtab; 05-09-2012 at 05:30 PM. |
Advert | |
|
05-09-2012, 05:22 PM | #78 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
(duplicate post removed)
Last edited by geekmaster; 07-11-2012 at 06:28 PM. Reason: (duplicate post removed) |
05-09-2012, 05:23 PM | #79 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
|
|
05-09-2012, 07:52 PM | #80 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
I added some references to this post (in the P.S. section):
https://www.mobileread.com/forums/sho....php?p=2075591 Please read them. Study what you need to understand them. It will help your brain. I promise. Last edited by geekmaster; 05-09-2012 at 08:04 PM. |
Advert | |
|
05-10-2012, 05:57 PM | #81 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
The "snow" demo:
./gmplay</dev/urandom EDIT: It seems that the K3 cannot generate random numbers fast enough, so it falls into "frame drop" mode designed for the DX and DXG. I have a modified (unpublished) gmplay that works at lower framerates, needed on the K3 when watching HD video that ffmpeg running on the K3 cannot decode fast enough, and that plays /dev/urandom as fast as it can generate the random numbers, with no dropped frames (instead of almost all frames dropped as you can see in the published gmplay program). But on the K4 it is fun to watch /dev/urandom. UPDATE: Here is a MUCH faster source of video to watch (much faster, and has "patterns" showing the contents of your usb drive. If you have raw uncompressed gmv videos on the USB drive, you might even see them somewhere in this video "program": ./gmplay</dev/mmcblk0p4 Last edited by geekmaster; 05-10-2012 at 06:10 PM. |
05-10-2012, 08:19 PM | #82 |
(offline)
Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Well then, mmcblk0p4 is a bit like the TV program these days: Lots of bullshit, and if you're lucky, sometimes, something useful in between
|
05-10-2012, 08:36 PM | #83 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
Luckily, it is a "smart" TV, so when the spouse is not around to be annoyed by it, I can flip over to TED Talks and Revision 3 internet TV. |
|
06-29-2012, 09:06 AM | #84 |
( ͡° ͜ʖ ͡°){ʇ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'm Digging around getting the audio working. (That's my background) any tips? I got the video streaming working and I know GM is close on this one already.
I would PM but I'm sure everyone want's to know. I got my tools working now. Happy to help. |
06-29-2012, 09:18 AM | #85 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
I compiled ffmpeg to run on the kindle (with all options, but no alsa sound). I can play a video, and output RAW 800x600 monochrome video to my "gmvid transcoder" (piped through stdout/stdin). The pipe that to gzip and to a file (which is how I transcoded the *.gmvid.gz files in the first post). I can ALSO start another instance of ffmpeg playing the audio piped to stdout, then to the kindles built-in audio player (using stdin). On the K4 and K5, it can play realtime video and audio that way (even from x.264 1080p source material). But on a K3, it works better playing 640x480 DivX video). The K3 cannot do x.264 decoding in realtime (using the compiler options I used to build ffmpeg). My ffmpeg can also record the kindle framebuffer direct to video. What I really want is a program that can output video and audio without audio glitches (like the other kindle video player does). If we want to continue supporting piping like I use now, I need to interleave the audio into my gmv files (which are now just raw dithered 600x800 video packed 8 binary pixels per byte, no file header). I was thinking of adding a file header OVERLAYING the first video frame (for compatibility with old players). A new player could detect a magic number in the header and not display that first frame. The header could say what kind of audio it contains, and other video stuff)... Just ideas. I do not remember -- did I even publish my gmvid transcoder anywhere (stdin 8-bit pixels, stdout dithered packed binary pixels)? If not, I can do it in a couple of weeks. P.S. What did you think of the "Harvey" video? |
|
07-01-2012, 07:12 PM | #86 |
( ͡° ͜ʖ ͡°){ʇ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
|
Harvey. moody and cloying. with 70's angles and lots of crazy 1st person.
The split in half man is bonkers. disturbing metaphor, great visuals though. My favourite is Harold Lloyd, one of my all time fave movies as a kid that one. The actual movie aside I can report it plays beautifully on the K3 in normal mode. I get about 6 - 7 1/2 Fps which is surprisingly effective on the Eink screens. Pretty certain I've exhausted every movie and file available now so I'm working on getting the ffmpeg going now I have scrathbox up and running. Walk then run I thought. possibly with a little crawling thrown in for good measure. I'm playing with a few ideas now to get some audio linked with the other interfaces on the device. undecided if procedural, or wave table is the way to go. Need to get spitting out some data to have a see how the device s performs. In a way writing for embedded reminds me of writing back in the day. It occurs to me that the last chip specification manual I read was for the 86000 series. Better get with the times. Excited about streaming some raw date thru the transcoder. Aif is more visually exciting than Wav without any adjustment at all. Ive been considering the data rates and what slices would work best for some audio to video trickery. Anyway. : ) Would seriously love to get my hands on that. When you have time. Many thanks |
07-02-2012, 12:22 AM | #87 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
Regarding sound, I am a huge fan of procedural encoding. Using procedures to generate video (such as procedural textures) is about as dense a form of compression as you can get, and the same for audio (such as MOD files). In fact, I used procedural video to generate the first video that I posted. I ran the program on a linux host PC, and sent the output through my raw2gmv program, then into gzip, to create that video file. That program can also run on a kindle, and that "procedural video" program is MUCH smaller than any video compression that you can apply to the output video. Creating content in real time is definately the way to go (unless you want to preserve natural content). Of course, modern codecs are BECOMING more procedural, where the do feature extraction and object recognition, saving the instructions (i.e. display list) to recreate a close model of the original content on playback (much like how the human brain operates). This requires a lot of processing power, but we are getting there. For sound, you know that some very simple algorithms can simulate some rather natural sounds (as used in simple non-wavetable music synths like in greeting cards). Regarding the raw2gmv transcoder, I will publish that when I get back (a week or so). I have not finished implementing my parallel (4-pixels per operation) dither algorithms, but I have proven it "on paper". I try to avoid conditional branching on modern multilevel cache processors, by using complex logic expressions (how I do my recent "NOT formula 42) dithering without a dither table. Essentially, I figured out how to generate a dither table in realtime in a cache-friendly way and logically interleaved that with the pixel dithering code. You can see the non-parallel version in the gmplay source code. For a hint of how I procedurally created my first video, see the "goodbye()" function in the newtrix demo. TTYL Last edited by geekmaster; 07-02-2012 at 12:24 AM. |
|
07-05-2012, 03:34 PM | #88 | |
( ͡° ͜ʖ ͡°){ʇ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
|
Quote:
like: ffmpeg -i SundayPicnic.mp4 -pix_fmt gray -f rawvideo -s 800x600 -|./raw2gmv|nc -l -p 5555 HTH someone else get this going Last edited by twobob; 07-05-2012 at 03:52 PM. Reason: tidied up quote - Made my point clearer |
|
07-05-2012, 03:58 PM | #89 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@twobob: I concur, the original netcat tool needs the -p switch, while gnu netcat or busybox netcat probably don't (haven't checked, 'cause there's a whole bunch of netcats around [netcat, gnu netcat, busybox, netcat6, ...]).
|
07-05-2012, 04:06 PM | #90 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
I almost always test commands like that before posting. On my computer, it should have worked, or I would have corrected it... I am not sure which netcat I was using though. I often compile from source, sometimes with custom changes. I had on ongoing email conversation with the author back in the day (hobbit@avian.org from "the l0pht"). I hear that those guys "went straight"...
Last edited by geekmaster; 07-07-2012 at 09:41 AM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hacks free kindle video player | geekmaster | Amazon Kindle | 0 | 05-07-2012 12:17 AM |
Video Player | wilbrich | Kobo Tablets | 1 | 11-24-2011 02:40 PM |
Video player, Video streaming,Remote | mint121 | enTourage eDGe | 1 | 11-18-2011 03:31 PM |
Frustrated with the video player | TonyToews | Kobo Tablets | 10 | 11-01-2011 01:15 PM |