Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After selecting area to record: Invalid argument #17

Open
Migacz85 opened this issue Jan 26, 2019 · 1 comment
Open

After selecting area to record: Invalid argument #17

Migacz85 opened this issue Jan 26, 2019 · 1 comment

Comments

@Migacz85
Copy link

After selecting the recording area using slop
I got this error:
:0+0,0: Invalid argument
I experience this problem in 50% cases after selecting area to ### record.

What is strange is that after closing the program and reopening it again its works again

Full trace when working:
Recording with x: 0, 0, w: 961, h: 1054
Working in dir /tmp/gifine_putjybyefn
ffmpeg version n4.1 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 8.2.1 (GCC) 20180831
configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-nvdec --enable-nvenc --enable-omx --enable-shared --enable-version3
libavutil 56. 22.100 / 56. 22.100
libavcodec 58. 35.100 / 58. 35.100
libavformat 58. 20.100 / 58. 20.100
libavdevice 58. 5.100 / 58. 5.100
libavfilter 7. 40.101 / 7. 40.101
libswscale 5. 3.100 / 5. 3.100
libswresample 3. 3.100 / 3. 3.100
libpostproc 55. 3.100 / 55. 3.100
:0+0,0: Invalid argument

@leafo
Copy link
Owner

leafo commented Jan 26, 2019

the error is saying that invalid arguments are being passed into ffmpeg. here's where that happens: https://github.com/leafo/gifine/blob/master/gifine/commands.moon#L94

If you have access to the code to edit then you can try printing out the full command before it is run to see if anything looks strange.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants