Page 1 of 1

Vertically Squashed Video on Sony Bravio KDL-46HX823

PostPosted: Wed Dec 27, 2017 12:42 pm
by ploq
Hello

I have a Sony Bravia KDL-46HX823 (~6 years old) and I'm using Serviio PRO v 1.9.

70% of the videos I play are fine, however, the rest are substantially squashed vertically (>50%). Serviio is using the "Sony Bravia TV (2011)" profile - I have tried other Sony profiles in the past without improvement. Other (less good at high bit-rates) players like UMS don't suffer this issue.

Help?!

Sean

Re: Vertically Squashed Video on Sony Bravio KDL-46HX823

PostPosted: Fri Jan 19, 2018 9:17 am
by zip
Does the video play correctly using other profile(s)?

Re: Vertically Squashed Video on Sony Bravio KDL-46HX823

PostPosted: Sun Feb 11, 2018 6:50 pm
by ploq
The videos in question don't play correctly on any profiles I've tried - I have to play them using UMS. In fact, just lately most new videos don't seem to play unsquashed. I recently reinstalled without any improvement.

Re: Vertically Squashed Video on Sony Bravio KDL-46HX823

PostPosted: Tue Feb 13, 2018 10:30 pm
by ploq
I've just worked out that burned-in-subtitles cause the squashiness... if I disable burned-in-subtitles (my TV doesn't handle subtitles natively) then it works fine - not squashed. Thing is, I really need the subtitles :/

Re: Vertically Squashed Video on Sony Bravio KDL-46HX823

PostPosted: Wed Feb 14, 2018 9:52 pm
by DenyAll
Which profile are you using?

Re: Vertically Squashed Video on Sony Bravio KDL-46HX823

PostPosted: Wed Feb 14, 2018 10:08 pm
by ploq
Hi

This: "Sony Bravia TV (2011)", I've tried others too.

Re: Vertically Squashed Video on Sony Bravio KDL-46HX823

PostPosted: Thu Feb 15, 2018 12:53 pm
by DenyAll
Have you tried the aspect button on your remote to fix the issue?
When you say "vertically squashed" are you getting black bars on the sides of the video or top and bottom?
If the aspect button doesn't fix it, post MediaInfo for the file you are trying to play.

Re: Vertically Squashed Video on Sony Bravio KDL-46HX823

PostPosted: Sat Mar 03, 2018 7:41 pm
by ploq
Any video, that's any video, with subtitles available (as SRT) (and with burned-in subtitles (14pt) enabled in the console (delivery->subtitles)) get's squashed to a ~1/2 of the correct vertical size. If I disable hard-coded subtitles then it's ratio is fine. Playing with TV aspect ratio doesn't fix it :/ BIG black bars top and bottom.

This seems to be a dev issue around subtitle rendering on the fly, it seems to be resizing the video to accommodate subtitles.

Image
https://i.imgur.com/EpElU95.jpg

Re: Vertically Squashed Video on Sony Bravio KDL-46HX823

PostPosted: Thu Mar 08, 2018 11:51 am
by DenyAll
Try this:

  • Edit the file config/profiles.xml using your favourite text editor (I recommend NotePad++)
  • Within the "Sony Bravia TV (2011)" profile add the following:
      Code:
          <GenericTranscoding>
             <Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="17000" targetACodec="ac3" aBitrate="384" />
          </GenericTranscoding>
    directly under the line </Transcoding>.
  • Save the file
  • Restart your PC
See if that makes a difference. If not, post Mediainfo details for the file.

Re: Vertically Squashed Video on Sony Bravio KDL-46HX823

PostPosted: Sat Mar 17, 2018 6:12 pm
by ploq
Your fix did not make any difference.

It's NOT the file... it's any video played with subtitles... So a MediaInfo would serve no purpose.

I played around with Serviio more and the "Sony BDP-Sx100 (2013)" profile fixes the problem, it may introduce other problems though. It would be useful to know what in this wrong profile has fixed the subtitle issue.

Thank you for looking at it in any case.

<Profile id="bdp2013" name="Sony BDP-Sx100 (2013)" extendsProfileId="1">
<DeviceDescription>
<!-- act as WMP so that the TV doesn't show root categories -->
<ModelName>Windows Media Player Sharing</ModelName>
<ModelNumber>3.0</ModelNumber>
<Manufacturer>Microsoft Corporation</Manufacturer>
</DeviceDescription>
<ContentDirectoryMessageBuilder>org.serviio.upnp.service.contentdirectory.SonyDLNAMessageBuilder</ContentDirectoryMessageBuilder>
<ContentDirectoryDefinitionFilter>org.serviio.upnp.service.contentdirectory.definition.WMPContentDirectoryDefinitionFilter</ContentDirectoryDefinitionFilter>
<MediaFormatProfiles>
<!-- rename 3gp profiles that can be played as AVC -->
<MediaFormatProfile mime-type="video/mp4" name="AVC_MP4_MP_SD_AAC_MULT5">AVC_3GPP_BL_QCIF15_AAC</MediaFormatProfile>
</MediaFormatProfiles>
<H264LevelCheck>FILE_ATTRIBUTES</H264LevelCheck>
<Transcoding>
<!-- For dvr-ms files force mpeg2video transcoding to fix monotone timestamps problems -->
<Video targetContainer="mpegts" targetACodec="ac3" forceVTranscoding="true" forceInheritance="true">
<Matches container="asf" vCodec="mpeg2video" />
<Matches container="asf" vCodec="mpeg1video" />
</Video>
<!-- h264 videos with high/main profile level > 4.2 will be transcoded to mpegts with mpeg2video and ac3 audio -->
<Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="17000" targetACodec="ac3" aBitrate="320" forceInheritance="true">
<Matches container="*" vCodec="h265"/>
<Matches container="*" vCodec="h264" profile="high_10" />
<Matches container="*" vCodec="h264" profile="high_444" />
<Matches container="*" vCodec="h264" profile="high_422" />
<Matches container="*" vCodec="h264" profile="high" levelGreaterThan="4.2" />
<Matches container="*" vCodec="h264" profile="main" levelGreaterThan="4.2" />
<Matches container="matroska" vCodec="vp8" />
<Matches container="matroska" vCodec="vp9" />
</Video>
<Video targetContainer="mpegts" forceInheritance="true">
<Matches container="flv" vCodec="h264" />
</Video>
<!-- unsupported codecs will be transcoded to mpegts with mpeg2video and ac3 audio -->
<Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="17000" targetACodec="ac3" aBitrate="320" forceInheritance="true">
<Matches container="flv" />
<Matches container="wtv" />
<Matches container="ogg" />
<Matches container="rm" />
<!-- digital camera video formats -->
<Matches container="avi" vCodec="dvvideo" />
<Matches container="mp4" vCodec="dvvideo" />
<Matches container="avi" vCodec="mjpeg" />
<Matches container="mp4" vCodec="mjpeg" />
</Video>
<Audio targetContainer="lpcm" forceInheritance="true">
<!-- To allow "pause" then "resume" functions and album art for TVs that support it - transcode to mp3 instead -->
<Matches container="ogg" />
<Matches container="mp3" codec="mp2" />
<Matches container="wv" />
<Matches container="mpc" />
<Matches container="ape" />
<Matches container="dsf" />
<Matches container="mp4" codec="alac" />
</Audio>
</Transcoding>
<OnlineTranscoding>
<Video targetContainer="mpegts">
<!-- do not transcode to ac3 -->
<Matches container="mp4" />
<Matches container="flv" vCodec="h264" />
<Matches container="applehttp" vCodec="h264" />
</Video>
<Video targetContainer="mpeg" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="320" forceInheritance="true">
<Matches container="asf" /> <!-- to support mms:// streams -->
<Matches container="flv" />
</Video>
</OnlineTranscoding>
<AudioTrackRemux>
<Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384">
<Matches container="*" vCodec="h264" />
<Matches container="*" vCodec="mpeg2video" />
<Matches container="*" vCodec="mpeg1video" />
<Matches container="*" vCodec="mpeg4" />
<Matches container="*" vCodec="msmpeg4" />
</Video>
</AudioTrackRemux>
<GenericTranscoding>
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" maxVBitrate="17000" aBitrate="320" />
</GenericTranscoding>
<LimitImageResolution>false</LimitImageResolution>
</Profile>

Re: Vertically Squashed Video on Sony Bravio KDL-46HX823

PostPosted: Sun Apr 08, 2018 8:10 pm
by ploq
The profile that fixes the subtitle bug introduces instances of stutter and audio silence/dislocation. I've now given up on Serviio and switched to Universal Media Server v7.0

Thanks anyway.

CLOSED