05-11-2012, 10:00 AM | #76 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
So, there is a different problem. My K5(touch) has the original factory 5.0.0 image. It was NOT registered. It was upgraded to 5.1.0 with the update downloaded from amazon and copied to the USB drive. The only hack installed were the jailbreak, simple usbnet, and launcher menu. It is still not registed with amazon. I tried your program from diags (an diags image from a new German version of 5.1.0 as I recall). It does not work there either. |
|
05-11-2012, 10:27 AM | #77 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
must remove DOS CR chars from script files!
Both the new KTPlayer.tar.gz and the old einkplayer.tar.gz work fine on my K5 after I strip all of the carriage return (CR, 0x0D) characters out of the run_player.sh file.
Using a windows editor like notepad can break script files. You should use a programmer's editor and save the files in "Unix" mode (LF-only). Please re-upload your package with "unix" line endings in the script file. Thanks. P.S. Although the video plays better (more fluid) at higher FPS, the sound breaks up if you go faster than 5 FPS (probably why you use that in your script file). But the dithering is certainly much better than your original security cam video with all the screen flashes on changed areas of the video. It is working great. Now we just need to figure out how to eliminate the speed bottleneck when using libav (including my static-linked ffmpeg) when decoding video on the kindles. The reason my videos play so fast is the they are PRE-encoded and pre-dithered, so they only need unpacking into the framebuffer. And then there is the sound issue (mine is only for silent films ). UPDATE: CRs inserted AFTER downloading, by extracting with 7-zip. Last edited by geekmaster; 05-11-2012 at 06:55 PM. |
Advert | |
|
05-11-2012, 10:45 AM | #78 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
|
05-11-2012, 10:51 AM | #79 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
UPDATE: CRs inserted AFTER downloading, by extracting with 7-zip. Last edited by geekmaster; 05-11-2012 at 06:55 PM. |
|
05-11-2012, 10:56 AM | #80 |
Connoisseur
Posts: 73
Karma: 7140
Join Date: Feb 2012
Device: Kindle Touch
|
Hi, geekmaster
you can check and compile eink transform plugin with yours algorithms. best regards, ehhh |
Advert | |
|
05-11-2012, 10:58 AM | #81 |
Connoisseur
Posts: 73
Karma: 7140
Join Date: Feb 2012
Device: Kindle Touch
|
|
05-11-2012, 11:02 AM | #82 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
The new versions have carriage-returns. Try again...
EDIT: It irritates me greatly that linux never "fixed" this problem. It should not be so hostile against people who use Windows to edit their script files. It should have been updated DECADES ago to ignore those pesky carriage-returns in script files, IMHO. Why be so unfriendly to new people coming from Windows-land? Last edited by geekmaster; 05-11-2012 at 11:08 AM. |
05-11-2012, 11:02 AM | #83 | |
Connoisseur
Posts: 73
Karma: 7140
Join Date: Feb 2012
Device: Kindle Touch
|
By the way, the demo uses ffmpeg plugins..
Quote:
|
|
05-11-2012, 11:05 AM | #84 |
Connoisseur
Posts: 73
Karma: 7140
Join Date: Feb 2012
Device: Kindle Touch
|
+ when to push the power button , the application will be killed. i developed this in case when the demo hangs up because it is not tested well.
|
05-11-2012, 11:11 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:
It is less of a burden for the kindles to play videos that are already small enough to fit the screen, and there are a LOT of old DVD-sized videos out there that would fit fine without resizing. P.S. Did you upload a new (LF-only) script file yet? Last edited by geekmaster; 05-11-2012 at 11:15 AM. |
|
05-11-2012, 11:20 AM | #86 |
Connoisseur
Posts: 73
Karma: 7140
Join Date: Feb 2012
Device: Kindle Touch
|
|
05-11-2012, 11:24 AM | #87 |
Connoisseur
Posts: 73
Karma: 7140
Join Date: Feb 2012
Device: Kindle Touch
|
These examples of videos have 25 frames per second. If to prepare videos for fo KT with less frame rates, sizes. Decoder and Demuxer will work with less CPU.
|
05-11-2012, 11:26 AM | #88 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
You should link the one without "windows symbols" to your first post. The one that is there now still has CR characters in it.
When I upload things, I always download them immediately and extract them and test them. You should do that too. You would waste less of my time that way... |
05-11-2012, 12:26 PM | #89 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
I can run your (CR-broken) script like this:
Code:
tr '\r' ' '<run_player.sh|sh
Last edited by geekmaster; 05-11-2012 at 12:28 PM. |
05-11-2012, 12:38 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 just downloaded the file from the first post again. Viewing the script in a hex editor shows that it still contains 0x0D characters. There are more downloads in the count now, so beware that you need to strip CR chars from it or run it using the command line shown in my previous post.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle fire not playing midi files | jckindle | Kindle Fire | 3 | 01-30-2012 01:19 AM |
Playing video on Cruz R101 | wdadli1 | Android Devices | 0 | 12-18-2011 04:47 PM |
Playing Zork on Kobo Touch | molman | Kobo Reader | 0 | 09-09-2011 11:13 PM |
Kindle 3, Nook Simple Touch, Kobo Touch and Libra Pro Touch | jbcohen | Which one should I buy? | 4 | 06-18-2011 07:58 PM |
Cloud Computing - GlideOs & Proper Video Playing & Photo Editing | gallantknight01 | enTourage Archive | 0 | 04-13-2010 05:15 PM |