Live Stream mp4 recording is corrupted due to additional track with AMF data?
I am writing an Android encoder that publishes live streams to Wowza. I would like the playback the recorded mp4 streams in Windows and Mac native clients (WMP and Quicktime respectively) yet the file is corrupted. The file plays back fine in VLC but in both WMP/Quicktime the file will stop playing at random points, become unseekable, or the audio will stop. I have used ffmpeg to look at working and corrupted files and have found that Wowza is adding a third track to the mp4 container. I am not sure what this track is or how it got there, it might be streaming metadata but in any case removing it fixes the file. My encoder is only sending an audio and video track which leads me to believe Wowza is adding the third track. Here is the ffmpeg output of the THIRD track only (it looks like it may contain some AMF data?).
./ffprobe -show_streams file.mp4
./ffprobe -i file.mp4
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc95c00a200] Invalid SampleDelta -449 in STTS, at 4001 st:1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc95c00a200] Invalid SampleDelta -90 in STTS, at 4152 st:1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc95c00a200] multiple fourcc not supported
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '../motopure-broken.mp4':