05-11-2012, 12:53 PM | #91 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
http://waterlan.home.xs4all.nl/dos2unix.html#DOS2UNIX Last edited by knc1; 05-11-2012 at 12:55 PM. |
|
05-11-2012, 01:34 PM | #92 | |
Connoisseur
Posts: 73
Karma: 7140
Join Date: Feb 2012
Device: Kindle Touch
|
hmmm.... i re-uploaded 3 hours ago by command dos2unix. and this scripts works fine on my KT.
Quote:
|
|
Advert | |
|
05-11-2012, 01:47 PM | #93 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
Like I said, you need to download it and test the DOWNLOADED version. Are you sure that is the one you said "works fine", or are you testing a DIFFERENT one? EDIT: Your lack of cooperation and your continuing failure to test your own uploads is giving me a "raised eyebrow" here. Please be more careful. This makes me suspicious of running your binary code when you have refused to publish your source until "it is ready" (whatever that means). Please do not continue to disappoint me. I bumped your karma to 2600 as a sign of respect when you created this thread. Now you need to earn that respect. Last edited by geekmaster; 05-11-2012 at 01:55 PM. |
|
05-11-2012, 02:15 PM | #94 | |
Connoisseur
Posts: 73
Karma: 7140
Join Date: Feb 2012
Device: Kindle Touch
|
how to return this karma to you again? i don't need this
Quote:
|
|
05-11-2012, 03:06 PM | #95 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
I was only trying to help. The version linked in your first post still has carriage-returns, as you can see in a hex editor. Apparently you do not want my help. Good luck with that...
Last edited by geekmaster; 05-11-2012 at 03:34 PM. |
Advert | |
|
05-11-2012, 04:33 PM | #96 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
|
05-11-2012, 04:40 PM | #97 | ||
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Here is the official ruling on this matter:
RFC1855: http://tools.ietf.org/html/rfc1855 Quote:
Quote:
Last edited by geekmaster; 05-11-2012 at 05:13 PM. |
||
05-11-2012, 04:57 PM | #98 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
The script file: run_player.sh contained in the KTplayer.tar.gz located in the thread top post - when opened in Geany, Geany claims the line endings are still Windows and offers me the chance to convert them to *nix.
So that is at least two different systems that report the same (mine and GM's). |
05-11-2012, 05:59 PM | #99 |
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
|
FWIW, I only see shiny 0x0A EOL (tarball downloaded just now), and the only thing my vimrc is killing is two trailing whitespace .
|
05-11-2012, 06:40 PM | #100 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
1) wget from URL in first post. 2) scp to K5. 3) tar zxvf. 4) hexdump. *** only 0x0a line endings. That is good. Now to see what was wrong before: 1) download with chrome on XP. 2) extract with winrar 3) winhex *** CONTAINS CRs !!! (did winrar insert CRs) ??? Try different tools: 1) download with chrome 2) extract with 7-zip 3) winhex *** CRs again! (both winrar and 7-zip insert CRs)??? Or did google chrome insert CRs *INSIDE* the tarball? ??? Let's try chrome to download, then extract it in the kindle: 1) download with chrome 2) scp to kindle 3) tar zxvf 4) hexdump *** only LFs (So, even 7-zip inserts CRs without asking?) Bad! OK. I need to appologize to Ehhh. I thought he was disregarding my messages about his upload having CRs, when the problem is that winrar and 7-zip insert CRs without warning and without permission. That sucks! Sorry, Ehhh. My tools bit me. Last edited by geekmaster; 05-11-2012 at 06:44 PM. |
|
05-11-2012, 06:45 PM | #101 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
The lesson here is to be careful which tools you use to extract a tarball (.tar.gz) file. We cannot trust winrar and we cannot trust 7-zip (at least on the windows versions). They insert windows carriage-return characters into script files when extracting them on a windows host PC, which makes them not run correctly when used on a linux machine like a kindle.
I have extracted linux scripts with winrar and 7-zip in the past (16.3 bazillion times, as I recall) and I do not remember ever seeing this problem before. This is really confusing now, and apparently knc1 has tools that misbehave like this too. It sucks when you cannot trust your tools. Last edited by geekmaster; 05-11-2012 at 07:07 PM. |
05-11-2012, 06:59 PM | #102 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
The 16x16 matrix in your code should not be needed because the human eye cannot distinguish between more than 64 shades of gray. What is important is the cutoff values used in the 8x8 matrix, which control the display gamma, brightness, and contrast. And because eink behaves with linear gamma like real ink on paper, we do not need gama adjustments, which makes this a lot easier than when dithering for a light-emitting display. Last edited by geekmaster; 05-11-2012 at 07:02 PM. |
|
05-11-2012, 10:31 PM | #103 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
It was not that long ago when desktop PCs could play DivX/XviD 480p movies just fine, but you needed a powerful PC to do High Def (720p), especially using the x264 codec (which needs a powerful PC to decode it).
I have been playing various downloaded videos on my K5 and K3. The poor K3 cannot decode x264 fast enough to play, so it needs to be converted to a .gmv.gz file and played later. But on the K5, x264 480p is great, and 720p even plays full speed on some scenes, but slows down when the scenery gets complex. That gives periods of smooth motion alternating with periods a of some dropped frames, and in some cases mostly dropped frames with jerky motion. So, the K5 can ALMOST downconvert 720p in realtime. What this means is that because x264 compresses MUCH better than the old DivX/XviD codecs, we can play pre-scaled 800x600 video in x264 (for maximum compression) at full speed on the K5. The K3 on the other hand probably needs to stay with XviD compression that is much easier to decode. Anyway, I did not post my "all the options" ffmpeg yet because I was not successful adding alsa sound output to it for kindle sound. That is not a problem for playing video on the K4 though. I am looking at combining by gmv2vid transcoder and my gmplay player into a plugin for Ehhh's player, now that he provided the source code for his eink plugin. It will be interesting to test them and see whether it is faster to transcode and play raw video output from ffmpeg, or to thanscode and play it from the plugin in Ehhh's player (which uses a portion of the same ffmpeg code that the full player uses). Ffmpeg can play streaming video from the net as well as files, so perhaps we will end up will the best of both when we combine them. Now that I am doing dithering with no dither table, I am investigating doing eink output with no framebuffer. That looks like it should be faster (or at least more efficient / less battery consumption). Dithering with no dither table, then eink with no framebuffer -- what else can we eliminate to speed this up? |
05-12-2012, 02:01 AM | #104 | |
Connoisseur
Posts: 73
Karma: 7140
Join Date: Feb 2012
Device: Kindle Touch
|
The uploaded gstreamer's plugins are the wrappers on ffmeg library )). i have compiled all list of plugins, and it could try to play h264, h262, mjpeg videos.
Quote:
|
|
05-12-2012, 04:49 PM | #105 | |
(offline)
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
@Ehhh:
Quote:
|
|
|
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 |