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

setup_gl ERRORFailed to configure input pad on Parsed_gltransition_0 #31

Open
tidus30691nexus5 opened this issue Nov 1, 2018 · 5 comments

Comments

@tidus30691nexus5
Copy link

install without EGL
have run
Xvfb :1 -screen srcn 1280x1024x16
export DISPLAY=:99

But till have errror

errro12

[auto_scaler_0 @ 0x7fffda741600] w:iw h:ih flags:'bilinear' interl:0
[Parsed_gltransition_0 @ 0x7fffda73db00] auto-inserting filter 'auto_scaler_0' between the filter 'graph 0 input from stream 0:0' and the filter 'Parsed_gltransition_0'
[auto_scaler_1 @ 0x7fffda742600] w:iw h:ih flags:'bilinear' interl:0
[Parsed_gltransition_0 @ 0x7fffda73db00] auto-inserting filter 'auto_scaler_1' between the filter 'graph 0 input from stream 1:0' and the filter 'Parsed_gltransition_0'
[auto_scaler_2 @ 0x7fffda7440c0] w:iw h:ih flags:'bilinear' interl:0
[format @ 0x7fffda73c800] auto-inserting filter 'auto_scaler_2' between the filter 'Parsed_gltransition_0' and the filter 'format'
[AVFilterGraph @ 0x7fffda73cf40] query_formats: 5 queried, 1 merged, 3 already done, 0 delayed
[auto_scaler_2 @ 0x7fffda7440c0] picking yuv444p out of 8 ref:rgb24 alpha:0
[auto_scaler_0 @ 0x7fffda741600] w:640 h:360 fmt:yuv420p sar:1/1 -> w:640 h:360 fmt:rgb24 sar:1/1 flags:0x2
[Parsed_gltransition_0 @ 0x7fffda73db00] setup_gl ERRORFailed to configure input pad on Parsed_gltransition_0
Error reinitializing filters!
Failed to inject frame into filter network: Operation not permitted
Error while processing the decoded data for stream #1:0
[AVIOContext @ 0x7fffda49c600] Statistics: 0 seeks, 0 writeouts
[AVIOContext @ 0x7fffda4790c0] Statistics: 65536 bytes read, 0 seeks
[AVIOContext @ 0x7fffda4990c0] Statistics: 65536 bytes read, 0 seeks
Conversion failed!

INFO ffmpeg

ffmpeg version N-92314-g323c2cf Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 7 (Ubuntu 7.3.0-27ubuntu1~18.04)
configuration: --prefix=/home/noboro/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/noboro/ffmpeg_build/include --extra-ldflags=-L/home/noboro/ffmpeg_build/lib --extra-libs='-lpthread -lm' --bindir=/home/noboro/bin --enable-gpl --enable-libaom --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-opengl --enable-filter=gltransition --extra-libs='-lGLEW -lglfw' --enable-nonfree
libavutil 56. 21.100 / 56. 21.100
libavcodec 58. 34.100 / 58. 34.100
libavformat 58. 19.102 / 58. 19.102
libavdevice 58. 4.106 / 58. 4.106
libavfilter 7. 39.100 / 7. 39.100
libswscale 5. 2.100 / 5. 2.100
libswresample 3. 2.100 / 3. 2.100
libpostproc 55. 2.100 / 55. 2.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Use -h to get full help or, even better, run 'man ffmpeg'

@liule-pi
Copy link

liule-pi commented Dec 8, 2018

I have the same problem with non-EGL building
and for EGL building , I got Segmentation fault (core dumped)

edit:
openai/gym#366
re-installing the nvidia driver with --no-opengl-libs works for me.

@Archangelsg
Copy link

Try to add before executing the command
xvfb-run --server-args="-screen 0, 1280x1024x16"
Instead of
Xvfb :1 -screen srcn 1280x1024x16
export DISPLAY=:99

@owen-m1
Copy link

owen-m1 commented Aug 29, 2019

@Archangelsg Running that command just gives me the error xvfb-run: usage error: need a command to run.
Are you sure the command you put in your comment is the exact command you used?

@tellamon
Copy link

@owen-m1 you need to give the command you want to execute after xvfb-run as follows

xvfb-run --server-args="-screen 0, 1280x1024x16" ffmpeg -i /test/input1.mp4 /test/input2.mp4 -filter_complex gltransition -y /test/out.mp4

@clickear
Copy link

run cmd
/usr/bin/Xorg -noreset +extension GLX +extension RANDR +extension RENDER -logfile ./xdummy.log -config /etc/X11/xorg.conf :1 &
it work for me!
see https://github.com/clofus/ffmpeg-gl/blob/master/init.sh

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

6 participants