Asciinema: post process for remove or mark off some data

Created on 6 Oct 2013  ·  11Comments  ·  Source: asciinema/asciinema

Is it possible?
I want to trim the long record to shorter.

Or, modify some word in record screen. (eg. password or personal information)

Most helpful comment

A note on reducing idle time: you can use asciinema rec --max-wait=2 to compress all pauses (which are longer than 2 seconds) to exactly 2 seconds.

All 11 comments

Please read the answer about it on the FAQ page: http://asciinema.org/docs/faq

I remember ascii.io has such function to reduce my record length automatically.
But, in this new version asciinema seems removed it.
Am I right?

Is there some document about the stored file format?
How to download the stored file?
Maybe I could write a script to modify it and then upload again.

The "time compression" feature is coming back soon. Also the ability to edit the recording before uploading is likely to happen in not so distant future. Keep an eye for them ;)

If I use to old utility ascii.io, does it provide "time compression"?
Or, it is not support to use 'ascii.io' to upload?

@dlintw old asciiio cli still works but it is highly recommended to use the latest asciinema cli. And the time compression is happening in the web browser so it wouldn't help you to use old cli.

@sickill is there any word on the editing feature that you mentioned?

@IvanMalison you can edit the .json file that is produced by the asciinema rec out.json command. Take a look at the last question in FAQ: https://asciinema.org/docs/faq

A note on reducing idle time: you can use asciinema rec --max-wait=2 to compress all pauses (which are longer than 2 seconds) to exactly 2 seconds.

@sickill Yeah I took a look at doing that but the format seemed a bit unwieldy.

@IvanMalison stdout contains raw text printed to the terminal, including all escape/control sequences. We haven't invented anything on our own. I understand that it's not as easy to understand/edit as it would be if this was converted to a more "visual" representation, however I don't plan to change the format of the "raw material".

You can look at @micahcowan's teseq, which is one approach of this problem.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pfalcon picture pfalcon  ·  4Comments

abaykan picture abaykan  ·  10Comments

KurtPfeifle picture KurtPfeifle  ·  3Comments

redaxmedia picture redaxmedia  ·  3Comments

maphew picture maphew  ·  12Comments