Goldo02 / gif_and_video_art_engine

A GIF and Video art engine that will allow you to generate multi-layer GIFs or Video from single GIFs or Video as layers.
MIT License
63 stars 34 forks source link

Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used) #15

Closed Ugijago closed 2 years ago

Ugijago commented 2 years ago

first time i use i have [gif @ 0x55c74bad1a00] invalid block label and Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used) eror show up and the gif corrupted

but after i remove -ss it can run but another error still remain [gif @ 0x55c74bad1a00] invalid block label for each layer

note : btw i use your original gif Screenshot 2022-02-26 012502

Goldo02 commented 2 years ago

Are u using the Ubuntu terminal right? Did u recompile the code?

Ugijago commented 2 years ago

Are u using the Ubuntu terminal right? Did u recompile the code? yes of course

Goldo02 commented 2 years ago

Can u contact me on discord and send me more info/screenshots?

Ugijago commented 2 years ago

Can u contact me on discord and send me more info/screenshots?

i just do what you do in tutorial video, exactly the same nothing i change except -ss in myffmpegconversion.cpp Screenshot 2022-02-27 001025

ya it work properly by remove those argument i have output in media and nothing corrupted , but i am not feel good seeing those error

just afraid something will went wrong if i generate big collection thats all

Goldo02 commented 2 years ago

So now is working, but u are afraid when generating bigger collections?

Ugijago commented 2 years ago

So now is working, but u are afraid when generating bigger collection?

ya and just bit perfectionist i dont like work code with weird error still remain(invalid block label) 😊

i search those bug found team https://trac.ffmpeg.org/ticket/3021 should be fixed by ffmpeg 8 year ago

because i do it just like yours in video, its simple, weirdly output different 🤔 so what do you think is wrong ?

so can you fix it?

Goldo02 commented 2 years ago

it is really strange, have u tryed updating ur ffmpeg version? and what version do u have?

Ugijago commented 2 years ago

$ ffmpeg -version ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 9 (Ubuntu 9.3.0-10ubuntu2) configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared libavutil 56. 31.100 / 56. 31.100 libavcodec 58. 54.100 / 58. 54.100 libavformat 58. 29.100 / 58. 29.100 libavdevice 58. 8.100 / 58. 8.100 libavfilter 7. 57.100 / 7. 57.100 libavresample 4. 0. 0 / 4. 0. 0 libswscale 5. 5.100 / 5. 5.100 libswresample 3. 5.100 / 3. 5.100 libpostproc 55. 5.100 / 55. 5.100

Goldo02 commented 2 years ago

I'm sorry but i don't think i can fix It. I mean on my PC there Isn't this error. This is really strange...

Ugijago commented 2 years ago

I'm sorry but i don't think i can fix It. I mean on my PC there Isn't this error. This is really strange...

so what do you think causing invalid block? is it cause by ffmpeg? maybe there is ffmpeg argument depending on newest cpu instruction set ? i am suspicious its cause by -filter_complex but if i delete it from your code it wont run

Goldo02 commented 2 years ago

Are u from windows 10 right? i would like to investigate more into this, can u add me on discord?

Ugijago commented 2 years ago

Are u from windows 10 right? i would like to investigate more into this, can u add me on discord?

me window 11, i am sorry i dont play discord 😔 just ask what you need i will try post it here 🙏 by the way my cpu is x5670 so maybe cause by avx or something? 😵‍💫 because my cpu dont support it

Goldo02 commented 2 years ago

I think that's an OS problem. I tryed today on my friend's PC that he has Windows 11 on It and showed the same warning. I think there is nothing u can do to don't show this warning. Anyways the code works so ...

Ugijago commented 2 years ago

I think that's an OS problem. I tryed today on my friend's PC that he has Windows 11 on It and showed the same warning. I think there is nothing u can do to don't show this warning. Anyways the code works so ...

ok then so i will close this now 👍