Transcode filtering for AVCHD resolution compliance

Issue #403 new
patters created an issue

http://forum.serviio.org/viewtopic.php?f=8&t=3201&start=40#p21129

Sony Bravia TVs from 2009 can play HD H.264 perfectly well but only if the resolution of the video is one of the AVCHD standard ones. (1920x1080, 1440x1080, 1280x720). As of version 0.6 Serviio now has a device detection regexp to isolate the affected TVs into their own profile.

In the interests of minimizing unneccessary transcoding generally, and allowing people to view their handycam footage directly on these TVs, the <Transcoding> filtering could be enhanced to allow different behaviour for these videos - e.g.:

{{{ #!xml <Transcoding> <!-- remux AVCHD-compliant H.264 to mpegts --> <Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384"> <Matches container="mp4" vCodec="h264" vRes="AVCHD" /> <Matches container="matroska" vCodec="h264" vRes="AVCHD" /> </Video> <!-- transcode the rest to mpeg2video --> <Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="17000" targetACodec="ac3" aBitrate="192"> <Matches container="mpegts" vCodec="h264" /> <Matches container="asf" /> <Matches container="mp4" /> <Matches container="matroska" /> <Matches container="flv" /> <Matches container="wtv" /> <Matches container="ogg" /> </Video> </Transcoding> }}}

Comments (9)

  1. Petr Nejedly repo owner

    About to start looking at this. Is this still needed? Do we know if it's DAR that has to be 16:9 or the resolution has to be standard?

  2. patters reporter

    Whilst doing some other testing I've revisited this issue. It seems to be DAR that's inspected, as opposed to resolution. 16:9 and 4:3 seem to work on all the files I've tested. So this may make it easier to implement than say resolution matching. I guess the DAR for each media clip will need storing in the database though (if it isn't already).

  3. Log in to comment