FS#15936 - [mplayer] lacks live555 (RTP/RTCP/RTSP/SIP) support

Attached to Project: Arch Linux
Opened by Petar Bogdanovic (pebo) - Friday, 14 August 2009, 17:38 GMT
Last edited by Ionut Biru (wonder) - Tuesday, 12 January 2010, 13:19 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Hugo Doria (hdoria)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:

A recent update (can't remember which one) removed live-media (live555)
support from mplayer.

live-media is still in makedepends of the mplayer PKGBUILD so it is
probably a ./configure auto-detection problem.


Fix:

I guess there is a more elegant solution but the following additional
flags worked for me:

--extra-cflags="-I/usr/lib/live-media/BasicUsageEnvironment/include -I/usr/lib/live-media/UsageEnvironment/include -I/usr/lib/live-media/groupsock/include -I/usr/lib/live-media/liveMedia/include"
--extra-libs="-L/usr/lib/live-media/UsageEnvironment -L/usr/lib/live-media/liveMedia -L/usr/lib/live-media/groupsock -L/usr/lib/live-media/BasicUsageEnvironment -lUsageEnvironment -lliveMedia -lgroupsock -lBasicUsageEnvironment"


Additional info:

mplayer 29411-3


Steps to reproduce:

mplayer rtsp://<some-addr>/some/path
This task depends upon

Closed by  Ionut Biru (wonder)
Tuesday, 12 January 2010, 13:19 GMT
Reason for closing:  Fixed
Additional comments about closing:  mplayer-30286-1
Comment by Goh Choon Yoong (cygoh) - Friday, 23 October 2009, 14:37 GMT
  • Field changed: Percent Complete (100% → 0%)
Not fixed, mplayer still lacks live555 support
Comment by xduugu (xduugu) - Sunday, 25 October 2009, 17:33 GMT
According to http://www.live555.com/mplayer/, you should use:
./configure --with-extraincdir=<path-to-LIVE555-Streaming-Media-library-directory>

Could someone provide a rtsp address for testing.
Comment by pank (Pank) - Monday, 02 November 2009, 14:00 GMT Comment by xduugu (xduugu) - Monday, 02 November 2009, 16:25 GMT
Thanks, but unfortunately, none of them work for me. However, I finally found several streams for testing [1].
A patch for the PKGBUILD is attached.

[1] http://www.gentoo-wiki.info/MPlayer/Rip_streams#Real_Media_2
Comment by xduugu (xduugu) - Monday, 02 November 2009, 16:37 GMT
Apparently, the streams from gentoo-wiki are not live555 ones and even the latest mplayer from extra can play them. Therefore, I do not know if live555 actually works, but at least, it is now compiled in.

mplayer from extra:

MPlayer SVN-r29776-4.4.1 (C) 2000-2009 MPlayer Team
141 audio & 306 video codecs
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing rtsp://stream.auburn.edu/suggjan/welcome.rm.
Resolving stream.auburn.edu for AF_INET...
Couldn't resolve name for AF_INET: stream.auburn.edu
Resolving stream.auburn.edu for AF_INET...
Couldn't resolve name for AF_INET: stream.auburn.edu
Resolving stream.auburn.edu for AF_INET...
Couldn't resolve name for AF_INET: stream.auburn.edu
No stream found to handle url rtsp://stream.auburn.edu/suggjan/welcome.rm


Exiting... (End of file)


New mplayer:

MPlayer SVN-r29812-4.4.2 (C) 2000-2009 MPlayer Team
141 audio & 306 video codecs
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing rtsp://stream.auburn.edu/suggjan/welcome.rm.
Resolving stream.auburn.edu for AF_INET...
Couldn't resolve name for AF_INET: stream.auburn.edu
Resolving stream.auburn.edu for AF_INET...
Couldn't resolve name for AF_INET: stream.auburn.edu
STREAM_LIVE555, URL: rtsp://stream.auburn.edu/suggjan/welcome.rm
Stream not seekable!
file format detected.
Failed to get a SDP description from URL "rtsp://stream.auburn.edu/suggjan/welcome.rm": Failed to find network address for "stream.auburn.edu"


Exiting... (End of file)
Comment by Ionut Biru (wonder) - Tuesday, 12 January 2010, 00:00 GMT
the problem is in live-media package. i'll release a new package that i'll use on mplayer rebuild

Loading...