06-15-2016, 09:18 AM | #361 | ||
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
Quote:
Your larger videos would probably work as-is on the smaller 800x600 kindles (with the larger resolution video player), but only part of the image would be visible. Also a possibility that it could throw an error if the last line extends beyond the end of the framebuffer, but newer kindles have really large framebuffers, so unlikely. Because the GMV video format contains no metadata to describe resolution, the 800x600 resolution (common to all kindles at the time of its development) was the default value. For the new version (in progress) I plan to add metadata file headers, so I can support multiple resolutions, in addition to interleaved sound, and I will call them GMM (geekmaster multimedia) files. The new player will also support legacy GMV files, if no file header is found. Last edited by geekmaster; 06-15-2016 at 09:29 AM. |
||
07-17-2016, 05:03 PM | #362 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
I am working on this project again. I was worried about keeping sound synchronized to video, but according to the following youtube video, sound can be up to 45msec early or up to 125msec late and still be perceived as simultaneous with the video. Because I am doing one frame every 130 msec, it looks like according to this information, I have a 170msec window of acceptable temporal variability for video framerate, in which I need to put the audio frames into.
Because some frames can be delayed, I should probably make the audio play nearly 45msec early, allowing it to get a full frame behind (130msec, with another 40msec to spare for extra long eink updates). This may take a bit of experimentation to find the optimal audio lead time, but should be pretty flexible. EDIT: In that video, he says 125msec delay, but later says 100msec in the basketball demo. However, the shorter 145msec total delay still gives a full frame plus 15msec frame delay being perceptually accepted as simultaneous. Last edited by geekmaster; 07-17-2016 at 11:02 PM. |
Advert | |
|
07-17-2016, 09:29 PM | #363 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Though my published versions of gmplay (posted in the first post) allow video to lag up to a full second to prevent visible frame drops when eink updates take a lot longer than usual, for audio sync I plan to always display the most recent frame (allowing only up to a single frame delay before frame dropping). In essence, I will display the video frame that most closely matches the audio being played, within that 170msec time window. With video frames presented 130msec apart, it will be easy to choose which frame to display even assuming that the frame could take longer than normal to become visible on the eink display. All good, so my previous worries can be put to rest.
Now the problem is how to get ALSA sound compiles working again on my new build system. Missing dependencies to figure out... Last edited by geekmaster; 07-17-2016 at 10:55 PM. |
01-09-2018, 02:39 PM | #364 | |
Member
Posts: 24
Karma: 411246
Join Date: Jul 2017
Device: Kindle 3 WiFi Kindle Touch From goodwill
|
Quote:
|
|
01-09-2018, 02:45 PM | #365 |
Just a Yellow Smiley.
Posts: 19,161
Karma: 83862859
Join Date: Jul 2015
Location: Texas
Device: K4, K5, fire, kobo, galaxy
|
|
Advert | |
|
01-09-2018, 04:39 PM | #366 |
Member
Posts: 24
Karma: 411246
Join Date: Jul 2017
Device: Kindle 3 WiFi Kindle Touch From goodwill
|
i think you Cinisajoy could get gmplay sound working
|
01-09-2018, 04:41 PM | #367 |
Member
Posts: 24
Karma: 411246
Join Date: Jul 2017
Device: Kindle 3 WiFi Kindle Touch From goodwill
|
also if you need it on kindle touch "stop lab126_gui" without the quotes stops the gui that the kindle touch has
|
10-03-2018, 11:03 AM | #368 |
Junior Member
Posts: 2
Karma: 10
Join Date: Oct 2018
Device: K4NT
|
Hello guys, first of all, geekmaster + all of you who made this possible, thanks so much!!
I have this working on a K4NT, with a nice video and put in a frame, and it's really cool. I'm running it in the diagnostics mode after flashing it with kubrik so I can have ssh, with the command "while true; do zcat vid.gmv.gz | ./gmplay; done" suggested by hawhill (for me it doesn't loop forever, stops after ~ half an hour, but I think it only happens when it's unplugged) I really wish I could be able to automatically execute gmplay on startup, so that it will play forever no matter if it reboots. I see that cron is installed in the main partition, no entry in /etc when in diags. If you try crontab -e from diags, it complains that /var/spool/cron/crontabs doesn't exist. If I create it, putting it to execute gmplay on reboot, or every 15 minutes, it doesn't do anything, and on reboot this created folders disappear. I have also tried to put proper files in /etc/init and /etc/init.d ( the /etc in diags). This files are kept after reboot but again, no result on automatic execution. I guess it has to do with the diags partition being sort of weird, I read in other posts that it's a temporal partition and that things get flashed away on reboot, however I formally have no clue on how this partition works. Any idea on how could I make it such that gmplay gets executed on startup?? |
10-07-2018, 11:58 PM | #369 |
BLAM!
Posts: 13,477
Karma: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
The usual way would indeed be SysV-style init scripts & symlinks, but I have no idea if that's supposed to work on diags, and if it does, on which runlevel it actually boots...
|
10-09-2018, 08:34 AM | #370 |
Junior Member
Posts: 2
Karma: 10
Join Date: Oct 2018
Device: K4NT
|
Ok thanks man.
I'm going to play around with that. I think the file S50diags on /etc/rcS.d looks promising for this purpose, I'll try luck there although this is pretty hardcore for me xD |
12-20-2018, 09:59 AM | #371 |
Junior Member
Posts: 2
Karma: 10
Join Date: Dec 2018
Device: K5
|
I just found this program (and forum) today and thought it sounded really cool.
But I couldn't find any documentation of this program running on a kindle. So I ended up jailbreaking my kindle and documenting it myself It runs a lot smoother than I imagined. While at the same time has this kind of painterly feel to it. It's really cool! |
12-20-2018, 08:26 PM | #372 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Unfortunately, he passed away a few months ago. He did enjoy doing the "impossible", such as displaying video on the very slow e-ink screen. |
|
12-21-2018, 04:04 AM | #373 |
Evangelist
Posts: 415
Karma: 750442
Join Date: Apr 2016
Location: Italy
Device: Kindle PW3 5.8.5.0.1
|
|
12-21-2018, 05:28 PM | #374 |
Junior Member
Posts: 2
Karma: 10
Join Date: Dec 2018
Device: K5
|
Wow, that is really sad but I am happy that his creations are able to live on
|
05-17-2021, 03:29 PM | #375 |
Junior Member
Posts: 1
Karma: 10
Join Date: May 2021
Device: PW4
|
Hello everyone,
I'm trying to use this wonderful program on a paperwhite 4, but the videos are played in a reduced frame in the top right-hand corner. This should be due to the higher resolution (1072×1448 vs 600x800). I tried to recompile (from linux) the file gmplay-1.5a with the right parameters but I get this error: 'mnt/us/extensions/videos/gmplay: line 1: syntax error: unterminated quoted string'. Can anyone help me out or have a compiled version for paperwhite 4? Thank you all in advance! |
Thread Tools | Search this Thread |
|
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 |