Match file brand (ftyp) in profiles

Issue #451 resolved
Former user created an issue

In some cases it would be beneficial to be able to match file brand (ftyp) in the profile.

The following example would correct older Bravias (<2011 models) h264 behaviour - the only h264 brand working reliably seems to be "isom", other brands have multitude of issues and should be transcoded. {{{ <!-- Transcode all h264 video that's not of isom brand --> <Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="17000" targetACodec="ac3" aBitrate="192"> <Matches container="avi" vCodec="h264" brand!="isom" /> <Matches container="matroska" vCodec="h264" brand!="isom" /> <Matches container="mp4" vCodec="h264" brand!="isom" /> </Video> }}} Further information: http://forum.serviio.org/viewtopic.php?f=11&t=3303&p=24089#p23980

Matching file brand makes issue <<issue 412>> obsolete. In addition, there are potential uses for matching file brand in all profiles.

File brand can be extracted from "ffmpeg -i": {{{ [...] major_brand : isom [...] }}} About file brands: http://www.ftyps.com, http://www.mp4ra.org/filetype.html

Comments (2)

  1. Petr Nejedly repo owner

    If no ftyp (major, minor pair) is found it should default to:

    In that case they should be read as if they contained an ftyp with major and compatible brand "mp41" (MP4 v1 - ISO 14496-1, Chapter 13).

  2. Petr Nejedly repo owner

    added attribute to matchers: ftypNotIn
    It includes comma-separated list of values, e.g: isom,mp42

  3. Log in to comment