![]() |
#1 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
![]()
UPDATE: We now have the ability to play streaming video on the kindles directly from the internet, with the help of a host PC running ffmpeg. The goal now is to port ffmpeg to the kindle, and add a nice GUI wrapper on the kindle to make this user-friendly. For now, the easy way is to play pre-encoded videos as shown below. The video transcoder used to convert raw video to .gmv format can be found here: https://www.mobileread.com/forums/sho...79#post2074379
![]() geekmaster's kindle video player accepts raw video piped into STDIN. To play sample video: zcat gmvid.gmv.gz|./gmplay ..........^--(replace RED text from list below) Sample video download links are provided below. These videos can be played on all eink kindles with this gmplay program. DX and DXG kindles drop frames, but the sequence of still images is clearer and sharper than on other kindle models. Geek techno: Spoiler:
Magic revealed: Spoiler:
![]() Geekmaster Signature Video Productions: Geekmaster Video #1 (12MB, gmvid.gmv.gz): [attached file below] Geekmaster's signature computer animation, featuring moiré effects, bouncing ball, and more. K3 Unbrick (13MB, k3unbrick.gmv.gz): http://www.mediafire.com/?q1m816pqcpcrcns Seaniko7's great Kindle 3 unbricking (debricking) video tutorial. Living FPV 2 (31MB, fpv2.gmv.gz): http://www.mediafire.com/?b0825b6v27ethw2 One of Trappy's "less infamous" First Person Video R/C adventure films. Big Buck Bunny (55MB, bunny.gmv.gz): http://www.mediafire.com/?n2p05m3lufjz6kg Open source animated short film featuring a big fluffy bunny and rodent revenge. Sintel (60MB, sintel.gmv.gz): http://www.mediafire.com/?kb4w2k5sdwazlo9 Open source animated short film featuring a girl, a dragon, a quest (non-motion blur version). Safety Last (62MB, clock.gmv.gz): http://www.mediafire.com/?3vwwybcvtkc1i02 ![]() Harold Lloyd & Buster Keaton iconic silent short comedy involving a clock and a tall building. Great Train Robbery (70MB, gtr.gmv.gz): http://www.mediafire.com/?bsj358i7mud9i5u Edison Films, 1903. The first film that told a story (and first "Western", very popular). Sand Art (51MB, sandart.gmv.gz): http://www.mediafire.com/?n3ldlih1uuxqapx Kseniya Simonova (Ukraine) performs live animation with sand and light. Monkey Island (8MB, monkey.gmv.gz): http://www.mediafire.com/?eruly5mu909asrl Trailer for "Tales of Monkey Island" video game. Panspermia (19MB, panspermia.gmv.gz): http://www.mediafire.com/?6wukqdh662xrs32 Siggraph 90, Karl Sims Thinking Machines animation (with kindle motion blur). Harvey (34MB, harvey.gmv.gz): http://www.mediafire.com/?8aqfq6yxkabyqt4 (Siggraph 2001) Creepy horror flick using advance CGI techniques. Mature audiences only! ![]() If you play these videos on a Kindle 4, they play a lot better (less jerky) when you boot to diagnostics mode and run from SSH (which requires some techical knowledge that can be learned in this forum), but even running after booting normally this is a lot better than you could do on a K4 before now. ![]() Last edited by twobob; 09-12-2013 at 11:58 PM. Reason: Add more videos! |
![]() |
![]() |
![]() |
#2 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Let me know if you think this is worth more effort to develop streaming video (youtube, vimeo, and more), or if I should instead invest my time continuing my many OTHER projects...
Feedback is essential here. ![]() EDIT: Look, I am just planting (MIT-licensed) "seeds" here. Other people need to feed and water them to make them grow. I cannot do everything myself. Okay? |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
hub
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 715
Karma: 2151032
Join Date: Jan 2012
Location: Iranian in Canada
Device: K3G, DXG, Kobo mini
|
Quote:
![]() hahaha Now Geekmaster has an extension too *.gmv (GeekMaster Video) ![]() One thing though just to make sure: If a group of developers port Android for Kindle Touch, would these accomplishments of yours (from dithermation to ...) still be as valuable as it is now on KindleOS? I'm sure it is. And at the same time, I want Android on KT too (for which it really needs a team to do it). P.S. I'll study your codes to learn stuff later. As always, A BiiiG THANKS for invigorating us. Last edited by thatworkshop; 05-04-2012 at 06:26 PM. |
|
![]() |
![]() |
![]() |
#4 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
![]() You did see "bare metal" under my logo, right? ![]() With a little effort, this stuff could even run by launching it to RAM with MfgTool (linked to or loaded by a modified u-boot). Yes, I want eink support in u-boot, and touchscreen too! ![]() |
|
![]() |
![]() |
![]() |
#5 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
Technical analysis: Spoiler:
UPDATE: The original file was truncated while uploading to mobileread, and that is what I tested on my linux PC above. I uploaded the original file (copied from my K3), replacing the bad download in the first post in this thread. If you want to see that last few seconds of the final fade-to-black (or if corrupted .gz files bother you), go download the full replacement video file. ![]() Last edited by geekmaster; 05-04-2012 at 07:53 PM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
hub
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 715
Karma: 2151032
Join Date: Jan 2012
Location: Iranian in Canada
Device: K3G, DXG, Kobo mini
|
Quote:
![]() Yes. First time, Iran 'zcat gmvid.gmv.gz ./gmplay' without pipes and it was funny! ![]() |
|
![]() |
![]() |
![]() |
#7 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
In place of the pipe, you can use other commands (like nc, to send the video stream from another network device to the kindle video). Instead of zcat getting input from a file, it could get its input from nc, which gets it from another nc on the other side of a network, which gets its data from a file or a live streaming video source (or live continuous screencapture, like a super-simple VNC).
One such tool I wrote is a filter program that runs on my linux host PC and in the kindles, and converts raw video on STDIN to the .gmv format on STDOUT. It just needs 600x800 8-bit video piped to its input. To test it I need a better raw video source. Linux mencoder inserts extra AVI crap into its supposedly "raw" output format. ![]() In linux, "filter programs" are programs that read data on STDIN and write modified data to STDOUT, and are normally used between pipe symbols "|". ![]() Last edited by geekmaster; 05-04-2012 at 08:24 PM. |
![]() |
![]() |
![]() |
#8 |
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
|
@geekmaster: You might want to go one level lower, and play with the ffmpeg/libav encoder directly, instead of mencoder (which, AFAIR, is not really maintained anymore, it was even dropped from the mplayer2 fork).
|
![]() |
![]() |
![]() |
#9 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
News: New version 1.2 supports all eink kindles, tested on DX,DXG,K3,K4main,K4diags,K5main,K5diags. Frame dropping added so slower (1.5 FPS) DX and DXG play video at the same speed as newer kindles. The large-screen DX and DXG display the 600x800 video centered in a black border.
![]() Last edited by geekmaster; 05-05-2012 at 02:52 AM. Reason: moved details to first post spoiler |
![]() |
![]() |
![]() |
#10 | |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Feb 2012
Device: Kindle Touch
|
geekmaster, Question!
Quote:
How can I install this player on KT? extract and copy into extension folder? and then copy the sample video file, "gmvid.gmv.gz" to where?... please, let me know... |
|
![]() |
![]() |
![]() |
#11 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
![]()
New version 1.3 supports DX and DXG, fixes negative video on K4main, and fixes an "8-bit half-width" bug added to 1.2 when adding a "last minute" optimization for tcc. Not enough sleep... Good night...
![]() Last edited by geekmaster; 05-05-2012 at 03:58 AM. |
![]() |
![]() |
![]() |
#12 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
Just copy the video file and program file to anywhere on the USB drive. Run it from SSH using the command shown in green in the first post. Or add that command to a shell script or launcher command. Either "cd" to the folder containing the video and gmplay program and use the command shown in the first post, or specify the full paths to both files like this: zcat /mnt/us/folder1/gmvid.gmv.gz|/mnt/us/somewhere/gmplay ![]() Last edited by geekmaster; 05-05-2012 at 03:59 AM. |
|
![]() |
![]() |
![]() |
#13 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
New version 1.4 in first post. Much better balance between vsync and frame dropping, for when background tasks take too much time. This can be things like collection indexing, phoning home, switching to screensaver mode, etc.
Occasionally, the eink drivers can get so far behind that the video quality degrades badly and cannot catch up until the video ends. In that rare event, just stop the video and restart. I may add a feature to automatically pause the video for one second when we detect this "too far behind" condition. Version 1.4 does not check for that, but gets all the other interruptions under control rather nicely with its frame dropping mechanism. In fact, on the K4main hybrid video mode, the sample video "normally" drops about 100 frames, and I cannot even see any jerky motion to show where they were dropped. This version 1.4 supports all eink kindles, about as nice as it can. We get this video performance by updating the eink about 2.5 times faster than the book says to, and ignoring any "not ready" status reported by eink update calls. Instead, I use software tuning, and I think we have that just about at the right balance to work better than expected for all kindle models. For me, the results on this little project FAR exceeded my own expectations for this limited hardware. I think I proved that the kindle can be a useful live video platform, provided that the video is tuned to be eink compatible (reduced contrast for fast moving objects, only very slow camera panning, spatiotemporal video smoothing, and other controllable video content adjustments to enhance quality and reduce unwanted visible artifacts). ![]() Last edited by geekmaster; 05-05-2012 at 10:35 AM. |
![]() |
![]() |
![]() |
#14 |
Enthusiast
![]() Posts: 34
Karma: 10
Join Date: Mar 2012
Device: Kindle 3 Wifi
|
Just copy the video file and program file to anywhere on the USB drive. Run it from SSH using the command shown in green in the first post. Or add that command to a shell script or launcher command.
So thers isn't a gui?. I could image you open this like a kindlet. Then browse for a file.. What is this SSH you are all talking about? i have launchpad can i launch it from their? Can anybody help me with the launch script? Anyway. How can we convert our video so it can play on this. Also Does sound work? Last edited by Conner; 05-05-2012 at 02:35 PM. |
![]() |
![]() |
![]() |
#15 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
There is no GUI yet. I am just "planting seeds" here, as mentioned in the second post above. Other people are working at the GUI level at this time. This can probably be integrated with a kindlet by passing request messages from the kindlet to native mode program such as gmplay, similar to how the K5 launcher menu works. Also, I have native mode GUI code in the works, which talks directly to the framebuffer and input event devices (keyboards and touchscreen). The kindles can already play streaming sound using built-in programs. We just need to integrate that with code from my gmplay program, and add some audio/video sync code. It is all just a matter of time -- LOTS of time... ![]() ![]() Last edited by geekmaster; 05-05-2012 at 02:26 PM. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
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 |