We’re trying to play a live stream coming from Wowza with the following command:
PLAY 1-11 http://...:1935/OBVAN-LIVE/live-OB2/playlist.m3u8
Caspar shows us the following output:
[2019-12-22 11:17:02.745] [warning] ffmpeg[http://***:1935/OBVAN-LIVE/live-OB2/playlist.m3u8|0.0000/0.0000] Waiting for audio frame…
After about eight minutes, the video is finally shown, but the audio is not in sync. It’s minutes behind (probably about eight also…).
In VLC and FFMpeg, the video is played correctly.
Does anybody have any suggestions on how to troubleshoot/fix this?
You should use RTMP or RTSP from Wowza instead of HLS. You didn’t say what version you are using, there is better support for streams in the latest versions.
I switched to rtmp and now I’m receiving this message:
[2019-12-22 21:03:43.498] [warning] [ffmpeg] [flv @ 0000022699A29B40] Invalid timestamps stream=1, pts=-30, dts=0, size=1919
@hreinnbeck: I tried this today with the version you mentioned. It works, but the audio is behind. In some cases it works, but in most of the cases, it doesn’t. This is the message I get:
When I open the Wowza stream in VLC, all is good. Also, when I open the stream in ffmpeg and save it to an mp4 file, the file plays in sync. So it really appears that something goes wrong in Caspar.