LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-02-2016, 11:15 AM   #1
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
Howto vlc streaming from DVD -> router -> TV (samsung ku 6099)?


Subject says it all: How is it done? There are so many possible combinations in the menus of vlc and the tv that I'm quite lost. So, is there any howto or other link how it is done? I use tumbleweed, latest vlc and codecs are installed... There I go off without necessary information: This is in a LAN/WLAN, i.e. ethernet to the router and wireless from the router to the tv

Last edited by JZL240I-U; 11-02-2016 at 11:19 AM.
 
Old 11-02-2016, 03:23 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,366

Rep: Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335
No expert here but...
Has the tv got a fixed IP? Can you fix the IP?
VLC has Ctrl_N = 'set up a network stream.' What happens when you try?

I do something similar using an Android tablet --> Apple TV(via my wifi router) which talks to a monitor via HDMI using All Cast app.
 
1 members found this post helpful.
Old 11-02-2016, 04:07 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,998

Rep: Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629
Web pages like this may help. http://www.howtogeek.com/118075/how-...ork-using-vlc/

One issue I see is that some routers may keep lan and wifi on different vlans.

Best to test on lan then move to wifi.
 
Old 11-03-2016, 01:20 PM   #4
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
No expert here but...
Has the tv got a fixed IP? Can you fix the IP?
VLC has Ctrl_N = 'set up a network stream.' What happens when you try?

I do something similar using an Android tablet --> Apple TV(via my wifi router) which talks to a monitor via HDMI using All Cast app.
Yes, IP is set in the router to 198.168.178.26 and tv can talk to the router and got via the router into the www.

Ctrl_N asks for a network address. I want to give my DVD, i.e. /dev/sr0, as source and the tv as destination.

My router has no HDMI socket. I could (with a lot of uncomfortable wires use the pc-graphic HDMI).

Samsung has a pc app -- for windows. *sigh*

@ jefro: Thanks for your input, I'll try it tomorrow, had a long day...

Last edited by JZL240I-U; 11-03-2016 at 01:22 PM.
 
Old 11-04-2016, 02:00 PM   #5
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jefro View Post
Thank you for the link.
Quote:
Originally Posted by jefro View Post
One issue I see is that some routers may keep lan and wifi on different vlans.

Best to test on lan then move to wifi.
Problem is, the tv is not in a LAN. So I'll have to work with a heterogeneous setup as I wrote in the first post.

I did find out how to connect to the router: open port 49200 of the firewall. The router has an "integrated media center". Connecting to that makes vlc throw the next error:

Quote:
Ihre Eingabe konnte nicht geöffnet werden: VLC kann die Medienadresse 'http://192.168.178.1:49200/AUDIO/DLNA-1-0/.start_indexation.mp3' nicht öffnen. Für Details bitte im Fehlerprotokoll nachsehen.
In short: "Couldn't open http://192.168.178.1:49200/AUDIO/DLN...ndexation.mp3". Yah. Well. I'll keep on digging.

Last edited by JZL240I-U; 11-05-2016 at 06:54 AM.
 
Old 11-04-2016, 03:36 PM   #6
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
Are you trying to substitute another machine and an ethernet cable, where an HDMI cable would be the "simple" answer?
 
Old 11-04-2016, 03:59 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,998

Rep: Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629
Get rid of this maybe. ""integrated media center"" It may be confusing the deal.
 
Old 11-05-2016, 06:52 AM   #8
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Shadow_7 View Post
Are you trying to substitute another machine and an ethernet cable, where an HDMI cable would be the "simple" answer?
In a way, yes. But otherwise I would have a nasty 10 meter long HDMI-cable all over the room and would have to use the tv as pc-monitor which is awkward, since the keyboard and mouse are not easily reached then.

Plus: It should work from a technical point of view and it is a much more elegant solution to distribute videos over your home network. I just don't know how .

Last edited by JZL240I-U; 11-05-2016 at 06:55 AM.
 
Old 11-05-2016, 07:01 AM   #9
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jefro View Post
Get rid of this maybe. "integrated media center" It may be confusing the deal.
No chance. It is part of the router's software (linux derivate by the way), which I can't change.

<edit> The tv can "see" the integrated mediaserver. It just contains empty directories </edit>

No. The worst problem is that I don't know how to connect the tv with the router via WLAN, since the tv's menus have no entry for that. The tv is "seen" by the router and gets its address from the router. Plus the tv can reach the www. Ideas?

Here is the setup again:
pc (with DVD) - <ethernet cable> - router - <WLAN / WiFi> - tv. I want to watch the video of the DVD on the tv.

P.S.: I can't "ping" the tv, no response: "Destination Host Unreachable"

Last edited by JZL240I-U; 11-05-2016 at 07:18 AM.
 
Old 11-05-2016, 08:19 AM   #10
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
Found out what the integrated mediaserver is: the router has an USB-port where one can plug in USB-devices the contents of which can then be streamed into the network. The mediaserver is organizing the contents. This is not what I am looking for. I want to use the DVD-player in my pc. *sigh*
 
Old 11-05-2016, 10:19 PM   #11
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,998

Rep: Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629
You should just be able to use VLC menus to stream the iso file or play dvd.

Web pages like this should work.
http://www.makeuseof.com/tag/create-...a-server-home/

http://www.ermshaus.org/2012/09/stre...linux-with-vlc


http://www.tomsguide.com/faq/id-2363...ernet-vlc.html

I get the media deal on router now. Might be possible to use it for a test with a usb and log into router to set up.

Last edited by jefro; 11-05-2016 at 10:22 PM.
 
Old 11-07-2016, 11:46 AM   #12
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
Yes, vlc was the first thing I tried. In the meantime I found posts in the web suggesting a dnla server like serviio or readymedia...

Quote:
Originally Posted by jefro View Post
You should just be able to use VLC menus to stream the iso file or play dvd.
...
http://www.tomsguide.com/faq/id-2363...ernet-vlc.html
That one brought me a step further. vlc-errors are now with http://198.168.178.26:8080 address of the tv

Code:
http error: cannot connect to 198.168.178.26:8080
access_mms error: cannot connect to 198.168.178.26:8080
core error: open of `http://198.168.178.26:8080' failed
And errors with rtsp://198.168.178.26:8554 address of the tv

Code:
core error: ES_OUT_RESET_PCR called
core error: ES_OUT_RESET_PCR called
stream_out_rtp error: cannot add this stream (unsupported codec: spu )
core error: cannot create packetizer output (spu )
stream_out_rtp error: cannot add this stream (unsupported codec: spu )
core error: cannot create packetizer output (spu )
x264 info: using cpu capabilities: MMX2 SSE2Fast LZCNT 
x264 info: profile High, level 3.0 
stream_out_transcode info: input interval 40000 (base 1)
stream_out_transcode info: output interval 40000 (base 1)
x264 info: using SAR=64/45 
x264 info: using cpu capabilities: MMX2 SSE2Fast LZCNT 
x264 info: profile High, level 3.0 
x264 info: frame I:3 Avg QP:10,00 size: 126 
x264 info: frame P:178 Avg QP:10,06 size: 32 
x264 info: frame B:525 Avg QP:12,67 size: 24 
x264 info: consecutive B-frames: 0,8% 0,0% 0,0% 99,2% 
x264 info: mb I I16..4: 100,0% 0,0% 0,0% 
x264 info: mb P I16..4: 0,0% 0,0% 0,0% P16..4: 0,0% 0,0% 0,0% 0,0% 0,0% skip:100,0% 
x264 info: mb B I16..4: 0,0% 0,0% 0,0% B16..8: 0,0% 0,0% 0,0% direct: 0,0% skip:100,0% 
x264 info: 8x8 transform intra:0,0% 
x264 info: coded y,uvDC,uvAC intra: 0,0% 0,0% 0,0% inter: 0,0% 0,0% 0,0% 
x264 info: i16 v,h,dc,p: 97% 0% 3% 0% 
x264 info: i8c dc,h,v,p: 100% 0% 0% 0% 
x264 info: Weighted P-Frames: Y:0,0% UV:0,0% 
x264 info: kb/s:5,23 
live555 error: Failed to connect with rtsp://198.168.178.26:8554
access_realrtsp error: cannot connect to 198.168.178.26:8554
core error: open of `rtsp://198.168.178.26:8554' failed
Note that I used the same protocol (first http, then rtsp) for the input stream. Looks like the tv isn't listening on those ports?

Quote:
Originally Posted by jefro View Post
I get the media deal on router now. Might be possible to use it for a test with a usb and log into router to set up.
What are you trying to tell me here?

Last edited by JZL240I-U; 11-07-2016 at 11:47 AM.
 
Old 11-07-2016, 11:55 AM   #13
crazypenguin
Member
 
Registered: Jun 2002
Location: Idaho
Distribution: Linux Mint, Manjaro, FreeBSD, Android
Posts: 99

Rep: Reputation: 11
Haven't tried it myself. That is PC DVD -> network stream -> smart TV. But I have played around with a lot of server/client streaming over local networks.

I'll just throw this out here for you from the videolan wiki. They recommend mapping the device something like in the example below.
Code:
% vlc -vvv dvdold:/dev/dvd --sout udp:192.168.0.12 --ttl 12
From here: http://www.tldp.org/HOWTO/VideoLAN-HOWTO/x720.html
 
Old 11-07-2016, 12:02 PM   #14
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
when i used to have a pc with a dvd-rom drive in my office i would mount the dvd somewhere on the filesystem. then in my living room downstairs i have a pc running xbmc(kodi); i would mount the upstairs pc drive using sshfs to see the dvd on my tv.

my next idea would be to rip the dvd into an mkv and use a dlna server for the tv to browse and play the mkv file.

Last edited by schneidz; 11-07-2016 at 12:11 PM.
 
Old 11-07-2016, 12:03 PM   #15
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
@crazypenguin Just tried it:

Code:
[00007fabc8008718] filesystem access error: cannot open file /home/matthias/dvdold:/dev/sr0 (No such file or directory)
[00007fabc8008718] core access debug: no access modules matched
[00007fabd00009b8] core input error: open of `file:///home/matthias/dvdold%3A/dev/sr0' failed
What protocol is dvdold? vlc is building a path below my ~ directory, that is not where /dev/sr0 is.

Last edited by JZL240I-U; 11-07-2016 at 12:07 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] VLC and streaming to file pchristy Slackware 12 09-16-2015 02:25 AM
VLC streaming realtime baronobeefdip Linux - Software 3 02-19-2015 11:59 AM
[SOLVED] video streaming support with VLC(?) as the streaming server wachi Linux - Embedded & Single-board computer 3 03-28-2011 12:35 PM
VLC streaming? Raveolution Linux - General 14 03-07-2007 06:24 PM
Streaming with vlc? Fredde87 Linux - Software 0 09-04-2005 07:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration