Help with "Play in Browser" with web frontend

Have a MythTV related problem? Ask for help from other MythTV users here.

Moderator: Forum Moderators

Post Reply
freerj
Newcomer
Posts: 2
Joined: Sun Sep 08, 2019 5:49 pm
United States of America

Help with "Play in Browser" with web frontend

Post by freerj »

Hi All,

Thanks in advance. I've been happily and successfully running myth since '04-'05 on Fedora, upgrading along the way. Recently work has taken me on the road a bit and I'd like to be able to use the http live streaming functionality in the web frontend. Unfortunately I haven't been able to get it working.

Here's what I'm seeing:

- Can open web frontend on port 6544
- Can see list of recordings and click on the "play button"
- Play as asx works for me when I'm on a high bandwidth connection;
- "Play in browser" opens a player page in my web browser and I see the thumbnail for the show in the player in the browser, but other than displaying the first thumbnail, nothing actually plays
- mythbackend log reflects:

2019-09-08 14:26:32.926171 W [13660/5161] HTTPLiveStream HLS/httplivestream.cpp:85 (run) - HLS(): Command '/usr/bin/mythtranscode --hls --hlsstreamid 15 --verbose general --logpath /var/log/mythtv --loglevel info' returned 140

which I'm not really sure how to decode.

Is there someone that could give me the first 5 things I should check / confirm to troubleshoot?

Thanks!
Louis
Newcomer
Posts: 7
Joined: Fri May 23, 2014 1:05 pm
Denmark

Re: Help with "Play in Browser" with web frontend

Post by Louis »

I have the same issue on Arch Linux and MythTV 31.0.

While all the other streams play well the jw player streams fails too.

Copying the video URL gives me this link: http://localhost:6544/StorageGroup/Stre ... _64kA.m3u8 which when trying to play it in VLC fails.

Location and content of the file:

Code: Select all

[louis@hostname ~]$ locate 10102_20200318130300.ts.640x368_600kV_64kA.m3u
/var/lib/mythtv/.mythtv/tmp/hls/10102_20200318130300.ts.640x368_600kV_64kA.m3u8
[louis@hostname ~]$ cat /home/louis/10102_20200318130300.ts.640x368_600kV_64kA.m3u8
#EXTM3U
#EXT-X-VERSION:4
#EXT-X-MEDIA:TYPE=VIDEO,GROUP-ID="AV",NAME="Main",DEFAULT=YES,URI="10102_20200318130300.ts.640x368_600kV_64kA.av.m3u8"
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=730400
10102_20200318130300.ts.640x368_600kV_64kA.av.m3u8
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="AO",NAME="Main",DEFAULT=NO,URI="10102_20200318130300.ts.640x368_600kV_64kA.ao_64kA.m3u8"
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=70400
10102_20200318130300.ts.640x368_600kV_64kA.ao_64kA.m3u8
Location and conent of 10102_20200318130300.ts.640x368_600kV_64kA.ao_64kA.m3u8 :

Code: Select all

[louis@hostname ~]$ locate 10102_20200318130300.ts.640x368_600kV_64kA.ao_64kA.m3u8
/var/lib/mythtv/.mythtv/tmp/hls/10102_20200318130300.ts.640x368_600kV_64kA.ao_64kA.m3u8
[louis@louis-t25 ~]$ ls -l /var/lib/mythtv/.mythtv/tmp/hls/10102_20200318130300.ts.640x368_600kV_64kA.ao_64kA.m3u8
-rw-r--r-- 1 mythtv mythtv 2110 22 mar 11:16 /var/lib/mythtv/.mythtv/tmp/hls/10102_20200318130300.ts.640x368_600kV_64kA.ao_64kA.m3u8
[louis@hostname ~]$ cat 
^C
[louis@hostname ~]$ cat /var/lib/mythtv/.mythtv/tmp/hls/10102_20200318130300.ts.640x368_600kV_64kA.ao_64kA.m3u8
#EXTM3U
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:4
#EXT-X-MEDIA-SEQUENCE:1
#EXT-X-ENDLIST
#EXTINF:4,
10102_20200318130300.ts.640x368_600kV_64kA.ao_64kA.000001.ts
(CUT)
As 10102_20200318130300.ts.640x368_600kV_64kA.ao_64kA.000001.ts too fails to play in VLC I'll locate it and see it's rights:

Code: Select all

[louis@louis-hostname ~]$ locate 10102_20200318130300.ts.640x368_600kV_64kA.ao_64kA.000001.ts
/var/lib/mythtv/.mythtv/tmp/hls/10102_20200318130300.ts.640x368_600kV_64kA.ao_64kA.000001.ts
[louis@louis-hostname ~]$ ls -l /var/lib/mythtv/.mythtv/tmp/hls/10102_20200318130300.ts.640x368_600kV_64kA.ao_64kA.000001.ts
I'll make a bug report on this and keep you updated.
Post Reply