Opened 9 years ago

Last modified 9 years ago

#4992 new defect

fragmented ismv to mp4 muxing produces unreadable file

Reported by: abaudoux Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:

When remuxing from a fragmented .ismv file to a .mp4 file :
/usr/local/bin/ffmpeg -report -y -threads 10 -i ~/Desktop/312752-1.ismv -map 0:27 -map 0:19 -acodec copy -vcodec copy -aspect 16:9 -movflags faststart /tmp/HD_I111494INT1W.mp4

The generated .mp4 file fails to open in some programs (final cut pro 7 for example) due to a "bad format" error.

Problem occurs reproductibly on several different ismv files.

I suspect that there is an issue with the fragmented nature of the input file and that some moov atoms are left in an incorrect state.

When I remux first to a .ts then back to a .mp4 the generated .mp4 opens fine :

ffmpeg -i ~/Desktop/312752-1.ismv -c:v copy -bsf:v h264_mp4toannexb -c:a copy /tmp/test.ts
then
ffmpeg -i /tmp/test.ts -c:v copy -flags +global_header -c:a copy -bsf:a aac_adtstoasc -flags +global_header -movflags faststart /tmp/test.mp4

--> NO problem

If asked I can provide the files but they are quite big

Thanks,

Antoine

How to reproduce:

ffmpeg started on 2015-11-06 at 11:35:59
Report written to "ffmpeg-20151106-113559.log"
Command line:
/usr/local/bin/ffmpeg -report -y -threads 10 -i /Users/abaudoux/Desktop/312752-1.ismv -map 0:27 -map 0:19 -acodec copy -vcodec copy -aspect 16:9 -movflags faststart /tmp/HD_I111494INT1W.mp4
ffmpeg version 2.8.1 Copyright (c) 2000-2015 the FFmpeg developers
  built with Apple LLVM version 7.0.0 (clang-700.1.76)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/2.8.1_1 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-libfreetype --enable-libtheora --enable-libvorbis --enable-libvpx --enable-librtmp --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libass --enable-ffplay --enable-libspeex --enable-libschroedinger --enable-libfdk-aac --enable-libopus --enable-frei0r --enable-libopenjpeg --disable-decoder=jpeg2000 --extra-cflags=-I/usr/local/Cellar/openjpeg/1.5.2_1/include/openjpeg-1.5 --enable-nonfree --enable-vda
  libavutil      54. 31.100 / 54. 31.100
  libavcodec     56. 60.100 / 56. 60.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 40.101 /  5. 40.101
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
Splitting the commandline.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option '-threads' ... matched as AVOption 'threads' with argument '10'.
Reading option '-i' ... matched as input file with argument '/Users/abaudoux/Desktop/312752-1.ismv'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0:27'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0:19'.
Reading option '-acodec' ... matched as option 'acodec' (force audio codec ('copy' to copy stream)) with argument 'copy'.
Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'copy'.
Reading option '-aspect' ... matched as option 'aspect' (set aspect ratio (4:3, 16:9 or 1.3333, 1.7777)) with argument '16:9'.
Reading option '-movflags' ... matched as AVOption 'movflags' with argument 'faststart'.
Reading option '/tmp/HD_I111494INT1W.mp4' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option report (generate a report) with argument 1.
Applying option y (overwrite output files) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input file /Users/abaudoux/Desktop/312752-1.ismv.
Successfully parsed a group of options.
Opening an input file: /Users/abaudoux/Desktop/312752-1.ismv.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9b8b811a00] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9b8b811a00] ISO: File Type Major Brand: isom
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9b8b811a00] Before avformat_find_stream_info() pos: 4168642936 bytes read:1474461696 seeks:44997
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9b8b811a00] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9b8b811a00] rfps: 24.750000 0.019563
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9b8b811a00] rfps: 24.750000 0.019563
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9b8b811a00] rfps: 24.833333 0.008598
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9b8b811a00] rfps: 24.833333 0.008598
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9b8b811a00] rfps: 24.916667 0.002077
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9b8b811a00] rfps: 24.916667 0.002077
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9b8b811a00] rfps: 25.000000 0.000003
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9b8b811a00] rfps: 25.083333 0.002373
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9b8b811a00] rfps: 25.083333 0.002373
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9b8b811a00] rfps: 25.166667 0.009189
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9b8b811a00] rfps: 25.166667 0.009189
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9b8b811a00] rfps: 50.000000 0.000010
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9b8b811a00] rfps: 24.750000 0.019563
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9b8b811a00] rfps: 24.750000 0.019563
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9b8b811a00] rfps: 24.833333 0.008598
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9b8b811a00] rfps: 24.833333 0.008598
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9b8b811a00] rfps: 24.916667 0.002077
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9b8b811a00] rfps: 24.916667 0.002077
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9b8b811a00] rfps: 25.000000 0.000003
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9b8b811a00] rfps: 25.083333 0.002373
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9b8b811a00] rfps: 25.083333 0.002373
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9b8b811a00] rfps: 25.166667 0.009189
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9b8b811a00] rfps: 25.166667 0.009189
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9b8b811a00] rfps: 50.000000 0.000010
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9b8b811a00] rfps: 24.750000 0.019563
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9b8b811a00] rfps: 24.750000 0.019563
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9b8b811a00] rfps: 24.833333 0.008598
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9b8b811a00] rfps: 24.833333 0.008598
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9b8b811a00] rfps: 24.916667 0.002077
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9b8b811a00] rfps: 24.916667 0.002077
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9b8b811a00] rfps: 25.000000 0.000003
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9b8b811a00] rfps: 25.083333 0.002373
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9b8b811a00] rfps: 25.083333 0.002373
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9b8b811a00] rfps: 25.166667 0.009189
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9b8b811a00] rfps: 25.166667 0.009189
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9b8b811a00] rfps: 50.000000 0.000010
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9b8b811a00] After avformat_find_stream_info() pos: 2923611 bytes read:1479730668 seeks:45124 frames:221
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/abaudoux/Desktop/312752-1.ismv':
  Metadata:
    major_brand     : isom
    minor_version   : 1
    compatible_brands: isomiso2avc1
  Duration: 00:53:33.99, start: 0.000000, bitrate: 10376 kb/s
    Stream #0:0(bul), 47, 1/10000000: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 191 kb/s (default)
    Metadata:
      handler_name    : USP Sound Handler
    Stream #0:1(ces), 1, 1/10000000: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 191 kb/s (default)
    Metadata:
      handler_name    : USP Sound Handler
    Stream #0:2(dan), 1, 1/10000000: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 191 kb/s (default)
    Metadata:
      handler_name    : USP Sound Handler
    Stream #0:3(deu), 1, 1/10000000: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 191 kb/s (default)
    Metadata:
      handler_name    : USP Sound Handler
    Stream #0:4(ell), 1, 1/10000000: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 191 kb/s (default)
    Metadata:
      handler_name    : USP Sound Handler
    Stream #0:5(eng), 1, 1/10000000: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 191 kb/s (default)
    Metadata:
      handler_name    : USP Sound Handler
    Stream #0:6(est), 1, 1/10000000: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 191 kb/s (default)
    Metadata:
      handler_name    : USP Sound Handler
    Stream #0:7(fin), 1, 1/10000000: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 191 kb/s (default)
    Metadata:
      handler_name    : USP Sound Handler
    Stream #0:8(fra), 1, 1/10000000: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 191 kb/s (default)
    Metadata:
      handler_name    : USP Sound Handler
    Stream #0:9(gle), 1, 1/10000000: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 191 kb/s (default)
    Metadata:
      handler_name    : USP Sound Handler
    Stream #0:10(hrv), 1, 1/10000000: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 191 kb/s (default)
    Metadata:
      handler_name    : USP Sound Handler
    Stream #0:11(hun), 1, 1/10000000: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 191 kb/s (default)
    Metadata:
      handler_name    : USP Sound Handler
    Stream #0:12(ita), 1, 1/10000000: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 191 kb/s (default)
    Metadata:
      handler_name    : USP Sound Handler
    Stream #0:13(lav), 1, 1/10000000: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 191 kb/s (default)
    Metadata:
      handler_name    : USP Sound Handler
    Stream #0:14(lit), 1, 1/10000000: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 191 kb/s (default)
    Metadata:
      handler_name    : USP Sound Handler
    Stream #0:15(mlt), 1, 1/10000000: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 191 kb/s (default)
    Metadata:
      handler_name    : USP Sound Handler
    Stream #0:16(nld), 1, 1/10000000: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 191 kb/s (default)
    Metadata:
      handler_name    : USP Sound Handler
    Stream #0:17(pol), 1, 1/10000000: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 191 kb/s (default)
    Metadata:
      handler_name    : USP Sound Handler
    Stream #0:18(por), 1, 1/10000000: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 191 kb/s (default)
    Metadata:
      handler_name    : USP Sound Handler
    Stream #0:19(qaa), 1, 1/10000000: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 191 kb/s (default)
    Metadata:
      handler_name    : USP Sound Handler
    Stream #0:20(ron), 1, 1/10000000: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 191 kb/s (default)
    Metadata:
      handler_name    : USP Sound Handler
    Stream #0:21(slk), 1, 1/10000000: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 191 kb/s (default)
    Metadata:
      handler_name    : USP Sound Handler
    Stream #0:22(slv), 1, 1/10000000: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 191 kb/s (default)
    Metadata:
      handler_name    : USP Sound Handler
    Stream #0:23(spa), 1, 1/10000000: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 191 kb/s (default)
    Metadata:
      handler_name    : USP Sound Handler
    Stream #0:24(swe), 1, 1/10000000: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 191 kb/s (default)
    Metadata:
      handler_name    : USP Sound Handler
    Stream #0:25(und), 50, 1/10000000: Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p(tv, bt470bg), 426x240 [SAR 640:639 DAR 16:9], 499 kb/s, 25 fps, 25 tbr, 10000k tbn, 50 tbc (default)
    Metadata:
      handler_name    : USP Video Handler
      encoder         : AVC Coding
    Stream #0:26(und), 50, 1/10000000: Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p(tv, bt470bg), 852x480 [SAR 640:639 DAR 16:9], 1499 kb/s, 25 fps, 25 tbr, 10000k tbn, 50 tbc (default)
    Metadata:
      handler_name    : USP Video Handler
      encoder         : AVC Coding
    Stream #0:27(und), 50, 1/10000000: Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 3500 kb/s, 25 fps, 25 tbr, 10000k tbn, 50 tbc (default)
    Metadata:
      handler_name    : USP Video Handler
      encoder         : AVC Coding
Successfully opened the file.
Parsing a group of options: output file /tmp/HD_I111494INT1W.mp4.
Applying option map (set input stream mapping) with argument 0:27.
Applying option map (set input stream mapping) with argument 0:19.
Applying option acodec (force audio codec ('copy' to copy stream)) with argument copy.
Applying option vcodec (force video codec ('copy' to copy stream)) with argument copy.
Applying option aspect (set aspect ratio (4:3, 16:9 or 1.3333, 1.7777)) with argument 16:9.
Successfully parsed a group of options.
Opening an output file: /tmp/HD_I111494INT1W.mp4.
Successfully opened the file.
Overriding aspect ratio with stream copy may produce invalid files
[mp4 @ 0x7f9b8b50fa00] Codec for stream 0 does not use global headers but container format requires global headers
[mp4 @ 0x7f9b8b50fa00] Codec for stream 1 does not use global headers but container format requires global headers
Output #0, mp4, to '/tmp/HD_I111494INT1W.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 1
    compatible_brands: isomiso2avc1
    encoder         : Lavf56.40.101
    Stream #0:0(und), 0, 1/10000000: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 3500 kb/s, 25 fps, 25 tbr, 10000k tbn, 10000k tbc (default)
    Metadata:
      handler_name    : USP Video Handler
      encoder         : AVC Coding
    Stream #0:1(qaa), 0, 1/48000: Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, mono, 191 kb/s (default)
    Metadata:
      handler_name    : USP Sound Handler
Stream mapping:
  Stream #0:27 -> #0:0 (copy)
  Stream #0:19 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=  600 fps=0.0 q=-1.0 size=   10539kB time=00:00:23.96 bitrate=3603.0kbits/s    
frame= 1200 fps=1192 q=-1.0 size=   21352kB time=00:00:47.96 bitrate=3646.7kbits/s    
frame= 1802 fps=1193 q=-1.0 size=   32552kB time=00:01:12.04 bitrate=3701.2kbits/s    
frame= 2400 fps=1190 q=-1.0 size=   42930kB time=00:01:35.96 bitrate=3664.5kbits/s    
frame= 3000 fps=1190 q=-1.0 size=   53704kB time=00:01:59.97 bitrate=3667.0kbits/s    
frame= 3600 fps=1192 q=-1.0 size=   64429kB time=00:02:23.97 bitrate=3665.9kbits/s    
frame= 4200 fps=1193 q=-1.0 size=   75132kB time=00:02:47.97 bitrate=3664.1kbits/s    
frame= 4800 fps=1194 q=-1.0 size=   85974kB time=00:03:11.97 bitrate=3668.6kbits/s    
frame= 5400 fps=1194 q=-1.0 size=   96803kB time=00:03:35.98 bitrate=3671.7kbits/s    
frame= 5950 fps=1185 q=-1.0 size=  107008kB time=00:03:57.98 bitrate=3683.5kbits/s    
frame= 6550 fps=1186 q=-1.0 size=  117535kB time=00:04:21.98 bitrate=3675.2kbits/s    
frame= 7101 fps=1179 q=-1.0 size=  128026kB time=00:04:44.02 bitrate=3692.5kbits/s    
frame= 7699 fps=1180 q=-1.0 size=  138425kB time=00:05:07.94 bitrate=3682.3kbits/s    
frame= 8299 fps=1181 q=-1.0 size=  148994kB time=00:05:31.95 bitrate=3676.9kbits/s    
frame= 8849 fps=1176 q=-1.0 size=  159718kB time=00:05:53.95 bitrate=3696.6kbits/s    
frame= 9449 fps=1177 q=-1.0 size=  169864kB time=00:06:17.95 bitrate=3681.7kbits/s    
frame=10049 fps=1179 q=-1.0 size=  180429kB time=00:06:41.95 bitrate=3677.2kbits/s    
frame=10599 fps=1174 q=-1.0 size=  190549kB time=00:07:03.95 bitrate=3681.9kbits/s    
frame=11199 fps=1176 q=-1.0 size=  201138kB time=00:07:27.96 bitrate=3678.3kbits/s    
frame=11749 fps=1172 q=-1.0 size=  211450kB time=00:07:49.96 bitrate=3685.8kbits/s    
frame=12349 fps=1173 q=-1.0 size=  222233kB time=00:08:13.96 bitrate=3685.6kbits/s    
frame=12899 fps=1169 q=-1.0 size=  232169kB time=00:08:35.96 bitrate=3686.2kbits/s    
frame=13499 fps=1171 q=-1.0 size=  242791kB time=00:08:59.96 bitrate=3683.4kbits/s    
frame=14049 fps=1168 q=-1.0 size=  252868kB time=00:09:21.96 bitrate=3686.1kbits/s    
frame=14649 fps=1169 q=-1.0 size=  263340kB time=00:09:45.97 bitrate=3681.5kbits/s    
frame=15199 fps=1166 q=-1.0 size=  273649kB time=00:10:07.97 bitrate=3687.2kbits/s    
frame=15799 fps=1166 q=-1.0 size=  284516kB time=00:10:31.97 bitrate=3688.1kbits/s    
frame=16395 fps=1167 q=-1.0 size=  294710kB time=00:10:55.81 bitrate=3681.3kbits/s    
frame=16949 fps=1165 q=-1.0 size=  304954kB time=00:11:17.97 bitrate=3684.8kbits/s    
frame=17499 fps=1162 q=-1.0 size=  315108kB time=00:11:39.97 bitrate=3687.8kbits/s    
frame=18099 fps=1162 q=-1.0 size=  326073kB time=00:12:03.98 bitrate=3689.6kbits/s    
frame=18699 fps=1163 q=-1.0 size=  336744kB time=00:12:27.98 bitrate=3688.1kbits/s    
frame=19299 fps=1163 q=-1.0 size=  347508kB time=00:12:51.98 bitrate=3687.6kbits/s    
frame=19899 fps=1164 q=-1.0 size=  358047kB time=00:13:15.98 bitrate=3684.9kbits/s    
frame=20399 fps=1159 q=-1.0 size=  367363kB time=00:13:35.98 bitrate=3688.1kbits/s    
frame=20948 fps=1157 q=-1.0 size=  376962kB time=00:13:57.94 bitrate=3685.3kbits/s    
frame=21498 fps=1156 q=-1.0 size=  386935kB time=00:14:19.94 bitrate=3686.0kbits/s    
frame=22048 fps=1154 q=-1.0 size=  396942kB time=00:14:41.95 bitrate=3687.0kbits/s    
frame=22593 fps=1153 q=-1.0 size=  406490kB time=00:15:03.75 bitrate=3684.6kbits/s    
frame=23098 fps=1149 q=-1.0 size=  415816kB time=00:15:23.95 bitrate=3686.7kbits/s    
frame=23648 fps=1148 q=-1.0 size=  425638kB time=00:15:45.95 bitrate=3686.0kbits/s    
frame=24148 fps=1144 q=-1.0 size=  434947kB time=00:16:05.95 bitrate=3688.7kbits/s    
frame=24151 fps=1117 q=-1.0 size=  435271kB time=00:16:06.07 bitrate=3690.9kbits/s    
frame=24698 fps=1117 q=-1.0 size=  445078kB time=00:16:27.95 bitrate=3690.5kbits/s    
frame=25250 fps=1116 q=-1.0 size=  455133kB time=00:16:50.03 bitrate=3691.4kbits/s    
frame=25798 fps=1116 q=-1.0 size=  464745kB time=00:17:11.96 bitrate=3689.3kbits/s    
frame=26348 fps=1115 q=-1.0 size=  474587kB time=00:17:33.96 bitrate=3688.8kbits/s    
frame=26899 fps=1115 q=-1.0 size=  484396kB time=00:17:55.97 bitrate=3688.0kbits/s    
frame=27401 fps=1113 q=-1.0 size=  493934kB time=00:18:16.03 bitrate=3691.8kbits/s    
frame=27950 fps=1112 q=-1.0 size=  503519kB time=00:18:37.97 bitrate=3689.6kbits/s    
frame=28500 fps=1112 q=-1.0 size=  513248kB time=00:18:59.97 bitrate=3688.3kbits/s    
frame=29050 fps=1111 q=-1.0 size=  522994kB time=00:19:21.97 bitrate=3687.1kbits/s    
frame=29600 fps=1111 q=-1.0 size=  532807kB time=00:19:43.97 bitrate=3686.5kbits/s    
frame=30100 fps=1109 q=-1.0 size=  542485kB time=00:20:03.98 bitrate=3691.1kbits/s    
frame=30650 fps=1109 q=-1.0 size=  552083kB time=00:20:25.98 bitrate=3689.0kbits/s    
frame=31200 fps=1108 q=-1.0 size=  562153kB time=00:20:47.98 bitrate=3690.1kbits/s    
frame=31749 fps=1108 q=-1.0 size=  571945kB time=00:21:09.94 bitrate=3689.4kbits/s    
frame=32249 fps=1106 q=-1.0 size=  581305kB time=00:21:29.95 bitrate=3691.7kbits/s    
frame=32799 fps=1105 q=-1.0 size=  590866kB time=00:21:51.95 bitrate=3689.4kbits/s    
frame=33349 fps=1105 q=-1.0 size=  600917kB time=00:22:13.95 bitrate=3690.3kbits/s    
frame=33901 fps=1105 q=-1.0 size=  611156kB time=00:22:36.03 bitrate=3692.1kbits/s    
frame=34449 fps=1105 q=-1.0 size=  620901kB time=00:22:57.95 bitrate=3691.3kbits/s    
frame=34999 fps=1104 q=-1.0 size=  630558kB time=00:23:19.95 bitrate=3689.8kbits/s    
frame=35549 fps=1104 q=-1.0 size=  640268kB time=00:23:41.96 bitrate=3688.6kbits/s    
frame=36099 fps=1104 q=-1.0 size=  650110kB time=00:24:03.96 bitrate=3688.3kbits/s    
frame=36630 fps=1104 q=-1.0 size=  659871kB time=00:24:25.20 bitrate=3689.4kbits/s    
frame=37149 fps=1102 q=-1.0 size=  669275kB time=00:24:45.96 bitrate=3689.7kbits/s    
frame=37699 fps=1102 q=-1.0 size=  679293kB time=00:25:07.96 bitrate=3690.2kbits/s    
frame=38251 fps=1102 q=-1.0 size=  689511kB time=00:25:30.05 bitrate=3691.7kbits/s    
frame=38799 fps=1101 q=-1.0 size=  699044kB time=00:25:51.97 bitrate=3689.9kbits/s    
frame=39349 fps=1101 q=-1.0 size=  708899kB time=00:26:13.97 bitrate=3689.6kbits/s    
frame=39899 fps=1101 q=-1.0 size=  718650kB time=00:26:35.97 bitrate=3688.8kbits/s    
frame=40399 fps=1100 q=-1.0 size=  727779kB time=00:26:55.97 bitrate=3689.4kbits/s    
frame=40901 fps=1099 q=-1.0 size=  737375kB time=00:27:16.05 bitrate=3692.2kbits/s    
frame=41452 fps=1099 q=-1.0 size=  747199kB time=00:27:38.09 bitrate=3691.6kbits/s    
frame=41999 fps=1098 q=-1.0 size=  756702kB time=00:27:59.98 bitrate=3689.9kbits/s    
frame=42549 fps=1098 q=-1.0 size=  766710kB time=00:28:21.98 bitrate=3690.3kbits/s    
frame=43099 fps=1098 q=-1.0 size=  776380kB time=00:28:43.98 bitrate=3689.2kbits/s    
frame=43599 fps=1097 q=-1.0 size=  785744kB time=00:29:03.98 bitrate=3690.9kbits/s    
frame=44149 fps=1097 q=-1.0 size=  795649kB time=00:29:25.98 bitrate=3690.8kbits/s    
frame=44698 fps=1097 q=-1.0 size=  805224kB time=00:29:47.94 bitrate=3689.4kbits/s    
frame=45248 fps=1097 q=-1.0 size=  815171kB time=00:30:09.94 bitrate=3689.5kbits/s    
frame=45798 fps=1097 q=-1.0 size=  824981kB time=00:30:31.95 bitrate=3689.1kbits/s    
frame=46298 fps=1095 q=-1.0 size=  834318kB time=00:30:51.95 bitrate=3690.6kbits/s    
frame=46848 fps=1095 q=-1.0 size=  844138kB time=00:31:13.95 bitrate=3690.2kbits/s    
frame=47398 fps=1095 q=-1.0 size=  854064kB time=00:31:35.95 bitrate=3690.2kbits/s    
frame=47900 fps=1093 q=-1.0 size=  863472kB time=00:31:56.03 bitrate=3691.8kbits/s    
frame=48448 fps=1093 q=-1.0 size=  872896kB time=00:32:17.95 bitrate=3689.8kbits/s    
frame=48948 fps=1092 q=-1.0 size=  882227kB time=00:32:37.95 bitrate=3691.2kbits/s    
frame=49500 fps=1092 q=-1.0 size=  892440kB time=00:33:00.04 bitrate=3692.3kbits/s    
frame=50096 fps=1093 q=-1.0 size=  902320kB time=00:33:23.88 bitrate=3688.7kbits/s    
frame=50598 fps=1092 q=-1.0 size=  912089kB time=00:33:43.96 bitrate=3691.7kbits/s    
frame=51148 fps=1092 q=-1.0 size=  922006kB time=00:34:05.96 bitrate=3691.7kbits/s    
frame=51732 fps=1093 q=-1.0 size=  932046kB time=00:34:29.32 bitrate=3689.8kbits/s    
frame=52248 fps=1092 q=-1.0 size=  941295kB time=00:34:49.96 bitrate=3689.6kbits/s    
frame=52750 fps=1091 q=-1.0 size=  950893kB time=00:35:10.04 bitrate=3691.7kbits/s    
frame=53298 fps=1091 q=-1.0 size=  960147kB time=00:35:31.96 bitrate=3689.3kbits/s    
frame=53837 fps=1091 q=-1.0 size=  969748kB time=00:35:53.52 bitrate=3688.9kbits/s    
frame=54348 fps=1091 q=-1.0 size=  979350kB time=00:36:13.97 bitrate=3690.4kbits/s    
frame=54898 fps=1091 q=-1.0 size=  989287kB time=00:36:35.97 bitrate=3690.5kbits/s    
frame=55448 fps=1090 q=-1.0 size=  999115kB time=00:36:57.97 bitrate=3690.2kbits/s    
frame=55998 fps=1090 q=-1.0 size= 1008990kB time=00:37:19.97 bitrate=3690.1kbits/s    
frame=56498 fps=1089 q=-1.0 size= 1018103kB time=00:37:39.97 bitrate=3690.4kbits/s    
frame=57048 fps=1089 q=-1.0 size= 1028043kB time=00:38:01.97 bitrate=3690.5kbits/s    
frame=57598 fps=1089 q=-1.0 size= 1037834kB time=00:38:23.97 bitrate=3690.1kbits/s    
frame=58148 fps=1089 q=-1.0 size= 1047573kB time=00:38:45.97 bitrate=3689.5kbits/s    
frame=58649 fps=1089 q=-1.0 size= 1057223kB time=00:39:06.02 bitrate=3691.7kbits/s    
frame=59197 fps=1089 q=-1.0 size= 1066857kB time=00:39:27.95 bitrate=3690.8kbits/s    
frame=59746 fps=1089 q=-1.0 size= 1076141kB time=00:39:49.92 bitrate=3688.7kbits/s    
frame=60297 fps=1089 q=-1.0 size= 1086191kB time=00:40:11.97 bitrate=3689.1kbits/s    
frame=60796 fps=1088 q=-1.0 size= 1095749kB time=00:40:31.94 bitrate=3691.0kbits/s    
frame=61346 fps=1088 q=-1.0 size= 1105235kB time=00:40:53.95 bitrate=3689.6kbits/s    
frame=61846 fps=1087 q=-1.0 size= 1114363kB time=00:41:13.96 bitrate=3690.0kbits/s    
frame=62346 fps=1087 q=-1.0 size= 1123841kB time=00:41:33.97 bitrate=3691.5kbits/s    
frame=62896 fps=1087 q=-1.0 size= 1133395kB time=00:41:55.97 bitrate=3690.3kbits/s    
frame=63396 fps=1086 q=-1.0 size= 1142775kB time=00:42:15.97 bitrate=3691.5kbits/s    
frame=63946 fps=1086 q=-1.0 size= 1152383kB time=00:42:37.98 bitrate=3690.5kbits/s    
frame=64446 fps=1085 q=-1.0 size= 1161712kB time=00:42:57.98 bitrate=3691.5kbits/s    
frame=64996 fps=1085 q=-1.0 size= 1171613kB time=00:43:19.98 bitrate=3691.5kbits/s    
frame=65546 fps=1085 q=-1.0 size= 1181540kB time=00:43:41.98 bitrate=3691.5kbits/s    
frame=66096 fps=1085 q=-1.0 size= 1191442kB time=00:44:03.98 bitrate=3691.5kbits/s    
frame=66648 fps=1085 q=-1.0 size= 1201368kB time=00:44:26.06 bitrate=3691.4kbits/s    
frame=67195 fps=1085 q=-1.0 size= 1210635kB time=00:44:47.94 bitrate=3689.6kbits/s    
frame=67745 fps=1085 q=-1.0 size= 1220780kB time=00:45:09.94 bitrate=3690.3kbits/s    
frame=68245 fps=1085 q=-1.0 size= 1230166kB time=00:45:29.94 bitrate=3691.5kbits/s    
frame=68795 fps=1085 q=-1.0 size= 1239794kB time=00:45:51.94 bitrate=3690.6kbits/s    
frame=69345 fps=1085 q=-1.0 size= 1249656kB time=00:46:13.94 bitrate=3690.5kbits/s    
frame=69897 fps=1085 q=-1.0 size= 1259961kB time=00:46:36.02 bitrate=3691.5kbits/s    
frame=70445 fps=1085 q=-1.0 size= 1269527kB time=00:46:57.94 bitrate=3690.6kbits/s    
frame=70981 fps=1085 q=-1.0 size= 1279070kB time=00:47:19.38 bitrate=3690.3kbits/s    
frame=71521 fps=1085 q=-1.0 size= 1288788kB time=00:47:40.98 bitrate=3690.2kbits/s    
frame=72095 fps=1085 q=-1.0 size= 1298836kB time=00:48:03.94 bitrate=3689.4kbits/s    
frame=72628 fps=1085 q=-1.0 size= 1308869kB time=00:48:25.26 bitrate=3690.6kbits/s    
frame=73145 fps=1085 q=-1.0 size= 1318526kB time=00:48:45.94 bitrate=3691.6kbits/s    
frame=73645 fps=1084 q=-1.0 size= 1327553kB time=00:49:05.94 bitrate=3691.6kbits/s    
frame=74195 fps=1084 q=-1.0 size= 1337011kB time=00:49:27.94 bitrate=3690.4kbits/s    
frame=74695 fps=1083 q=-1.0 size= 1346456kB time=00:49:47.94 bitrate=3691.6kbits/s    
frame=75245 fps=1083 q=-1.0 size= 1356033kB time=00:50:09.94 bitrate=3690.6kbits/s    
frame=75797 fps=1083 q=-1.0 size= 1366483kB time=00:50:32.02 bitrate=3692.0kbits/s    
frame=76395 fps=1084 q=-1.0 size= 1376652kB time=00:50:55.94 bitrate=3690.4kbits/s    
frame=76895 fps=1084 q=-1.0 size= 1385972kB time=00:51:15.94 bitrate=3691.2kbits/s    
frame=77495 fps=1084 q=-1.0 size= 1396492kB time=00:51:39.94 bitrate=3690.4kbits/s    
frame=78045 fps=1085 q=-1.0 size= 1406524kB time=00:52:01.94 bitrate=3690.7kbits/s    
frame=78588 fps=1085 q=-1.0 size= 1416084kB time=00:52:23.66 bitrate=3690.1kbits/s    
frame=79097 fps=1084 q=-1.0 size= 1426042kB time=00:52:44.02 bitrate=3692.2kbits/s    
frame=79645 fps=1084 q=-1.0 size= 1435426kB time=00:53:05.94 bitrate=3690.9kbits/s    
frame=80195 fps=1084 q=-1.0 size= 1445382kB time=00:53:27.94 bitrate=3691.0kbits/s    
No more output streams to write to, finishing.
[mp4 @ 0x7f9b8b50fa00] Starting second pass: moving the moov atom to the beginning of the file
[AVIOContext @ 0x7f9b8af000c0] Statistics: 1484835859 bytes read, 0 seeks
frame=80345 fps=1048 q=-1.0 Lsize= 1451045kB time=00:53:33.96 bitrate=3698.5kbits/s    
video:1373239kB audio:75323kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.171414%
Input file #0 (/Users/abaudoux/Desktop/312752-1.ismv):
  Input stream #0:0 (audio): 47 packets read (24064 bytes); 
  Input stream #0:1 (audio): 1 packets read (512 bytes); 
  Input stream #0:2 (audio): 1 packets read (512 bytes); 
  Input stream #0:3 (audio): 1 packets read (512 bytes); 
  Input stream #0:4 (audio): 1 packets read (512 bytes); 
  Input stream #0:5 (audio): 1 packets read (512 bytes); 
  Input stream #0:6 (audio): 1 packets read (512 bytes); 
  Input stream #0:7 (audio): 1 packets read (512 bytes); 
  Input stream #0:8 (audio): 1 packets read (512 bytes); 
  Input stream #0:9 (audio): 1 packets read (512 bytes); 
  Input stream #0:10 (audio): 1 packets read (512 bytes); 
  Input stream #0:11 (audio): 1 packets read (512 bytes); 
  Input stream #0:12 (audio): 1 packets read (512 bytes); 
  Input stream #0:13 (audio): 1 packets read (512 bytes); 
  Input stream #0:14 (audio): 1 packets read (512 bytes); 
  Input stream #0:15 (audio): 1 packets read (512 bytes); 
  Input stream #0:16 (audio): 1 packets read (512 bytes); 
  Input stream #0:17 (audio): 1 packets read (512 bytes); 
  Input stream #0:18 (audio): 1 packets read (512 bytes); 
  Input stream #0:19 (audio): 150646 packets read (77130752 bytes); 
  Input stream #0:20 (audio): 1 packets read (512 bytes); 
  Input stream #0:21 (audio): 1 packets read (512 bytes); 
  Input stream #0:22 (audio): 1 packets read (512 bytes); 
  Input stream #0:23 (audio): 1 packets read (512 bytes); 
  Input stream #0:24 (audio): 1 packets read (512 bytes); 
  Input stream #0:25 (video): 50 packets read (158690 bytes); 
  Input stream #0:26 (video): 50 packets read (496998 bytes); 
  Input stream #0:27 (video): 80345 packets read (1406196447 bytes); 
  Total: 231161 packets (1484018727 bytes) demuxed
Output file #0 (/tmp/HD_I111494INT1W.mp4):
  Output stream #0:0 (video): 80345 packets muxed (1406196447 bytes); 
  Output stream #0:1 (audio): 150646 packets muxed (77130752 bytes); 
  Total: 230991 packets (1483327199 bytes) muxed
0 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0x7f9b8ac61a00] Statistics: 62 seeks, 287937 writeouts
[AVIOContext @ 0x7f9b8ad19980] Statistics: 3021980860 bytes read, 48591 seeks

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.

Attachments (2)

ticket4992.ismv (2.4 MB ) - added by Carl Eugen Hoyos 9 years ago.
Screen Shot 2015-11-23 at 15.17.54.png (698.3 KB ) - added by abaudoux 9 years ago.

Change History (23)

comment:1 by Carl Eugen Hoyos, 9 years ago

Is the issue also reproducible if you use a file as input? What happens if you use the output file from your command above as input?

comment:2 by abaudoux, 9 years ago

I don't understand your question. My input is already a file : it is a .ismv file that I want to convert to MP4 :

/usr/local/bin/ffmpeg -report -y -threads 10 -i ~/Desktop/312752-1.ismv -map 0:27 -map 0:19 -acodec copy -vcodec copy -aspect 16:9 -movflags faststart /tmp/HD_I111494INT1W.mp4

comment:3 by Carl Eugen Hoyos, 9 years ago

Component: ffmpegundetermined

Please provide the input file and please confirm that the issue is reproducible with current FFmpeg git head.

comment:4 by abaudoux, 9 years ago

Here is a link to the file:

https://docs.google.com/uc?id=0B68k1AhlQ53HZzdFZ0ZJMkNzdms&export=download

I can confirm that the issues is present on latest snapshot build

Last edited 9 years ago by abaudoux (previous) (diff)

comment:5 by abaudoux, 9 years ago

I just tested with the latest snapshot version, ffmpeg-20151109-134145, and it's not working either.

comment:6 by abaudoux, 9 years ago

Hello,
were you able to download the test file? Do you need more input from my side?

Thanks,

Antoine

in reply to:  description ; comment:7 by Carl Eugen Hoyos, 9 years ago

Replying to abaudoux:

The generated .mp4 file fails to open in some programs (final cut pro 7 for example) due to a "bad format" error.

Why does this indicate a bug in FFmpeg? Does the file work with vlc? With QT or WMP?

Is the issue reproducible if you remux audio-only (-vn)? Or video-only (-an)?
Is it reproducible if you remux video and reencode audio? Or if you remux audio and reencode video?
Is the issue also reproducible if you remux only a short portion of the input file with -t 10?

in reply to:  7 comment:8 by abaudoux, 9 years ago

Replying to cehoyos:

Why does this indicate a bug in FFmpeg? Does the file work with vlc? With QT or WMP?

According to me this indicates a bug because when i first remux to TS then back to MP4 the result opens fine. Maybe there is a way of obtaining the same "cleaned" result file without first remuxing to ts?

Is the issue reproducible if you remux audio-only (-vn)? Or video-only (-an)?

It works with -vn
It doesnt work with -an

Is it reproducible if you remux video and reencode audio? Or if you remux audio and reencode video?

I will try that

Is the issue also reproducible if you remux only a short portion of the input file with -t 10?

Yes, with -t 10 I still have the issue

by Carl Eugen Hoyos, 9 years ago

Attachment: ticket4992.ismv added

comment:9 by Carl Eugen Hoyos, 9 years ago

Please also test if the issue is reproducible with the attached file as input.

comment:10 by abaudoux, 9 years ago

Yes, the issue is still present with the file you attached

comment:11 by abaudoux, 9 years ago

I tried to remux video and reencode audio --> Problem still present
I tried to remux audio and reencode video --> Problem still present

I think this is related to moof atoms present in the MP4 container.

in reply to:  11 ; comment:12 by Carl Eugen Hoyos, 9 years ago

Replying to abaudoux:

I tried to remux video and reencode audio --> Problem still present
I tried to remux audio and reencode video --> Problem still present

What happens if you reencode both audio and video?

in reply to:  12 comment:13 by abaudoux, 9 years ago

Replying to cehoyos:

What happens if you reencode both audio and video?

It still doesn't work. As I mentionned I think it is related to moof atoms in mp4 containers. Is there a way to clean them in one pass, without having to remux to ts first?

comment:14 by Carl Eugen Hoyos, 9 years ago

Version: 2.8.1git-master

But there is no moof atom in the output file using your original command line...

comment:15 by abaudoux, 9 years ago

I dumped the atoms using AtomicParsley and this is what i got :

Original ticket4992.ismv file :

AtomicParsley ~/Downloads/ticket4992.ismv -T 1
Atom ftyp @ 0 of size: 28, ends @ 28
Atom free @ 28 of size: 36, ends @ 64
Atom moov @ 64 of size: 12977, ends @ 13041
     Atom mvhd @ 72 of size: 108, ends @ 180
     Atom mvex @ 180 of size: 924, ends @ 1104
         Atom mehd @ 188 of size: 20, ends @ 208
         Atom trex @ 208 of size: 32, ends @ 240
         Atom trex @ 240 of size: 32, ends @ 272
         Atom trex @ 272 of size: 32, ends @ 304
         Atom trex @ 304 of size: 32, ends @ 336
         Atom trex @ 336 of size: 32, ends @ 368
         Atom trex @ 368 of size: 32, ends @ 400
         Atom trex @ 400 of size: 32, ends @ 432
         Atom trex @ 432 of size: 32, ends @ 464
         Atom trex @ 464 of size: 32, ends @ 496
         Atom trex @ 496 of size: 32, ends @ 528
         Atom trex @ 528 of size: 32, ends @ 560
         Atom trex @ 560 of size: 32, ends @ 592
         Atom trex @ 592 of size: 32, ends @ 624
         Atom trex @ 624 of size: 32, ends @ 656
         Atom trex @ 656 of size: 32, ends @ 688
         Atom trex @ 688 of size: 32, ends @ 720
         Atom trex @ 720 of size: 32, ends @ 752
         Atom trex @ 752 of size: 32, ends @ 784
         Atom trex @ 784 of size: 32, ends @ 816
         Atom trex @ 816 of size: 32, ends @ 848
         Atom trex @ 848 of size: 32, ends @ 880
         Atom trex @ 880 of size: 32, ends @ 912
         Atom trex @ 912 of size: 32, ends @ 944
         Atom trex @ 944 of size: 32, ends @ 976
         Atom trex @ 976 of size: 32, ends @ 1008
         Atom trex @ 1008 of size: 32, ends @ 1040
         Atom trex @ 1040 of size: 32, ends @ 1072
         Atom trex @ 1072 of size: 32, ends @ 1104
     Atom trak @ 1104 of size: 417, ends @ 1521
         Atom tkhd @ 1112 of size: 92, ends @ 1204
         Atom mdia @ 1204 of size: 317, ends @ 1521
             Atom mdhd @ 1212 of size: 32, ends @ 1244
             Atom hdlr @ 1244 of size: 50, ends @ 1294
             Atom minf @ 1294 of size: 227, ends @ 1521
                 Atom smhd @ 1302 of size: 16, ends @ 1318
                 Atom dinf @ 1318 of size: 36, ends @ 1354
                     Atom dref @ 1326 of size: 28, ends @ 1354
                         Atom url  @ 1342 of size: 12, ends @ 1354
                 Atom stbl @ 1354 of size: 167, ends @ 1521
                     Atom stsd @ 1362 of size: 91, ends @ 1453
                         Atom mp4a @ 1378 of size: 75, ends @ 1453
                             Atom esds @ 1414 of size: 39, ends @ 1453
                     Atom stts @ 1453 of size: 16, ends @ 1469
                     Atom stsc @ 1469 of size: 16, ends @ 1485
                     Atom stsz @ 1485 of size: 20, ends @ 1505
                     Atom stco @ 1505 of size: 16, ends @ 1521
     Atom trak @ 1521 of size: 417, ends @ 1938
         Atom tkhd @ 1529 of size: 92, ends @ 1621
         Atom mdia @ 1621 of size: 317, ends @ 1938
             Atom mdhd @ 1629 of size: 32, ends @ 1661
             Atom hdlr @ 1661 of size: 50, ends @ 1711
             Atom minf @ 1711 of size: 227, ends @ 1938
                 Atom smhd @ 1719 of size: 16, ends @ 1735
                 Atom dinf @ 1735 of size: 36, ends @ 1771
                     Atom dref @ 1743 of size: 28, ends @ 1771
                         Atom url  @ 1759 of size: 12, ends @ 1771
                 Atom stbl @ 1771 of size: 167, ends @ 1938
                     Atom stsd @ 1779 of size: 91, ends @ 1870
                         Atom mp4a @ 1795 of size: 75, ends @ 1870
                             Atom esds @ 1831 of size: 39, ends @ 1870
                     Atom stts @ 1870 of size: 16, ends @ 1886
                     Atom stsc @ 1886 of size: 16, ends @ 1902
                     Atom stsz @ 1902 of size: 20, ends @ 1922
                     Atom stco @ 1922 of size: 16, ends @ 1938
     Atom trak @ 1938 of size: 417, ends @ 2355
         Atom tkhd @ 1946 of size: 92, ends @ 2038
         Atom mdia @ 2038 of size: 317, ends @ 2355
             Atom mdhd @ 2046 of size: 32, ends @ 2078
             Atom hdlr @ 2078 of size: 50, ends @ 2128
             Atom minf @ 2128 of size: 227, ends @ 2355
                 Atom smhd @ 2136 of size: 16, ends @ 2152
                 Atom dinf @ 2152 of size: 36, ends @ 2188
                     Atom dref @ 2160 of size: 28, ends @ 2188
                         Atom url  @ 2176 of size: 12, ends @ 2188
                 Atom stbl @ 2188 of size: 167, ends @ 2355
                     Atom stsd @ 2196 of size: 91, ends @ 2287
                         Atom mp4a @ 2212 of size: 75, ends @ 2287
                             Atom esds @ 2248 of size: 39, ends @ 2287
                     Atom stts @ 2287 of size: 16, ends @ 2303
                     Atom stsc @ 2303 of size: 16, ends @ 2319
                     Atom stsz @ 2319 of size: 20, ends @ 2339
                     Atom stco @ 2339 of size: 16, ends @ 2355
     Atom trak @ 2355 of size: 417, ends @ 2772
         Atom tkhd @ 2363 of size: 92, ends @ 2455
         Atom mdia @ 2455 of size: 317, ends @ 2772
             Atom mdhd @ 2463 of size: 32, ends @ 2495
             Atom hdlr @ 2495 of size: 50, ends @ 2545
             Atom minf @ 2545 of size: 227, ends @ 2772
                 Atom smhd @ 2553 of size: 16, ends @ 2569
                 Atom dinf @ 2569 of size: 36, ends @ 2605
                     Atom dref @ 2577 of size: 28, ends @ 2605
                         Atom url  @ 2593 of size: 12, ends @ 2605
                 Atom stbl @ 2605 of size: 167, ends @ 2772
                     Atom stsd @ 2613 of size: 91, ends @ 2704
                         Atom mp4a @ 2629 of size: 75, ends @ 2704
                             Atom esds @ 2665 of size: 39, ends @ 2704
                     Atom stts @ 2704 of size: 16, ends @ 2720
                     Atom stsc @ 2720 of size: 16, ends @ 2736
                     Atom stsz @ 2736 of size: 20, ends @ 2756
                     Atom stco @ 2756 of size: 16, ends @ 2772
     Atom trak @ 2772 of size: 417, ends @ 3189
         Atom tkhd @ 2780 of size: 92, ends @ 2872
         Atom mdia @ 2872 of size: 317, ends @ 3189
             Atom mdhd @ 2880 of size: 32, ends @ 2912
             Atom hdlr @ 2912 of size: 50, ends @ 2962
             Atom minf @ 2962 of size: 227, ends @ 3189
                 Atom smhd @ 2970 of size: 16, ends @ 2986
                 Atom dinf @ 2986 of size: 36, ends @ 3022
                     Atom dref @ 2994 of size: 28, ends @ 3022
                         Atom url  @ 3010 of size: 12, ends @ 3022
                 Atom stbl @ 3022 of size: 167, ends @ 3189
                     Atom stsd @ 3030 of size: 91, ends @ 3121
                         Atom mp4a @ 3046 of size: 75, ends @ 3121
                             Atom esds @ 3082 of size: 39, ends @ 3121
                     Atom stts @ 3121 of size: 16, ends @ 3137
                     Atom stsc @ 3137 of size: 16, ends @ 3153
                     Atom stsz @ 3153 of size: 20, ends @ 3173
                     Atom stco @ 3173 of size: 16, ends @ 3189
     Atom trak @ 3189 of size: 417, ends @ 3606
         Atom tkhd @ 3197 of size: 92, ends @ 3289
         Atom mdia @ 3289 of size: 317, ends @ 3606
             Atom mdhd @ 3297 of size: 32, ends @ 3329
             Atom hdlr @ 3329 of size: 50, ends @ 3379
             Atom minf @ 3379 of size: 227, ends @ 3606
                 Atom smhd @ 3387 of size: 16, ends @ 3403
                 Atom dinf @ 3403 of size: 36, ends @ 3439
                     Atom dref @ 3411 of size: 28, ends @ 3439
                         Atom url  @ 3427 of size: 12, ends @ 3439
                 Atom stbl @ 3439 of size: 167, ends @ 3606
                     Atom stsd @ 3447 of size: 91, ends @ 3538
                         Atom mp4a @ 3463 of size: 75, ends @ 3538
                             Atom esds @ 3499 of size: 39, ends @ 3538
                     Atom stts @ 3538 of size: 16, ends @ 3554
                     Atom stsc @ 3554 of size: 16, ends @ 3570
                     Atom stsz @ 3570 of size: 20, ends @ 3590
                     Atom stco @ 3590 of size: 16, ends @ 3606
     Atom trak @ 3606 of size: 417, ends @ 4023
         Atom tkhd @ 3614 of size: 92, ends @ 3706
         Atom mdia @ 3706 of size: 317, ends @ 4023
             Atom mdhd @ 3714 of size: 32, ends @ 3746
             Atom hdlr @ 3746 of size: 50, ends @ 3796
             Atom minf @ 3796 of size: 227, ends @ 4023
                 Atom smhd @ 3804 of size: 16, ends @ 3820
                 Atom dinf @ 3820 of size: 36, ends @ 3856
                     Atom dref @ 3828 of size: 28, ends @ 3856
                         Atom url  @ 3844 of size: 12, ends @ 3856
                 Atom stbl @ 3856 of size: 167, ends @ 4023
                     Atom stsd @ 3864 of size: 91, ends @ 3955
                         Atom mp4a @ 3880 of size: 75, ends @ 3955
                             Atom esds @ 3916 of size: 39, ends @ 3955
                     Atom stts @ 3955 of size: 16, ends @ 3971
                     Atom stsc @ 3971 of size: 16, ends @ 3987
                     Atom stsz @ 3987 of size: 20, ends @ 4007
                     Atom stco @ 4007 of size: 16, ends @ 4023
     Atom trak @ 4023 of size: 417, ends @ 4440
         Atom tkhd @ 4031 of size: 92, ends @ 4123
         Atom mdia @ 4123 of size: 317, ends @ 4440
             Atom mdhd @ 4131 of size: 32, ends @ 4163
             Atom hdlr @ 4163 of size: 50, ends @ 4213
             Atom minf @ 4213 of size: 227, ends @ 4440
                 Atom smhd @ 4221 of size: 16, ends @ 4237
                 Atom dinf @ 4237 of size: 36, ends @ 4273
                     Atom dref @ 4245 of size: 28, ends @ 4273
                         Atom url  @ 4261 of size: 12, ends @ 4273
                 Atom stbl @ 4273 of size: 167, ends @ 4440
                     Atom stsd @ 4281 of size: 91, ends @ 4372
                         Atom mp4a @ 4297 of size: 75, ends @ 4372
                             Atom esds @ 4333 of size: 39, ends @ 4372
                     Atom stts @ 4372 of size: 16, ends @ 4388
                     Atom stsc @ 4388 of size: 16, ends @ 4404
                     Atom stsz @ 4404 of size: 20, ends @ 4424
                     Atom stco @ 4424 of size: 16, ends @ 4440
     Atom trak @ 4440 of size: 417, ends @ 4857
         Atom tkhd @ 4448 of size: 92, ends @ 4540
         Atom mdia @ 4540 of size: 317, ends @ 4857
             Atom mdhd @ 4548 of size: 32, ends @ 4580
             Atom hdlr @ 4580 of size: 50, ends @ 4630
             Atom minf @ 4630 of size: 227, ends @ 4857
                 Atom smhd @ 4638 of size: 16, ends @ 4654
                 Atom dinf @ 4654 of size: 36, ends @ 4690
                     Atom dref @ 4662 of size: 28, ends @ 4690
                         Atom url  @ 4678 of size: 12, ends @ 4690
                 Atom stbl @ 4690 of size: 167, ends @ 4857
                     Atom stsd @ 4698 of size: 91, ends @ 4789
                         Atom mp4a @ 4714 of size: 75, ends @ 4789
                             Atom esds @ 4750 of size: 39, ends @ 4789
                     Atom stts @ 4789 of size: 16, ends @ 4805
                     Atom stsc @ 4805 of size: 16, ends @ 4821
                     Atom stsz @ 4821 of size: 20, ends @ 4841
                     Atom stco @ 4841 of size: 16, ends @ 4857
     Atom trak @ 4857 of size: 417, ends @ 5274
         Atom tkhd @ 4865 of size: 92, ends @ 4957
         Atom mdia @ 4957 of size: 317, ends @ 5274
             Atom mdhd @ 4965 of size: 32, ends @ 4997
             Atom hdlr @ 4997 of size: 50, ends @ 5047
             Atom minf @ 5047 of size: 227, ends @ 5274
                 Atom smhd @ 5055 of size: 16, ends @ 5071
                 Atom dinf @ 5071 of size: 36, ends @ 5107
                     Atom dref @ 5079 of size: 28, ends @ 5107
                         Atom url  @ 5095 of size: 12, ends @ 5107
                 Atom stbl @ 5107 of size: 167, ends @ 5274
                     Atom stsd @ 5115 of size: 91, ends @ 5206
                         Atom mp4a @ 5131 of size: 75, ends @ 5206
                             Atom esds @ 5167 of size: 39, ends @ 5206
                     Atom stts @ 5206 of size: 16, ends @ 5222
                     Atom stsc @ 5222 of size: 16, ends @ 5238
                     Atom stsz @ 5238 of size: 20, ends @ 5258
                     Atom stco @ 5258 of size: 16, ends @ 5274
     Atom trak @ 5274 of size: 417, ends @ 5691
         Atom tkhd @ 5282 of size: 92, ends @ 5374
         Atom mdia @ 5374 of size: 317, ends @ 5691
             Atom mdhd @ 5382 of size: 32, ends @ 5414
             Atom hdlr @ 5414 of size: 50, ends @ 5464
             Atom minf @ 5464 of size: 227, ends @ 5691
                 Atom smhd @ 5472 of size: 16, ends @ 5488
                 Atom dinf @ 5488 of size: 36, ends @ 5524
                     Atom dref @ 5496 of size: 28, ends @ 5524
                         Atom url  @ 5512 of size: 12, ends @ 5524
                 Atom stbl @ 5524 of size: 167, ends @ 5691
                     Atom stsd @ 5532 of size: 91, ends @ 5623
                         Atom mp4a @ 5548 of size: 75, ends @ 5623
                             Atom esds @ 5584 of size: 39, ends @ 5623
                     Atom stts @ 5623 of size: 16, ends @ 5639
                     Atom stsc @ 5639 of size: 16, ends @ 5655
                     Atom stsz @ 5655 of size: 20, ends @ 5675
                     Atom stco @ 5675 of size: 16, ends @ 5691
     Atom trak @ 5691 of size: 417, ends @ 6108
         Atom tkhd @ 5699 of size: 92, ends @ 5791
         Atom mdia @ 5791 of size: 317, ends @ 6108
             Atom mdhd @ 5799 of size: 32, ends @ 5831
             Atom hdlr @ 5831 of size: 50, ends @ 5881
             Atom minf @ 5881 of size: 227, ends @ 6108
                 Atom smhd @ 5889 of size: 16, ends @ 5905
                 Atom dinf @ 5905 of size: 36, ends @ 5941
                     Atom dref @ 5913 of size: 28, ends @ 5941
                         Atom url  @ 5929 of size: 12, ends @ 5941
                 Atom stbl @ 5941 of size: 167, ends @ 6108
                     Atom stsd @ 5949 of size: 91, ends @ 6040
                         Atom mp4a @ 5965 of size: 75, ends @ 6040
                             Atom esds @ 6001 of size: 39, ends @ 6040
                     Atom stts @ 6040 of size: 16, ends @ 6056
                     Atom stsc @ 6056 of size: 16, ends @ 6072
                     Atom stsz @ 6072 of size: 20, ends @ 6092
                     Atom stco @ 6092 of size: 16, ends @ 6108
     Atom trak @ 6108 of size: 417, ends @ 6525
         Atom tkhd @ 6116 of size: 92, ends @ 6208
         Atom mdia @ 6208 of size: 317, ends @ 6525
             Atom mdhd @ 6216 of size: 32, ends @ 6248
             Atom hdlr @ 6248 of size: 50, ends @ 6298
             Atom minf @ 6298 of size: 227, ends @ 6525
                 Atom smhd @ 6306 of size: 16, ends @ 6322
                 Atom dinf @ 6322 of size: 36, ends @ 6358
                     Atom dref @ 6330 of size: 28, ends @ 6358
                         Atom url  @ 6346 of size: 12, ends @ 6358
                 Atom stbl @ 6358 of size: 167, ends @ 6525
                     Atom stsd @ 6366 of size: 91, ends @ 6457
                         Atom mp4a @ 6382 of size: 75, ends @ 6457
                             Atom esds @ 6418 of size: 39, ends @ 6457
                     Atom stts @ 6457 of size: 16, ends @ 6473
                     Atom stsc @ 6473 of size: 16, ends @ 6489
                     Atom stsz @ 6489 of size: 20, ends @ 6509
                     Atom stco @ 6509 of size: 16, ends @ 6525
     Atom trak @ 6525 of size: 417, ends @ 6942
         Atom tkhd @ 6533 of size: 92, ends @ 6625
         Atom mdia @ 6625 of size: 317, ends @ 6942
             Atom mdhd @ 6633 of size: 32, ends @ 6665
             Atom hdlr @ 6665 of size: 50, ends @ 6715
             Atom minf @ 6715 of size: 227, ends @ 6942
                 Atom smhd @ 6723 of size: 16, ends @ 6739
                 Atom dinf @ 6739 of size: 36, ends @ 6775
                     Atom dref @ 6747 of size: 28, ends @ 6775
                         Atom url  @ 6763 of size: 12, ends @ 6775
                 Atom stbl @ 6775 of size: 167, ends @ 6942
                     Atom stsd @ 6783 of size: 91, ends @ 6874
                         Atom mp4a @ 6799 of size: 75, ends @ 6874
                             Atom esds @ 6835 of size: 39, ends @ 6874
                     Atom stts @ 6874 of size: 16, ends @ 6890
                     Atom stsc @ 6890 of size: 16, ends @ 6906
                     Atom stsz @ 6906 of size: 20, ends @ 6926
                     Atom stco @ 6926 of size: 16, ends @ 6942
     Atom trak @ 6942 of size: 417, ends @ 7359
         Atom tkhd @ 6950 of size: 92, ends @ 7042
         Atom mdia @ 7042 of size: 317, ends @ 7359
             Atom mdhd @ 7050 of size: 32, ends @ 7082
             Atom hdlr @ 7082 of size: 50, ends @ 7132
             Atom minf @ 7132 of size: 227, ends @ 7359
                 Atom smhd @ 7140 of size: 16, ends @ 7156
                 Atom dinf @ 7156 of size: 36, ends @ 7192
                     Atom dref @ 7164 of size: 28, ends @ 7192
                         Atom url  @ 7180 of size: 12, ends @ 7192
                 Atom stbl @ 7192 of size: 167, ends @ 7359
                     Atom stsd @ 7200 of size: 91, ends @ 7291
                         Atom mp4a @ 7216 of size: 75, ends @ 7291
                             Atom esds @ 7252 of size: 39, ends @ 7291
                     Atom stts @ 7291 of size: 16, ends @ 7307
                     Atom stsc @ 7307 of size: 16, ends @ 7323
                     Atom stsz @ 7323 of size: 20, ends @ 7343
                     Atom stco @ 7343 of size: 16, ends @ 7359
     Atom trak @ 7359 of size: 417, ends @ 7776
         Atom tkhd @ 7367 of size: 92, ends @ 7459
         Atom mdia @ 7459 of size: 317, ends @ 7776
             Atom mdhd @ 7467 of size: 32, ends @ 7499
             Atom hdlr @ 7499 of size: 50, ends @ 7549
             Atom minf @ 7549 of size: 227, ends @ 7776
                 Atom smhd @ 7557 of size: 16, ends @ 7573
                 Atom dinf @ 7573 of size: 36, ends @ 7609
                     Atom dref @ 7581 of size: 28, ends @ 7609
                         Atom url  @ 7597 of size: 12, ends @ 7609
                 Atom stbl @ 7609 of size: 167, ends @ 7776
                     Atom stsd @ 7617 of size: 91, ends @ 7708
                         Atom mp4a @ 7633 of size: 75, ends @ 7708
                             Atom esds @ 7669 of size: 39, ends @ 7708
                     Atom stts @ 7708 of size: 16, ends @ 7724
                     Atom stsc @ 7724 of size: 16, ends @ 7740
                     Atom stsz @ 7740 of size: 20, ends @ 7760
                     Atom stco @ 7760 of size: 16, ends @ 7776
     Atom trak @ 7776 of size: 417, ends @ 8193
         Atom tkhd @ 7784 of size: 92, ends @ 7876
         Atom mdia @ 7876 of size: 317, ends @ 8193
             Atom mdhd @ 7884 of size: 32, ends @ 7916
             Atom hdlr @ 7916 of size: 50, ends @ 7966
             Atom minf @ 7966 of size: 227, ends @ 8193
                 Atom smhd @ 7974 of size: 16, ends @ 7990
                 Atom dinf @ 7990 of size: 36, ends @ 8026
                     Atom dref @ 7998 of size: 28, ends @ 8026
                         Atom url  @ 8014 of size: 12, ends @ 8026
                 Atom stbl @ 8026 of size: 167, ends @ 8193
                     Atom stsd @ 8034 of size: 91, ends @ 8125
                         Atom mp4a @ 8050 of size: 75, ends @ 8125
                             Atom esds @ 8086 of size: 39, ends @ 8125
                     Atom stts @ 8125 of size: 16, ends @ 8141
                     Atom stsc @ 8141 of size: 16, ends @ 8157
                     Atom stsz @ 8157 of size: 20, ends @ 8177
                     Atom stco @ 8177 of size: 16, ends @ 8193
     Atom trak @ 8193 of size: 417, ends @ 8610
         Atom tkhd @ 8201 of size: 92, ends @ 8293
         Atom mdia @ 8293 of size: 317, ends @ 8610
             Atom mdhd @ 8301 of size: 32, ends @ 8333
             Atom hdlr @ 8333 of size: 50, ends @ 8383
             Atom minf @ 8383 of size: 227, ends @ 8610
                 Atom smhd @ 8391 of size: 16, ends @ 8407
                 Atom dinf @ 8407 of size: 36, ends @ 8443
                     Atom dref @ 8415 of size: 28, ends @ 8443
                         Atom url  @ 8431 of size: 12, ends @ 8443
                 Atom stbl @ 8443 of size: 167, ends @ 8610
                     Atom stsd @ 8451 of size: 91, ends @ 8542
                         Atom mp4a @ 8467 of size: 75, ends @ 8542
                             Atom esds @ 8503 of size: 39, ends @ 8542
                     Atom stts @ 8542 of size: 16, ends @ 8558
                     Atom stsc @ 8558 of size: 16, ends @ 8574
                     Atom stsz @ 8574 of size: 20, ends @ 8594
                     Atom stco @ 8594 of size: 16, ends @ 8610
     Atom trak @ 8610 of size: 417, ends @ 9027
         Atom tkhd @ 8618 of size: 92, ends @ 8710
         Atom mdia @ 8710 of size: 317, ends @ 9027
             Atom mdhd @ 8718 of size: 32, ends @ 8750
             Atom hdlr @ 8750 of size: 50, ends @ 8800
             Atom minf @ 8800 of size: 227, ends @ 9027
                 Atom smhd @ 8808 of size: 16, ends @ 8824
                 Atom dinf @ 8824 of size: 36, ends @ 8860
                     Atom dref @ 8832 of size: 28, ends @ 8860
                         Atom url  @ 8848 of size: 12, ends @ 8860
                 Atom stbl @ 8860 of size: 167, ends @ 9027
                     Atom stsd @ 8868 of size: 91, ends @ 8959
                         Atom mp4a @ 8884 of size: 75, ends @ 8959
                             Atom esds @ 8920 of size: 39, ends @ 8959
                     Atom stts @ 8959 of size: 16, ends @ 8975
                     Atom stsc @ 8975 of size: 16, ends @ 8991
                     Atom stsz @ 8991 of size: 20, ends @ 9011
                     Atom stco @ 9011 of size: 16, ends @ 9027
     Atom trak @ 9027 of size: 417, ends @ 9444
         Atom tkhd @ 9035 of size: 92, ends @ 9127
         Atom mdia @ 9127 of size: 317, ends @ 9444
             Atom mdhd @ 9135 of size: 32, ends @ 9167
             Atom hdlr @ 9167 of size: 50, ends @ 9217
             Atom minf @ 9217 of size: 227, ends @ 9444
                 Atom smhd @ 9225 of size: 16, ends @ 9241
                 Atom dinf @ 9241 of size: 36, ends @ 9277
                     Atom dref @ 9249 of size: 28, ends @ 9277
                         Atom url  @ 9265 of size: 12, ends @ 9277
                 Atom stbl @ 9277 of size: 167, ends @ 9444
                     Atom stsd @ 9285 of size: 91, ends @ 9376
                         Atom mp4a @ 9301 of size: 75, ends @ 9376
                             Atom esds @ 9337 of size: 39, ends @ 9376
                     Atom stts @ 9376 of size: 16, ends @ 9392
                     Atom stsc @ 9392 of size: 16, ends @ 9408
                     Atom stsz @ 9408 of size: 20, ends @ 9428
                     Atom stco @ 9428 of size: 16, ends @ 9444
     Atom trak @ 9444 of size: 417, ends @ 9861
         Atom tkhd @ 9452 of size: 92, ends @ 9544
         Atom mdia @ 9544 of size: 317, ends @ 9861
             Atom mdhd @ 9552 of size: 32, ends @ 9584
             Atom hdlr @ 9584 of size: 50, ends @ 9634
             Atom minf @ 9634 of size: 227, ends @ 9861
                 Atom smhd @ 9642 of size: 16, ends @ 9658
                 Atom dinf @ 9658 of size: 36, ends @ 9694
                     Atom dref @ 9666 of size: 28, ends @ 9694
                         Atom url  @ 9682 of size: 12, ends @ 9694
                 Atom stbl @ 9694 of size: 167, ends @ 9861
                     Atom stsd @ 9702 of size: 91, ends @ 9793
                         Atom mp4a @ 9718 of size: 75, ends @ 9793
                             Atom esds @ 9754 of size: 39, ends @ 9793
                     Atom stts @ 9793 of size: 16, ends @ 9809
                     Atom stsc @ 9809 of size: 16, ends @ 9825
                     Atom stsz @ 9825 of size: 20, ends @ 9845
                     Atom stco @ 9845 of size: 16, ends @ 9861
     Atom trak @ 9861 of size: 417, ends @ 10278
         Atom tkhd @ 9869 of size: 92, ends @ 9961
         Atom mdia @ 9961 of size: 317, ends @ 10278
             Atom mdhd @ 9969 of size: 32, ends @ 10001
             Atom hdlr @ 10001 of size: 50, ends @ 10051
             Atom minf @ 10051 of size: 227, ends @ 10278
                 Atom smhd @ 10059 of size: 16, ends @ 10075
                 Atom dinf @ 10075 of size: 36, ends @ 10111
                     Atom dref @ 10083 of size: 28, ends @ 10111
                         Atom url  @ 10099 of size: 12, ends @ 10111
                 Atom stbl @ 10111 of size: 167, ends @ 10278
                     Atom stsd @ 10119 of size: 91, ends @ 10210
                         Atom mp4a @ 10135 of size: 75, ends @ 10210
                             Atom esds @ 10171 of size: 39, ends @ 10210
                     Atom stts @ 10210 of size: 16, ends @ 10226
                     Atom stsc @ 10226 of size: 16, ends @ 10242
                     Atom stsz @ 10242 of size: 20, ends @ 10262
                     Atom stco @ 10262 of size: 16, ends @ 10278
     Atom trak @ 10278 of size: 417, ends @ 10695
         Atom tkhd @ 10286 of size: 92, ends @ 10378
         Atom mdia @ 10378 of size: 317, ends @ 10695
             Atom mdhd @ 10386 of size: 32, ends @ 10418
             Atom hdlr @ 10418 of size: 50, ends @ 10468
             Atom minf @ 10468 of size: 227, ends @ 10695
                 Atom smhd @ 10476 of size: 16, ends @ 10492
                 Atom dinf @ 10492 of size: 36, ends @ 10528
                     Atom dref @ 10500 of size: 28, ends @ 10528
                         Atom url  @ 10516 of size: 12, ends @ 10528
                 Atom stbl @ 10528 of size: 167, ends @ 10695
                     Atom stsd @ 10536 of size: 91, ends @ 10627
                         Atom mp4a @ 10552 of size: 75, ends @ 10627
                             Atom esds @ 10588 of size: 39, ends @ 10627
                     Atom stts @ 10627 of size: 16, ends @ 10643
                     Atom stsc @ 10643 of size: 16, ends @ 10659
                     Atom stsz @ 10659 of size: 20, ends @ 10679
                     Atom stco @ 10679 of size: 16, ends @ 10695
     Atom trak @ 10695 of size: 417, ends @ 11112
         Atom tkhd @ 10703 of size: 92, ends @ 10795
         Atom mdia @ 10795 of size: 317, ends @ 11112
             Atom mdhd @ 10803 of size: 32, ends @ 10835
             Atom hdlr @ 10835 of size: 50, ends @ 10885
             Atom minf @ 10885 of size: 227, ends @ 11112
                 Atom smhd @ 10893 of size: 16, ends @ 10909
                 Atom dinf @ 10909 of size: 36, ends @ 10945
                     Atom dref @ 10917 of size: 28, ends @ 10945
                         Atom url  @ 10933 of size: 12, ends @ 10945
                 Atom stbl @ 10945 of size: 167, ends @ 11112
                     Atom stsd @ 10953 of size: 91, ends @ 11044
                         Atom mp4a @ 10969 of size: 75, ends @ 11044
                             Atom esds @ 11005 of size: 39, ends @ 11044
                     Atom stts @ 11044 of size: 16, ends @ 11060
                     Atom stsc @ 11060 of size: 16, ends @ 11076
                     Atom stsz @ 11076 of size: 20, ends @ 11096
                     Atom stco @ 11096 of size: 16, ends @ 11112
     Atom trak @ 11112 of size: 417, ends @ 11529
         Atom tkhd @ 11120 of size: 92, ends @ 11212
         Atom mdia @ 11212 of size: 317, ends @ 11529
             Atom mdhd @ 11220 of size: 32, ends @ 11252
             Atom hdlr @ 11252 of size: 50, ends @ 11302
             Atom minf @ 11302 of size: 227, ends @ 11529
                 Atom smhd @ 11310 of size: 16, ends @ 11326
                 Atom dinf @ 11326 of size: 36, ends @ 11362
                     Atom dref @ 11334 of size: 28, ends @ 11362
                         Atom url  @ 11350 of size: 12, ends @ 11362
                 Atom stbl @ 11362 of size: 167, ends @ 11529
                     Atom stsd @ 11370 of size: 91, ends @ 11461
                         Atom mp4a @ 11386 of size: 75, ends @ 11461
                             Atom esds @ 11422 of size: 39, ends @ 11461
                     Atom stts @ 11461 of size: 16, ends @ 11477
                     Atom stsc @ 11477 of size: 16, ends @ 11493
                     Atom stsz @ 11493 of size: 20, ends @ 11513
                     Atom stco @ 11513 of size: 16, ends @ 11529
     Atom trak @ 11529 of size: 504, ends @ 12033
         Atom tkhd @ 11537 of size: 92, ends @ 11629
         Atom mdia @ 11629 of size: 404, ends @ 12033
             Atom mdhd @ 11637 of size: 32, ends @ 11669
             Atom hdlr @ 11669 of size: 50, ends @ 11719
             Atom minf @ 11719 of size: 314, ends @ 12033
                 Atom vmhd @ 11727 of size: 20, ends @ 11747
                 Atom dinf @ 11747 of size: 36, ends @ 11783
                     Atom dref @ 11755 of size: 28, ends @ 11783
                         Atom url  @ 11771 of size: 12, ends @ 11783
                 Atom stbl @ 11783 of size: 250, ends @ 12033
                     Atom stsd @ 11791 of size: 174, ends @ 11965
                         Atom avc1 @ 11807 of size: 158, ends @ 11965
                             Atom avcC @ 11893 of size: 52, ends @ 11945
                             Atom btrt @ 11945 of size: 20, ends @ 11965
                     Atom stts @ 11965 of size: 16, ends @ 11981
                     Atom stsc @ 11981 of size: 16, ends @ 11997
                     Atom stsz @ 11997 of size: 20, ends @ 12017
                     Atom stco @ 12017 of size: 16, ends @ 12033
     Atom trak @ 12033 of size: 506, ends @ 12539
         Atom tkhd @ 12041 of size: 92, ends @ 12133
         Atom mdia @ 12133 of size: 406, ends @ 12539
             Atom mdhd @ 12141 of size: 32, ends @ 12173
             Atom hdlr @ 12173 of size: 50, ends @ 12223
             Atom minf @ 12223 of size: 316, ends @ 12539
                 Atom vmhd @ 12231 of size: 20, ends @ 12251
                 Atom dinf @ 12251 of size: 36, ends @ 12287
                     Atom dref @ 12259 of size: 28, ends @ 12287
                         Atom url  @ 12275 of size: 12, ends @ 12287
                 Atom stbl @ 12287 of size: 252, ends @ 12539
                     Atom stsd @ 12295 of size: 176, ends @ 12471
                         Atom avc1 @ 12311 of size: 160, ends @ 12471
                             Atom avcC @ 12397 of size: 54, ends @ 12451
                             Atom btrt @ 12451 of size: 20, ends @ 12471
                     Atom stts @ 12471 of size: 16, ends @ 12487
                     Atom stsc @ 12487 of size: 16, ends @ 12503
                     Atom stsz @ 12503 of size: 20, ends @ 12523
                     Atom stco @ 12523 of size: 16, ends @ 12539
     Atom trak @ 12539 of size: 502, ends @ 13041
         Atom tkhd @ 12547 of size: 92, ends @ 12639
         Atom mdia @ 12639 of size: 402, ends @ 13041
             Atom mdhd @ 12647 of size: 32, ends @ 12679
             Atom hdlr @ 12679 of size: 50, ends @ 12729
             Atom minf @ 12729 of size: 312, ends @ 13041
                 Atom vmhd @ 12737 of size: 20, ends @ 12757
                 Atom dinf @ 12757 of size: 36, ends @ 12793
                     Atom dref @ 12765 of size: 28, ends @ 12793
                         Atom url  @ 12781 of size: 12, ends @ 12793
                 Atom stbl @ 12793 of size: 248, ends @ 13041
                     Atom stsd @ 12801 of size: 172, ends @ 12973
                         Atom avc1 @ 12817 of size: 156, ends @ 12973
                             Atom avcC @ 12903 of size: 50, ends @ 12953
                             Atom btrt @ 12953 of size: 20, ends @ 12973
                     Atom stts @ 12973 of size: 16, ends @ 12989
                     Atom stsc @ 12989 of size: 16, ends @ 13005
                     Atom stsz @ 13005 of size: 20, ends @ 13025
                     Atom stco @ 13025 of size: 16, ends @ 13041
Atom moof @ 13041 of size: 476, ends @ 13517
     Atom mfhd @ 13049 of size: 16, ends @ 13065
     Atom traf @ 13065 of size: 452, ends @ 13517
         Atom tfhd @ 13073 of size: 20, ends @ 13093
         Atom trun @ 13093 of size: 424, ends @ 13517
Atom mdat @ 13517 of size: 158698, ends @ 172215
Atom moof @ 172215 of size: 476, ends @ 172691
     Atom mfhd @ 172223 of size: 16, ends @ 172239
     Atom traf @ 172239 of size: 452, ends @ 172691
         Atom tfhd @ 172247 of size: 20, ends @ 172267
         Atom trun @ 172267 of size: 424, ends @ 172691
Atom mdat @ 172691 of size: 497006, ends @ 669697
Atom moof @ 669697 of size: 476, ends @ 670173
     Atom mfhd @ 669705 of size: 16, ends @ 669721
     Atom traf @ 669721 of size: 452, ends @ 670173
         Atom tfhd @ 669729 of size: 20, ends @ 669749
         Atom trun @ 669749 of size: 424, ends @ 670173
Atom mdat @ 670173 of size: 1089542, ends @ 1759715
Atom moof @ 1759715 of size: 816, ends @ 1760531
     Atom mfhd @ 1759723 of size: 16, ends @ 1759739
     Atom traf @ 1759739 of size: 792, ends @ 1760531
         Atom tfhd @ 1759747 of size: 20, ends @ 1759767
         Atom trun @ 1759767 of size: 764, ends @ 1760531
Atom mdat @ 1760531 of size: 47624, ends @ 1808155
Atom moof @ 1808155 of size: 816, ends @ 1808971
     Atom mfhd @ 1808163 of size: 16, ends @ 1808179
     Atom traf @ 1808179 of size: 792, ends @ 1808971
         Atom tfhd @ 1808187 of size: 20, ends @ 1808207
         Atom trun @ 1808207 of size: 764, ends @ 1808971
Atom mdat @ 1808971 of size: 47624, ends @ 1856595
Atom moof @ 1856595 of size: 816, ends @ 1857411
     Atom mfhd @ 1856603 of size: 16, ends @ 1856619
     Atom traf @ 1856619 of size: 792, ends @ 1857411
         Atom tfhd @ 1856627 of size: 20, ends @ 1856647
         Atom trun @ 1856647 of size: 764, ends @ 1857411
Atom mdat @ 1857411 of size: 47624, ends @ 1905035
Atom moof @ 1905035 of size: 816, ends @ 1905851
     Atom mfhd @ 1905043 of size: 16, ends @ 1905059
     Atom traf @ 1905059 of size: 792, ends @ 1905851
         Atom tfhd @ 1905067 of size: 20, ends @ 1905087
         Atom trun @ 1905087 of size: 764, ends @ 1905851
Atom mdat @ 1905851 of size: 47624, ends @ 1953475
Atom moof @ 1953475 of size: 816, ends @ 1954291
     Atom mfhd @ 1953483 of size: 16, ends @ 1953499
     Atom traf @ 1953499 of size: 792, ends @ 1954291
         Atom tfhd @ 1953507 of size: 20, ends @ 1953527
         Atom trun @ 1953527 of size: 764, ends @ 1954291
Atom mdat @ 1954291 of size: 47624, ends @ 2001915
Atom moof @ 2001915 of size: 816, ends @ 2002731
     Atom mfhd @ 2001923 of size: 16, ends @ 2001939
     Atom traf @ 2001939 of size: 792, ends @ 2002731
         Atom tfhd @ 2001947 of size: 20, ends @ 2001967
         Atom trun @ 2001967 of size: 764, ends @ 2002731
Atom mdat @ 2002731 of size: 47624, ends @ 2050355
Atom moof @ 2050355 of size: 816, ends @ 2051171
     Atom mfhd @ 2050363 of size: 16, ends @ 2050379
     Atom traf @ 2050379 of size: 792, ends @ 2051171
         Atom tfhd @ 2050387 of size: 20, ends @ 2050407
         Atom trun @ 2050407 of size: 764, ends @ 2051171
Atom mdat @ 2051171 of size: 47624, ends @ 2098795
Atom moof @ 2098795 of size: 816, ends @ 2099611
     Atom mfhd @ 2098803 of size: 16, ends @ 2098819
     Atom traf @ 2098819 of size: 792, ends @ 2099611
         Atom tfhd @ 2098827 of size: 20, ends @ 2098847
         Atom trun @ 2098847 of size: 764, ends @ 2099611
Atom mdat @ 2099611 of size: 47624, ends @ 2147235
Atom moof @ 2147235 of size: 816, ends @ 2148051
     Atom mfhd @ 2147243 of size: 16, ends @ 2147259
     Atom traf @ 2147259 of size: 792, ends @ 2148051
         Atom tfhd @ 2147267 of size: 20, ends @ 2147287
         Atom trun @ 2147287 of size: 764, ends @ 2148051
Atom mdat @ 2148051 of size: 47624, ends @ 2195675
Atom moof @ 2195675 of size: 816, ends @ 2196491
     Atom mfhd @ 2195683 of size: 16, ends @ 2195699
     Atom traf @ 2195699 of size: 792, ends @ 2196491
         Atom tfhd @ 2195707 of size: 20, ends @ 2195727
         Atom trun @ 2195727 of size: 764, ends @ 2196491
Atom mdat @ 2196491 of size: 47624, ends @ 2244115
Atom moof @ 2244115 of size: 816, ends @ 2244931
     Atom mfhd @ 2244123 of size: 16, ends @ 2244139
     Atom traf @ 2244139 of size: 792, ends @ 2244931
         Atom tfhd @ 2244147 of size: 20, ends @ 2244167
         Atom trun @ 2244167 of size: 764, ends @ 2244931
Atom mdat @ 2244931 of size: 47624, ends @ 2292555
Atom moof @ 2292555 of size: 816, ends @ 2293371
     Atom mfhd @ 2292563 of size: 16, ends @ 2292579
     Atom traf @ 2292579 of size: 792, ends @ 2293371
         Atom tfhd @ 2292587 of size: 20, ends @ 2292607
         Atom trun @ 2292607 of size: 764, ends @ 2293371
Atom mdat @ 2293371 of size: 47624, ends @ 2340995
Atom moof @ 2340995 of size: 816, ends @ 2341811
     Atom mfhd @ 2341003 of size: 16, ends @ 2341019
     Atom traf @ 2341019 of size: 792, ends @ 2341811
         Atom tfhd @ 2341027 of size: 20, ends @ 2341047
         Atom trun @ 2341047 of size: 764, ends @ 2341811
Atom mdat @ 2341811 of size: 47624, ends @ 2389435
Atom moof @ 2389435 of size: 816, ends @ 2390251
     Atom mfhd @ 2389443 of size: 16, ends @ 2389459
     Atom traf @ 2389459 of size: 792, ends @ 2390251
         Atom tfhd @ 2389467 of size: 20, ends @ 2389487
         Atom trun @ 2389487 of size: 764, ends @ 2390251
Atom mdat @ 2390251 of size: 47624, ends @ 2437875
Atom moof @ 2437875 of size: 816, ends @ 2438691
     Atom mfhd @ 2437883 of size: 16, ends @ 2437899
     Atom traf @ 2437899 of size: 792, ends @ 2438691
         Atom tfhd @ 2437907 of size: 20, ends @ 2437927
         Atom trun @ 2437927 of size: 764, ends @ 2438691
Atom mdat @ 2438691 of size: 47624, ends @ 2486315
Atom moof @ 2486315 of size: 816, ends @ 2487131
     Atom mfhd @ 2486323 of size: 16, ends @ 2486339
     Atom traf @ 2486339 of size: 792, ends @ 2487131
         Atom tfhd @ 2486347 of size: 20, ends @ 2486367
         Atom trun @ 2486367 of size: 764, ends @ 2487131
Atom mdat @ 2487131 of size: 47624, ends @ 2534755
Atom moof @ 2534755 of size: 816, ends @ 2535571
     Atom mfhd @ 2534763 of size: 16, ends @ 2534779
     Atom traf @ 2534779 of size: 792, ends @ 2535571
         Atom tfhd @ 2534787 of size: 20, ends @ 2534807
         Atom trun @ 2534807 of size: 764, ends @ 2535571
Atom mdat @ 2535571 of size: 24429, ends @ 2560000
------------------------------------------------------
Total size: 2560000 bytes; 660 atoms total.
Media data: 2531659 bytes; 28341 bytes all other atoms (1.107% atom overhead).
Total free atom space: 36 bytes; 0.001% waste. Padding available: 0 bytes.
------------------------------------------------------
AtomicParsley version: 0.9.6 (utf8)
------------------------------------------------------
Movie duration: 0.000 seconds (0:0.00) - inf* kbp/sec bitrate (*=approximate)
Low-level details. Total tracks: 28
Trk  Type  Handler                    Kind  Lang  Bytes
1    soun  USP Sound Handler          mp4a  bul   0
     nan* kbp/s  0.000 sec  MPEG-4 AAC Low Complexity/LC Profile    channels: [1]
2    soun  USP Sound Handler          mp4a  ces   0
     nan* kbp/s  0.000 sec  MPEG-4 AAC Low Complexity/LC Profile    channels: [1]
3    soun  USP Sound Handler          mp4a  dan   0
     nan* kbp/s  0.000 sec  MPEG-4 AAC Low Complexity/LC Profile    channels: [1]
4    soun  USP Sound Handler          mp4a  deu   0
     nan* kbp/s  0.000 sec  MPEG-4 AAC Low Complexity/LC Profile    channels: [1]
5    soun  USP Sound Handler          mp4a  ell   0
     nan* kbp/s  0.000 sec  MPEG-4 AAC Low Complexity/LC Profile    channels: [1]
6    soun  USP Sound Handler          mp4a  eng   0
     nan* kbp/s  0.000 sec  MPEG-4 AAC Low Complexity/LC Profile    channels: [1]
7    soun  USP Sound Handler          mp4a  est   0
     nan* kbp/s  0.000 sec  MPEG-4 AAC Low Complexity/LC Profile    channels: [1]
8    soun  USP Sound Handler          mp4a  fin   0
     nan* kbp/s  0.000 sec  MPEG-4 AAC Low Complexity/LC Profile    channels: [1]
9    soun  USP Sound Handler          mp4a  fra   0
     nan* kbp/s  0.000 sec  MPEG-4 AAC Low Complexity/LC Profile    channels: [1]
10    soun  USP Sound Handler          mp4a  gle   0
     nan* kbp/s  0.000 sec  MPEG-4 AAC Low Complexity/LC Profile    channels: [1]
11    soun  USP Sound Handler          mp4a  hrv   0
     nan* kbp/s  0.000 sec  MPEG-4 AAC Low Complexity/LC Profile    channels: [1]
12    soun  USP Sound Handler          mp4a  hun   0
     nan* kbp/s  0.000 sec  MPEG-4 AAC Low Complexity/LC Profile    channels: [1]
13    soun  USP Sound Handler          mp4a  ita   0
     nan* kbp/s  0.000 sec  MPEG-4 AAC Low Complexity/LC Profile    channels: [1]
14    soun  USP Sound Handler          mp4a  lav   0
     nan* kbp/s  0.000 sec  MPEG-4 AAC Low Complexity/LC Profile    channels: [1]
15    soun  USP Sound Handler          mp4a  lit   0
     nan* kbp/s  0.000 sec  MPEG-4 AAC Low Complexity/LC Profile    channels: [1]
16    soun  USP Sound Handler          mp4a  mlt   0
     nan* kbp/s  0.000 sec  MPEG-4 AAC Low Complexity/LC Profile    channels: [1]
17    soun  USP Sound Handler          mp4a  nld   0
     nan* kbp/s  0.000 sec  MPEG-4 AAC Low Complexity/LC Profile    channels: [1]
18    soun  USP Sound Handler          mp4a  pol   0
     nan* kbp/s  0.000 sec  MPEG-4 AAC Low Complexity/LC Profile    channels: [1]
19    soun  USP Sound Handler          mp4a  por   0
     nan* kbp/s  0.000 sec  MPEG-4 AAC Low Complexity/LC Profile    channels: [1]
20    soun  USP Sound Handler          mp4a  qaa   0
     nan* kbp/s  0.000 sec  MPEG-4 AAC Low Complexity/LC Profile    channels: [1]
21    soun  USP Sound Handler          mp4a  ron   0
     nan* kbp/s  0.000 sec  MPEG-4 AAC Low Complexity/LC Profile    channels: [1]
22    soun  USP Sound Handler          mp4a  slk   0
     nan* kbp/s  0.000 sec  MPEG-4 AAC Low Complexity/LC Profile    channels: [1]
23    soun  USP Sound Handler          mp4a  slv   0
     nan* kbp/s  0.000 sec  MPEG-4 AAC Low Complexity/LC Profile    channels: [1]
24    soun  USP Sound Handler          mp4a  spa   0
     nan* kbp/s  0.000 sec  MPEG-4 AAC Low Complexity/LC Profile    channels: [1]
25    soun  USP Sound Handler          mp4a  swe   0
     nan* kbp/s  0.000 sec  MPEG-4 AAC Low Complexity/LC Profile    channels: [1]
26    vide  USP Video Handler          avc1  und   0
     nan* kbp/s  0.000 sec  AVC Baseline Profile,  Level 3  426x240  (390 macroblocks)
27    vide  USP Video Handler          avc1  und   0
     nan* kbp/s  0.000 sec  AVC Baseline Profile,  Level 4  852x480  (1590 macroblocks)
28    vide  USP Video Handler          avc1  und   0
     nan* kbp/s  0.000 sec  AVC Baseline Profile,  Level 4  1920x1080  (8040 macroblocks)

I got 28 tracks, 25 audio + 3 video
When trying o mux directly to mp4 :

AtomicParsley /tmp/result.mp4 -T 1
Atom ftyp @ 0 of size: 28, ends @ 28
Atom moov @ 28 of size: 1031, ends @ 1059
     Atom mvhd @ 36 of size: 108, ends @ 144
     Atom trak @ 144 of size: 817, ends @ 961
         Atom tkhd @ 152 of size: 92, ends @ 244
         Atom edts @ 244 of size: 36, ends @ 280
             Atom elst @ 252 of size: 28, ends @ 280
         Atom mdia @ 280 of size: 681, ends @ 961
             Atom mdhd @ 288 of size: 32, ends @ 320
             Atom hdlr @ 320 of size: 45, ends @ 365
             Atom minf @ 365 of size: 596, ends @ 961
                 Atom vmhd @ 373 of size: 20, ends @ 393
                 Atom dinf @ 393 of size: 36, ends @ 429
                     Atom dref @ 401 of size: 28, ends @ 429
                         Atom url  @ 417 of size: 12, ends @ 429
                 Atom stbl @ 429 of size: 532, ends @ 961
                     Atom stsd @ 437 of size: 156, ends @ 593
                         Atom mp4v @ 453 of size: 140, ends @ 593
                             Atom esds @ 539 of size: 44, ends @ 583
                             Atom fiel @ 583 of size: 10, ends @ 593			 ~
                     Atom stts @ 593 of size: 24, ends @ 617
                     Atom stss @ 617 of size: 36, ends @ 653
                     Atom ctts @ 653 of size: 24, ends @ 677
                     Atom stsc @ 677 of size: 40, ends @ 717
                     Atom stsz @ 717 of size: 220, ends @ 937
                     Atom stco @ 937 of size: 24, ends @ 961
     Atom udta @ 961 of size: 98, ends @ 1059
         Atom meta @ 969 of size: 90, ends @ 1059
             Atom hdlr @ 981 of size: 33, ends @ 1014
             Atom ilst @ 1014 of size: 45, ends @ 1059
                 Atom ©too @ 1022 of size: 37, ends @ 1059
                     Atom data @ 1030 of size: 29, ends @ 1059
Atom free @ 1059 of size: 8, ends @ 1067
Atom mdat @ 1067 of size: 1105271, ends @ 1106338

 ~ denotes an unknown atom
------------------------------------------------------
Total size: 1106338 bytes; 33 atoms total.
Media data: 1105271 bytes; 1067 bytes all other atoms (0.096% atom overhead).
Total free atom space: 8 bytes; 0.001% waste. Padding available: 8 bytes.
------------------------------------------------------
AtomicParsley version: 0.9.6 (utf8)
------------------------------------------------------
Movie duration: 2.000 seconds (0:02.00) - 4421.08* kbp/sec bitrate (*=approximate)
Low-level details. Total tracks: 1
Trk  Type  Handler                    Kind  Lang  Bytes
1    vide  VideoHandler               mp4v  und   1105263
     4421.05 kbp/s  MPEG-2 Visual Main Profile

I only have one track?!

When remuxing first to .ts then to .mp4:

AtomicParsley /tmp/test.mp4 -T 1
Atom ftyp @ 0 of size: 32, ends @ 32
Atom moov @ 32 of size: 2931, ends @ 2963
     Atom mvhd @ 40 of size: 108, ends @ 148
     Atom trak @ 148 of size: 1349, ends @ 1497
         Atom tkhd @ 156 of size: 92, ends @ 248
         Atom edts @ 248 of size: 36, ends @ 284
             Atom elst @ 256 of size: 28, ends @ 284
         Atom mdia @ 284 of size: 1213, ends @ 1497
             Atom mdhd @ 292 of size: 32, ends @ 324
             Atom hdlr @ 324 of size: 45, ends @ 369
             Atom minf @ 369 of size: 1128, ends @ 1497
                 Atom vmhd @ 377 of size: 20, ends @ 397
                 Atom dinf @ 397 of size: 36, ends @ 433
                     Atom dref @ 405 of size: 28, ends @ 433
                         Atom url  @ 421 of size: 12, ends @ 433
                 Atom stbl @ 433 of size: 1064, ends @ 1497
                     Atom stsd @ 441 of size: 152, ends @ 593
                         Atom avc1 @ 457 of size: 136, ends @ 593
                             Atom avcC @ 543 of size: 50, ends @ 593
                     Atom stts @ 593 of size: 416, ends @ 1009
                     Atom stss @ 1009 of size: 24, ends @ 1033
                     Atom stsc @ 1033 of size: 28, ends @ 1061
                     Atom stsz @ 1061 of size: 220, ends @ 1281
                     Atom stco @ 1281 of size: 216, ends @ 1497
     Atom trak @ 1497 of size: 1368, ends @ 2865
         Atom tkhd @ 1505 of size: 92, ends @ 1597
         Atom edts @ 1597 of size: 36, ends @ 1633
             Atom elst @ 1605 of size: 28, ends @ 1633
         Atom mdia @ 1633 of size: 1232, ends @ 2865
             Atom mdhd @ 1641 of size: 32, ends @ 1673
             Atom hdlr @ 1673 of size: 45, ends @ 1718
             Atom minf @ 1718 of size: 1147, ends @ 2865
                 Atom smhd @ 1726 of size: 16, ends @ 1742
                 Atom dinf @ 1742 of size: 36, ends @ 1778
                     Atom dref @ 1750 of size: 28, ends @ 1778
                         Atom url  @ 1766 of size: 12, ends @ 1778
                 Atom stbl @ 1778 of size: 1087, ends @ 2865
                     Atom stsd @ 1786 of size: 103, ends @ 1889
                         Atom mp4a @ 1802 of size: 87, ends @ 1889
                             Atom esds @ 1838 of size: 51, ends @ 1889
                     Atom stts @ 1889 of size: 184, ends @ 2073
                     Atom stsc @ 2073 of size: 184, ends @ 2257
                     Atom stsz @ 2257 of size: 392, ends @ 2649
                     Atom stco @ 2649 of size: 216, ends @ 2865
     Atom udta @ 2865 of size: 98, ends @ 2963
         Atom meta @ 2873 of size: 90, ends @ 2963
             Atom hdlr @ 2885 of size: 33, ends @ 2918
             Atom ilst @ 2918 of size: 45, ends @ 2963
                 Atom ©too @ 2926 of size: 37, ends @ 2963
                     Atom data @ 2934 of size: 29, ends @ 2963
Atom free @ 2963 of size: 8, ends @ 2971
Atom mdat @ 2971 of size: 1137197, ends @ 1140168
------------------------------------------------------
Total size: 1140168 bytes; 51 atoms total.
Media data: 1137197 bytes; 2971 bytes all other atoms (0.261% atom overhead).
Total free atom space: 8 bytes; 0.001% waste. Padding available: 8 bytes.
------------------------------------------------------
AtomicParsley version: 0.9.6 (utf8)
------------------------------------------------------
Movie duration: 2.001 seconds (0:02.00) - 4546.51* kbp/sec bitrate (*=approximate)
Low-level details. Total tracks: 2
Trk  Type  Handler                    Kind  Lang  Bytes
1    vide  VideoHandler               avc1  und   1089573
     4356.11* kbp/s  2.001 sec  AVC Baseline Profile,  Level 4  1920x1080  (8040 macroblocks)
2    soun  SoundHandler               mp4a  bul   47616
     191.98 kbp/s  MPEG-4 AAC Low Complexity/LC Profile    channels: [1]

The 2 tracks are there.

So clearly there is an issue in the ismv->mp4 direct muxing

comment:16 by Carl Eugen Hoyos, 9 years ago

Please repeat the test with the following, simplified command line so I can try to reproduce:

$ ffmpeg -i ticket4992.ismv -acodec copy -vcodec copy out.mp4

comment:17 by abaudoux, 9 years ago

I used the following command :

ffmpeg -i ~/Downloads/ticket4992.ismv  -acodec copy -vcodec copy  -movflags faststart /tmp/out_fast_start.mp4 

Attached is the diff of the resulting file (left) with the working file remuxed from TS (right). As you can see there are differences in the atoms. I'm not mp4 expert but I guess somehow remuxing to TS first solves the issue.
Do you know if it is possible to ask ffmpeg to reconstruct the atoms, like when muxing from ts, when using a mp4 as input file?
This way it would produce a readable file I guess.

Version 0, edited 9 years ago by abaudoux (next)

comment:18 by Carl Eugen Hoyos, 9 years ago

Please test with the simplified command line I posted.
And please do not attach images, simply post the console output of your analyzer, it is helpful.

comment:19 by abaudoux, 9 years ago

Doesn't work either with the simplified command.
Output of analyzer:

Atom ftyp @ 0 of size: 32, ends @ 32
Atom free @ 32 of size: 8, ends @ 40
Atom mdat @ 40 of size: 1137158, ends @ 1137198
Atom moov @ 1137198 of size: 2935, ends @ 1140133
     Atom mvhd @ 1137206 of size: 108, ends @ 1137314
     Atom trak @ 1137314 of size: 1345, ends @ 1138659
         Atom tkhd @ 1137322 of size: 92, ends @ 1137414
         Atom edts @ 1137414 of size: 36, ends @ 1137450
             Atom elst @ 1137422 of size: 28, ends @ 1137450
         Atom mdia @ 1137450 of size: 1209, ends @ 1138659
             Atom mdhd @ 1137458 of size: 32, ends @ 1137490
             Atom hdlr @ 1137490 of size: 45, ends @ 1137535
             Atom minf @ 1137535 of size: 1124, ends @ 1138659
                 Atom vmhd @ 1137543 of size: 20, ends @ 1137563
                 Atom dinf @ 1137563 of size: 36, ends @ 1137599
                     Atom dref @ 1137571 of size: 28, ends @ 1137599
                         Atom url  @ 1137587 of size: 12, ends @ 1137599
                 Atom stbl @ 1137599 of size: 1060, ends @ 1138659
                     Atom stsd @ 1137607 of size: 152, ends @ 1137759
                         Atom avc1 @ 1137623 of size: 136, ends @ 1137759
                             Atom avcC @ 1137709 of size: 50, ends @ 1137759
                     Atom stts @ 1137759 of size: 416, ends @ 1138175
                     Atom stss @ 1138175 of size: 20, ends @ 1138195
                     Atom stsc @ 1138195 of size: 28, ends @ 1138223
                     Atom stsz @ 1138223 of size: 220, ends @ 1138443
                     Atom stco @ 1138443 of size: 216, ends @ 1138659
     Atom trak @ 1138659 of size: 1376, ends @ 1140035
         Atom tkhd @ 1138667 of size: 92, ends @ 1138759
         Atom edts @ 1138759 of size: 36, ends @ 1138795
             Atom elst @ 1138767 of size: 28, ends @ 1138795
         Atom mdia @ 1138795 of size: 1240, ends @ 1140035
             Atom mdhd @ 1138803 of size: 32, ends @ 1138835
             Atom hdlr @ 1138835 of size: 45, ends @ 1138880
             Atom minf @ 1138880 of size: 1155, ends @ 1140035
                 Atom smhd @ 1138888 of size: 16, ends @ 1138904
                 Atom dinf @ 1138904 of size: 36, ends @ 1138940
                     Atom dref @ 1138912 of size: 28, ends @ 1138940
                         Atom url  @ 1138928 of size: 12, ends @ 1138940
                 Atom stbl @ 1138940 of size: 1095, ends @ 1140035
                     Atom stsd @ 1138948 of size: 103, ends @ 1139051
                         Atom mp4a @ 1138964 of size: 87, ends @ 1139051
                             Atom esds @ 1139000 of size: 51, ends @ 1139051
                     Atom stts @ 1139051 of size: 192, ends @ 1139243
                     Atom stsc @ 1139243 of size: 184, ends @ 1139427
                     Atom stsz @ 1139427 of size: 392, ends @ 1139819
                     Atom stco @ 1139819 of size: 216, ends @ 1140035
     Atom udta @ 1140035 of size: 98, ends @ 1140133
         Atom meta @ 1140043 of size: 90, ends @ 1140133
             Atom hdlr @ 1140055 of size: 33, ends @ 1140088
             Atom ilst @ 1140088 of size: 45, ends @ 1140133
                 Atom ©too @ 1140096 of size: 37, ends @ 1140133
                     Atom data @ 1140104 of size: 29, ends @ 1140133
------------------------------------------------------
Total size: 1140133 bytes; 51 atoms total.
Media data: 1137158 bytes; 2975 bytes all other atoms (0.261% atom overhead).
Total free atom space: 8 bytes; 0.001% waste.
------------------------------------------------------
AtomicParsley version: 0.9.6 (utf8)
------------------------------------------------------
Movie duration: 1.985 seconds (0:01.99) - 4583.00* kbp/sec bitrate (*=approximate)
Low-level details. Total tracks: 2
Trk  Type  Handler                    Kind  Lang  Bytes
1    vide  VideoHandler               avc1  und   1089534
     4444.81* kbp/s  1.961 sec  AVC Baseline Profile,  Level 4  1920x1080  (8040 macroblocks)
2    soun  SoundHandler               mp4a  bul   47616
     191.98 kbp/s  MPEG-4 AAC Low Complexity/LC Profile    channels: [1]

comment:20 by abaudoux, 9 years ago

I was able to make the remuxing work by adding

-r 25000/1001

to the command options

comment:21 by Carl Eugen Hoyos, 9 years ago

But now there are two trak atoms, how did you make one disappear?

Note: See TracTickets for help on using tickets.