![]() |
#1 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 56
Karma: 40393
Join Date: May 2012
Device: Kindle Touch
|
![]()
As title, convert video lecture to which has subtitle belongs to images. These images include 1 image with subtitle at start time of subtitle, and 1 image without image at end time of subtitle.
I think it is not only useful to have video lecture note(note imbeded in image) rather than just note, but also it can be read on Kindle as series' images. Python command to convert video to image ( especially video lectures) Usage: Code:
python vidlec2img.py --video-file-path ~/home/test.mp4 For more detail running with --help flag Requirement:
Attachments contains images with input is video lecture: 1 - 2 - Tools Setup for Linux (12_24) - Functional Programming course on Coursera.org And git repo: https://github.com/anhhh11/vidlec2img Note: It also works quite well with video from Internet (at least http as I've tried) but first you must have its subtitle file .srt and then set --output-path pararameter. It can also be use to preview some videos like youtube thumbnails but bigger and has subtitle and at most faster because it only seek particular images ![]() UPDATE:
Code:
$ python vidlec2img.py -vp "C:/video/Programming/FunctionalProgramming/1 - 2 - Tools Setup for Linux (12_24).mp4" --font-path C:/arial.ttf -iot JPG -ST -ff F ONT_HERSHEY_COMPLEX_SMALL [##############################] - 100.0% - 143/143 Total Done! Elapsed time: 0:00:18.534677 Code:
#list structure [ ["http://subtitle1.srt", "http://sub", "foldername1" ], ["http://subtitle1.srt", "http://sub", "foldername1" ] ] Code:
$>python ~/Desktop/video_lecture_to_img/vidlec2img.py -fsp "/mnt/sda5/video/DataA/IntroMSBigData/" -G -bsz 2 -fp "/usr/share/fonts/truetype/droid/DroidSerif-Regular.ttf" -ST -RSZ -U -R -MM MSBigDataM01_mid [##############################] - 98.56% - 685/695 Total Skip 10 subtitle row Done! MSBigDataM02_mid [##############################] - 98.25% - 562/572 Total Skip 10 subtitle row Done! MSBigDataM03_mid [##############################] - 98.98% - 970/980 Total Skip 10 subtitle row Done! MSBigDataM04_mid [##############################] - 97.68% - 421/431 Total Skip 10 subtitle row Done! MSBigDataM05_mid [##############################] - 98.93% - 922/932 Total Skip 10 subtitle row Done! Elapsed time: 0:07:46.100000 Last edited by ppoo; 01-29-2014 at 08:26 AM. Reason: fix bug, add new image |
![]() |
![]() |
![]() |
#2 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
You can also convert and play video on eink kindles with the geekmaster kindle video player. Look in the Native index wiki. But static images may be more readable for any lecture text, than dithered video, so this app may be more appropriate for some content.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,669
Karma: 2300001
Join Date: Mar 2011
Location: Türkiye
Device: Kindle 5.3.7
|
a similar one here: http://www.frisnit.com/2011/07/07/iplayer-for-kindle/
|
![]() |
![]() |
![]() |
#4 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 56
Karma: 40393
Join Date: May 2012
Device: Kindle Touch
|
@thomass: I've tried to google but can't find this result before you post ;(.
|
![]() |
![]() |
![]() |
#5 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,669
Karma: 2300001
Join Date: Mar 2011
Location: Türkiye
Device: Kindle 5.3.7
|
|
![]() |
![]() |
Advert | |
|
![]() |
Tags |
image, kindle, video |
|