Page 1 of 1

librtmp libass

PostPosted: Sat Jun 01, 2013 3:44 pm
by Obeldobel
Hi all,

Unfortunately, I seem to be too stupid.

my system: debian 6.0 64 bit, when I start the server, I get the following message:


2013-06-01 10:02:05,897 WARN [FFMPEGWrapper] FFmpeg is not compiled with librtmp support, RTMP streaming will not work.
2013-06-01 10:02:05,897 WARN [FFMPEGWrapper] FFmpeg is not compiled with libass support, rendering subtitles (hardsub) will not work.

how can I compile librtm and libass support?

when I run the web server, I just get a registration page with password query. but I would like to activate the license. or where I can copy the pc5dczc_xxxxxxx.lic , so I have the pro version?

http://176.28.31.62:23424/mediabrowser/


thx

Re: librtmp libass

PostPosted: Sun Jun 02, 2013 1:36 pm
by zip
if you're still running the 15 days evaluation version of Pro, just enter the password in the console (remote tab) and use it in the MediaBrowser.

Re FFmpeg, there is a wiki article on how to compile in on Linux.

Re: librtmp libass

PostPosted: Sun Jun 02, 2013 2:59 pm
by Obeldobel
i have no remote tab. the software is running on a root-server without graphic surfaces, only command line



greetz

Re: librtmp libass

PostPosted: Sun Jun 02, 2013 3:11 pm
by will
The MediaBrowser is just for viewing content remotely, you cannot setup the server using it.

You can upload the licence using the comand line viewtopic.php?f=17&t=5330&p=50586&hilit=curl+License#p50586

However, you will need the console to configure the server. So you can install the console on your PC and point it to the server http://www.serviio.org/component/conten ... e?id=21#q2 or use ServiiDroid (Android), or one of the WP apps, or you can install the PHP Web UI on your server and use that (http://wiki.serviio.org/doku.php?id=phpwebui, requires apache, and curl for apache, install by doing git clone git://github.com/mpemberton5/Web-UI-for-Serviio.git /var/www/serviioweb)

Re: librtmp libass

PostPosted: Mon Jun 17, 2013 3:49 pm
by Obeldobel
fine.
since everything has worked and the server starts without errors.

thx a lot.

but now comes the next problem: I have a little chat (123flashchat) with webcam.

with "rtmp :/ / 1.2.3.4:1978 / oflaDemo" I connect to my red5 server.

Which command for a server Serviio?


greetz

Re: librtmp libass

PostPosted: Tue Jul 16, 2013 5:55 am
by Obeldobel
no idea or to stupid this question ?


greetz

Re: librtmp libass

PostPosted: Tue Jul 16, 2013 12:49 pm
by zip
add it as a live stream

Re: librtmp libass

PostPosted: Tue Jul 16, 2013 2:53 pm
by Obeldobel
thx for the tip, i will try it on weekend

greetz

Re: librtmp libass

PostPosted: Sat Jul 20, 2013 6:01 am
by Obeldobel
I have tried: "book", then "online source", "source type = live stream" link to rtmp :/ / ipaddress: 1935 write and test. that does not work


greetz

Re: librtmp libass

PostPosted: Mon Jul 22, 2013 3:45 pm
by zip
post detaied log when adding the link and clicking Check button

Re: librtmp libass

PostPosted: Mon Jul 22, 2013 4:34 pm
by Obeldobel
2013-07-22 18:28:24,633 INFO [WebServer] WebServer starting on port 8895
2013-07-22 18:28:24,634 INFO [EventSubscriptionExpirationChecker] Starting EventSubscriptionExpirationChecker
2013-07-22 18:28:24,635 INFO [EventDispatcher] Starting EventDispatcher
2013-07-22 18:28:24,635 INFO [RendererSearchSender] Searching for Renderer devices
2013-07-22 18:28:24,635 INFO [DiscoveryAdvertisementNotifier] Starting DiscoveryAdvertisementNotifier
2013-07-22 18:28:24,649 INFO [DiscoverySSDPMessageListener] Starting DiscoverySSDPMessageListener using interface venet0 (venet0) and address 176.28.31.62, timeout = 0
2013-07-22 18:29:22,388 INFO [LibraryAdditionsCheckerThread] Finished looking for newly added files
2013-07-22 18:29:22,430 INFO [LibraryUpdatesCheckerThread] Finished looking for updates to currently shared files
2013-07-22 18:29:22,454 WARN [FeedUpdaterThread] Failed to retrieve online item information for rtmp://176.28.31.62:1935. It might not play.
java.io.IOException: org.serviio.library.local.metadata.extractor.InvalidMediaFormatException: Unknown video file type.
at org.serviio.library.online.metadata.FeedUpdaterThread.retrieveMetadata(FeedUpdaterThread.java:292)
at org.serviio.library.online.metadata.FeedUpdaterThread.retrieveTechnicalMetadata(FeedUpdaterThread.java:209)
at org.serviio.library.online.metadata.FeedUpdaterThread.run(FeedUpdaterThread.java:102)
Caused by: org.serviio.library.local.metadata.extractor.InvalidMediaFormatException: Unknown video file type.
at org.serviio.library.metadata.FFmpegMetadataRetriever.validateMandatoryMetadata(FFmpegMetadataRetriever.java:453)
at org.serviio.library.metadata.FFmpegMetadataRetriever.retrieveMetadata(FFmpegMetadataRetriever.java:94)
at org.serviio.library.metadata.FFmpegMetadataRetriever.retrieveOnlineMetadata(FFmpegMetadataRetriever.java:132)
at org.serviio.library.online.metadata.FeedUpdaterThread.retrieveMetadata(FeedUpdaterThread.java:269)
... 2 more
2013-07-22 18:29:22,490 INFO [PlaylistMaintainerThread] Finished looking for playlist changes
2013-07-22 18:29:22,593 INFO [LibraryAdditionsCheckerThread] Started looking for newly added files
2013-07-22 18:29:22,594 INFO [LibraryUpdatesCheckerThread] Started looking for updates to currently shared files
2013-07-22 18:29:22,599 INFO [PlaylistMaintainerThread] Started looking playlist changes
2013-07-22 18:29:57,328 INFO [WebServer] WebServer shutting down

Re: librtmp libass

PostPosted: Mon Jul 22, 2013 4:38 pm
by zip
what if you execute

  Code:
ffmpeg -i rtmp://176.28.31.62:1935

Re: librtmp libass

PostPosted: Mon Jul 22, 2013 4:47 pm
by Obeldobel
root@vps10166:/home/red5# ffmpeg -i rtmp://176.28.31.62:1935
ffmpeg version git-2013-06-03-c8faa47 Copyright (c) 2000-2013 the FFmpeg developers
built on Jun 3 2013 19:30:54 with gcc 4.4.5 (Debian 4.4.5-8)
configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab --enable-librtmp --enable-libxvid --enable-libass
libavutil 52. 34.100 / 52. 34.100
libavcodec 55. 15.100 / 55. 15.100
libavformat 55. 8.102 / 55. 8.102
libavdevice 55. 2.100 / 55. 2.100
libavfilter 3. 74.101 / 3. 74.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
Speicherzugriffsfehler

Re: librtmp libass

PostPosted: Mon Jul 22, 2013 9:09 pm
by zip
There is a problem, either with the URL or the FFmpeg. Does the URL work in VLC?

Re: librtmp libass

PostPosted: Tue Jul 23, 2013 3:07 am
by Obeldobel
i will test it on the weekend

greetz

Re: librtmp libass

PostPosted: Tue Jul 23, 2013 3:25 am
by Obeldobel
no, it does not work

red5@vps10166:~$ vlc rtmp://176.28.31.62:1935
VLC media player 2.0.1 Twoflower (revision 2.0.1-0-gf432547)
[0x1fed4dd8] inhibit interface error: Failed to connect to the D-Bus session daemon: /usr/bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.

[0x1fed4dd8] main interface error: no suitable interface module
[0x1fed5888] main interface error: no suitable interface module
[0x1fea7108] main libvlc error: interface "globalhotkeys,none" initialization failed
[0x1fea7108] main libvlc: VLC wird mit dem Standard-Interface ausgeführt. Benutzen Sie 'cvlc', um VLC ohne Interface zu verwenden.
[0x1fed6658] qt4 interface error: Could not connect to X server
[0x1fed6658] skins2 interface error: cannot initialize OSFactory
[0x1fed6658] [cli] lua interface: Listening on host "*console".
VLC media player 2.0.1 Twoflower
Command Line Interface initialized. Type `help' for help.
> No application or playpath in URL!
RTMP_Connect0, failed to connect socket. 111 (Verbindungsaufbau abgelehnt)
[0x1fef8cb8] access_avio access error: Failed to open rtmp://176.28.31.62:1935: Operation not permitted
[0x200ba198] main input error: open of `rtmp://176.28.31.62:1935' failed
[0x200ba198] main input error: Ihre Eingabe konnte nicht geöffnet werden
[0x200ba198] main input error: VLC kann die MRL 'rtmp://176.28.31.62:1935' nicht öffnen.









but after the installation of vlc comes following message


red5@vps10166:~$ ffmpeg -i rtmp://176.28.31.62:1935
ffmpeg version git-2013-06-03-c8faa47 Copyright (c) 2000-2013 the FFmpeg developers
built on Jun 3 2013 19:30:54 with gcc 4.4.5 (Debian 4.4.5-8)
configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab --enable-librtmp --enable-libxvid --enable-libass
libavutil 52. 34.100 / 52. 34.100
libavcodec 55. 15.100 / 55. 15.100
libavformat 55. 8.102 / 55. 8.102
libavdevice 55. 2.100 / 55. 2.100
libavfilter 3. 74.101 / 3. 74.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
No application or playpath in URL!
RTMP_Connect0, failed to connect socket. 111 (Connection refused)
rtmp://176.28.31.62:1935: Unknown error occurred

Re: librtmp libass

PostPosted: Tue Jul 23, 2013 10:30 am
by zip
I think it's related to this message:

  Code:
 No application or playpath in URL!


Normally, RTMP URLs have other parameters in the path, not just IP and port. Are you sure it's RTMP and not RTP/RTSP ?

Re: librtmp libass

PostPosted: Wed Jul 24, 2013 4:59 pm
by Obeldobel
this is the call in the chat for red5 server. and I am very sure, because every time I take this call for the red5 server