asciinema-edit
asciinema-edit copied to clipboard
failed to transform cast: couldn't find initial frame
[ ~ ] asciinema rec mwe.cast
asciinema: recording asciicast to mwe.cast
asciinema: press <ctrl-d> or type "exit" when you're done
[ ~ ] # hello, world
[ ~ ] # this is an example for a bug report
[ ~ ] # goodbye
[ ~ ]
asciinema: recording finished
asciinema: asciicast saved to mwe.cast
[ ~ ] ~/.go/bin/asciinema-edit cut --start=1.1 --end=2.2 mwe.cast
failed to transform cast: couldn't find initial frame
x [ ~ ] asciinema cat mwe.cast
[ ~ ] # hello, world
[ ~ ] # this is an example for a bug report
[ ~ ] # goodbye
[ ~ ]
[ ~ ] asciinema --version
asciinema 2.0.1
[ ~ ] ~/.go/bin/asciinema-edit -v
asciinema-edit version dev - HEAD
(asciinema-edit
installed via go get
today)
This issue still seems to be present in the latest release.
It looks like you need to be exact when specifying the "timestamp" values for the cut.