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

Ubuntu 23.10 support #668

Closed

Conversation

andrey-utkin
Copy link
Contributor

No description provided.

On Ubuntu 23.10, FFmpeg won't build due to the issue which is now solved
in upstream FFmpeg, see
https://trac.ffmpeg.org/ticket/10405
https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/effadce6c756247ea8bae32dc13bb3e6f464f0eb
@andrey-utkin andrey-utkin force-pushed the ubuntu-23.10-support branch from 4cc47f1 to 200d91e Compare March 7, 2024 11:21
lavf_device.cpp: In member function 'virtual int lavf_device::start()':
lavf_device.cpp:102:49: error: invalid conversion from 'const AVInputFormat*' to 'AVInputFormat*' [-fpermissive]
  102 |                 input_fmt = av_find_input_format("mjpeg");
      |                             ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
      |                                                 |
      |                                                 const AVInputFormat*
@andrey-utkin andrey-utkin force-pushed the ubuntu-23.10-support branch from 200d91e to dd24897 Compare March 7, 2024 11:35
media_writer.cpp: In member function 'int media_writer::open(const string&, const stream_properties&)':
media_writer.cpp:281:50: error: invalid conversion from 'const AVOutputFormat*' to 'AVOutputFormat*' [-fpermissive]
  281 |         AVOutputFormat *fmt_out = av_guess_format("mp4", NULL, "video/mp4");
      |                                   ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                  |
      |                                                  const AVOutputFormat*
andrey-utkin and others added 6 commits June 7, 2024 17:04
It's not obvious that this hack is still in use.
Muxing without reencoding should be possible with current ffmpeg API so
the original explanation is moot.
This API was obsoleted and doesn't exist anymore:

2017-12-26 - a04c2c707d - lavc 58.9.100 - avcodec.h
  Deprecate av_lockmgr_register(). You need to build FFmpeg with threading
  support enabled to get basic thread-safety (which is the default build
  configuration).
@andrey-utkin andrey-utkin force-pushed the ubuntu-23.10-support branch from 91095b0 to f20d9d3 Compare June 10, 2024 22:54
@andrey-utkin andrey-utkin force-pushed the ubuntu-23.10-support branch from f20d9d3 to 4184495 Compare June 10, 2024 23:09
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

Successfully merging this pull request may close these issues.

1 participant