Hi,
I recorded a stream using wowza, playback works fine when streaming and using HLS.
This is the detail of the file.
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'streamrecorded_160p.mp4':
Metadata:
major_brand : f4v
minor_version : 0
compatible_brands: isommp42m4v
creation_time : 2016-03-26 11:23:54
Duration: 01:05:49.20, start: 0.000000, bitrate: 254 kb/s
Stream #0:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p(tv), 284x160 [SAR 1:1 DAR 71:40], 158 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc (default)
Metadata:
creation_time : 2016-03-26 11:23:54
handler_name : WowzaStreamingEngine
encoder : WowzaStreamingEngine
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 93 kb/s (default)
Metadata:
creation_time : 2016-03-26 11:23:54
handler_name : WowzaStreamingEngine
Then I wanted to cut 22s out of this file, so I ran the following command:
ffmpeg -i streamrecorded_160p.mp4 -ss 00:00:22.0 -c copy tmp.mp4
Now the detail of tmp.mp4:
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'tmp.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.28.102
Duration: 01:05:27.15, start: 0.016000, bitrate: 256 kb/s
Stream #0:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p(tv), 284x160 [SAR 1:1 DAR 71:40], 158 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 93 kb/s (default)
Metadata:
handler_name : SoundHandler
This is working fine most of the time, however when I play this file using wowza, the audio is out of sync.
The file tmp.mp4 is playing correctly when using a standard player.
I suspect the problem is not with wowza but with the encoding of the file.
What could be wrong ?