05-11-2012, 10:27 AM
|
#77
|
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773670
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.
|
|
|