Menu

Two languages in adaptation set

Help
2015-05-26
2015-05-26
  • David Gómez

    David Gómez - 2015-05-26

    Hi all,

    I try to create a Mpeg-Dash using a mp4 file, but when use this comand:

    MP4Box -dash 10000 -rap -dash-profile dashavc264:live -bs-switching no -url-template -segment-timeline -segment-name seg_$Time$ original.mp4

    and obtain the next log:

    DASH-ing file: 10.00s segments 10.00s fragments single sidx per segment
    Splitting segments at GOP boundaries
    [DASH]: Muxed representations not allowed in DASH-IF AVC264 live profile
    switching to regular live profile
    [DASH] two languages in adaptation set: und will be kept eng will be ignored
    DASHing file original.mp4
    [DASH] Generating MPD at time 2015-05-26T11:18:05.721Z

    The Mpd is generated but the program delet the audio Stream.

    The map of the streams is

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'original.mp4':
    Metadata:
    major_brand : mp42
    minor_version : 0
    compatible_brands: isommp42
    creation_time : 2015-04-20 06:20:55
    Duration: 00:03:05.48, start: 0.000000, bitrate: 1686 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 1492 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc (default)
    Metadata:
    creation_time : 1970-01-01 00:00:00
    handler_name : VideoHandler
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 191 kb/s (default)
    Metadata:
    creation_time : 2015-04-20 06:20:56
    handler_name : IsoMedia File Produced by Google, 5-11-2011

    How can generate the mpd correctly?

    Thanks

     
  • Romain Bouqueau

    Romain Bouqueau - 2015-05-26

    You need to prepare your content before you feed mp4box with it. The following error messages from your log seem explicit:

    [DASH]: Muxed representations not allowed in DASH-IF AVC264 live profile
    switching to regular live profile

    => please provide unmuxed content or use the #audio/#video/#trackID/... options. See http://gpac.io/mp4box/dash/

    [DASH] two languages in adaptation set: und will be kept eng will be ignored
    DASHing file original.mp4

    'Lang' is an adaptation set attribute.