FAQ  •  Register  •  Login

Serviio, FFmpeg problem on Freebsd 9.1

<<

jshg46

Streaming enthusiast

Posts: 47

Joined: Tue Apr 24, 2012 11:57 pm

Post Wed Jun 26, 2013 3:41 pm

Serviio, FFmpeg problem on Freebsd 9.1

I am not sure if this is a bug or what. I have installed Freebsd 9.1 on my server via ports. I used the make config panel and add RTMP to the config alone with the usual others. The problem I am having is that Serviio keeps saying that FFmpeg doesn't have support for librtmp. I ran a ffmpeg rtmp link in the console and it would display the video, but Serviio claims it will not work. Has anyone seen this happen?
<<

lidow

Serviio newbie

Posts: 5

Joined: Sat Dec 22, 2012 6:50 pm

Post Thu Jun 27, 2013 7:55 pm

Re: Serviio, FFmpeg problem on Freebsd 9.1

I'm confirming this with ffmpeg 1.2.1 and serviio from ports. I have librtmp enabled in the ffmpeg build, but serviio still claims a warning that is not enabled.

/var/log/serviio$ grep ffmpeg serviio.log
2013-06-27 22:48:49,465 DEBUG [FFMPEGWrapper] Invoking FFMPEG to check if it exists of path /usr/local/bin/ffmpeg1
2013-06-27 22:48:49,469 DEBUG [ProcessExecutor] Starting /usr/local/bin/ffmpeg1

/var/log/serviio$ grep WARN serviio.log
2013-06-27 22:48:49,588 WARN [FFMPEGWrapper] FFmpeg is not compiled with librtmp support, RTMP streaming will not work.

/var/log/serviio$ ffmpeg1 -version
ffmpeg version 1.2.1
built on Jun 27 2013 21:35:03 with gcc 4.2.1 (GCC) 20070831 patched [FreeBSD]
configuration: --prefix=/usr/local --mandir=/usr/local/man --incdir=/usr/local/include/ffmpeg1 --libdir=/usr/local/lib/ffmpeg1 --shlibdir=/usr/local/lib/ffmpeg1 --datadir=/usr/local/share/ffmpeg1 --build-suffix=1 --progs-suffix=1 --enable-shared --enable-gpl --enable-postproc --enable-avfilter --enable-pthreads --enable-memalign-hack --disable-libstagefright-h264 --disable-libutvideo --disable-libsoxr --cc=cc --extra-cflags='-msse -I/usr/local/include/vorbis -I/usr/local/include' --extra-ldflags='-L/usr/local/lib ' --extra-libs=-pthread --disable-debug --enable-libaacplus --disable-indev=alsa --disable-outdev=alsa --disable-libopencore-amrnb --disable-libopencore-amrwb --enable-libass --disable-libcdio --disable-libcelt --enable-libfaac --enable-libfdk-aac --disable-ffserver --enable-fontconfig --enable-libfreetype --enable-frei0r --enable-gnutls --disable-libgsm --enable-iconv --enable-libmp3lame --enable-libbluray --disable-libv4l2 --disable-libmodplug --disable-openal --enable-libopencv --disable-libopenjpeg --disable-libopus --disable-libpulse --enable-librtmp --enable-libschroedinger --disable-ffplay --disable-libspeex --enable-libtheora --disable-vaapi --enable-vdpau --enable-libvo-aacenc --disable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-nonfree --enable-version3
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Jul 03, 2013 8:03 pm

Re: Serviio, FFmpeg problem on Freebsd 9.1

what if you execute just

  Code:
/usr/local/bin/ffmpeg1


without any parameter.
<<

lidow

Serviio newbie

Posts: 5

Joined: Sat Dec 22, 2012 6:50 pm

Post Sun Jul 14, 2013 2:50 pm

Re: Serviio, FFmpeg problem on Freebsd 9.1

Here is the output.
Looks like rtmp is missing here.

  Code:
$ ffmpeg1
ffmpeg version 1.2.1 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jun 27 2013 21:35:03 with gcc 4.2.1 (GCC) 20070831 patched [FreeBSD]
  configuration: --prefix=/usr/local --mandir=/usr/local/man --incdir=/usr/local/include/ffmpeg1 --libdir=/usr/local/lib/ffmpeg1 --shlibdir=/usr/local/lib/ffmpeg1 --datadir=/usr/local/share/ffmpeg1 --build-suffix=1 --progs-suffix=1 --enable-shared --enable-gpl --enable-postproc --enable-avfilter --enable-pthreads --enable-memalign-hack --disable-libstagefright-h264 --disable-libutvideo --disable-libsoxr --cc=cc --extra-cflags='-msse -I/usr/local/include/vorbis -I/usr/local/include' --extra-ldflags='-L/usr/local/lib ' --extra-libs=-pthread --disable-debug --enable-libaacplus --disable-indev=alsa --disable-outdev=alsa --disable-libopencore-amrnb --disable-libopencore-amrwb --enable-libass --disable-libcdio --disable-libcelt --enable-libfaac --enable-libfdk-aac --disable-ffserver --enable-fontconfig --enable-libfreetype --enable-frei0r --enable-gnutls --disable-libgsm --enable-iconv --enable-libmp3lame --enable-libbluray --disable-libv4l2 --disable-libmodplug --disable-openal --enable-libopencv --disable-libope  libavutil      52. 18.100 / 52. 18.100
  libavcodec     54. 92.100 / 54. 92.100
  libavformat    54. 63.104 / 54. 63.104
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 42.103 /  3. 42.103
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Use -h to get full help or, even better, run 'man ffmpeg'


Anyway I did another recompile of the port, and this is the configure section:

  Code:
Enabled protocols:
applehttp      http         mmsh
bluray         httpproxy      mmst
cache         https         pipe
concat         librtmp         rtp
crypto         librtmpe      sctp
data         librtmps      srtp
file         librtmpt      tcp
gopher         librtmpte      tls
hls         md5         udp


And this is the fresh binary:

  Code:
$ ffmpeg1 -protocols
ffmpeg version 1.2.1 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jul 14 2013 17:47:46 with gcc 4.2.1 (GCC) 20070831 patched [FreeBSD]
  configuration: --prefix=/usr/local --mandir=/usr/local/man --incdir=/usr/local/include/ffmpeg1 --libdir=/usr/local/lib/ffmpeg1 --shlibdir=/usr/local/lib/ffmpeg1 --datadir=/usr/local/share/ffmpeg1 --build-suffix=1 --progs-suffix=1 --enable-shared --enable-gpl --enable-postproc --enable-avfilter --enable-pthreads --enable-memalign-hack --disable-libstagefright-h264 --disable-libutvideo --disable-libsoxr --cc=cc --extra-cflags='-msse -I/usr/local/include/vorbis -I/usr/local/include' --extra-ldflags='-L/usr/local/lib ' --extra-libs=-pthread --disable-debug --enable-libaacplus --disable-indev=alsa --disable-outdev=alsa --disable-libopencore-amrnb --disable-libopencore-amrwb --enable-libass --disable-libcdio --disable-libcelt --enable-libfaac --enable-libfdk-aac --disable-ffserver --enable-fontconfig --enable-libfreetype --enable-frei0r --enable-gnutls --disable-libgsm --enable-iconv --enable-libmp3lame --enable-libbluray --disable-libv4l2 --disable-libmodplug --disable-openal --enable-libopencv --disable-libope  libavutil      52. 18.100 / 52. 18.100
  libavcodec     54. 92.100 / 54. 92.100
  libavformat    54. 63.104 / 54. 63.104
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 42.103 /  3. 42.103
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Supported file protocols:
Input:
applehttp
bluray
cache
concat
crypto
data
file
gopher
hls
http
httpproxy
https
mmsh
mmst
pipe
rtp
sctp
srtp
tcp
tls
udp
rtmp
rtmpe
rtmps
rtmpt
rtmpte
Output:
file
gopher
http
httpproxy
https
md5
pipe
rtp
sctp
srtp
tcp
tls
udp
rtmp
rtmpe
rtmps
rtmpt
rtmpte
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Jul 15, 2013 11:04 pm

Re: Serviio, FFmpeg problem on Freebsd 9.1

still not there, right? the rtmp formats from your output might be the built-in rtmp protocols
<<

hvolks

Serviio newbie

Posts: 1

Joined: Mon Aug 26, 2013 1:16 pm

Post Mon Aug 26, 2013 1:25 pm

Re: Serviio, FFmpeg problem on Freebsd 9.1

Hi
Any updates on this..
I have just upgraded to 1.3.1 and all is OK EXCEPT the FFMPEG issue as described below..I have a FFMPEG 1.2.2 from the latest port and protocols shows RTMP... but no --enable-librtmp

jail# ffmpeg1 -protocols
ffmpeg version 1.2.2 Copyright (c) 2000-2013 the FFmpeg developers
built on Aug 26 2013 21:49:22 with gcc 4.2.2 (GCC) 20070831 prerelease [FreeBSD]
configuration: --enable-x11grab --prefix=/usr/local --mandir=/usr/local/man --incdir=/usr/local/include/ffmpeg1 --libdir=/usr/local/lib/ffmpeg1 --shlibdir=/usr/local/lib/ffmpeg1 --datadir=/usr/local/share/ffmpeg1 --build-suffix=1 --progs-suffix=1 --enable-shared --enable-gpl --enable-postproc --enable-avfilter --enable-avresample --enable-pthreads --enable-memalign-hack --disable-libstagefright-h264 --disable-libutvideo --disable-libsoxr --cc=cc --extra-cflags='-msse -I/usr/local/include' --extra-ldflags='-L/usr/local/lib ' --extra-libs=-pthread --disable-debug --disable-libaacplus --disable-indev=alsa --disable-outdev=alsa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libass --disable-libcdio --disable-libcelt --enable-libfaac --disable-libfdk-aac --enable-fontconfig --enable-libfreetype --enable-frei0r --enable-gnutls --disable-libgsm --enable-iconv --enable-libmp3lame --disable-libbluray --disable-libv4l2 --disable-libmodplug --disable-openal --enable-libopencv --disable-libopenjpeg --d libavutil 52. 18.100 / 52. 18.100
libavcodec 54. 92.100 / 54. 92.100
libavformat 54. 63.104 / 54. 63.104
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 42.103 / 3. 42.103
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Supported file protocols:
Input:
applehttp
cache
concat
crypto
data
file
gopher
hls
http
httpproxy
https
mmsh
mmst
pipe
rtp
sctp
srtp
tcp
tls
udp
rtmp
rtmpe
rtmps
rtmpt
rtmpte
Output:
file
gopher
http
httpproxy
https
md5
pipe
rtp
sctp
srtp
tcp
tls
udp
rtmp
rtmpe
rtmps
rtmpt
rtmpte
jail#


Yet I get 2013-08-26 21:56:36,516 WARN [FFMPEGWrapper] FFmpeg is not compiled with librtmp support, RTMP streaming will not work.

Has anyone got any further.

Return to Serviio Support & Help

Who is online

Users browsing this forum: Google [Bot] and 37 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.