DLNA... what a mess

Enter at your own risk. I have no desire to start another site so this is really for things that I am interested in but have nothing to do with MVs.

Feel free to post/contribute. The same rules apply as the rest of the site.

DLNA... what a mess

Postby pfarber » Thu Mar 23, 2017 8:52 pm

So I swapped my router from DD-WRT to OPEN-WRT because it was easier to implement a simple DLNA (media streaming) server with OPEN-WRT and adding a USB HDD off my routers USB port.

Cool! I'll upload some videos and watch them anywhere... HAHAAHAHAHAHAHA sure.

Well, DLNA and the only dlna available in open-wrt(minidlna) is a shitstorm of nothing fucking works. OPEN-WRT cannot transcode (change from one video format to another on the fly) as it doesn't have the CPU/RAM so do it. So I had to figure out a common media format and bitrate that works. The Amazon Fire Stick likes one format, my VIZIO tv another, my Galaxy S4 another and my Sony Blu-ray another... and Windows Media Player is a pile of shit that likes almost nothing. VLC took everything I threw at it so I simply stopped testing it because it just fucking worked.

So 3 days later I FINALLY get a common format. The biggest issue was pure bitrate. A file sent over my 2.4Ghz b/g/n wireless has to be optimized much more than anything sent over the 1Gbps Ethernet.

Using ffmpeg I found that:

ffmpeg -i input.mkv -c:v libx264 -b:v 1M -maxrate 1M -bufsize 2M -minrate 1M output.mp4

Is the most liked format. The kicker was getting ffmpeg to obey the 1Mbps bitrate limit.

MP3 and JPEG files needed no massaging and were universally accepted.

The next shitstorm is trying to get 40 DVDs worth of 'Friends' ripped, converted, indexed and stored. The next person who says 'I just popped in a disk and it all just worked' if a fucking LIAR.
I got a Mountain Cur and a ~~pitbull~~ big loveable cuddle puppy
RIP Kimber 5/26/2022
RIP Yeager 1/3/2019
RIP TJ 3/25/2014
RIP Sugar Bear 8/29/2014
RIP Shilo 4/10/2015
RIP Yuki 2/19/2017
User avatar
pfarber
Motor Sergeant
 
Posts: 2839
Joined: Wed Oct 10, 2007 2:45 am
Location: The Internet

Return to Way off topic. I mean it.. nothing MV related. You have been warned.