Opened 5 years ago
Closed 3 years ago
#13608 closed Bug Report - General (Trac EOL)
IPTV Streaming issues with AES-128 encryption
Reported by: | steven-ellis | Owned by: | paul-h |
---|---|---|---|
Priority: | minor | Milestone: | needs_triage |
Component: | MythTV - HTTP Streaming | Version: | v31-fixes |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
I've seen this issue with a number of streams including
- TVNZ 1 - https://d1irqd0o6b6kl5.cloudfront.net/master.m3u8
- TVNZ 2 - https://d3vsmj0a4dgta4.cloudfront.net/master.m3u8
- TV Three - https://livestreamdirect-three.mediaworks.nz/three.m3u8
- ABC Australia - https://i.mjh.nz/au/Brisbane/tv.101002410241.m3u8
Some of these streams are geo-restricted - but the ABC OZ stream might work outside of OZ.
Attachments (1)
Change History (12)
comment:1 Changed 5 years ago by
comment:2 Changed 5 years ago by
For Three
First hop is three.m3u8
#EXTM3U #EXT-X-VERSION:3 #EXT-X-INDEPENDENT-SEGMENTS #EXT-X-STREAM-INF:BANDWIDTH=2158932,AVERAGE-BANDWIDTH=2305600,CODECS="avc1.77.30,mp4a.40.2",RESOLUTION=854x480,FRAME-RATE=25.000 https://livestreamdirect-three.mediaworks.nz/three-2000.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=1645600,AVERAGE-BANDWIDTH=1755600,CODECS="avc1.77.30,mp4a.40.2",RESOLUTION=854x480,FRAME-RATE=25.000 https://livestreamdirect-three.mediaworks.nz/three-1500.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=849932,AVERAGE-BANDWIDTH=903100,CODECS="avc1.77.30,mp4a.40.2",RESOLUTION=640x360,FRAME-RATE=25.000 https://livestreamdirect-three.mediaworks.nz/three-725.m3u8
comment:3 Changed 5 years ago by
Second hop is three-2000.m3u8
#EXTM3U #EXT-X-VERSION:3 #EXT-X-TARGETDURATION:11 #EXT-X-MEDIA-SEQUENCE:346486 #EXT-X-DISCONTINUITY-SEQUENCE:1 #EXT-X-KEY:METHOD=AES-128,URI="https://livestreamdirect-three.mediaworks.nz/K110346485-2000.key",IV=0x00000000000000000000000000054976 #EXTINF:10.80000, https://livestreamdirect-three.mediaworks.nz/three-2000/00173/three-2000_00486.ts #EXT-X-KEY:METHOD=AES-128,URI="https://livestreamdirect-three.mediaworks.nz/K110346485-2000.key",IV=0x00000000000000000000000000054977 #EXTINF:10.80000, https://livestreamdirect-three.mediaworks.nz/three-2000/00173/three-2000_00487.ts #EXT-X-KEY:METHOD=AES-128,URI="https://livestreamdirect-three.mediaworks.nz/K110346485-2000.key",IV=0x00000000000000000000000000054978 #EXTINF:10.80000, https://livestreamdirect-three.mediaworks.nz/three-2000/00173/three-2000_00488.ts #EXT-X-KEY:METHOD=AES-128,URI="https://livestreamdirect-three.mediaworks.nz/K110346488-2000.key",IV=0x00000000000000000000000000054979 #EXTINF:10.80000, https://livestreamdirect-three.mediaworks.nz/three-2000/00173/three-2000_00489.ts #EXT-X-KEY:METHOD=AES-128,URI="https://livestreamdirect-three.mediaworks.nz/K110346488-2000.key",IV=0x0000000000000000000000000005497A #EXTINF:10.80000, https://livestreamdirect-three.mediaworks.nz/three-2000/00173/three-2000_00490.ts #EXT-X-KEY:METHOD=AES-128,URI="https://livestreamdirect-three.mediaworks.nz/K110346488-2000.key",IV=0x0000000000000000000000000005497B #EXTINF:10.80000, https://livestreamdirect-three.mediaworks.nz/three-2000/00173/three-2000_00491.ts #EXT-X-KEY:METHOD=AES-128,URI="https://livestreamdirect-three.mediaworks.nz/K110346491-2000.key",IV=0x0000000000000000000000000005497C #EXTINF:10.80000, https://livestreamdirect-three.mediaworks.nz/three-2000/00173/three-2000_00492.ts #EXT-X-KEY:METHOD=AES-128,URI="https://livestreamdirect-three.mediaworks.nz/K110346491-2000.key",IV=0x0000000000000000000000000005497D #EXTINF:10.80000, https://livestreamdirect-three.mediaworks.nz/three-2000/00173/three-2000_00493.ts #EXT-X-KEY:METHOD=AES-128,URI="https://livestreamdirect-three.mediaworks.nz/K110346491-2000.key",IV=0x0000000000000000000000000005497E #EXTINF:10.80000, https://livestreamdirect-three.mediaworks.nz/three-2000/00173/three-2000_00494.ts #EXT-X-KEY:METHOD=AES-128,URI="https://livestreamdirect-three.mediaworks.nz/K110346494-2000.key",IV=0x0000000000000000000000000005497F #EXTINF:10.80000, https://livestreamdirect-three.mediaworks.nz/three-2000/00173/three-2000_00495.ts
comment:4 Changed 5 years ago by
In the case of TV Three we're not seeing AES being picked up by MythTV
Apr 16 18:30:24 mythtv mythbackend: mythbackend[29760]: I TVRecEvent recorders/streamhandler.cpp:75 (AddListener) SH[48](https://livestreamdirect-three.mediaworks.nz/three.m3u8): AddListener(0x7f1ec8028f30) -- end Apr 16 18:30:24 mythtv mythbackend: mythbackend[29760]: I TVRecEvent mpeg/mpegstreamdata.cpp:75 (SetDesiredProgram) MPEGStream[48](0x7f1ec8028f30): SetDesiredProgram(0) Apr 16 18:30:24 mythtv mythbackend: mythbackend[29760]: I TVRecEvent tv_rec.cpp:1988 (SetupDTVSignalMonitor) TVRec[48]: Successfully set up MPEG table monitoring. Apr 16 18:30:24 mythtv mythbackend: mythbackend[29760]: I TVRecEvent tv_rec.cpp:4425 (SetFlags) TVRec[48]: SetFlags(SignalMonitorRunning,) -> RunMainLoop,SignalMonitorRunning,RingBufferReady, @ tv_rec.cpp:3825 Apr 16 18:30:24 mythtv mythbackend: mythbackend[29760]: I TVRecEvent tv_rec.cpp:4434 (ClearFlags) TVRec[48]: ClearFlags(WaitingForSignal,) -> RunMainLoop,SignalMonitorRunning,RingBufferReady, @ tv_rec.cpp:3826 Apr 16 18:30:24 mythtv mythbackend: mythbackend[29760]: I TVRecEvent tv_rec.cpp:4425 (SetFlags) TVRec[48]: SetFlags(WaitingForSignal,) -> RunMainLoop,WaitingForSignal,SignalMonitorRunning,RingBufferReady, @ tv_rec.cpp:3831 Apr 16 18:30:24 mythtv mythbackend: mythbackend[29760]: I TVRecEvent tv_rec.cpp:4425 (SetFlags) TVRec[48]: SetFlags(DummyRecorderRunning,) -> RunMainLoop,WaitingForSignal,SignalMonitorRunning,DummyRecorderRunning,RingBufferReady, @ tv_rec.cpp:3880 Apr 16 18:30:24 mythtv mythbackend: mythbackend[29760]: I TVRecEvent tv_rec.cpp:3881 (TuningFrequency) DummyDTVRecorder -- started Apr 16 18:30:24 mythtv mythbackend: mythbackend[29760]: I TVRecEvent tv_rec.cpp:4425 (SetFlags) TVRec[48]: SetFlags(RingBufferReady,) -> RunMainLoop,WaitingForSignal,SignalMonitorRunning,DummyRecorderRunning,RingBufferReady, @ tv_rec.cpp:3882 Apr 16 18:30:24 mythtv mythbackend: mythbackend[29760]: I TVRecEvent tv_rec.cpp:4434 (ClearFlags) TVRec[48]: ClearFlags(NeedToStartRecorder,) -> RunMainLoop,WaitingForSignal,SignalMonitorRunning,DummyRecorderRunning,RingBufferReady, @ tv_rec.cpp:3892 Apr 16 18:30:24 mythtv mythbackend: mythbackend[29760]: I TVRecEvent tv_rec.cpp:4425 (SetFlags) TVRec[48]: SetFlags(NeedToStartRecorder,) -> RunMainLoop,WaitingForSignal,NeedToStartRecorder,SignalMonitorRunning,DummyRecorderRunning,RingBufferReady, @ tv_rec.cpp:3894 Apr 16 18:30:24 mythtv mythbackend: mythbackend[29760]: I TVRecEvent tv_rec.cpp:4012 (TuningSignalCheck) TVRec[48]: TuningSignalCheck: Still waiting. Will timeout @ 18:59:50.000 Apr 16 18:30:24 mythtv mythbackend: mythbackend[29760]: I ProcessRequest tv_rec.cpp:4425 (SetFlags) TVRec[48]: SetFlags(CancelNextRecording,) -> RunMainLoop,CancelNextRecording,WaitingForSignal,NeedToStartRecorder,SignalMonitorRunning,DummyRecorderRunning,RingBufferReady, @ tv_rec.cpp:2691 Apr 16 18:30:25 mythtv mythbackend: mythbackend[29760]: I StreamHandler recorders/httptsstreamhandler.cpp:181 (DownloadStream) HTTPReader(https://livestreamdirect-three.mediaworks.nz/three.m3u8): DownloadStream -- end
comment:5 Changed 5 years ago by
Owner: | set to paul-h |
---|---|
Status: | new → assigned |
Changed 5 years ago by
Attachment: | nz_tv3.logs added |
---|
backend logs trying to play TV 3 in NZ via IPTV
comment:10 Changed 5 years ago by
Paul - your fixed have resolved playback with some streams, but I've still got issues with the official TVNZ and Mediaworks streams here in NZ.
Here are some logs when trying to play
I've had to substitute <URL> for https://livestreamdirect-three.mediaworks.nz in the uploaded log file due to Akismet
comment:11 Changed 3 years ago by
Resolution: | → Trac EOL |
---|---|
Status: | assigned → closed |
We have moved all bug tracking to github [1]
If you continue to have this issue, please open a new issue at github, referencing this ticket.
Some log output from the backend
Playback stalls on "Packet not starting with SYNC Byte"