N
N
Nathan Stark2017-01-09 11:53:31
linux
Nathan Stark, 2017-01-09 11:53:31

How to organize watching TV shows from a home server via the Internet?

Good day !
There is a home server under Debian. I store the series on it and so on, now watching the series looks like this.
There is a media player that launches the necessary series using the nfs protocol (they are essentially the same smb)
Now there is a need to watch TV shows from anywhere in the world. I set up a VPN and I connect to my home network and try to watch using the same nfs protocol, if TV shows with a bitrate not higher than 3 Mb / s can still be watched tolerably, then movies are already disappearing. I think we need to come up with something else here. vpn speed is very cut (despite the fact that I have a 100 Mb / s channel and gives at least 80 Mb / s for upload), approximate measurements gave the result of 1-2 Mb / s reading via vpn.
The route on which vpn Mikrotik raised. I do not rule out that maybe I messed up with the settings somewhere.
I would appreciate advice

Answer the question

In order to leave comments, you need to log in

5 answer(s)
A
Andrey Zhdanovskikh, 2017-01-19
@andrew72ru

Plexmediaserver
Pros - combines series by season, marks viewed / unwatched, shows covers, descriptions, actors-directors, genres and all that. Likewise with cinema.
Cons - for viewing content in applications on media players they want a subscription. For money. Applications on iOS or web client show everything without any questions.

A
Alexander Taratin, 2017-01-09
@Taraflex

Raise on it https://github.com/arut/nginx-rtmp-module
Minimum config

rtmp {
    server {
        listen <port для rtmp потока>;
        application vod {
            play <папка на сервере>;
        }
    }
}

Access via the link rtmp://rtmp.example.com/vod/<file name> The
downside is that the files will need to be transcoded to mp4 H264/AAC, but I don’t think that this will be a problem, since the video is already streaming in most cases in H264 and the sound is recoded quickly.
You can watch for example through vlc
https://www.wondershare.com/vlc/play-rtmp-with-vlc...

S
Sergei Nazarenko, 2017-01-09
@nazares

have you tried streaming?

D
Dmitry Aleksandrov, 2017-01-09
@jamakasi666

If PPTP VPN is on the tick, then the speed is normal. On ticks, VPN is often bad and very slow especially on RB, try disabling encryption and everything else. Also check the rules of the firewall \ nata \ masquerade, an ambush can also be hidden here.
Also, if you enable encryption, the speed will always drop to 2-15 Mbps, unless your routerboard has a crypto accelerator. If it is, you can safely include it. You also need to look at packet loss, maybe you need to move the mtu.
Also, try different vpnky pptp\ovpn\l2tp.
Most importantly, the possibility that the provider loses / drops vpn packets cannot be ruled out. It is also possible that someone is ddosing on the wan port (especially if the dns looks at the outside).
PS in general, more initial data is needed.

P
Paul Nice, 2017-01-10
@Paul_Nice

Also an important point is where and with what losses you will try to get your series.
You may not need a good VPN, it will not give you traffic compression, but it can add problems.
Streaming would be an option, but not for home use.
And what prevents just a torrent client with video playback support from watching these same series?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question