Page 1 of 1

[SOLVED] Force Aspect Ratio on SONY BDP (US) for AR 4:3 file

PostPosted: Mon Nov 19, 2012 1:37 am
by miksa
Hi ! I found that some online files with 4:3 aspect ration are stretched to 16:9 on my SONY BDP BX57. Files with AR 16:9 are shown Ok.

Here is ffmpeg output for two examples:
16:9 file shown OK:
[wmv3 @ 01926A00] Extra data: 8 bits left, value: 0
Guessed Channel Layout for Input Stream #0.0 : mono
Input #0, asf, from 'mmst://178.238.90.124/vod_arc4d/1800002331.1.WMV?sid=B1E2FAC1004390F6669E9C001AA81AA6A279DC004FD482C5C0DCC83B76FFF7B7':
Metadata:
WMFSDKVersion : 11.0.5721.5145
WMFSDKNeeded : 0.0.0.0000
VBR Peak : 2000
IsVBR : 1
Buffer Average : 4386
Duration: 00:52:58.06, start: 0.000000, bitrate: N/A
Stream #0:0: Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, mono, s16, 48 kb/s
Stream #0:1: Video: wmv3 (Main) (WMV3 / 0x33564D57), yuv420p, 704x576, 900 k
b/s, SAR 16:11 DAR 16:9, 25 tbr, 1k tbn, 1k tbc

4:3 file stretched:
[wmv3 @ 01926A00] Extra data: 8 bits left, value: 0
Guessed Channel Layout for Input Stream #0.0 : mono
Input #0, asf, from 'mmst://178.238.90.124/vod_arc4d/80000719.210.WMV?sid=950AB2D150838CCE6E460C30BEF8CA96EAA1D0107F5CDA4D040CF8CBFEC77B0F':
Metadata:
WMFSDKVersion : 11.0.5721.5145
WMFSDKNeeded : 0.0.0.0000
VBR Peak : 2000
IsVBR : 1
Buffer Average : 3488
Duration: 01:14:42.50, start: 0.000000, bitrate: N/A
Stream #0:0: Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, mono, s16, 48 kb/s
Stream #0:1: Video: wmv3 (Main) (WMV3 / 0x33564D57), yuv420p, 720x576, 900 k
b/s, SAR 16:15 DAR 4:3, 25 tbr, 1k tbn, 1k tbc


TV is set up for "Dot By Dot" mode and BDP is set up to keep original size.

If I am not mistaken ASF/MMS files are transcoded in Sony BDP profile.

When i tried to use some Sony TV profile which has DAR="16:9" in video transcoding 4:3 is shown Ok, but 16:9 is compressed.

So my question is if it's possible to configure in profile for 4:3 files conditional transcoding to 16:9 and do nothing for 16:9 files?

Thanks.

Re: How to force Aspect Ratio 16:9 on SONY BDP for AR 4:3 fi

PostPosted: Mon Nov 19, 2012 7:54 pm
by miksa
hmm, no response. so it looks like a known issue or no one cares. :?

Re: How to force Aspect Ratio 16:9 on SONY BDP for AR 4:3 fi

PostPosted: Wed Nov 21, 2012 10:55 pm
by miksa
more details on this issue:

4:3 video plays Ok with "Sony Bravia TV (2009)" profile
2012-11-21 17:36:23,779 DEBUG [org.serviio.external.ProcessExecutor] Starting C:\apps\Serviio\lib/ffmpeg.exe -i mmst://178.238.90.109/vod_arc9b/8026919 ... 7B4A871BFF -y -threads 2 -copyts -c:v mpeg2video -sameq -vf pad=1024:576:152:0:black,setdar=4:3 -r 25 -g 15 -c:a ac3 -b:a 384k -ac 2 -map 0:1 -map 0:0 -sn -f vob C:\DOCUME~1\mike\LOCALS~1\Temp\Serviio\transcoding-temp-1000000000920001-sony2009-ORIGINAL.stf
2012-11-21 17:36:24,279 DEBUG [org.serviio.delivery.resource.transcode.FileBasedTranscodingDeliveryStrategy] Sending transcoding stream
2012-11-21 17:36:24,295 DEBUG [org.serviio.delivery.resource.VideoDeliveryEngine] Found Format profile for transcoded file mmst://178.238.90.109/vod_arc9b/8026919 ... 7B4A871BFF: MPEG_PS_PAL
2012-11-21 17:36:24,295 DEBUG [org.serviio.delivery.resource.VideoDeliveryEngine] Found Format profile for transcoded file mmst://178.238.90.109/vod_arc9b/8026919 ... 7B4A871BFF: MPEG_PS_NTSC
2012-11-21 17:36:24,295 DEBUG [org.serviio.delivery.ResourceDeliveryProcessor] Stream entity has length: 50000000000
2012-11-21 17:36:24,295 DEBUG [org.serviio.delivery.ResourceDeliveryProcessor] Sending file back
2012-11-21 17:36:24,420 DEBUG [org.serviio.delivery.ResourceDeliveryProcessor] Resource request accepted. Using client 'IPAddress=/192.168.1.3, Profile=Sony Bravia TV (2009)'

4:3 video stretched with "Sony BD Player / SMP" profile
2012-11-21 17:30:27,886 DEBUG [org.serviio.external.ProcessExecutor] Starting C:\apps\Serviio\lib/ffmpeg.exe -i mmst://178.238.90.119/vod_arc9o/8026919 ... CB7E07A37F -y -threads 2 -copyts -c:v mpeg2video -b:v 5000k -maxrate:v 5000k -bufsize:v 5000k -r 25 -g 15 -c:a ac3 -b:a 384k -ac 2 -map 0:1 -map 0:0 -sn -f vob C:\DOCUME~1\mike\LOCALS~1\Temp\Serviio\transcoding-temp-1000000000920001-10-ORIGINAL.stf
2012-11-21 17:30:28,386 DEBUG [org.serviio.delivery.resource.transcode.FileBasedTranscodingDeliveryStrategy] Sending transcoding stream
2012-11-21 17:30:28,402 DEBUG [org.serviio.delivery.resource.VideoDeliveryEngine] Found Format profile for transcoded file mmst://178.238.90.119/vod_arc9o/8026919 ... CB7E07A37F: MPEG_PS_PAL
2012-11-21 17:30:28,402 DEBUG [org.serviio.delivery.resource.VideoDeliveryEngine] Found Format profile for transcoded file mmst://178.238.90.119/vod_arc9o/8026919 ... CB7E07A37F: MPEG_PS_NTSC
2012-11-21 17:30:28,402 DEBUG [org.serviio.delivery.ResourceDeliveryProcessor] Stream entity has length: 50000000000
2012-11-21 17:30:28,402 DEBUG [org.serviio.delivery.ResourceDeliveryProcessor] Sending file back
2012-11-21 17:30:28,527 DEBUG [org.serviio.delivery.ResourceDeliveryProcessor] Resource request accepted. Using client 'IPAddress=/192.168.1.3, Profile=Sony BD Player / SMP'

So my question remains - how to change "Sony BD Player / SMP" profile to add DAR=4:3 for 4:3 videos ONLY and leave 16:9 videos unaffected (not compressed)?

Re: How to force Aspect Ratio 16:9 on SONY BDP for AR 4:3 fi

PostPosted: Thu Nov 22, 2012 8:48 am
by Illico
I don't have problems with 4:3 video plaback on my Sony BDP/SM. Do you check on device display setting ? (Screen setting : TV Type 16/9, Screen Format : Original, etc )
So you don't have to modify profiles.

Re: How to force Aspect Ratio 16:9 on SONY BDP for AR 4:3 fi

PostPosted: Thu Nov 22, 2012 8:56 am
by Illico
Could you confirm that Sony BDP-BX57 is an US sony model ?
On profiles.xml you can edit the ""Sony BD Player / SMP"" and add DAR="16:9" option after each targetVCodec="mpeg2video"

Re: How to force Aspect Ratio 16:9 on SONY BDP for AR 4:3 fi

PostPosted: Thu Nov 22, 2012 2:28 pm
by miksa
Illico wrote:Could you confirm that Sony BDP-BX57 is an US sony model ?
On profiles.xml you can edit the ""Sony BD Player / SMP"" and add DAR="16:9" option after each targetVCodec="mpeg2video"
thanks a lot Illico! DAR="16:9" attribute fixed this issue for my US Sony BDP BX57.

Re: How to force Aspect Ratio 16:9 on SONY BDP for AR 4:3 fi

PostPosted: Thu Nov 22, 2012 3:11 pm
by Illico
[/quote]thanks a lot Petr! DAR="16:9" attribute fixed this issue for my US Sony BDP BX57. [/quote]
Nice !
[/quote]the main problem i still have with Serviio is inability to resume video after interruption when video has to be transcoded. may need to look at roku.[/quote]
Could you create a new topic for this, we will try to find a solution...
Present topic solved.