by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Mar 10 15:39
    fossabot commented #4
  • Mar 10 15:36
    fossabot opened #4
  • Jan 16 19:10
    skuzzymiglet closed #3
  • Jan 16 19:10

    skuzzymiglet on master

    codacy badge (compare)

  • Jan 16 18:57

    skuzzymiglet on master

    codeclimate badge (compare)

  • Jan 16 18:57

    skuzzymiglet on master

    codeclimate badge (compare)

  • Jan 16 18:57
    codacy-badger opened #3
  • Jan 07 18:26

    skuzzymiglet on master

    move stuff around (compare)

  • Jan 03 08:47

    skuzzymiglet on master

    fix empty space in command remove tmp basic README (compare)

  • Dec 31 2019 10:40

    skuzzymiglet on master

    remove spaces and quotes in com… todos (compare)

  • Dec 29 2019 08:15

    skuzzymiglet on master

    tidy interface and output stdout pipe remove unneccesary -i and 1 more (compare)

  • Dec 28 2019 09:16

    skuzzymiglet on master

    remove mainExpr, so everything … remove mainExpr comment timeline to frames and 1 more (compare)

  • Dec 27 2019 20:11

    skuzzymiglet on overlay-all

    crude main syntax (compare)

  • Dec 27 2019 19:36

    skuzzymiglet on overlay-all

    remove mainExpr comment timeline to frames (compare)

  • Dec 27 2019 19:18

    skuzzymiglet on overlay-all

    remove mainExpr, so everything … (compare)

  • Dec 27 2019 19:18

    skuzzymiglet on master

    moved comment (compare)

  • Dec 26 2019 20:17

    skuzzymiglet on master

    correct nesting (compare)

  • Dec 26 2019 19:24

    skuzzymiglet on master

    unquoted, clean filename joining (compare)

  • Dec 26 2019 13:47

    skuzzymiglet on master

    debug capturing into timeline s… (compare)

  • Dec 17 2019 20:38

    skuzzymiglet on master

    remove junk (compare)

skuzzymiglet
@skuzzymiglet
@silmer ffmpeg an do subtitles, it's a simple matter of taking a file and passing it to the subtitle filter
@silmer I could make it translate .srts with frame->frame to .srts with time->time
skuzzymiglet
@skuzzymiglet
What do you guys think about diffing and patching frames? Is it a feature you'd see yourself using?
silmer
@silmer
Re diffing, I'm not sure. Could you name an example use case?
skuzzymiglet
@skuzzymiglet
You have a character who dissapears from a scene, but want him to reappear last minute on another frame - diff charcter frame with empty and patch needed
skuzzymiglet
@skuzzymiglet
skuzzymiglet/animator@058d606 I have just added the initial render code. It has one function which takes a regex and a map of frames -> [in, out], which are the overlayed. It returns an ffmpeg command
In the next few days, I will detail how I think I'll implement each feature
Jakub Korsak
@korsakjakub
Looking forward to it
skuzzymiglet
@skuzzymiglet
skuzzymiglet
@skuzzymiglet
@/all What do you think of it?
Jakub Korsak
@korsakjakub
Looks good I think
skuzzymiglet
@skuzzymiglet
@korsakjakub do you understand everything? anything seem unneccesary or too difficult?
skuzzymiglet
@skuzzymiglet
Anyone written a parser before?
I'm thinking of starting soon
I could use regexes
Or goyacc which is quite complicated
I found this library: https://github.com/alecthomas/participle too
skuzzymiglet
@skuzzymiglet
Also found this, which basically does everything except manipulating and concurrecy
skuzzymiglet
@skuzzymiglet
Jakub Korsak
@korsakjakub
It seems preety intuitive. What does "empty frame" mean?
I think regex might be a good approach here, with addition of "markers" or something similar
What I mean by that is we can just look for the next "(" and that indicates that we are encountering a new "operation" (?) and then if inside "(" there's a "-" then there's a range, etc.
skuzzymiglet
@skuzzymiglet
empty frame: nothing in the render code
no frame in final video
Yeah, I'm trying out regexes for capturing some values
I'm thinking more of an ordered expansion list
i.e. search for ([0-9]+)\-([0-9]+) and pass it to some range function : 3-7 gets substituted with 3,4,5,6,7
then times: 8(1,2) becomes 1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2
for numbers
Jakub Korsak
@korsakjakub
All of that should be
Sorry, that was random keyboard dump
skuzzymiglet
@skuzzymiglet
I'm in the process of building the range parser
skuzzymiglet
@skuzzymiglet
Notes:
  • it implements its own range function which is really ugly
(longing for python range())
  • it's pretty loose on rules: noise is worked around
e.g
fmt.Println(replaceRange("5(9-100),88isa-90,7-80,2-50loi,98-1"))
5(9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100),88isa-90,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50loi,98,97,96,95,94,93,92,91,90,89,88,87,86,85,84,83,82,81,80,79,78,77,76,75,74,73,72,71,70,69,68,67,66,65,64,63,62,61,60,59,58,57,56,55,54,53,52,51,50,49,48,47,46,45,44,43,42,41,40,39,38,37,36,35,34,33,32,31,30,29,28,27,26,25,24,23,22,21,20,19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1
it's ignored
i think it should probably complain about it after expanding stuff
skuzzymiglet
@skuzzymiglet
@/all I've commented parse.go and encourage you to have a read through the code
skuzzymiglet
@skuzzymiglet
@/all I'm commenting everything
skuzzymiglet
@skuzzymiglet
can anyone think of a regexp that matches full numbers in a comma-separated list?
e.g. [9,10,19][6,17,2] -> match all the numbers
skuzzymiglet
@skuzzymiglet
@skuzzymiglet I know, it's just \d
skuzzymiglet
@skuzzymiglet
@/all Happy New Year (and decade) people! It's been a bit quiet on this chat, but progress has been made with the code
skuzzymiglet
@skuzzymiglet
ultra ded