Video Streaming and Transcoding Basic Questions

Need help? Post your questions here.

Moderator: moderators

Video Streaming and Transcoding Basic Questions

Postby froz » Sat Oct 22, 2016 5:47 pm

I have no problems streaming my music with DSUB but I've yet to get video streaming working correctly for external players. I'm unsure if I just don't have the upload bandwith required or if I'm not setting things up right.

So I'm looking for some basic how-to's/assistance with playing MKV video files with DTS audio via subsonic on android devices. It doesn't have to be through the DSUB app it'd be cool if it did. Within Dsub I can find a video and select details and it says the Server Bitrate is 5141kbps which seems to coincide with my upload limit by Charter which is about 5.5Mbps as per the latest google speed test. The player is not capped at a bitrate in the settings but I have tried settings it to 320K without success.

On wifi I can stream video easily. While watching the performance of the server, I see a burst of initial network traffic upload to about 2.5MB/s and then it hovers between 250-800KB/s with an average of 400KB/s. I know I can't push that initial buffering ia my capped upload speed which is probably realistically about 550-600KB/s but I should be able to just about handle the average.

So it looks like DSUB works, my android video player works, and when bandwith isn't an issue, it works too. But externally it stutters/stops. My player has about 8.5Mbps download capability.

File info per Kodi scraping is:

<fileinfo>
<streamdetails>
<video>
<codec>H264</codec>
<aspect>2.39</aspect>
<width>1280</width>
<height>536</height>
</video>
<audio>
<codec>AC3</codec>
<channels>6</channels>
</audio>
</streamdetails>
</fileinfo>



On thing to note is that skipping ahead doesn't work in DSUB via wifi. Not sure if that's a limitation of the app or the server.

Running the latest stable version and current transcoding settings are:

ffmpeg -ss %o -t %d -i %s -s %wx%h -v 0 -b:v %bk -maxrate %bk -bufsize 256k -flags -global_header -map 0:0 -map 0:%k -ac 2 -f mpegts -c:v libx264 -preset superfast -c:a aac -b:a 96k -strict -2 -threads 0 -copyts -


Any tips are greatly appreciated.

Thanks,
Ryan
froz
 
Posts: 10
Joined: Wed Jan 29, 2014 2:47 am

Return to Help

Who is online

Users browsing this forum: No registered users and 21 guests