In several previous posts I wrote about my quest for the right source format to stream video to my Sony BRAVIA TV (build in 2009). The last week-end I finally found something which satisfies me.
What I found was serviio, a free UPnP-AV (DLNA) server. It is written in java and runs on Windows, Linux and FreeBSD (it is not listed on the website, but we have an not-so-up-to-date version in the ports tree). If necessary it transcodes the input to an appropriate format for the DLNA renderer (in my case the TV).
I tested it with my slow Netbook, so that I was able to see with which input format it will just remux the input container to a MPEG transport stream, and which input format would be really re-encoded to a format the TV understands.
The bottom line of the tests is, that I just need to use a supported container (like MKV or MP4 or AVI) with H.264-encoded video (e.g. encoded by x264) and AC3 audio.
The TV is able to chose between several audio streams, but I have not tested if serviio is able to serve files with multiple audio streams (my wife has a different mother language than me, so it is interesting for us to have multiple audio streams for a movie), and I do not know if DLNA supports something like this.
Now I just have to replace minidlna (which only works good with my TV for MP3s and Pictures) with serviio on my FreeBSD file server and we can forget about the disk-juggling.
GD Star Rating
loading…
GD Star Rating
loading…
Tags: audio streams,
dlna server,
input container,
input format,
mother language,
netbook,
sony bravia tv,
source format,
transport stream,
x264 —
I have a little problem finding a clean solution to the following problem.
A machine with two network interfaces and no default route. The first interface gets an IP at boot time and the corresponding static route is inserted during boot into the routing table without problems. The second interface only gets an IP address when the shared-IP zones on the machine are started, during boot the interface is plumbed but without any address. The networks on those interfaces are not connected and the machine is not a gateway (this means we have a machine–administration network and a production-network). The static routes we want to have for the addresses of the zones are not added to the routing table, because the next hop is not reachable at the time the routing-setup is done. As soon as the zones are up (and the interface gets an IP), a re-run of the routing-setup adds the missing static routes.
Unfortunately I can not tell Solaris to keep the static route even if the next hop is not reachable ATM (at least I have not found an option to the route command which does this).
One solution to this problem would be to add an address at boot to the interface which does not have an address at boot-time ATM (probably with the deprecated flag set). The problem is, that this subnet (/28) has not enough free addresses anymore, so this is not an option.
Another solution is to use a script which re-runs the routing-setup after the zones are started. This is a pragmatic solution, but not a clean solution.
As I understand the in.routed man-page in.routed is not an option with the default config, because the machine shall not route between the networks, and shall not change the routing based upon RIP messages from other machines. Unfortunately I do not know enough about it to be sure, and I do not get the time to play around with this. I have seen some intersting options regarding this in the man-page, but playing around with this and sniffing the network to see what happens, is not an option ATM. Anyone with a config/tutorial for this “do not broadcast anything, do not accept anything from outside”-case (if possible)?
GD Star Rating
loading…
GD Star Rating
loading…
Tags: administration network,
boot time,
clean solution,
default config,
default route,
network interfaces,
pragmatic solution,
routing table,
static route,
static routes —
As I already wrote, theoretically ADSL RAM is available at my place. The analysis of the situation revealed first that the ISP side of my line uses outdated hardware. After the technician I know unofficially took care about it (remotely switching me to a different port), I have seen an immediate improvement of the signal to noise ratio. It is about 20 dB better.
Unfortunately this was not enough to be able to switch to the rate adaptive mode. According to their database the line length allows to give me 1.5 MBit. My line is running already at 2 MBit and my ADSL modem tells me it could do 8 MBit, so I disagree a bit with their database.
As the technician agrees with me, the next step would be to temporary move my house by some hundred meters towards the ISP endpoint of the line, unfortunately the higher management seems to be having some business ideas with our region (FTTT, Fiber To The Town (which means we will probably get 16 MBit via ADSL) … but maybe even FTTH), so they are now monitoring the database for such changes since a while.
I have the impression they seem to prevent such changes to the database because they think that if people get 2 MBit (instead of nothing, large parts of a town nearby does not even have the slowest ADSL connection) or 8 MBit (instead of 2 MBit), they are not interested in getting FTTH (or 16 MBit). Together with their IPTV initiative I do not really understand it. To get their IPTV, you need to have at least a 8 MBit line. With 8 MBit you can only cover one TV at SD resolution (at least with their IPTV offer), if you want HD resolution, you need to switch to their VDSL stuff (which is not available in our town). What people are doing currently is to switch to a cable provider where they can get about 32 MBit (I do not switch, switching is a risky action here, I rather stay with a slow connection that to have no connection at all for some months). With 32 MBit (and TV) people have less a need to switch to fiber (and pay 150 EUR for the work to get fiber into the house) than with 2 MBit or nothing.
The final outcome is, that the technician I know does not want to ask someone to play with the database to move my house temporary (which I can understand). The good part of those news is, that I may get more than 8 MBit in the not so distant future (the current planning is to finish the FTTT work until autumn).
GD Star Rating
loading…
GD Star Rating
loading…
Tags: adsl connection,
adsl modem,
business ideas,
cable provider,
endpoint,
iptv,
mbit line,
outdated hardware,
signal to noise,
signal to noise ratio —
I am now waiting since December that my ADSL line is switched to the rate adaptive mode (RAM). Theoretically it is possible. Unfortunately the reality does not agree to this (yet).
Luckily I am not a normal customer, I know a technician which works for my ISP. He could switch the line without problems, but the next update of the system (which happens from time to time) would cancel this again, as each update “resets” the status to what is recorded in the DB. The problem is, that he can not switch my line to RAM in the DB (actually it is not him, he is a network technician not one of the sales people with access to the DB–interface). I am not the only customer where this is not possible. So far they where not able to see a pattern.
Currently there are two colleagues of him, a friend of him and me which he has as good examples where it does not work (there are more, but those are “just” regular customers). We are now his toys, he wants to find out how to convince the system to switch to RAM in those cases. This needs a while, as parts of this need to go the official way until he sees if it works or not.
I am very happy that I am not just a normal customer. This way it is much more transparent for me.
GD Star Rating
loading…
GD Star Rating
loading…
Tags: adsl line,
colleagues,
interface,
isp,
match,
network technician,
ram,
toys —
After reading Jim Gettys investigations about the problems current buffer sizes of network equipment provoke (which may even have implications in the net neutrality debate), I had a look at which active queue management (AQM) algorithms with or without explicit congestion notification (ECN) FreeBSD supports.
It looks like there is not much implemented (if the best solution would be implemented, it would not matter how much there is, but unfortunately there is no best solution). Other systems offer more. RED is implemented, but even the inventor/researcher of RED thinks the algorithm needs some improvements (he is in the process of preparing a paper about this, as Jim Gettys reveals). Blue/SFBlue is not implemented (a more turnkey-solution than the current RED implementation). PID controller (which may or may not be something someone wants to use in this case… no idea about its pros/cons in this regard, but it is referenced in the AQM article on Wikipedia) is also not implemented.
Regarding ECN for FreeBSD you can find more or less no real documentation in the net (at least with a simple “ECN FreeBSD” search). It is implemented for the RED algorithm, but as the RED algorithm needs some tuning/setup, this is not a turnkey solution. There is a ECN related sysctl, but I do not have the impression that this is a turnkey-solution which magically generates ECN messages without using dummynet for AQM.
From my current understanding (but I think I do not know a lot about this topic) it looks like AQM is a feature most people would like to have activated by default (with an appropriate algorithm which does not need tuning to produce a good enough result). If this is correct, it is a shame that FreeBSD does not activate AQM with an algorithm which is not bad for most cases by default (with the option to change the algorithm and to disable completely). If my understanding is not correct, I would like to get a hit with the clue bat please.
GD Star Rating
loading…
GD Star Rating
loading…
Tags: active queue management,
buffer sizes,
dummynet,
ecn,
explicit congestion notification,
jim gettys,
net neutrality,
pros cons,
sysctl,
turnkey solution —