No video (black screen) with Me TV 1.4 and VLC 2.1

Bug #1179606 reported by Dennis Baudys on 2013-05-13
44
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Me TV
Undecided
Pascal Noisette
VLC media player
Invalid
Undecided
Unassigned
me-tv (Ubuntu)
Undecided
Unassigned

Bug Description

Since I'm using VLC 2.1.0 Me TV does not show any video any more. The EPG seems to work fine but I cannot watch any channel. Please see below for details:

Ubuntu: 12.04 64-Bit
Linux: 3.2.0-41-generic # 66-Ubuntu SMP x86_64
vlc: 2.1.0~~git20130511+r2699-0~r97~precise1
me-tv: 1.4.0-0~49~precise1

When starting Me TV in a terminal window, the following error messages appear:

[0x7f1614006228] filesystem access error: cannot open file /home/condor/udp://@0.0.0.0:2005/ (No such file or directory)
[0x7f1614006228] main access error: Einlesen der Datei fehlgeschlagen
[0x7f1614006228] main access error: VLC could not open the file "/home/condor/udp://@0.0.0.0:2005/" (No such file or directory).
[0x10e5b78] main input error: open of `file:///home/condor/udp%3A//%400.0.0.0%3A2005/' failed
[0x10e5b78] main input error: Ihre Eingabe konnte nicht geöffnet werden
[0x10e5b78] main input error: VLC kann die MRL 'file:///home/condor/udp%3A//%400.0.0.0%3A2005/' nicht öffnen. Sehen Sie für Details im Fehlerprotokoll nach.

Related branches

lp:~netpascal0123/me-tv/vlc_fix_remote_mrl
Merged into lp:me-tv at revision 54
Frédéric Côté: Approve on 2014-10-27
Rémi Denis-Courmont (rdenis) wrote :

Me TV is misusing the LibVLC API.

Changed in vlc:
status: New → Invalid

If I remember correctly, you have to install the package "libvlc-dev" with
this command:
sudo apt-get install libvlc-dev

foggybrain (timsonghurst-gmail) wrote :

I also have this problem with me-tv-client 1.4.0.12 and vlc 2.1.0

libvlc is being fussy about the udp mrl

launching vlc separately with

vlc udp://@:2005

plays the stream fine.

Is there any quick modification i can make to vlc_engine.cc or vlcengine.h ?

Here's the error from me-tv-client

[tim@timpc ~]$ me-tv-client
Me TV 1.4.0.12
[0x7f6b94003b08] filesystem access error: cannot open file /home/tim/udp%3A//%40%3A2005/ (No such file or directory)
[0x7f6b94003b08] main access error: File reading failed
[0x7f6b94003b08] main access error: VLC could not open the file "/home/tim/udp%3A//%40%3A2005/" (No such file or directory).
[0x27faf08] main input error: open of `file:///home/tim/udp%253A//%2540%253A2005/' failed
[0x27faf08] main input error: Your input can't be opened
[0x27faf08] main input error: VLC is unable to open the MRL 'file:///home/tim/udp%253A//%2540%253A2005/'. Check the log for details.

foggybrain (timsonghurst-gmail) wrote :

Is no-one concerned about this major bug in me-tv's use of the libvlc ?

Or is this not a problem until vlc version 2.1 hits the ubuntu repository ?

Any answer is better than nothing

The problem is that there is no developer left on the project. And since I
don't use me-tv anymore, I don't have time for it.

If someone have motivation and time to spare, I would gladly help her/him.
It would be great to make me-tv "up-to-date" with the latest technology
available.

Cheers,
Frederic

On Sat, Oct 26, 2013 at 2:06 PM, foggybrain <email address hidden>wrote:

> Is no-one concerned about this major bug in me-tv's use of the libvlc ?
>
> Or is this not a problem until vlc version 2.1 hits the ubuntu
> repository ?
>
> Any answer is better than nothing
>
> --
> You received this bug notification because you are subscribed to Me TV.
> https://bugs.launchpad.net/bugs/1179606
>
> Title:
> No video (black screen) with Me TV 1.4 and VLC 2.1
>
> Status in Me TV, it's TV for me computer:
> New
> Status in VLC media player:
> Invalid
>
> Bug description:
> Since I'm using VLC 2.1.0 Me TV does not show any video any more. The
> EPG seems to work fine but I cannot watch any channel. Please see
> below for details:
>
> Ubuntu: 12.04 64-Bit
> Linux: 3.2.0-41-generic # 66-Ubuntu SMP x86_64
> vlc: 2.1.0~~git20130511+r2699-0~r97~precise1
> me-tv: 1.4.0-0~49~precise1
>
> When starting Me TV in a terminal window, the following error messages
> appear:
>
> [0x7f1614006228] filesystem access error: cannot open file
> /home/condor/udp://@0.0.0.0:2005/ (No such file or directory)
> [0x7f1614006228] main access error: Einlesen der Datei fehlgeschlagen
> [0x7f1614006228] main access error: VLC could not open the file
> "/home/condor/udp://@0.0.0.0:2005/" (No such file or directory).
> [0x10e5b78] main input error: open of
> `file:///home/condor/udp%3A//%400.0.0.0%3A2005/' failed
> [0x10e5b78] main input error: Ihre Eingabe konnte nicht geöffnet werden
> [0x10e5b78] main input error: VLC kann die MRL
> 'file:///home/condor/udp%3A//%400.0.0.0%3A2005/' nicht öffnen. Sehen Sie
> für Details im Fehlerprotokoll nach.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/me-tv/+bug/1179606/+subscriptions
>

--
"In a world without walls, who really needs Windows"
"Nothing is foolproof because fools are so ingenious"

Vladyslav Shtabovenko (vl-sht) wrote :

I switched from Ubuntu to Fedora a few days ago and also encountered this problem. Since Fedora 20 has no me-tv in the repos, I compiled it from https://launchpad.net/me-tv/1.4/1.4.0/+download/me-tv-1.4.0.12.tar.gz

The problem clearly is that instead of telling VLC to play, say "udp://@0.0.0.0:2005", me-tv tells it to play "current_path/udp://@0.0.0.0:2005". Since the latter is not a valid MRL, VLC complains and refuses to show anything. That's how you get the black screen. I guess there were come changes under the hood of the vlc libraries, which lead to this behavior.

Anyway, I was able to fix this bug by editing me-tv-1.4.0.12/client/vlc_engine.cc and replacing "libvlc_media_new_path" by "libvlc_media_new_location" in the line 145. Then compile it again (make && make install) and everything seems to work again.

Can someone test it?

More infos on the difference between libvlc_media_new_path and libvlc_media_new_location:
https://www.videolan.org/developers/vlc/doc/doxygen/html/group__libvlc__media.html

Vladyslav Shtabovenko (vl-sht) wrote :

So here is the patch against the lp:me-tv branch. Tested on Fedora 20 with me-tv compiled from the above mentionend branch and with VLC 2.1.2 from the repo. Sorry that I can't test it on Ubuntu, but none of my machines has it installed at the moment.

Hope that helps.

foggybrain (timsonghurst-gmail) wrote :

Just applied the patch to 1.4.0.12 on Arch Linux AUR and re-built, works a treat.

Thank-you so much for taking to time to debug this

Tim

#8: Tested on Ubuntu 12.04 Precise Pangolin - rebuilt me-tv-client using the patch, now works flawlessly.

Thanks a lot!

Daniel (hackie) wrote :

After Upgrading from Ubuntu 13.10 to 14.04 I have this bug too. I guess we will have a lot more comments for this bug soon...

$ cd /tmp/dummy
$ killall me-tv-server mv-tv-client
$ me-tv-server
[0x7f8274005f68] filesystem access error: cannot open file /tmp/dummy/udp://@0.0.0.0:2005/ (No such file or directory)
[0x7f8274005f68] main access error: File reading failed
[0x7f8274005f68] main access error: VLC could not open the file "/tmp/dummy/udp://@0.0.0.0:2005/" (No such file or directory).
[0x24f6f68] main input error: open of `file:///tmp/dummy/udp%3A//%400.0.0.0%3A2005/' failed
[0x24f6f68] main input error: Your input can't be opened
[0x24f6f68] main input error: VLC is unable to open the MRL 'file:///tmp/dummy/udp%3A//%400.0.0.0%3A2005/'. Check the log for details.

Ubuntu 14.04 LTS "trusty"

Package: me-tv
Architecture: amd64
Version: 1.4.0-0~49~precise1

Package: vlc
Architecture: amd64
Version: 2.1.2-2build2

Daniel (hackie) wrote :

Sorry, false alarm: The version I mentioned (1.4.0-0~49~precise1) was installed decades ago from a PPA and has the compile date 2012-12-31. With the standard Ubuntu version it works now.

$ apt-cache policy me-tv:
  Installed: 1.4.0-0~49~precise1
  Candidate: 1.4.0-0~49~precise1
  Version table:
 *** 1.4.0-0~49~precise1 0
        100 /var/lib/dpkg/status
     1.3.7-0.2 0
        500 http://mirror.switch.ch/ftp/mirror/ubuntu/ trusty/universe amd64 Packages
$ sudo apt-get install me-tv=1.3.7-0.2
-> works

The attachment "Fix the black screen big with Me TV 1.4 and VLC 2.1" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
alter.cat (odorono2) wrote :

Having the same problem after upgrading Ubuntu to 14.04 LTS Trusty Thar.

Any easy solution that doesn't require recompiling me-tv?

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in me-tv (Ubuntu):
status: New → Confirmed
alter.cat (odorono2) wrote :

This is the error I get:

sergi@shak:~$ me-tv-client
Me TV 1.4.0.12
[0x7fdef0005918] filesystem access error: cannot open file /home/sergi/udp://@0.0.0.0:2005/ (No such file or directory)

Hi,

There is a problem with the new version of vlc. You can remove me-tv 1.4
then install the version that comes with Ubuntu (v1.3). It should work ok.

Cheers,
Fred

On Sun, Apr 20, 2014 at 12:38 PM, alter.cat <email address hidden> wrote:

> This is the error I get:
>
> sergi@shak:~$ me-tv-client
> Me TV 1.4.0.12
> [0x7fdef0005918] filesystem access error: cannot open file
> /home/sergi/udp://@0.0.0.0:2005/ (No such file or directory)
>
> --
> You received this bug notification because you are subscribed to Me TV.
> https://bugs.launchpad.net/bugs/1179606
>
> Title:
> No video (black screen) with Me TV 1.4 and VLC 2.1
>
> Status in Me TV, it's TV for me computer:
> New
> Status in VLC media player:
> Invalid
> Status in “me-tv” package in Ubuntu:
> Confirmed
>
> Bug description:
> Since I'm using VLC 2.1.0 Me TV does not show any video any more. The
> EPG seems to work fine but I cannot watch any channel. Please see
> below for details:
>
> Ubuntu: 12.04 64-Bit
> Linux: 3.2.0-41-generic # 66-Ubuntu SMP x86_64
> vlc: 2.1.0~~git20130511+r2699-0~r97~precise1
> me-tv: 1.4.0-0~49~precise1
>
> When starting Me TV in a terminal window, the following error messages
> appear:
>
> [0x7f1614006228] filesystem access error: cannot open file
> /home/condor/udp://@0.0.0.0:2005/ (No such file or directory)
> [0x7f1614006228] main access error: Einlesen der Datei fehlgeschlagen
> [0x7f1614006228] main access error: VLC could not open the file
> "/home/condor/udp://@0.0.0.0:2005/" (No such file or directory).
> [0x10e5b78] main input error: open of
> `file:///home/condor/udp%3A//%400.0.0.0%3A2005/' failed
> [0x10e5b78] main input error: Ihre Eingabe konnte nicht geöffnet werden
> [0x10e5b78] main input error: VLC kann die MRL
> 'file:///home/condor/udp%3A//%400.0.0.0%3A2005/' nicht öffnen. Sehen Sie
> für Details im Fehlerprotokoll nach.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/me-tv/+bug/1179606/+subscriptions
>

--
"In a world without walls, who really needs Windows"
"Nothing is foolproof because fools are so ingenious"

alter.cat (odorono2) wrote :

removed the installed version and installed me-tv 1.3.7 from Ubuntu's software center.
It doesn't work... it complains that "There are no DVB deviced available" , which obviously are there, since me-tv was working until two days ago.

How do I debug this? Any idea of what to do?

thanks in advance

alter.cat (odorono2) wrote :

Ignore my last post -- according to previous bug, device was just kept busy (I assume by previous me-tv session?), a simple reboot got it sorted. Working now.

 Thanks

It is because you still have me-tv-server 1.4 running. Make sure no version
of me-tv is running before starting v1.3.

You can do that with "ps -a | grep me-tv"

On Sun, Apr 20, 2014 at 1:42 PM, alter.cat <email address hidden> wrote:

> removed the installed version and installed me-tv 1.3.7 from Ubuntu's
> software center.
> It doesn't work... it complains that "There are no DVB deviced available"
> , which obviously are there, since me-tv was working until two days ago.
>
> How do I debug this? Any idea of what to do?
>
> thanks in advance
>
> --
> You received this bug notification because you are subscribed to Me TV.
> https://bugs.launchpad.net/bugs/1179606
>
> Title:
> No video (black screen) with Me TV 1.4 and VLC 2.1
>
> Status in Me TV, it's TV for me computer:
> New
> Status in VLC media player:
> Invalid
> Status in “me-tv” package in Ubuntu:
> Confirmed
>
> Bug description:
> Since I'm using VLC 2.1.0 Me TV does not show any video any more. The
> EPG seems to work fine but I cannot watch any channel. Please see
> below for details:
>
> Ubuntu: 12.04 64-Bit
> Linux: 3.2.0-41-generic # 66-Ubuntu SMP x86_64
> vlc: 2.1.0~~git20130511+r2699-0~r97~precise1
> me-tv: 1.4.0-0~49~precise1
>
> When starting Me TV in a terminal window, the following error messages
> appear:
>
> [0x7f1614006228] filesystem access error: cannot open file
> /home/condor/udp://@0.0.0.0:2005/ (No such file or directory)
> [0x7f1614006228] main access error: Einlesen der Datei fehlgeschlagen
> [0x7f1614006228] main access error: VLC could not open the file
> "/home/condor/udp://@0.0.0.0:2005/" (No such file or directory).
> [0x10e5b78] main input error: open of
> `file:///home/condor/udp%3A//%400.0.0.0%3A2005/' failed
> [0x10e5b78] main input error: Ihre Eingabe konnte nicht geöffnet werden
> [0x10e5b78] main input error: VLC kann die MRL
> 'file:///home/condor/udp%3A//%400.0.0.0%3A2005/' nicht öffnen. Sehen Sie
> für Details im Fehlerprotokoll nach.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/me-tv/+bug/1179606/+subscriptions
>

--
"In a world without walls, who really needs Windows"
"Nothing is foolproof because fools are so ingenious"

Przemyslaw Grodzki (psg-t) wrote :

The fix proposed by vl-sht (vl-sht) (#7) worked perfect under freshly upgraded Ubuntu Trusty Thar 14.04.

I had some problems with compilation of me-tv though. Some hints for this:
1. before running "make && make install" run first "./autogen.sh" and if needed continue running "./configure" later until all problems are resolved.
2. For me the configuration script was raising errors because of quite many unmet package dependencies (especially development libraries). E.g. sqlite3, then I had to install libsqlite3-dev etc.. Some of them are not that straightforward. This is also mentioned here: https://answers.launchpad.net/me-tv/+question/43254.

Attached zipped compiled files:
me-tv-client
me-tv-server
me-tv-console
I'm not sure if this will come through here.

HTH

Best regards,

Changed in me-tv:
assignee: nobody → Pascal Noisette (netpascal0123)
status: New → Fix Committed

Hi,

I came to the same conclusion as https://launchpad.net/~vl-sht and commited the same fix to the project.

My code branch https://code.launchpad.net/~netpascal0123/me-tv/vlc_fix_remote_mrl can be merged to the project.

Regards,
Pascal Noisette

Changed in me-tv:
milestone: none → 1.4.0
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions