Skip to content

Fragmented mp4 file doesn't play back video properly (audio works)

Some fragmented mp4 files (produced by Apple/iOS, as unfinished files, if the writing process isn't finalized cleanly) don't play back properly.

Prior to https://git.videolan.org/?p=vlc.git;a=commitdiff;h=10398c4f9543559d936a6503a5a58ad603805813, the file wouldn't play back at all past the first fragment.

Now they do play back and the audio is fine, but I get no visible video, and get warnings like these:

[00007fcd6a52f5f0] mp4 demux warning: mdat had still 44013 bytes unparsed as samples
[00007fcd6a52f5f0] mp4 demux warning: mdat had still 23220 bytes unparsed as samples
[00007fcd6a52f5f0] mp4 demux warning: mdat had still 38189 bytes unparsed as samples
[00007fcd6a52f5f0] mp4 demux warning: mdat had still 16211 bytes unparsed as samples
[00007fcd6a52f5f0] mp4 demux warning: mdat had still 28422 bytes unparsed as samples
[00007fcd6a52f5f0] mp4 demux warning: mdat had still 14853 bytes unparsed as samples
[00007fcd6a52f5f0] mp4 demux warning: mdat had still 30957 bytes unparsed as samples
[00007fcd6a52f5f0] mp4 demux warning: mdat had still 9940 bytes unparsed as samples
[00007fcd6a52f5f0] mp4 demux warning: mdat had still 27796 bytes unparsed as samples
[00007fcd6b91e8f0] main video output warning: picture is too late to be displayed (missing 1253 ms)
[00007fcd6a52f5f0] mp4 demux warning: mdat had still 20372 bytes unparsed as samples
[00007fcd6b91e8f0] main video output warning: picture is too late to be displayed (missing 1221 ms)
[00007fcd6b91e8f0] main video output warning: picture is too late to be displayed (missing 1189 ms)
[00007fcd6b91e8f0] main video output warning: picture is too late to be displayed (missing 1157 ms)
[00007fcd6b91e8f0] main video output warning: picture is too late to be displayed (missing 1124 ms)
[00007fcd6b91e8f0] main video output warning: picture is too late to be displayed (missing 1092 ms)
[00007fcd6b91e8f0] main video output warning: picture is too late to be displayed (missing 1060 ms)
[00007fcd6b91e8f0] main video output warning: picture is too late to be displayed (missing 1028 ms)
[00007fcd6b91e8f0] main video output warning: picture is too late to be displayed (missing 995 ms)
[00007fcd6b91e8f0] main video output warning: picture is too late to be displayed (missing 963 ms)
[00007fcd6b91e8f0] main video output warning: picture is too late to be displayed (missing 931 ms)
[00007fcd6b91e8f0] main video output warning: picture is too late to be displayed (missing 899 ms)
[00007fcd6b91e8f0] main video output warning: picture is too late to be displayed (missing 867 ms)
[00007fcd6b91e8f0] main video output warning: picture is too late to be displayed (missing 835 ms)
[00007fcd6b91e8f0] main video output warning: picture is too late to be displayed (missing 803 ms)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information