Jump to content

ServerWMC Stretching


Dazik

Recommended Posts

Dazik

Hello all,

 

Been using Media Browser and ServerWMC for quite awhile now without issues (luckily any issues I had I could run a quick Google search and find the problem). Anyways there is one minor annoyance that I haven't been able to quite figure out, so here goes.

 

Is it possible to force stretch the Live TV streams?

 

Obviously this isn't much of a problem over being a general annoyance, as referenced. As is I have quite the electronic house. 4 bedrooms, each having their own sub HTPC/Midgamer builds using Media Browser for local media + TV and Steam to stream games to any room. Everything works amazingly except for this little annoying problem. 

 

Now HD streams are fine as you would imagine. However, we have free basic cable so very few HD channels, and seeing as all of our TV's are... "modern" that leaves a bit of a problem when SD streams are being watched, at 1080p such streams turn into about a 800x800 box when fullscreen. Meaning, I really just need to stretch them, I can deal with bad stretched quality over a tiny box in the middle of my screen from 20ft away.

 

Example (I'm too lazy to crop):

KcNRh.png

 

 

For reference:

Server: AMD FX-8350 @ 4.8ghz, 32GB 1866 RAM

4 HTPC's: Intel E8400 (2x 3.0ghz), 8GB RAM

3 other high end gaming builds

16x KWorld Hybrid UB445-U2 Tuners running through an amplified coax splitter/usb hub (custom built box, I get bored sometimes)

 

I probably made this post a bit longer than really needed. I do that sometimes, my bad.

 

Anyways, thanks in advance!

Edited by akensai
Link to comment
Share on other sites

the browser video player will stretch them. i'm guessing the black bars might be burned into the video

Link to comment
Share on other sites

Dazik

the browser video player will stretch them. i'm guessing the black bars might be burned into the video

 

That's what I originally thought as well, but this only happens via Media Browser. Using WMC/etc will stretch them correctly without issue.

 

Edit: Same channel within WMC, you can see there are bars burned into the actual feed, but not as large as the MB player makes them (same channel):

0bQ46.png

Edited by akensai
Link to comment
Share on other sites

Dazik

I was able to somewhat resolve this by embedding the .webm in another page and modifying the embed code to use a snippet designed to stretch the video. As it turns out, HTML5 video embeds will keep the aspect ratio of the stream regularly.

 

See the resource used here:

<head>
<style>
video {
  object-fit: fill;
}
</style>
<title>Nick - Local Stream Only</title>
</head>
<center><br><br>
<img src="logo.png" height="62px" width="165px"><br>
<iframe height="40px" scrolling="no" frameborder="0" src="playing.php" width="140px"></iframe><br>
<video width="640" height="480" controls>
  <source src="**********:8096/mediabrowser/Videos/0b3a02f7c4a47fb2fc074f4abf771b7d/stream.webm?audioChannels=2&deviceId=651605a3246f9a23787ca1659f7c9f68af9ca293&Static=false&mediaSourceId=0b3a02f7c4a47fb2fc074f4abf771b7d&VideoCodec=vpx&AudioCodec=Vorbis&maxWidth=1280&videoBitrate=1200000&audioBitrate=96000&EnableAutoStreamCopy=false" type='video/webm'>
</video><br>
<iframe height="330px" scrolling="no" frameborder="0" src="guide.php" width="700px"></iframe>
</center>

Before applying the change:

AX3Us.png

 

After applying the change:

ZCSw.png

 

Just FYI, I highly suggest including this in the Media Browser player. As is I am building my own portal so to speak just to get rid of this stretching problem:

SlKcF.png

 

 

Obviously this is a pain in the ass as I have to manually create each embed.

Edited by akensai
  • Like 1
Link to comment
Share on other sites

  • 11 months later...
ultr4low

sorry! but this is the only thread i found about "ratio/stretching". i know it is one year old.
nobody else had this problem? 

so there's no way to stretch live tv properly?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...