Raw output and cast output at same time?

Is it possible to get raw output and cast output at the same time using asciinema rec?

So you’d want to save the session to a asciicast file and also capture the stdout to a separate file, right?

You can just record normally with asciinema rec demo.cast and then to obtain raw output run asciinema cat demo.cast >demo.txt. Does it do?