A method of generating a media container file conforming to the ISO base media file format specification ISO/IEC 14496-12:2008, said method comprising the steps of: a) organizing, by a media content server, media data (2; 3) in said media container file, said media data (2; 3) being i) scalable video coding data or ii) multiview video coding data defined by a media track in said media container file and comprises a first media data portion (4; 6) constituting i) a base layer or ii) a first view and at least one second media data portion (5; 7, 8) constituting i) at least one enhancement layer or ii) at least one second view constituting respective sub-streams, characterized by: b) providing, by said media content server and in said media container file and for a first sub-track of said media track, sub-track information identifying said first media data portion and providing, in said media container file and for at least one second sub-track of said media track, sub-track information identifying said at least one second media data portion (5; 7, 8); and c) providing, by said media content server and in said media container file and for at least one sub-track of said first sub-track and said at least one second sub-track, selection information (62, 64) defining a selective processing, by a media processing server, of the media data portion (4; 6) defined by said at least one sub-track in relation to other media data (5; 7, 8) organized in said media container file and relating to the same content as said media data portion (4; 6) defined by said at least one sub-track, wherein said selection information comprises an alternate group identifier for selecting, by said media processing server and in connection with setting up a media session, which sub-track of said first sub-track and said at least one second sub-track and which media data portion of said first media data portion and said at least one second media data portion to use when starting said media session and/or a switch group identifier defining which sub-track of said first sub-track, and said at least one second sub-track and which media data portion of said first media data portion and said at least one second media data portion that can or cannot be switched between, by said media processing server, during an ongoing media session; said alternate group identifier is an identifier of an alternate group defining alternative sub-tracks representing the same content but differ with respect of at least one of quality, resolution, codec and audio language; and said switch group identifier is an identifier of a switch group defining different media tracks and/or sub-tracks belonging to a same alternate group and are available for switching during said ongoing media session. a) organizing, by a media content server, media data (2; 3) in said media container file, said media data (2; 3) being i) scalable video coding data or ii) multiview video coding data defined by a media track in said media container file and comprises a first media data portion (4; 6) constituting i) a base layer or ii) a first view and at least one second media data portion (5; 7, 8) constituting i) at least one enhancement layer or ii) at least one second view constituting respective sub-streams, characterized by: b) providing, by said media content server and in said media container file and for a first sub-track of said media track, sub-track information identifying said first media data portion and providing, in said media container file and for at least one second sub-track of said media track, sub-track information identifying said at least one second media data portion (5; 7, 8); and c) providing, by said media content server and in said media container file and for at least one sub-track of said first sub-track and said at least one second sub-track, selection information (62, 64) defining a selective processing, by a media processing server, of the media data portion (4; 6) defined by said at least one sub-track in relation to other media data (5; 7, 8) organized in said media container file and relating to the same content as said media data portion (4; 6) defined by said at least one sub-track, wherein