libavresample deprecated in ffmpeg upstream

Forum for questions and support relating to the 1.32.x releases only.
Post Reply
Nocifer
Posts: 37
Joined: Mon Oct 01, 2018 4:05 pm

libavresample deprecated in ffmpeg upstream

Post by Nocifer »

Quoting directly from here: https://www.archlinux.org/todo/libavresample-drop/
libavresample was initially merged into ffmpeg to be a drop-in replacement for libav, but was never maintained by ffmpeg itself in favor of their own libswresample. According to upstream, libswresample can do everything libavresample can do and more [1], plus libavresample has been entirely deprecated at the end of last year [2].

[1] https://lists.ffmpeg.org/pipermail/ffmp ... 23746.html
[2] https://patchwork.ffmpeg.org/patch/6959/
Since this deprecation is official and has already happened in upstream almost a year ago, and since libswresample is a superset of libavresample and can safely replace it without any complications, it makes sense that in due time all distros will be removing support for libavresample in their ffmpeg packages, just like Arch has already done so.

Just mentioning this here so a switching out of libavresample in favor of libswresample may be considered in the future.

Additionally, my log consistently shows the following WARNING:

Code: Select all

2018-10-13 15:02:55	zmc_m1		15150	WAR	Option rtsp_transport not recognized by ffmpeg	zm_ffmpeg_camera.cpp	372
From what I understand 'rtsp_transport' is a feature handled by libavformat, not libavresample, but it still might be related. Or it might not.
Post Reply