GithubHelp home page GithubHelp logo

Comments (10)

bakape avatar bakape commented on May 19, 2024

Can you upload the file causing this?

from thumbnailer.

paulm17 avatar paulm17 commented on May 19, 2024

Thanks for the quick response. Here is the link: https://www.dropbox.com/s/wt8m4z7nr0lsjp0/big_buck_bunny_720p_1mb.mp4?dl=0

Let me know if you have issues and I'll share it elsewhere.

from thumbnailer.

bakape avatar bakape commented on May 19, 2024

I'm on Ubuntu 19.04 and it seems to be working fine. The one thing that might segfault there is null pointer deref on AVFormatContext.meta. Does this fix the problem?

from thumbnailer.

paulm17 avatar paulm17 commented on May 19, 2024

Unfortunately it does not. I will upgrade to 19.04 and then report back.

from thumbnailer.

paulm17 avatar paulm17 commented on May 19, 2024

I've upgraded to 19.10 and still have the same issue.

What's your version of ffmpeg? thanks

from thumbnailer.

bakape avatar bakape commented on May 19, 2024
ffmpeg version 4.1.3-0ubuntu1 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 8 (Ubuntu 8.3.0-6ubuntu1)
  configuration: --prefix=/usr --extra-version=0ubuntu1 --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-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
  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
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  3.100 /  5.  3.100
  libswresample   3.  3.100 /  3.  3.100
  libpostproc    55.  3.100 / 55.  3.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

This is stock ubuntu FFmpeg and not compiled from sources, as it seems the ubuntu patch bugs no longer affect them.

from thumbnailer.

paulm17 avatar paulm17 commented on May 19, 2024

I upgraded from the manual compile I had under 18.10 to the newer 4.1.3 with 19.04.

I also mocked up a standalone program with the above code and it works fine. Although my main program still does not. But I'm sure it's a fault on my end somewhere.

Seeing as it works standalone, I'm closing this.

Many thanks for your help and building out this library also.

from thumbnailer.

paulm17 avatar paulm17 commented on May 19, 2024

This morning, I finally got to the bottom of this.

I'm using https://github.com/discordapp/lilliput for fast image resizing. If I use lilliput and thumbnailer together in the same app, then I get the crash.

goroutine 1 [syscall]:
runtime.cgocall(0x5bd270, 0xc000049bb8, 0x5a3cee)
    /usr/lib/go-1.13/src/runtime/cgocall.go:128 +0x5b fp=0xc000049b88 sp=0xc000049b50 pc=0x4a315b

I presume that because are both using cgo at the same time?

It's all good now. I'm running an MQ and have put videos and other types of files into separate executables.

from thumbnailer.

bakape avatar bakape commented on May 19, 2024

from thumbnailer.

paulm17 avatar paulm17 commented on May 19, 2024

Thanks for the confirmation!

from thumbnailer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.