We have recently updated Wowza to 3.6.2 patch 12.
As it says in Readme:
Wowza Media Server 3.6.2 patch12 build7101
Updated versionFile to true for all startRecordingSegmentBy API’s, so that first segment uses the fileTemplate for file name instead of just the stream name.
Improved handling of malformed MPEG descriptors.
Added code to LiveStreamRecordMP4 to use a more accurate packet timecode calculated from the audio sample rate and number of samples
Added code to LiveStreamRecordMP4 to correctly set the last STTS entry
Version: 18.104.22.168 build7101
After installing this patch our recordings became corrupted
ffmpeg -i video.mp4 outputs:
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x2dd81a0] Invalid SampleDelta in STTS -76860
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x2dd81a0] Invalid SampleDelta in STTS -11430
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x2dd81a0] Invalid SampleDelta in STTS -7740
Recorded video is cannot be played in VLC.
It can be played in ‘examples/VideoOnDemandStreaming/FlashHTTPPlayer/player.html’ but video/audio are completely desynchronized.
If we run ffmpeg command:
ffmpeg -i video.mp4 -c copy video_fixed.mp4
video_fixed.mp4 can be played in VLC and player.html without sync issue.
Previously we were using Wowza Media Server 3 Perpetual Edition 22.214.171.124 build6427.
And we didn’t have no problems with recorded videos.