File tree 4 files changed +8
-8
lines changed
4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,10 @@ Blazingly fast terminal recorder that generates animated gif images for the web
33
33
- Hidden feature: Record every window you want
34
34
- Written in Rust 🦀
35
35
36
+ ## Demo video
37
+
38
+ ![ demo-video] ( ./docs/demo-video.mp4 )
39
+
36
40
## Installation on MacOS
37
41
### with homebrew
38
42
``` sh
Original file line number Diff line number Diff line change 26
26
- libx11-dev
27
27
stage-packages :
28
28
- imagemagick
29
+ - ffmpeg
29
30
30
31
apps :
31
32
t-rec :
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ pub fn generate_mp4_with_ffmpeg(
38
38
target : & str ,
39
39
) -> Result < ( ) > {
40
40
println ! ( "🎉 🎬 Generating {}" , & target) ;
41
- let out = Command :: new ( PROGRAM )
41
+ Command :: new ( PROGRAM )
42
42
. arg ( "-y" )
43
43
. arg ( "-r" )
44
44
// framerate
@@ -59,11 +59,6 @@ pub fn generate_mp4_with_ffmpeg(
59
59
// end of fix
60
60
. arg ( target)
61
61
. output ( )
62
- . with_context ( || format ! ( "Cannot start '{}' to generate the final video" , PROGRAM ) ) ?;
63
- // .map(|_| ())
64
-
65
- println ! ( "{}" , String :: from_utf8( out. stdout) . unwrap( ) ) ;
66
- println ! ( "{}" , String :: from_utf8( out. stderr) . unwrap( ) ) ;
67
-
68
- Ok ( ( ) )
62
+ . with_context ( || format ! ( "Cannot start '{}' to generate the final video" , PROGRAM ) )
63
+ . map ( |_| ( ) )
69
64
}
You can’t perform that action at this time.
0 commit comments