FAQ  •  Register  •  Login

DAR Attribute

<<

jart352015yup

Streaming enthusiast

Posts: 35

Joined: Fri Apr 03, 2015 12:49 am

Post Tue Jun 02, 2015 7:17 am

DAR Attribute

how is this used... was looking for an example of it, and or its full options.

here is part of a transcoding profile...

<Video targetContainer="mpegts" targetVCodec="h264" maxHeight="720" maxVBitrate="2500" DAR="???" targetACodec="mp3" forceStereo="true" aSamplerate="44100" >
<Matches container="*" />
</Video>

i get how to place it and use it just not sure what the = should be... can there be a auto, i found 16:9..... are there others.??

any help is appreciated.
<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Tue Jun 02, 2015 11:25 am

Re: DAR Attribute

Only one value: "16:9". See http://www.serviio.org/index.php?option ... icle&id=24

The DAR attribute is used to address a specific problem. Video with an aspect ratio of greater than 16:9 (often seen on movies, aspect ratios of 1.85 or 2.2) should play on a 16:9 TV in a letter box (with black bars top and bottom, so that the original aspect ratio of the movie is retained). Unfortunately, when transcoding the aspect ratio information is not honored by some TV's, so the movie takes up the whole display - no bars to and bottom, and appears vertically stretched. The DAR attribute fixes this by "artificially" adding the bars top and bottom back in.
DenyAll
Panasonic Viera FX800A | Panasonic Viera CS610A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.10.1 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Tue Jun 02, 2015 12:12 pm

Re: DAR Attribute

It also works in the other dimension so that a 4:3 video will have black bars added to the sides using ffmpeg -vf pad to create a 16:9 output.

If you create an ffmpeg wrapper you can detect the -vf pad and use it as a flag to do some alteration. In my case I use it to zoom in on 4:3 videos (stretch horizontally and clip top and bottom) so it fills a 16:9 screen.
<<

jart352015yup

Streaming enthusiast

Posts: 35

Joined: Fri Apr 03, 2015 12:49 am

Post Tue Jun 02, 2015 6:06 pm

Re: DAR Attribute

ok sounds good

that is great to know.

and thank you both for the information.


I was working on a way to use that to correct that stretching issue on my tablet and phone... android devices... so i was working on creating a profile that would work with that.
I fould a combo that is working so far... see my post about it that Sparky started... see the post here viewtopic.php?f=5&t=18695

again thanks.

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 20 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.