CasparCG / server

CasparCG Server is a Windows and Linux software used to play out professional graphics, audio and video to multiple outputs. It has been in 24/7 broadcast production since 2006. Ready-to-use downloads are available under the Releases tab https://casparcg.com.
GNU General Public License v3.0
902 stars 269 forks source link

Playback of m3u8 streamlinks #933

Closed TKooijmans closed 6 years ago

TKooijmans commented 6 years ago

With latest 2.1 beta we could play live streams with a command like this PLAY 1-1 "http://rrr.sz.xlcdn.com/?account=omroepgelderland&file=ooievaar&type=live&service=wowza&output=playlist.m3u8"

Expected Behaviour

This worked fine in Beta 2.1.

Current Behaviour

server report play ok, but no output. If we try with a rtsp stream it works fine

Steps to Reproduce

Environment

Attachments

afbeelding

this is some debug log info [2018-03-15 18:42:40.810] [info] Received message from 127.0.0.1: PLAY 1-1 "http://rrr.sz.xlcdn.com/?account=omroepgelderland&file=ooievaar&type=live&service=wowza&output=playlist.m3u8"\r\n [2018-03-15 18:42:40.810] [debug] Executing command: PLAY [2018-03-15 18:42:40.926] [info] [ffmpeg] [hls,applehttp @ 00000000188BB740] Opening 'http://ngx.cr2.streamzilla.xlcdn.com/session/b1df0ff4018b301a33488235abe9d416/sz/omroepgelderland/wowza4/live/ooievaar/chunklist.m3u8' for reading [2018-03-15 18:42:40.926] [info]
[2018-03-15 18:42:40.957] [debug] [ffmpeg] [hls,applehttp @ 00000000188BB740] HLS request for url 'http://ngx.cr2.streamzilla.xlcdn.com/session/b1df0ff4018b301a33488235abe9d416/sz/omroepgelderland/wowza4/live/ooievaar/media_204.ts', offset 0, playlist 0 [2018-03-15 18:42:40.957] [debug]
[2018-03-15 18:42:40.957] [info] [ffmpeg] [hls,applehttp @ 00000000188BB740] Opening 'http://ngx.cr2.streamzilla.xlcdn.com/session/b1df0ff4018b301a33488235abe9d416/sz/omroepgelderland/wowza4/live/ooievaar/media_204.ts' for reading [2018-03-15 18:42:40.957] [info]
[2018-03-15 18:42:41.077] [debug] [ffmpeg] [h264 @ 000000003ABDF140] Reinit context to 1280x720, pix_fmt: yuvj420p [2018-03-15 18:42:41.077] [debug]
[2018-03-15 18:42:41.100] [debug] [ffmpeg] [Parsed_fps_2 @ 0000000018A48E80] fps=50/1 [2018-03-15 18:42:41.100] [debug]
[2018-03-15 18:42:41.100] [debug] [ffmpeg] [Parsed_fps_2 @ 0000000018A48E80] 0 frames in, 0 frames out; 0 frames dropped, 0 frames duplicated. [2018-03-15 18:42:41.100] [debug]
[2018-03-15 18:42:41.101] [debug] [ffmpeg] [Parsed_fps_2 @ 0000000018A48C80] fps=50/1 [2018-03-15 18:42:41.101] [debug]
[2018-03-15 18:42:41.101] [debug] [ffmpeg] [in_1 @ 0000000018A48F80] w:1280 h:720 pixfmt:yuvj420p tb:1/90000 fr:25/1 sar:0/1 sws_param: [2018-03-15 18:42:41.101] [debug]
[2018-03-15 18:42:41.102] [debug] [ffmpeg] [auto_scaler_0 @ 0000000018A49280] w:iw h:ih flags:'bilinear' interl:0 [2018-03-15 18:42:41.102] [debug]
[2018-03-15 18:42:41.102] [debug] [ffmpeg] [out @ 0000000018A49080] auto-inserting filter 'auto_scaler_0' between the filter 'Parsed_fps_2' and the filter 'out' [2018-03-15 18:42:41.102] [debug]
[2018-03-15 18:42:41.102] [warning] [ffmpeg] [swscaler @ 000000003ABCF040] deprecated pixel format used, make sure you did set range correctly [2018-03-15 18:42:41.102] [warning] [2018-03-15 18:42:41.102] [debug] [ffmpeg] [auto_scaler_0 @ 0000000018A49280] w:1280 h:720 fmt:yuvj420p sar:0/1 -> w:1280 h:720 fmt:yuv420p sar:0/1 flags:0x2 [2018-03-15 18:42:41.102] [debug]
[2018-03-15 18:42:41.104] [debug] [ffmpeg] [in_2 @ 0000000018A49480] tb:1/90000 samplefmt:fltp samplerate:8000 chlayout:0x3 [2018-03-15 18:42:41.104] [debug]
[2018-03-15 18:42:41.104] [debug] [ffmpeg] [Parsed_aresample_1 @ 0000000018A49380] ch:2 chl:stereo fmt:fltp r:8000Hz -> ch:2 chl:stereo fmt:s32 r:48000Hz [2018-03-15 18:42:41.104] [debug]
[2018-03-15 18:42:41.105] [debug] Executed command (0.295s): PLAY [2018-03-15 18:42:41.105] [info] Sent message to 127.0.0.1:202 PLAY OK\r\n [2018-03-15 18:42:41.105] [debug] [ffmpeg] [h264 @ 000000003ABDFF00] Reinit context to 1280x720, pix_fmt: yuvj420p [2018-03-15 18:42:41.105] [debug]
[2018-03-15 18:42:41.117] [debug] [ffmpeg] [Parsed_aresample_1 @ 0000000018A49380] [SWR @ 0000000019623780] discarding 489664512 audio samples [2018-03-15 18:42:41.117] [debug]
[2018-03-15 18:42:41.120] [debug] [ffmpeg] [Parsed_fps_2 @ 0000000018A48C80] Set first pts to (in:367250220 out:102014) [2018-03-15 18:42:41.120] [debug]
[2018-03-15 18:42:41.181] [debug] [ffmpeg] [Parsed_aresample_1 @ 0000000018A49380] [SWR @ 0000000019623780] discarding 144 audio samples [2018-03-15 18:42:41.181] [debug]
[2018-03-15 18:42:41.215] [debug] [ffmpeg] [hls,applehttp @ 00000000188BB740] HLS request for url 'http://ngx.cr2.streamzilla.xlcdn.com/session/b1df0ff4018b301a33488235abe9d416/sz/omroepgelderland/wowza4/live/ooievaar/media_205.ts', offset 0, playlist 0 [2018-03-15 18:42:41.215] [debug]
[2018-03-15 18:42:41.215] [info] [ffmpeg] [hls,applehttp @ 00000000188BB740] Opening 'http://ngx.cr2.streamzilla.xlcdn.com/session/b1df0ff4018b301a33488235abe9d416/sz/omroepgelderland/wowza4/live/ooievaar/media_205.ts' for reading [2018-03-15 18:42:41.215] [info]
[2018-03-15 18:42:41.220] [debug] [ffmpeg] [Parsed_aresample_1 @ 0000000018A49380] [SWR @ 0000000019623780] adding 16 audio samples of silence [2018-03-15 18:42:41.220] [debug]
[2018-03-15 18:42:41.221] [debug] [ffmpeg] [Parsed_aresample_1 @ 0000000018A49380] [SWR @ 0000000019623780] discarding 144 audio samples [2018-03-15 18:42:41.221] [debug]

ronag commented 6 years ago

Fixed in master. Thanks for the report!