Issue with playback of large size files #230
Replies: 3 comments
-
Same issue here. I use asciinema to recored my daily work in terminal. This sometimes results in large files. I am trying to play a cast of 2GB and the player just hangs. Playing the cast from terminal works fine but there I can't scroll through the video. Is there a way maybe to separate the cast into smaller files? I would just like to replay a part of the cast towards the end of the recording. |
Beta Was this translation helpful? Give feedback.
-
There's no easy way of solving that, it would need major refactoring of the player's |
Beta Was this translation helpful? Give feedback.
-
Hi, a workaround is to split the file to multiple smaller files example:
This will create multiple 50M files which you can then play, but make sure to format the each file correctly. At the beginning on first line there should be a header
Also make sure the second and last line is properly formatted, probably the easiest is to just delete those lines if they are missing parenthesis or similar. |
Beta Was this translation helpful? Give feedback.
-
Let's assume I have a .cast file of 1 or 2 GB, Asciinema-player fetch the whole file at once which takes a lot of time to fetch these large files, and meanwhile Asciinema-player is not showing any loading or fetching message.
Beta Was this translation helpful? Give feedback.
All reactions