Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] ffmpeg RTMP server functionality broken when built with `--enable-librtmp`
@ 2024-09-25 19:46 TinfoilSubmarine
  2024-09-25 19:47 ` TinfoilSubmarine
  2024-10-09 23:57 ` tm512
  0 siblings, 2 replies; 3+ messages in thread
From: TinfoilSubmarine @ 2024-09-25 19:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 4095 bytes --]

New issue by TinfoilSubmarine on void-packages repository

https://github.com/void-linux/void-packages/issues/52353

Description:
### Is this a new report?

Yes

### System Info

Void 6.6.52_1 x86_64 AuthenticAMD uptodate rrmFFFFFFFFFFFFFFFFFFFFFFFF

### Package(s) Affected

ffmpeg6-6.1.2_2

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

_No response_

### Expected behaviour

Running `ffmpeg -listen 1 -i rtmp://192.168.1.235:1935/test -f h264 - | ffplay -` should listen for an incoming stream, then display a video.

### Actual behaviour

```
$ ffmpeg -listen 1 -i rtmp://192.168.1.235:1935/test -f h264 - | ffplay -                                                                                                                                                    
ffmpeg version 6.1.2ffplay version 6.1.2 Copyright (c) 2003-2024 the FFmpeg developers
  built with gcc 13.2.0 (GCC)
 Copyright (c) 2000-2024 the FFmpeg developers
  built with gcc 13.2.0 (GCC)
  configuration: --prefix=/usr --disable-debug --enable-gpl --enable-gnutls --disable-stripping --enable-libcdio --enable-version3 --enable-runtime-cpudetect --enable-libmp3lame --enable-libvorbis --enable-libxvid --enable-libx264 --enable-libvpx --enable-libtheora --enable-shared --enable-static --enable-libxcb --enable-libpulse --enable-libfreetype --enable-libmodplug --enable-libspeex --enable-libcelt --enable-libass --enable-libopus --enable-librtmp --enable-libjack --disable-libopencore_amrnb --disable-libopencore_amrwb --disable-libopenjpeg --enable-libbluray --enable-postproc --enable-opencl --enable-libvmaf --enable-libx265 --enable-libv4l2 --enable-libaom --enable-libbs2b --enable-libvidstab --enable-libdav1d --enable-libsrt --enable-librist --enable-libwebp --enable-vulkan --enable-libdrm --enable-libsvtav1 --enable-vaapi --enable-vdpau --disable-libzimg --disable-libmysofa --enable-libvpl --enable-nvenc --enable-nvdec
  configuration: --prefix=/usr --disable-debug --enable-gpl --enable-gnutls --disable-stripping --enable-libcdio --enable-version3 --enable-runtime-cpudetect --enable-libmp3lame --enable-libvorbis --enable-libxvid --enable-libx264 --enable-libvpx --enable-libtheora --enable-shared --enable-static --enable-libxcb --enable-libpulse --enable-libfreetype --enable-libmodplug --enable-libspeex --enable-libcelt --enable-libass --enable-libopus --enable-librtmp --enable-libjack --disable-libopencore_amrnb --disable-libopencore_amrwb --disable-libopenjpeg --enable-libbluray --enable-postproc --enable-opencl --enable-libvmaf --enable-libx265 --enable-libv4l2 --enable-libaom --enable-libbs2b --enable-libvidstab --enable-libdav1d --enable-libsrt --enable-librist --enable-libwebp --enable-vulkan --enable-libdrm --enable-libsvtav1 --enable-vaapi --enable-vdpau --disable-libzimg --disable-libmysofa --enable-libvpl --enable-nvenc --enable-nvdec
  libavutil      58. 29.100 / 58. 29.100
  libavcodec     60. 31.102 / 60. 31.102
  libavformat    60. 16.100 / 60. 16.100
  libavdevice    60.  3.100 / 60.  3.100
  libavfilter     9. 12.100 /  9. 12.100
  libswscale      7.  5.100 /  7.  5.100
  libswresample   4. 12.100 /  4. 12.100
  libpostproc    57.  3.100 / 57.  3.100
  libavutil      58. 29.100 / 58. 29.100
  libavcodec     60. 31.102 / 60. 31.102
  libavformat    60. 16.100 / 60. 16.100
  libavdevice    60.  3.100 / 60.  3.100
  libavfilter     9. 12.100 /  9. 12.100
  libswscale      7.  5.100 /  7.  5.100
  libswresample   4. 12.100 /  4. 12.100
  libpostproc    57.  3.100 / 57.  3.100
RTMP_Connect0, failed to connect socket. 111 (Connection refused)
[in#0 @ 0x55c4d2f5eb40] Error opening input: Unknown error occurred
Error opening input file rtmp://192.168.1.235:1935/test.
Error opening input files: Unknown error occurred
fd:: Invalid data found when processing input 0KB sq=    0B f=0/0
```

### Steps to reproduce

1. Have ffmpeg listen for an RTMP stream: `ffmpeg -listen 1 -i rtmp://192.168.1.235:1935/test -f h264 - | ffplay -`
2. Stream something to the RTMP url.
3. See error above.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ffmpeg RTMP server functionality broken when built with `--enable-librtmp`
  2024-09-25 19:46 [ISSUE] ffmpeg RTMP server functionality broken when built with `--enable-librtmp` TinfoilSubmarine
@ 2024-09-25 19:47 ` TinfoilSubmarine
  2024-10-09 23:57 ` tm512
  1 sibling, 0 replies; 3+ messages in thread
From: TinfoilSubmarine @ 2024-09-25 19:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 260 bytes --]

New comment by TinfoilSubmarine on void-packages repository

https://github.com/void-linux/void-packages/issues/52353#issuecomment-2375114497

Comment:
I have tested with a build of ffmpeg omitting `--enable-librtmp` and can confirm this error does not occur.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ffmpeg RTMP server functionality broken when built with `--enable-librtmp`
  2024-09-25 19:46 [ISSUE] ffmpeg RTMP server functionality broken when built with `--enable-librtmp` TinfoilSubmarine
  2024-09-25 19:47 ` TinfoilSubmarine
@ 2024-10-09 23:57 ` tm512
  1 sibling, 0 replies; 3+ messages in thread
From: tm512 @ 2024-10-09 23:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 419 bytes --]

New comment by tm512 on void-packages repository

https://github.com/void-linux/void-packages/issues/52353#issuecomment-2403638296

Comment:
At least in the past, librtmp builds also had connectivity issues while streaming (would randomly disconnect), prompting me to make my personal builds with it disabled. At this point I'm not sure if librtmp offers any useful features that ffmpeg's native RTMP doesn't yet have.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-10-09 23:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-25 19:46 [ISSUE] ffmpeg RTMP server functionality broken when built with `--enable-librtmp` TinfoilSubmarine
2024-09-25 19:47 ` TinfoilSubmarine
2024-10-09 23:57 ` tm512

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).