negativo17 / ffmpeg

A complete solution to record, convert and stream audio and video
9 stars 4 forks source link

enable-librtmp option is harmful? #11

Closed trengri closed 1 year ago

trengri commented 1 year ago

When writing to rtmp:// output, ffmpeg terminates after 30-40 minutes with the following error:

av_interleaved_write_frame(): End of file

This appears to be the following bug: https://trac.ffmpeg.org/ticket/7547 Currently ffmpeg is built with --enable-librtmp option, which makes use of librtmp. Recommended workaround is to build without --enable-librtmp option as ffmpeg has native RTMP implementation.

Is it possible to remove --enable-librtmp option from SPEC file? It's not enabled by default and I believe this option is harmful as native RTMP implementation works fine.

scaronni commented 1 year ago

Ah cool, was not aware of it. Will push an update without the library.

Thanks!