You are not logged in.

#1 2009-10-17 09:56:40

The_Real_Neo
Member
Registered: 2009-04-21
Posts: 5

VLC and RTSP

Hey all,

A recent upgrade of vlc broke the rtsp support. When I open an RTSP stream my command line shows warning like these:

[0x2f08008] main input error: open of `rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=201&flavour=hd' failed: (null)

Did anyone else encountered the same problem? Is there any known fix?

Thanks

Offline

#2 2009-10-17 15:40:37

eMxyzptlk
Member
Registered: 2008-02-04
Posts: 7

Re: VLC and RTSP

same here, VLC doesn't have RTSP module, i'm trying to debug it though, rebuilding live-media with -fPIC doesn't help

Offline

#3 2009-10-17 17:39:58

eMxyzptlk
Member
Registered: 2008-02-04
Posts: 7

Re: VLC and RTSP

I resolved the issue, short story, live-media should be built static and not dynamic...

I've being trying to resolve the issue the
whole day, but whatever I tried ( that's already suggested here or on the french forum since RTSP is mostly used by people owning a FreeBOX in France) I always get this:

libvlc warning: cannot load module `/usr/lib/vlc/demux/liblive555_plugin.so' (/usr/lib/vlc/demux/liblive555_plugin.so: undefined symbol: _ZTI9HashTable)

Googling this error led me to http://forum.videolan.org/viewtopic.php … 03#p221068

Below is the new live-media PKGBUILD, compile it and then re-compile VLC

# $Id: PKGBUILD 52918 2009-09-23 09:22:24Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Gilles CHAUVIN <gcnweb@gmail.com>
# Contributor: Wael Nasreddine <wael.nasreddine@sabayonlinux.org>

pkgname=live-media
pkgver=2009.09.21
pkgrel=2
pkgdesc="A set of C++ libraries for multimedia streaming"
arch=('i686' 'x86_64')
license=('LGPL')
url="http://live555.com/liveMedia"
depends=('gcc-libs')
source=(ftp://ftp.archlinux.org/other/live-media/live.${pkgver}.tar.gz)
md5sums=('1edc70c86bbbe7c6349f710295fe732c')

build()
{
  cd ${srcdir}/live
  sed \
        -e 's/$(INCLUDES) -I. -O2 -DSOCKLEN_T/$(INCLUDES) -I. -O2 -I. -fPIC -DSOCKLEN_T/g' \
        -e 's/\(LIBRARY_LINK =\).*/\1 $(LD) -o/g' \
        -e 's/\(LIBRARY_LINK_OPTS =\).*/\1 $(LINK_OPTS) -r -Bstatic/g' \
        -i config.linux
  ./genMakefiles linux
  make || return 1

  for dir in BasicUsageEnvironment UsageEnvironment groupsock liveMedia; do
    mkdir -p ${pkgdir}/usr/lib/${pkgname}/${dir}
    cp -r ${dir}/*.a ${dir}/include ${pkgdir}/usr/lib/${pkgname}/${dir}
  done

  mkdir -p ${pkgdir}/usr/bin
  for testprog in `find testProgs -type f -perm 755`; do
    install ${testprog} ${pkgdir}/usr/bin
  done
}

Please try it..

Last edited by eMxyzptlk (2009-10-17 17:44:19)

Offline

#4 2009-10-17 22:15:56

The_Real_Neo
Member
Registered: 2009-04-21
Posts: 5

Re: VLC and RTSP

Great! Your solution worked pretty well for me smile

You should probably propose a patch to the package maintainer.

Thank you very much!

Offline

#5 2009-10-18 11:40:52

zatricky
Member
From: Stockholm
Registered: 2008-09-03
Posts: 55
Website

Re: VLC and RTSP

It was particularly irritating that I couldn't watch a stream of the Brazilian GP qualifying until I found this. Worked brilliantly. Thanks.


pacman russian roulette: yes | pacman -Rcs $(pacman -Q | LANG=C sort -R | head -n $((RANDOM % 10)))
(yes, I know its broken)

Offline

#6 2009-10-21 08:52:21

liixx
Member
From: Denmark
Registered: 2009-10-21
Posts: 8

Re: VLC and RTSP

I also have problem with RTSP in VLC 1.0.2-2 and 1.0.2-3. I just downgrade to VLC 1.0.2-1 and it work agian for me.

Someone who know about RTSP will come to work again in future versions of VLC?

Offline

#7 2009-10-23 10:08:14

eMxyzptlk
Member
Registered: 2008-02-04
Posts: 7

Re: VLC and RTSP

I confirm that Downgrading to Vlc-1.0.2-1 works too, for those who doesn't have the package anymore, there you go http://wael.nasreddine.com/uploaded-fil … pkg.tar.gz

Offline

#8 2009-10-28 13:03:46

liixx
Member
From: Denmark
Registered: 2009-10-21
Posts: 8

Re: VLC and RTSP

Still the same problem in 1.0.2-4 there is out today!

Offline

#9 2009-10-30 08:07:15

liixx
Member
From: Denmark
Registered: 2009-10-21
Posts: 8

Re: VLC and RTSP

Today is VLC 1.0.2-5 out, and RTSP work again in this version! Very good! smile

Last edited by liixx (2009-10-30 08:08:27)

Offline

#10 2009-10-30 14:34:47

eMxyzptlk
Member
Registered: 2008-02-04
Posts: 7

Re: VLC and RTSP

I confirm this, thanks

Offline

#11 2009-10-30 17:09:21

giovanni
Developer
From: Livorno, Italy
Registered: 2005-04-07
Posts: 68

Re: VLC and RTSP

Fixed in vlc-1.0.2-5 and in live-media-2009.09.28-2
Thank you, eMxyzptlk.


Arch Linux forever
AUR & Pacman Italian Translations

Offline

Board footer

Powered by FluxBB