Linux - no gif output
snowman2020 opened this issue · comments
Describe the bug
Created gif file is broken. Mp4 works.
To Reproduce
Steps to reproduce the behavior:
- install as .deb on Ubuntu 20.04.2 LTS, 64-bit
- test t-rec in terminal
- wait for output creation
- resulting gif is 10 bytes in size and cannot be opened
Expected behavior
Expected to receive a gif file.
Screenshots
If applicable, add screenshots to help explain your problem.
Version Numbers of your System:
System: Host: ml-X270 Kernel: 5.4.0-65-generic x86_64 bits: 64 compiler: gcc v: 9.3.0
Desktop: Gnome 3.36.4 wm: gnome-shell dm: GDM3 Distro: Ubuntu 20.04.2 LTS (Focal Fossa)
Graphics: Device-1: Intel HD Graphics 620 vendor: Lenovo driver: i915 v: kernel bus ID: 00:02.0
chip ID: 8086:5916
Display: x11 server: X.Org 1.20.9 driver: modesetting unloaded: fbdev,vesa
compositor: gnome-shell tty: N/A
OpenGL: renderer: Mesa Intel HD Graphics 620 (KBL GT2) v: 4.6 Mesa 20.2.6
direct render: Yes
Additional context
a) Running t-rec with dedicated win number to record other window (firefox, settings) t-rec stops without message.
b) Retry with less frames resulted in gif output, that has some kind of a funny frame around:
Requested xwininfo
Please include the output of xwininfo -root -tree -int
xwininfo: Window id: 1958 (the root window) (has no name)
Root window id: 1958 (the root window) (has no name)
Parent window id: 0 (none)
86 children:
54621149 "org.gnome.Nautilus": ("org.gnome.Nautilus" "Org.gnome.Nautilus") 1x1+-99+-99 +-99+-99
1 child:
54621150 (has no name): () 1x1+-1+-1 +-100+-100
54621123 "org.gnome.Nautilus": ("org.gnome.Nautilus" "Org.gnome.Nautilus") 1x1+-99+-99 +-99+-99
1 child:
54621124 (has no name): () 1x1+-1+-1 +-100+-100
37748907 "Firefox": ("firefox" "Firefox") 1x1+-99+-99 +-99+-99
1 child:
37748908 (has no name): () 1x1+-1+-1 +-100+-100
6291467 "gnome-shell": ("gnome-shell" "Gnome-shell") 1x1+-200+-200 +-200+-200
1 child:
6291468 (has no name): () 1x1+-1+-1 +-201+-201
14680074 "ml@ml-X270: ~": ("gnome-terminal-server" "Gnome-terminal") 985x1105+28+4 +28+4
1 child:
14680075 (has no name): () 1x1+-1+-1 +27+3
6291752 (has no name): () 1868x1055+53+26 +53+26
1 child:
37748739 "New Issue · sassman/t-rec-rs — Mozilla Firefox": ("Navigator" "Firefox") 1866x1053+1+1 +54+27
1 child:
37748740 (has no name): () 1x1+-1+-1 +53+26
85983253 "Settings": ("gnome-control-center" "Gnome-control-center") 1032x869+471+119 +471+119
1 child:
85983254 (has no name): () 1x1+-1+-1 +470+118
54525959 "t-rec": ("org.gnome.Nautilus" "Org.gnome.Nautilus") 985x1105+78+4 +78+4
1 child:
54525960 (has no name): () 1x1+-1+-1 +77+3
85983249 (has no name): () 1x1+-1+-1 +-1+-1
85983243 (has no name): () 1x1+-100+-100 +-100+-100
85983233 "gnome-control-center": ("gnome-control-center" "Gnome-control-center") 10x10+10+10 +10+10
37748947 "Firefox": ("Firefox" "Firefox") 200x200+0+0 +0+0
1 child:
37748954 (has no name): () 1x1+-1+-1 +-1+-1
37748848 "sassman/t-rec-rs: Blazingly fast terminal recorder that generates animated gif images for the web written in rust": ("Firefox" "Firefox") 587x62+854+61 +854+61
1 child:
37748861 (has no name): () 1x1+-1+-1 +853+60
81788929 "/usr/lib/firefox/firefox": ("/usr/lib/firefox/firefox" "/usr/lib/firefox/firefox") 10x10+10+10 +10+10
79691777 "/usr/lib/firefox/firefox": ("/usr/lib/firefox/firefox" "/usr/lib/firefox/firefox") 10x10+10+10 +10+10
75497479 "System Monitor": ("gnome-system-monitor" "Gnome-system-monitor") 1866x1053+54+27 +54+27
1 child:
75497480 (has no name): () 1x1+-1+-1 +53+26
75497475 (has no name): () 1x1+-1+-1 +-1+-1
75497473 "System Monitor": ("gnome-system-monitor" "Gnome-system-monitor") 10x10+10+10 +10+10
37748943 "Open a new tab (Ctrl+T)": ("Firefox" "Firefox") 187x45+1042+60 +1042+60
1 child:
37748944 (has no name): () 1x1+-1+-1 +1041+59
37748898 "Firefox": ("Firefox" "Firefox") 200x200+0+0 +0+0
1 child:
37748903 (has no name): () 1x1+-1+-1 +-1+-1
37748884 "Firefox": ("Firefox" "Firefox") 200x200+0+0 +0+0
1 child:
37748895 (has no name): () 1x1+-1+-1 +-1+-1
37748880 "Firefox": ("Firefox" "Firefox") 439x230+335+88 +335+88
1 child:
37748881 (has no name): () 1x1+-1+-1 +334+87
37748864 "Firefox": ("Firefox" "Firefox") 200x200+0+0 +0+0
1 child:
37748877 (has no name): () 1x1+-1+-1 +-1+-1
73400321 "/usr/lib/firefox/firefox": ("/usr/lib/firefox/firefox" "/usr/lib/firefox/firefox") 10x10+10+10 +10+10
71303169 "/usr/lib/firefox/firefox": ("/usr/lib/firefox/firefox" "/usr/lib/firefox/firefox") 10x10+10+10 +10+10
37748844 "Suche": ("Firefox" "Firefox") 68x45+493+177 +493+177
1 child:
37748845 (has no name): () 1x1+-1+-1 +492+176
69206017 "/usr/lib/firefox/firefox": ("/usr/lib/firefox/firefox" "/usr/lib/firefox/firefox") 10x10+10+10 +10+10
65011713 "/usr/lib/firefox/firefox": ("/usr/lib/firefox/firefox" "/usr/lib/firefox/firefox") 10x10+10+10 +10+10
54587616 "org.gnome.Nautilus": ("org.gnome.Nautilus" "Org.gnome.Nautilus") 319x201+465+288 +465+288
1 child:
54587617 (has no name): () 1x1+-1+-1 +464+287
33554444 (has no name): () 1x1+-1+-1 +-1+-1
52428812 (has no name): () 1x1+-1+-1 +-1+-1
50331660 (has no name): () 1x1+-1+-1 +-1+-1
14680070 (has no name): () 1x1+-1+-1 +-1+-1
14680066 "Terminal": () 10x10+-100+-100 +-100+-100
14680065 "Terminal": ("gnome-terminal-server" "Gnome-terminal-server") 10x10+10+10 +10+10
67108865 "/usr/lib/firefox/firefox": ("/usr/lib/firefox/firefox" "/usr/lib/firefox/firefox") 10x10+10+10 +10+10
62914561 "/usr/lib/firefox/firefox": ("/usr/lib/firefox/firefox" "/usr/lib/firefox/firefox") 10x10+10+10 +10+10
60817409 "/usr/lib/firefox/firefox": ("/usr/lib/firefox/firefox" "/usr/lib/firefox/firefox") 10x10+10+10 +10+10
56623201 (has no name): () 80x22+54+1058 +54+1058
10485768 (has no name): () 1x1+0+0 +0+0
56623200 (has no name): () 1x1+0+0 +0+0
56623112 "jetbrains-clion": ("jetbrains-clion" "jetbrains-clion") 1x1+1+1 +1+1
58720272 "java": ("java" "Java") 200x214+0+0 +0+0
1 child:
58720273 (has no name): () 1x1+-1+-1 +-1+-1
58720263 "java": ("java" "Java") 200x200+0+0 +0+0
1 child:
58720264 (has no name): () 1x1+-1+-1 +-1+-1
58720259 "java": ("java" "Java") 200x200+0+0 +0+0
1 child:
58720260 (has no name): () 1x1+-1+-1 +-1+-1
58720257 "java": ("java" "Java") 10x10+10+10 +10+10
54526386 "org.gnome.Nautilus": () 10x10+-100+-100 +-100+-100
54525955 (has no name): () 1x1+-1+-1 +-1+-1
54525953 "org.gnome.Nautilus": ("org.gnome.Nautilus" "Org.gnome.Nautilus") 10x10+10+10 +10+10
52428801 "update-notifier": ("update-notifier" "Update-notifier") 10x10+10+10 +10+10
35651587 (has no name): () 1x1+-1+-1 +-1+-1
37748824 "Firefox": ("Firefox" "Firefox") 200x200+0+0 +0+0
1 child:
37748825 (has no name): () 1x1+-1+-1 +-1+-1
50331649 "dropbox": ("dropbox" "Dropbox") 10x10+10+10 +10+10
48234499 (has no name): () 3x3+0+0 +0+0
46137345 "/usr/lib/firefox/firefox": ("/usr/lib/firefox/firefox" "/usr/lib/firefox/firefox") 10x10+10+10 +10+10
44040193 "/usr/lib/firefox/firefox": ("/usr/lib/firefox/firefox" "/usr/lib/firefox/firefox") 10x10+10+10 +10+10
37748800 (has no name): ("Firefox" "Firefox") 100x100+0+0 +0+0
1 child:
37748803 (has no name): () 1x1+-1+-1 +-1+-1
37748755 "Firefox": () 10x10+-100+-100 +-100+-100
41943041 "/usr/lib/firefox/firefox": ("/usr/lib/firefox/firefox" "/usr/lib/firefox/firefox") 10x10+10+10 +10+10
37748752 "Firefox": () 10x10+-100+-100 +-100+-100
37748737 "Firefox": ("firefox" "Firefox") 10x10+10+10 +10+10
35651585 "Ubuntu Software": ("org.gnome.Software" "Org.gnome.Software") 10x10+10+10 +10+10
33554433 "blueman-tray": ("blueman-tray" "") 10x10+10+10 +10+10
6291479 (has no name): () 1x1+-1+-1 +-1+-1
31457281 "blueman-applet": ("blueman-applet" "") 10x10+10+10 +10+10
29360129 "evolution-alarm-notify": ("evolution-alarm-notify" "Evolution-alarm-notify") 10x10+10+10 +10+10
27262978 (has no name): () 10x10+0+0 +0+0
25165825 "gsd-wacom": ("gsd-wacom" "Gsd-wacom") 10x10+10+10 +10+10
27262977 "gsd-xsettings": ("gsd-xsettings" "Gsd-xsettings") 10x10+10+10 +10+10
23068673 "gsd-power": ("gsd-power" "Gsd-power") 10x10+10+10 +10+10
20971521 "gsd-media-keys": ("gsd-media-keys" "Gsd-media-keys") 10x10+10+10 +10+10
18874369 "gsd-color": ("gsd-color" "Gsd-color") 10x10+10+10 +10+10
16777217 "gsd-keyboard": ("gsd-keyboard" "Gsd-keyboard") 10x10+10+10 +10+10
10485763 "ibus-xim": () 1x1+0+0 +0+0
1 child:
10485764 (has no name): () 1x1+-1+-1 +-1+-1
10485761 "ibus-x11": ("ibus-x11" "Ibus-x11") 10x10+10+10 +10+10
8388609 "ibus-extension-gtk3": ("ibus-extension-gtk3" "Ibus-extension-gtk3") 10x10+10+10 +10+10
6291473 (has no name): () 1x1+-100+-100 +-100+-100
6291471 (has no name): () 1x1+-1+-1 +-1+-1
6291465 (has no name): () 1x1+-100+-100 +-100+-100
6291464 (has no name): () 1x1+-100+-100 +-100+-100
6291463 (has no name): () 1x1+-100+-100 +-100+-100
6291462 "GNOME Shell": () 1x1+-100+-100 +-100+-100
6291457 "gnome-shell": ("gnome-shell" "Gnome-shell") 10x10+10+10 +10+10
4194314 (has no name): () 1x1+-100+-100 +-100+-100
6291472 "mutter guard window": () 1920x1080+0+0 +0+0
6293542 (has no name): () 1868x1055+53+26 +53+26
1 child:
56623180 "MMM_dev – square_mm_halfDT/run_all_models.sh": ("jetbrains-clion" "jetbrains-clion") 1866x1016+1+38 +54+64
2 children:
56623186 "FocusProxy": ("Focus-Proxy-Window" "FocusProxy") 1x1+-1+-1 +53+63
56623183 "Content window": ("jetbrains-clion" "jetbrains-clion") 1866x1053+0+-37 +54+27
Hey @snowman2020,
Can you try with the latest version and check if this is still an issue?
Looks OK, gif creation works somehow. Still have the funny frame around. The option -d none resulted in an upside down rotation of the gif (without the frame though).