rberenguel / glancer Goto Github PK
View Code? Open in Web Editor NEWGlance over some technical videos
License: BSD 3-Clause "New" or "Revised" License
Glance over some technical videos
License: BSD 3-Clause "New" or "Revised" License
Paths are not working correctly on WSL+Ubuntu. Fixable with:
- capsPath <- getFullPath (T.unpack (coerce dir <> coerce videoName <> ".en.vtt"))
+ capsPath <- getFullPath (T.unpack (coerce dir <> "/" <> coerce videoName <> ".en.vtt"))
wherever paths are constructed (look for a library abstacting this so I don't have to worry).
Reported here
glancer fails with following error without creating html file :
Looking for video in https://youtu.be/c8BaLpd69QI (this may take a while)
The video is titled 'Old PC Upgrade #2: SSD Boot Drive'
Seems like the video is in https://www.youtube.com/watch?v=c8BaLpd69QI
Downloaded video to /tmpcqzdatzfva(.mp4|en.vtt)
Generating still images from video (this may take a while)
Generated images
rm: cannot remove '/tmpcqzdatzfva.mp4': No such file or directory
glancer: callProcess: rm "/tmpcqzdatzfva.mp4" (exit 1): failed
i think there should be slash after /tmp i.e: /tmp/ to remove file
This is a specific case of "not being able to choose" the language. Fails for en-ca, for instance (of course would not work for it-it, or es-es).
Reported here
Some captions are adding per-second-markers for words and this seems to confuse the caption parser. One example would be this talk, where parsing (and thus glanced-page) break at "savvy" (only the first savvy is rendered):
00:28:26.799 --> 00:28:28.320 align:start position:0%
people that use the data the most
already<00:28:27.039><c> so</c><00:28:27.399><c> people</c><00:28:27.639><c> in</c><00:28:27.700><c> like</c><00:28:27.820><c> the</c><00:28:27.940><c
> finance</c>
00:28:28.320 --> 00:28:28.330 align:start position:0%
already so people in like the finance
00:28:28.330 --> 00:28:30.989 align:start position:0%
already so people in like the finance
and<00:28:28.539><c> operations</c><00:28:28.809><c> side</c><00:28:29.399><c> they</c><00:28:30.399><c> are</c><00:28:30.429><c> savvy</c>
00:28:30.989 --> 00:28:30.999 align:start position:0%
and operations side they are savvy
00:28:30.999 --> 00:28:33.180 align:start position:0%
and operations side they are savvy
enough<00:28:31.269><c> and</c><00:28:31.619><c> you</c><00:28:32.619><c> know</c><00:28:32.740><c> because</c><00:28:33.039><c> they're</c><00:28:33.129><c> in</c>
00:28:33.180 --> 00:28:33.190 align:start position:0%
enough and you know because they're in
youtube-dlc seems to have added a parameter to keep VTT files, -k
.
Need to confirm and add to the argument list. Idea: make the underlying commands configurable via file (sounds like a pain to handle, though).
Reported here
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.