Recherche avancée

Médias (91)

Autres articles (107)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

Sur d’autres sites (10730)

  • Encoding for HLS using FFMPEG results in have a decreasing DTS

    29 décembre 2014, par Luuk D. Jansen

    I am trying to encode video for HTS live streaming, but am having problems with validating the stream using Apple Media Validator (mediastreamvalidator).
    (my test file : http://dominicansinteractive.idoms.org/media/9536/playlist.m3u8)

    The output is :

    --------------------------------------------------------------------------------
    http://dominicansinteractive.idoms.org/media/9536/199/prog_index.m3u8
    --------------------------------------------------------------------------------

    Playlist Validation:

       OK

    Segments:

    segment_00000.ts:

       ERROR: (-1) Decreasing DTS were detected in track 0
       ERROR: (-1) Decreasing DTS were detected in track 1

       Average segment duration: 8.07 seconds
       Average segment bitrate: 2155094.67 bps
       Average segment structural overhead: 206525.83 bps (9.58 %)

    The second segment doesn’t seem to have the problem :

    [mpegts @ 0x1d78120] Format mpegts probed with size=2048 and score=100
    [mpegts @ 0x1d78120] stream=0 stream_type=1b pid=100 prog_reg_desc=
    [mpegts @ 0x1d78120] stream=1 stream_type=f pid=101 prog_reg_desc=
    [mpegts @ 0x1d78120] File position before avformat_find_stream_info() is 0
    [h264 @ 0x1d7c1c0] Current profile doesn't provide more RBSP data in PPS, skipping
    [h264 @ 0x1d7c1c0] no picture
    [h264 @ 0x1d7c1c0] Current profile doesn't provide more RBSP data in PPS, skipping
      Last message repeated 3 times
    [mpegts @ 0x1d78120] max_analyze_duration 5000000 reached at 5013333
    [mpegts @ 0x1d78120] File position after avformat_find_stream_info() is 0

    This seems to be a serious problem for HLS, so I am looking if there is a way to fix this.

    When looking with FFMPEG at the encoded file I get (encoder output/command at the bottom of the email) :

    ffmpeg -loglevel 99 -i encoded.ts
    ffmpeg version N-37783-gdf3a96c Copyright (c) 2000-2012 the FFmpeg developers
    built on Jul  4 2012 07:44:52 with gcc 4.4.5
    configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-libfaac --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libvpx --enable-libfaac --enable-nonfree
    libavutil      51. 63.100 / 51. 63.100
    libavcodec     54. 32.100 / 54. 32.100
    libavformat    54. 14.100 / 54. 14.100
    libavdevice    54.  0.100 / 54.  0.100
    libavfilter     3.  0.101 /  3.  0.101
    libswscale      2.  1.100 /  2.  1.100
    libswresample   0. 15.100 /  0. 15.100
    libpostproc    52.  0.100 / 52.  0.100
    [mpegts @ 0x2023120] Format mpegts probed with size=2048 and score=100
    [mpegts @ 0x2023120] stream=0 stream_type=1b pid=100 prog_reg_desc=
    [mpegts @ 0x2023120] stream=1 stream_type=f pid=101 prog_reg_desc=
    [mpegts @ 0x2023120] File position before avformat_find_stream_info() is 0
    [h264 @ 0x20271c0] Current profile doesn't provide more RBSP data in PPS, skipping
    [h264 @ 0x20271c0] no picture
    [mpegts @ 0x2023120] first_dts 124080 not matching first dts 143280 in que
      Last message repeated 6 times
    [mpegts @ 0x2023120] first_dts 124080 not matching first dts 158640 in que
      Last message repeated 7 times
    [mpegts @ 0x2023120] first_dts 124080 not matching first dts 175920 in que
      Last message repeated 7 times
    [mpegts @ 0x2023120] first_dts 124080 not matching first dts 193200 in que
      Last message repeated 7 times
    [mpegts @ 0x2023120] first_dts 124080 not matching first dts 210480 in que
      Last message repeated 7 times
    [h264 @ 0x20271c0] Current profile doesn't provide more RBSP data in PPS, skipping
    [mpegts @ 0x2023120] first_dts 124080 not matching first dts 227760 in que
      Last message repeated 7 times
    [mpegts @ 0x2023120] first_dts 124080 not matching first dts 245040 in que
      Last message repeated 7 times
    [mpegts @ 0x2023120] first_dts 124080 not matching first dts 262320 in que
      Last message repeated 7 times
    [mpegts @ 0x2023120] first_dts 124080 not matching first dts 279600 in que
      Last message repeated 7 times
    [mpegts @ 0x2023120] first_dts 124080 not matching first dts 296880 in que
      Last message repeated 7 times
    [mpegts @ 0x2023120] first_dts 124080 not matching first dts 314160 in que
      Last message repeated 7 times
    [h264 @ 0x20271c0] Current profile doesn't provide more RBSP data in PPS, skipping
    [mpegts @ 0x2023120] first_dts 124080 not matching first dts 331440 in que
      Last message repeated 7 times
    [mpegts @ 0x2023120] first_dts 124080 not matching first dts 348720 in que
      Last message repeated 7 times
    [mpegts @ 0x2023120] first_dts 124080 not matching first dts 366000 in que
      Last message repeated 7 times
    [mpegts @ 0x2023120] first_dts 124080 not matching first dts 383280 in que
      Last message repeated 7 times
    [mpegts @ 0x2023120] first_dts 124080 not matching first dts 400560 in que
      Last message repeated 7 times
    [mpegts @ 0x2023120] first_dts 124080 not matching first dts 417840 in que
      Last message repeated 6 times
    [h264 @ 0x20271c0] Current profile doesn't provide more RBSP data in PPS, skipping
    [mpegts @ 0x2023120] first_dts 124080 not matching first dts 433200 in que
      Last message repeated 6 times
    [mpegts @ 0x2023120] first_dts 124080 not matching first dts 448560 in que
      Last message repeated 7 times
    [mpegts @ 0x2023120] first_dts 124080 not matching first dts 465840 in que
      Last message repeated 6 times
    [mpegts @ 0x2023120] first_dts 124080 not matching first dts 481200 in que
      Last message repeated 7 times
    [mpegts @ 0x2023120] first_dts 124080 not matching first dts 498480 in que
      Last message repeated 7 times
    [mpegts @ 0x2023120] first_dts 124080 not matching first dts 515760 in que
      Last message repeated 7 times
    [mpegts @ 0x2023120] first_dts 124080 not matching first dts 533040 in que
      Last message repeated 6 times
    [h264 @ 0x20271c0] Current profile doesn't provide more RBSP data in PPS, skipping
    [mpegts @ 0x2023120] first_dts 124080 not matching first dts 548400 in que
      Last message repeated 7 times
    [mpegts @ 0x2023120] max_analyze_duration 5000000 reached at 5000000
    [mpegts @ 0x2023120] File position after avformat_find_stream_info() is 0

    And when at the first segmented file:
    ffmpeg -loglevel 99 -i segment_00000.ts
    ffmpeg version N-37783-gdf3a96c Copyright (c) 2000-2012 the FFmpeg developers
    built on Jul  4 2012 07:44:52 with gcc 4.4.5
    configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-libfaac --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libvpx --enable-libfaac --enable-nonfree
    libavutil      51. 63.100 / 51. 63.100
    libavcodec     54. 32.100 / 54. 32.100
    libavformat    54. 14.100 / 54. 14.100
    libavdevice    54.  0.100 / 54.  0.100
    libavfilter     3.  0.101 /  3.  0.101
    libswscale      2.  1.100 /  2.  1.100
    libswresample   0. 15.100 /  0. 15.100
    libpostproc    52.  0.100 / 52.  0.100
    [mpegts @ 0x1a0b120] Format mpegts probed with size=2048 and score=100
    [mpegts @ 0x1a0b120] stream=0 stream_type=1b pid=100 prog_reg_desc=
    [mpegts @ 0x1a0b120] stream=1 stream_type=f pid=101 prog_reg_desc=
    [mpegts @ 0x1a0b120] File position before avformat_find_stream_info() is 0
    [mpegts @ 0x1a0b120] Invalid timestamps stream=0, pts=1920, dts=8589929312, size=2355
    [mpegts @ 0x1a0b120] Invalid timestamps stream=0, pts=16320, dts=8589932912, size=3203
    [h264 @ 0x1a0f1c0] Current profile doesn't provide more RBSP data in PPS, skipping
    [h264 @ 0x1a0f1c0] no picture
    [h264 @ 0x1a0f1c0] Current profile doesn't provide more RBSP data in PPS, skipping
      Last message repeated 3 times
    [mpegts @ 0x1a0b120] max_analyze_duration 5000000 reached at 5013333
    [mpegts @ 0x1a0b120] File position after avformat_find_stream_info() is 0

    This problem does not occur with the BASELINE profile, but does with MAIN.

    The command I use for encoding is :

    ffmpeg, -i, [path]/test.mov, -y, -f, mpegts, -acodec, aac, -strict, -2, -ar, 48000, -b:a, 128000, -s, 960x540, -vcodec, libx264, -b:v, 1200000, -aspect, 960:540, -r, 25, -level, 3.1, -vprofile, main, -flags, +loop, -cmp, +chroma, -partitions, +parti4x4+partp8x8+partb8x8, -subq, 5, -trellis, 1, -refs, 1, -coder, 0, -me_range, 16, -keyint_min, 25, -sc_threshold, 40, -i_qfactor, 0.71, -bt, 200k, -maxrate, 1200000, -bufsize, 1200000, -rc_eq, 'blurCplx^(1-qComp)', -qcomp, 0.6, -qmin, 10, -qmax, 51, -qdiff, 4, -level, 30, -g, 30, -async, 2, [path]/encoded.ts

    08:40:29,843 DEBUG ~ FFMPEG(1):   libavutil      51. 63.100 / 51. 63.100
    08:40:29,843 DEBUG ~ FFMPEG(1):   libavcodec     54. 32.100 / 54. 32.100
    08:40:29,843 DEBUG ~ FFMPEG(1):   libavformat    54. 14.100 / 54. 14.100
    08:40:29,843 DEBUG ~ FFMPEG(1):   libavdevice    54.  0.100 / 54.  0.100
    08:40:29,843 DEBUG ~ FFMPEG(1):   libavfilter     3.  0.101 /  3.  0.101
    08:40:29,844 DEBUG ~ FFMPEG(1):   libswscale      2.  1.100 /  2.  1.100
    08:40:29,844 DEBUG ~ FFMPEG(1):   libswresample   0. 15.100 /  0. 15.100
    08:40:29,844 DEBUG ~ FFMPEG(1):   libpostproc    52.  0.100 / 52.  0.100
    08:40:30,033 DEBUG ~ FFMPEG(1): Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '[path]/test.mov':
    08:40:30,033 DEBUG ~ FFMPEG(1):   Metadata:
    08:40:30,033 DEBUG ~ FFMPEG(1):     major_brand     : qt  
    08:40:30,033 DEBUG ~ FFMPEG(1):     minor_version   : 537199360
    08:40:30,035 DEBUG ~ FFMPEG(1):     compatible_brands: qt  
    08:40:30,035 DEBUG ~ FFMPEG(1):     creation_time   : 2011-12-05 10:54:24
    08:40:30,036 DEBUG ~ FFMPEG(1):     timecode        : 00:00:00:00
    08:40:30,036 DEBUG ~ FFMPEG(1):   Duration: 00:00:24.20, start: 0.000000, bitrate: 9912 kb/s
    08:40:30,037 DEBUG ~ FFMPEG(1):     Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1920x1080, 9777 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc
    08:40:30,037 DEBUG ~ FFMPEG(1):     Metadata:
    08:40:30,037 DEBUG ~ FFMPEG(1):       creation_time   : 2011-12-05 10:56:28
    08:40:30,037 DEBUG ~ FFMPEG(1):       handler_name    : Apple Video Media Handler
    08:40:30,038 DEBUG ~ FFMPEG(1):     Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 129 kb/s
    08:40:30,038 DEBUG ~ FFMPEG(1):     Metadata:
    08:40:30,038 DEBUG ~ FFMPEG(1):       creation_time   : 2011-12-05 10:56:28
    08:40:30,038 DEBUG ~ FFMPEG(1):       handler_name    : Apple Sound Media Handler
    08:40:30,038 DEBUG ~ FFMPEG(1):     Stream #0:2(eng): Data: none (tmcd / 0x64636D74)
    08:40:30,038 DEBUG ~ FFMPEG(1):     Metadata:
    08:40:30,038 DEBUG ~ FFMPEG(1):       creation_time   : 2011-12-05 10:56:28
    08:40:30,039 DEBUG ~ FFMPEG(1):       handler_name    : Time Code Media Handler
    08:40:30,039 DEBUG ~ FFMPEG(1):       timecode        : 00:00:00:00
    08:40:30,092 DEBUG ~ FFMPEG(1): [graph 0 input from stream 0:0 @ 0x1c17180] w:1920 h:1080 pixfmt:yuv420p tb:1/25 fr:25/1 sar:0/1 sws_param:flags=2
    08:40:30,092 DEBUG ~ FFMPEG(1): [output stream 0:0 @ 0x1c033a0] No opaque field provided
    08:40:30,110 DEBUG ~ FFMPEG(1): [scaler for output stream 0:0 @ 0x1c18040] w:1920 h:1080 fmt:yuv420p sar:0/1 -> w:960 h:540 fmt:yuv420p sar:0/1 flags:0x4
    08:40:30,110 DEBUG ~ FFMPEG(1): [graph 1 input from stream 0:1 @ 0x1c53440] tb:1/48000 samplefmt:s16 samplerate:48000 chlayout:0x3
    08:40:30,110 DEBUG ~ FFMPEG(1): -async is forwarded to lavfi similarly to -af aresample=min_comp=0.001:min_hard_comp=0.100000:max_soft_comp=0.000042.
    08:40:30,122 DEBUG ~ FFMPEG(1): [graph 1 aresample for input stream 0:1 @ 0x1c36880] chl:stereo fmt:s16 r:48000Hz -> chl:stereo fmt:flt r:48000Hz
    08:40:30,142 DEBUG ~ FFMPEG(1): [libx264 @ 0x1be3cc0] using SAR=1/1
    08:40:30,142 DEBUG ~ FFMPEG(1): [libx264 @ 0x1be3cc0] frame MB size (60x34) > level limit (1620)
    08:40:30,142 DEBUG ~ FFMPEG(1): [libx264 @ 0x1be3cc0] DPB size (4 frames, 3133440 bytes) > level limit (3 frames, 3110400 bytes)
    08:40:30,142 DEBUG ~ FFMPEG(1): [libx264 @ 0x1be3cc0] MB rate (51000) > level limit (40500)
    08:40:30,170 DEBUG ~ FFMPEG(1): [libx264 @ 0x1be3cc0] using cpu capabilities: MMX2 SSE2Slow SlowCTZ
    08:40:30,182 DEBUG ~ FFMPEG(1): [libx264 @ 0x1be3cc0] profile Main, level 3.0
    08:40:30,235 DEBUG ~ FFMPEG(1): [mpegts @ 0x1be3540] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts
    08:40:30,235 DEBUG ~ FFMPEG(1): Output #0, mpegts, to '[path]/encoded.ts':
    08:40:30,235 DEBUG ~ FFMPEG(1):   Metadata:
    08:40:30,235 DEBUG ~ FFMPEG(1):     major_brand     : qt  
    08:40:30,235 DEBUG ~ FFMPEG(1):     minor_version   : 537199360
    08:40:30,235 DEBUG ~ FFMPEG(1):     compatible_brands: qt  
    08:40:30,235 DEBUG ~ FFMPEG(1):     timecode        : 00:00:00:00
    08:40:30,235 DEBUG ~ FFMPEG(1):     encoder         : Lavf54.14.100
    08:40:30,235 DEBUG ~ FFMPEG(1):     Stream #0:0(eng): Video: h264, yuv420p, 960x540 [SAR 1:1 DAR 16:9], q=10-51, 1200 kb/s, 90k tbn, 25 tbc
    08:40:30,235 DEBUG ~ FFMPEG(1):     Metadata:
    08:40:30,235 DEBUG ~ FFMPEG(1):       creation_time   : 2011-12-05 10:56:28
    08:40:30,235 DEBUG ~ FFMPEG(1):       handler_name    : Apple Video Media Handler
    08:40:30,236 DEBUG ~ FFMPEG(1):     Stream #0:1(eng): Audio: aac, 48000 Hz, stereo, flt, 128 kb/s
    08:40:30,236 DEBUG ~ FFMPEG(1):     Metadata:
    08:40:30,236 DEBUG ~ FFMPEG(1):       creation_time   : 2011-12-05 10:56:28
    08:40:30,236 DEBUG ~ FFMPEG(1):       handler_name    : Apple Sound Media Handler
    08:40:30,236 DEBUG ~ FFMPEG(1): Stream mapping:
    08:40:30,236 DEBUG ~ FFMPEG(1):   Stream #0:0 -> #0:0 (h264 -> libx264)
    08:40:30,236 DEBUG ~ FFMPEG(1):   Stream #0:1 -> #0:1 (aac -> aac)

    [...]

    08:40:55,398 DEBUG ~ FFMPEG(1): video:3121kB audio:359kB subtitle:0 global headers:0kB muxing overhead 11.132085%
    08:40:55,407 DEBUG ~ FFMPEG(1): [libx264 @ 0x1be3cc0] frame I:21    Avg QP:21.57  size: 88153
    08:40:55,407 DEBUG ~ FFMPEG(1): [libx264 @ 0x1be3cc0] frame P:233   Avg QP:22.74  size:  5560
    08:40:55,407 DEBUG ~ FFMPEG(1): [libx264 @ 0x1be3cc0] frame B:351   Avg QP:27.45  size:   141
    08:40:55,407 DEBUG ~ FFMPEG(1): [libx264 @ 0x1be3cc0] consecutive B-frames: 21.7%  2.0%  3.0% 73.4%
    08:40:55,407 DEBUG ~ FFMPEG(1): [libx264 @ 0x1be3cc0] mb I  I16..4: 54.5%  0.0% 45.5%
    08:40:55,422 DEBUG ~ FFMPEG(1): [libx264 @ 0x1be3cc0] mb P  I16..4:  4.7%  0.0%  1.3%  P16..4: 24.6%  3.5%  0.8%  0.0%  0.0%    skip:65.1%
    08:40:55,422 DEBUG ~ FFMPEG(1): [libx264 @ 0x1be3cc0] mb B  I16..4:  0.1%  0.0%  0.1%  B16..8:  0.5%  0.1%  0.0%  direct: 0.6%  skip:98.6%  L0:32.3% L1:47.1% BI:20.6%
    08:40:55,422 DEBUG ~ FFMPEG(1): [libx264 @ 0x1be3cc0] coded y,uvDC,uvAC intra: 59.4% 5.8% 0.4% inter: 5.4% 3.0% 0.0%
    08:40:55,422 DEBUG ~ FFMPEG(1): [libx264 @ 0x1be3cc0] i16 v,h,dc,p: 58% 16% 21%  4%
    08:40:55,422 DEBUG ~ FFMPEG(1): [libx264 @ 0x1be3cc0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 21% 17%  5% 10%  7%  5%  5% 10%
    08:40:55,422 DEBUG ~ FFMPEG(1): [libx264 @ 0x1be3cc0] i8c dc,h,v,p: 94%  3%  3%  0%
    08:40:55,422 DEBUG ~ FFMPEG(1): [libx264 @ 0x1be3cc0] Weighted P-Frames: Y:13.7% UV:3.4%
    08:40:55,422 DEBUG ~ FFMPEG(1): [libx264 @ 0x1be3cc0] kb/s:1056.61

    For segmenting is :

    ffmpeg, -i,[path]encoded.ts, -y, -c, copy, -flags, global_header, -map, 0, -f, segment, -segment_time, 10, -segment_list, [path]/fileList.txt, -segment_format, mpegts, [path]/segment_%05d.ts]

    Any help would really be appreciated !

  • avconv with subprocess

    17 juillet 2012, par Niclas Nilsson

    It's seems like I never really manage to wrap my head around subprocess. This commandline works in bash

    avconv -i "concat:/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment0.ts|/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment1.ts" -vcodec copy -acodec copy /tmp/test1.ts

    Bu if I try this :

    cmdline = ['avconv', '-i "concat:/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment0.ts|/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment1.ts"', '-vcodec copy', '-acodec copy', '/tmp/test1.ts']
    subprocess.call(cmdline)

    It exit avconv with the following error :

    avconv version 0.8.3-4:0.8.3-0ubuntu0.12.04.1, Copyright (c) 2000-2012 the Libav developers
     built on Jun 12 2012 16:52:09 with gcc 4.6.3
    Unrecognized option 'i "concat:/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment0.ts|/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment1.ts"'
    Failed to set value '-vcodec copy' for option 'i "concat:/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment0.ts|/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment1.ts"'
    1

    I've tried some variants (including shell=True) but I can't figure out the problem.

    Update

    Cjb made an answer that really worked. But my real code is more complicated. I believe it's hard to get something out of it. But I throw it in here just in case there is an obvoius problem that I missed.

    def run_avconv(output_dir, fnames):
       full_fnames = [os.path.join(output_dir, fname.replace('\n', ''))
                      for fname in fnames]
       concatted_files = '|'.join(full_fnames)
       cmd_line = [AVCONV_CMD,
                   '-i',
                   '"concat:' + concatted_files + '"',
                   '-vcodec',
                   'copy',
                   '-acodec',
                   'copy',
                   os.path.join(output_dir, 'out.ts')]
       subprocess.Popen(cmd_line)

    the full_fnames variable is :

    ['/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment0.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment1.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment2.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment3.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment4.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment5.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment6.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment7.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment8.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment9.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment10.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment11.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment12.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment13.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment14.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment15.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment16.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment17.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment18.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment19.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment20.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment21.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment22.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment23.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment24.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment25.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment26.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment27.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment28.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment29.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment30.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment31.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment32.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment33.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment34.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment35.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment36.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment37.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment38.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment39.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment40.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment41.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment42.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment43.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment44.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment45.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment46.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment47.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment48.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment49.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment50.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment51.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment52.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment53.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment54.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment55.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment56.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment57.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment58.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment59.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment60.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment61.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment62.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment63.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment64.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment65.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment66.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment67.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment68.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment69.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment70.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment71.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment72.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment73.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment74.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment75.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment76.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment77.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment78.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment79.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment80.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment81.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment82.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment83.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment84.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment85.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment86.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment87.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment88.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment89.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment90.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment91.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment92.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment93.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment94.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment95.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment96.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment97.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment98.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment99.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment100.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment101.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment102.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment103.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment104.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment105.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment106.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment107.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment108.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment109.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment110.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment111.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment112.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment113.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment114.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment115.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment116.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment117.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment118.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment119.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment120.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment121.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment122.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment123.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment124.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment125.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment126.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment127.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment128.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment129.ts',
    '/tmp/BABAR_AND_THE_A-011A-hts-a-v1-cc3651d01841d748_Layer6/6148_Period1/segment130.ts']
  • How to integrate Netflix audio isma and video ismv files into a single file ?

    25 juillet 2012, par Ωmega

    Having Netflix audio .isma file and video .ismv file, how can be those separate files be integrated into a single .mp4 or .flv file ? Is there some schema or algorithm that can be used to develop such a tool, or is there already a tool available ?


    I tried to use ffmpeg as follows :

    # ffmpeg -i in.isma -i in.ismv out.mp4
    ffmpeg version N-42856-g3ccf22c Copyright (c) 2000-2012 the FFmpeg developers
     built on Jul 24 2012 14:59:19 with gcc 4.1.2 (GCC) 20080704 (Red Hat 4.1.2-52)
     configuration:
     libavutil      51. 65.100 / 51. 65.100
     libavcodec     54. 44.100 / 54. 44.100
     libavformat    54. 20.100 / 54. 20.100
     libavdevice    54.  2.100 / 54.  2.100
     libavfilter     3.  3.100 /  3.  3.100
     libswscale      2.  1.100 /  2.  1.100
     libswresample   0. 15.100 /  0. 15.100
    [aac @ 0x98c9ee0] Reserved bit set.
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'in.isma':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: isomiso2dashiso6piff
       creation_time   : 1941-03-31 12:20:24
     Duration: 00:48:39.59, start: 0.000000, bitrate: 67 kb/s
       Stream #0:0(und): Audio: aac (enca / 0x61636E65), 24000 Hz, mono, s16, 62 kb/s
       Metadata:
         creation_time   : 1941-03-31 12:20:24
         handler_name    : Audio Media Handler
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x98cb020] Could not find codec parameters for stream 0 (Video: none (encv / 0x76636E65), 320x240, 233 kb/s): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    in.ismv: could not find codec parameters

    Even there is no audio error shown in the above response, I was unable to convert the single audio .isma file into mp3 or other audio format file. I assume these isma/ismv files are somehow crypted or encoded in non-standard format. Below is a partial dump of audio file.

    00000000  ...$ftypmp42....isomiso2  00 00 00 24 | 66 74 79 70 | 6D 70 34 32 | 00 00 00 00 | 69 73 6F 6D | 69 73 6F 32
    00000018  dashiso6piff...luuidNetf  64 61 73 68 | 69 73 6F 36 | 70 69 66 66 | 00 00 00 6C | 75 75 69 64 | 4E 65 74 66
    00000030  lixPiffStrm!.........wªÔ  6C 69 78 50 | 69 66 66 53 | 74 72 6D 21 | 01 00 00 00 | 00 00 00 00 | 01 77 AA D4
    00000048  .....˜–€....Ì6Ê«......·û  00 00 00 00 | 00 98 96 80 | 00 00 00 06 | CC 36 CA AB | 00 00 00 00 | 00 00 B7 FB
    00000060  .....v†»......KK..l°....  00 00 00 00 | 01 76 86 BB | 00 00 00 00 | 00 00 4B 4B | 00 00 6C B0 | 00 00 00 00
    00000078  ...³..D˜øcÌ_Š7jˆ‘E>"..Þ}  00 00 06 B3 | 00 00 44 98 | F8 63 CC 5F | 8A 37 6A 88 | 91 45 3E 22 | 02 1B DE 7D
    00000090  ...nuuid¯3¡ª´%E‘%ÔÚz2ÿ.   00 00 00 6E | 75 75 69 64 | AF 33 A1 90 | AA B4 25 45 | 91 25 D4 DA | 7A 32 FF 05
    000000A8  ......./È[<?þÿ.N.e.t.f.l  00 00 00 00 | 00 00 01 2F | C8 5B 3C 3F | FE FF 00 4E | 00 65 00 74 | 00 66 00 6C
    000000C0  .i.x. .M.e.d.i.a. .L.i.b  00 69 00 78 | 00 20 00 4D | 00 65 00 64 | 00 69 00 61 | 00 20 00 4C | 00 69 00 62
    000000D8  .r.a.r.y. .V.e.r.s.i.o.n  00 72 00 61 | 00 72 00 79 | 00 20 00 56 | 00 65 00 72 | 00 73 00 69 | 00 6F 00 6E
    000000F0  . .1.2...3.8.....µmoov..  00 20 00 31 | 00 32 00 2E | 00 33 00 38 | 00 2E 00 00 | 05 B5 6D 6F | 6F 76 00 00
    00000108  .xmvhd........Ééó.....Éé  00 78 6D 76 | 68 64 01 00 | 00 00 00 00 | 00 00 C9 E9 | F3 08 00 00 | 00 00 C9 E9
    00000120  ó..˜–€....Ì6Ê«..........  F3 08 00 98 | 96 80 00 00 | 00 06 CC 36 | CA AB 00 01 | 00 00 01 00 | 00 00 00 00
    00000138  ........................  00 00 00 00 | 00 00 00 01 | 00 00 00 00 | 00 00 00 00 | 00 00 00 00 | 00 00 00 01
    00000150  ..............@.........  00 00 00 00 | 00 00 00 00 | 00 00 00 00 | 00 00 40 00 | 00 00 00 00 | 00 00 00 00
    00000168  ........................  00 00 00 00 | 00 00 00 00 | 00 00 00 00 | 00 00 00 00 | 00 00 00 00 | 00 02 00 00
    00000180  .&pssh....š.ðy˜@B†«’æ[àˆ  02 26 70 73 | 73 68 00 00 | 00 00 9A 04 | F0 79 98 40 | 42 86 AB 92 | E6 5B E0 88
    00000198  _•............ü.<.W.R.M.  5F 95 00 00 | 02 06 06 02 | 00 00 01 00 | 01 00 FC 01 | 3C 00 57 00 | 52 00 4D 00
    000001B0  H.E.A.D.E.R. .x.m.l.n.s.  48 00 45 00 | 41 00 44 00 | 45 00 52 00 | 20 00 78 00 | 6D 00 6C 00 | 6E 00 73 00
    000001C8  =.".h.t.t.p.:././.s.c.h.  3D 00 22 00 | 68 00 74 00 | 74 00 70 00 | 3A 00 2F 00 | 2F 00 73 00 | 63 00 68 00
    000001E0  e.m.a.s...m.i.c.r.o.s.o.  65 00 6D 00 | 61 00 73 00 | 2E 00 6D 00 | 69 00 63 00 | 72 00 6F 00 | 73 00 6F 00
    000001F8  f.t...c.o.m./.D.R.M./.2.  66 00 74 00 | 2E 00 63 00 | 6F 00 6D 00 | 2F 00 44 00 | 52 00 4D 00 | 2F 00 32 00
    00000210  0.0.7./.0.3./.P.l.a.y.R.  30 00 30 00 | 37 00 2F 00 | 30 00 33 00 | 2F 00 50 00 | 6C 00 61 00 | 79 00 52 00
    00000228  e.a.d.y.H.e.a.d.e.r.". .  65 00 61 00 | 64 00 79 00 | 48 00 65 00 | 61 00 64 00 | 65 00 72 00 | 22 00 20 00
    00000240  v.e.r.s.i.o.n.=.".4...0.  76 00 65 00 | 72 00 73 00 | 69 00 6F 00 | 6E 00 3D 00 | 22 00 34 00 | 2E 00 30 00
    00000258  ..0...0.".>.<.D.A.T.A.>.  2E 00 30 00 | 2E 00 30 00 | 22 00 3E 00 | 3C 00 44 00 | 41 00 54 00 | 41 00 3E 00
    00000270  <.P.R.O.T.E.C.T.I.N.F.O.  3C 00 50 00 | 52 00 4F 00 | 54 00 45 00 | 43 00 54 00 | 49 00 4E 00 | 46 00 4F 00
    00000288  >.<.K.E.Y.L.E.N.>.1.6.<.  3E 00 3C 00 | 4B 00 45 00 | 59 00 4C 00 | 45 00 4E 00 | 3E 00 31 00 | 36 00 3C 00
    000002A0  /.K.E.Y.L.E.N.>.<.A.L.G.  2F 00 4B 00 | 45 00 59 00 | 4C 00 45 00 | 4E 00 3E 00 | 3C 00 41 00 | 4C 00 47 00
    000002B8  I.D.>.A.E.S.C.T.R.<./.A.  49 00 44 00 | 3E 00 41 00 | 45 00 53 00 | 43 00 54 00 | 52 00 3C 00 | 2F 00 41 00
    000002D0  L.G.I.D.>.<./.P.R.O.T.E.  4C 00 47 00 | 49 00 44 00 | 3E 00 3C 00 | 2F 00 50 00 | 52 00 4F 00 | 54 00 45 00
    000002E8  C.T.I.N.F.O.>.<.K.I.D.>.  43 00 54 00 | 49 00 4E 00 | 46 00 4F 00 | 3E 00 3C 00 | 4B 00 49 00 | 44 00 3E 00
    00000300  A.A.A.A.A.D.k.6./.w.A.A.  41 00 41 00 | 41 00 41 00 | 41 00 44 00 | 6B 00 36 00 | 2F 00 77 00 | 41 00 41 00
    00000318  A.A.A.A.A.A.A.A.A.A.=.=.  41 00 41 00 | 41 00 41 00 | 41 00 41 00 | 41 00 41 00 | 41 00 41 00 | 3D 00 3D 00
    00000330  <./.K.I.D.>.<.C.H.E.C.K.  3C 00 2F 00 | 4B 00 49 00 | 44 00 3E 00 | 3C 00 43 00 | 48 00 45 00 | 43 00 4B 00
    00000348  S.U.M.>.v.R.W.D.3.9.D.o.  53 00 55 00 | 4D 00 3E 00 | 76 00 52 00 | 57 00 44 00 | 33 00 39 00 | 44 00 6F 00
    00000360  7.K.Y.=.<./.C.H.E.C.K.S.  37 00 4B 00 | 59 00 3D 00 | 3C 00 2F 00 | 43 00 48 00 | 45 00 43 00 | 4B 00 53 00
    00000378  U.M.>.<./.D.A.T.A.>.<./.  55 00 4D 00 | 3E 00 3C 00 | 2F 00 44 00 | 41 00 54 00 | 41 00 3E 00 | 3C 00 2F 00
    00000390  W.R.M.H.E.A.D.E.R.>....L  57 00 52 00 | 4D 00 48 00 | 45 00 41 00 | 44 00 45 00 | 52 00 3E 00 | 00 00 00 4C
    000003A8  pssh....)p.ä<ÇJ4Œ[®ÇCšG   70 73 73 68 | 00 00 00 00 | 29 70 1F E4 | 3C C7 4A 34 | 8C 5B AE 90 | C7 43 9A 47
    000003C0  ...,........9:ÿ.ò...û¡.Ù  00 00 00 2C | 00 00 00 04 | 00 00 00 00 | 39 3A FF 00 | F2 1E 01 1A | FB A1 13 D9
    000003D8  n.N®Á7.Üý\8ªv̬.øÀß‹½¸«¾  6E 1A 4E AE | C1 37 11 DC | FD 5C 38 AA | 76 CC AC 08 | F8 C0 DF 8B | BD B8 AB BE
    000003F0  ...‡trak...htkhd........  00 00 02 87 | 74 72 61 6B | 00 00 00 68 | 74 6B 68 64 | 01 00 00 07 | 00 00 00 00
    00000408  Ééó.....Ééó.............  C9 E9 F3 08 | 00 00 00 00 | C9 E9 F3 08 | 00 00 00 01 | 00 00 00 00 | 00 00 00 06
    00000420  Ì6Ê«....................  CC 36 CA AB | 00 00 00 00 | 00 00 00 00 | 00 00 00 00 | 01 00 00 00 | 00 01 00 00
    00000438  ........................  00 00 00 00 | 00 00 00 00 | 00 00 00 00 | 00 01 00 00 | 00 00 00 00 | 00 00 00 00
    00000450  ....@...............mdia  00 00 00 00 | 40 00 00 00 | 00 00 00 00 | 00 00 00 00 | 00 00 02 17 | 6D 64 69 61
    00000468  ...,mdhd........Ééó.....  00 00 00 2C | 6D 64 68 64 | 01 00 00 00 | 00 00 00 00 | C9 E9 F3 08 | 00 00 00 00
    00000480  Ééó...]À.....-0.UÄ.....4  C9 E9 F3 08 | 00 00 5D C0 | 00 00 00 00 | 04 2D 30 00 | 55 C4 00 00 | 00 00 00 34
    00000498  hdlr........soun........  68 64 6C 72 | 00 00 00 00 | 00 00 00 00 | 73 6F 75 6E | 00 00 00 00 | 00 00 00 00
    000004B0  ....Audio Media Handler.  00 00 00 00 | 41 75 64 69 | 6F 20 4D 65 | 64 69 61 20 | 48 61 6E 64 | 6C 65 72 00
    000004C8  ...¯minf....smhd........  00 00 01 AF | 6D 69 6E 66 | 00 00 00 10 | 73 6D 68 64 | 00 00 00 00 | 00 00 00 00
    000004E0  ...$dinf....dref........  00 00 00 24 | 64 69 6E 66 | 00 00 00 1C | 64 72 65 66 | 00 00 00 00 | 00 00 00 01
    000004F8  ....url .......sstbl....  00 00 00 0C | 75 72 6C 20 | 00 00 00 01 | 00 00 01 73 | 73 74 62 6C | 00 00 00 10
    00000510  stts............ctts....  73 74 74 73 | 00 00 00 00 | 00 00 00 00 | 00 00 00 10 | 63 74 74 73 | 00 00 00 00
    00000528  ........stsd............  00 00 00 00 | 00 00 01 17 | 73 74 73 64 | 00 00 00 00 | 00 00 00 01 | 00 00 01 07
    00000540  enca....................  65 6E 63 61 | 00 00 00 00 | 00 00 00 01 | 00 00 00 00 | 00 00 00 00 | 00 02 00 10
    00000558  ....]À.....`sinf....frma  00 00 00 00 | 5D C0 00 00 | 00 00 00 60 | 73 69 6E 66 | 00 00 00 0C | 66 72 6D 61
    00000570  mp4a....schm....piff....  6D 70 34 61 | 00 00 00 14 | 73 63 68 6D | 00 00 00 00 | 70 69 66 66 | 00 01 00 01
    00000588  ...8schi...0uuid‰tÛÎ{çLQ  00 00 00 38 | 73 63 68 69 | 00 00 00 30 | 75 75 69 64 | 89 74 DB CE | 7B E7 4C 51
    000005A0  „ùqHùˆ%T............9:ÿ.  84 F9 71 48 | F9 88 25 54 | 00 00 00 00 | 00 00 01 08 | 00 00 00 00 | 39 3A FF 00
    000005B8  ...........Psinf....frma  00 00 00 00 | 00 00 00 00 | 00 00 00 50 | 73 69 6E 66 | 00 00 00 0C | 66 72 6D 61
    000005D0  mp4a....schm....cenc....  6D 70 34 61 | 00 00 00 14 | 73 63 68 6D | 00 00 00 00 | 63 65 6E 63 | 00 01 00 00
    000005E8  ...(schi... tenc........  00 00 00 28 | 73 63 68 69 | 00 00 00 20 | 74 65 6E 63 | 00 00 00 00 | 00 00 01 08
    00000600  ....9:ÿ............3esds  00 00 00 00 | 39 3A FF 00 | 00 00 00 00 | 00 00 00 00 | 00 00 00 33 | 65 73 64 73
    00000618  .....€€€"....€€€.@...„..  00 00 00 00 | 03 80 80 80 | 22 00 00 00 | 04 80 80 80 | 14 40 15 00 | 02 84 00 01
    00000630  Ô....Â.€€€....€€€......s  D4 05 00 01 | 06 C2 05 80 | 80 80 02 13 | 10 06 80 80 | 80 01 02 00 | 00 00 10 73
    00000648  tsc............stsz.....  74 73 63 00 | 00 00 00 00 | 00 00 00 00 | 00 00 14 73 | 74 73 7A 00 | 00 00 00 00
    00000660  ...........stco.........  00 00 00 00 | 00 00 00 00 | 00 00 10 73 | 74 63 6F 00 | 00 00 00 00 | 00 00 00 00
    00000678  ..code>

    I will appreciate every usefull comment.