Coder Social home page Coder Social logo

glancer's Issues

callProcess: rm "/tmpcqzdatzfva.mp4" (exit 1): failed

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

Paths issue

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

Broken output files for certain captions

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.