Jump to content

LiveTV resolution issue (m3u)


nexmagic

Recommended Posts

Hello,

 

just discovered this program and it seems really awesome in general - I'm now trying to see if it fits my requirements, but I've hit an issue with playing a Livestream via LiveTV m3u tuner. The source livestream runs in 720p and VLC plays it back at the correct resolution, however the emby player only reports a playback resolution of Auto - 480p (visually it seems even worse than 480p). I've included the ffmpeg-transcode log of one of my attempts.

I've tried to find settings in the server that pertain to my issue but couldn't find anything (most of the encoding settings seem to be recording-related).

 

Would be very thankful for your help, I'd love to get this working and finally have a solution that actually works.

ffmpeg-transcode-b8905aaa-dbdb-4962-b790-bb24b9148b88.txt

Link to post
Share on other sites

Try changing your quality setting to something other than auto to get the stream to direct play. Try 20mbps to start. 

Link to post
Share on other sites

Try changing your quality setting to something other than auto to get the stream to direct play. Try 20mbps to start. 

That sounds like a great move, but I'm not sure in what menu I'm supposed to change this, I tried it in the emby player, but the only quality settings I can select there are these:

esOoglV.png

 

I feel like I must be missing something in the server menu but I just can't seem to find it.

 

Edit: Bonus info: I'm playing these on the same computer that's hosting the server so network saturation shouldn't be an issue.

Edited by nexmagic
Link to post
Share on other sites

According to your transcoding log the source file is indeed a 480x272 1 Mbps video. Can you confirm in VLC with the same link to the m3u8 as in the transcoding log?

Link to post
Share on other sites

According to your transcoding log the source file is indeed a 480x272 1 Mbps video. Can you confirm in VLC with the same link to the m3u8 as in the transcoding log?

I've opened the link in VLC and took a screenshot of the Media Info panel (should be the right one, I hope):

ia0PreX.png

 

Additionally, the way I interpret the transcoding log, the 480x272 is just one of the available video streams or something? It seems to also list a 1280x720 version a bit further down.

Link to post
Share on other sites

Ah I see, it is a HLS stream so links to the different qualities are packaged in the same container. For whatever reason Emby is selecting the first and lowest quality out of the them. I don't have much experience with HLS and am unsure if Emby supports it.

Link to post
Share on other sites

Ah I see, it is a HLS stream so links to the different qualities are packaged in the same container. For whatever reason Emby is selecting the first and lowest quality out of the them. I don't have much experience with HLS and am unsure if Emby supports it.

Thank you very much for this insight, at least I understand the issue now. I hope someone else can chime in with a suggestion how to get this to work since so far emby is pretty much to best way I've found to make everything else work, so it'd be a shame to have this issue be the one that breaks it.

 

Again, thank you very much already!

 

Edit: Worked around this issue for the time being by wget'ing the master m3u8 file and then using the link for the 720p version directly in my emby m3u, however I'm not sure how regularly these links change, which means correct handling of HLS quality selection would be appreciated.

Edited by nexmagic
Link to post
Share on other sites

Ok yea this is something we'd have to look at for a future update because we haven't really dealt with this up to this point. Thanks.

Link to post
Share on other sites

Ran into another thing while testing and I didn't want to make a whole new thread for it:

 

Is it possible that low computer performance leads to sound being out of balance when watching Live TV?

 

With my workaround I can now successfully watch, however when I watch content from the emby server hosted on my linux VM, the sound, while still stereo, will be skewed to the right. This does not occur when watching content provided by an emby server hosted on my main, windows PC.

There is no noticeable stuttering or delay, only the sound is off-balance. It does not seem to matter which device I watch the content on, only which server is streaming it.

 

Thanks in advance.

 

Edit: I have included a corresponding ffmpeg log from my linux VM.

ffmpeg-transcode-10f2d29b-46c1-4977-b057-72b222b36b28.txt

Edited by nexmagic
Link to post
Share on other sites

I've just gone ahead and played the same station from both servers on my windows pc in the browser to confirm the issue. Attached are the logs from both servers for this.

 

ffmpeg-directstream is from the windows server without the issue

ffmpeg-remux is from the linux VM with the issue

 

the differing filenames are curious, however I've used the same playback settings for both, namely 720p - 10mbps (highest option available).

ffmpeg-directstream-bef2d243-db02-4653-bb61-993997ce762d.txt

ffmpeg-remux-4475ffc7-a650-45f0-be10-7d5850e4b18c.txt

Edited by nexmagic
Link to post
Share on other sites
  • 3 years later...
gcorgnet

Hi, I realise this is an old thread but I am running into the same issue and I was wondering if a soution had ever been found for that problem

 

This is the content of the m3u stream I am trying to hit:

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-INDEPENDENT-SEGMENTS
#EXT-X-STREAM-INF:BANDWIDTH=582678,AVERAGE-BANDWIDTH=581685,RESOLUTION=480x270,FRAME-RATE=25.000,CODECS="avc1.42C015,mp4a.40.2"
master_1.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=934652,AVERAGE-BANDWIDTH=911650,RESOLUTION=640x360,FRAME-RATE=25.000,CODECS="avc1.42C01E,mp4a.40.2"
master_2.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=1404022,AVERAGE-BANDWIDTH=1351697,RESOLUTION=960x540,FRAME-RATE=25.000,CODECS="avc1.4D401F,mp4a.40.2"
master_3.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=1873418,AVERAGE-BANDWIDTH=1791775,RESOLUTION=1024x576,FRAME-RATE=25.000,CODECS="avc1.4D401F,mp4a.40.2"
master_4.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=2929445,AVERAGE-BANDWIDTH=2781810,RESOLUTION=1280x720,FRAME-RATE=25.000,CODECS="avc1.4D401F,mp4a.40.2"
master_5.m3u8

VLC starts at the lowest res but quicly upgrades to the highest Could Emby to something like that? What would be the best way to force it to use the highest res?

 

Thanks

Link to post
Share on other sites
Luke

Hi, I realise this is an old thread but I am running into the same issue and I was wondering if a soution had ever been found for that problem

 

This is the content of the m3u stream I am trying to hit:

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-INDEPENDENT-SEGMENTS
#EXT-X-STREAM-INF:BANDWIDTH=582678,AVERAGE-BANDWIDTH=581685,RESOLUTION=480x270,FRAME-RATE=25.000,CODECS="avc1.42C015,mp4a.40.2"
master_1.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=934652,AVERAGE-BANDWIDTH=911650,RESOLUTION=640x360,FRAME-RATE=25.000,CODECS="avc1.42C01E,mp4a.40.2"
master_2.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=1404022,AVERAGE-BANDWIDTH=1351697,RESOLUTION=960x540,FRAME-RATE=25.000,CODECS="avc1.4D401F,mp4a.40.2"
master_3.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=1873418,AVERAGE-BANDWIDTH=1791775,RESOLUTION=1024x576,FRAME-RATE=25.000,CODECS="avc1.4D401F,mp4a.40.2"
master_4.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=2929445,AVERAGE-BANDWIDTH=2781810,RESOLUTION=1280x720,FRAME-RATE=25.000,CODECS="avc1.4D401F,mp4a.40.2"
master_5.m3u8

VLC starts at the lowest res but quicly upgrades to the highest Could Emby to something like that? What would be the best way to force it to use the highest res?

 

Thanks

 

Hi, yes we'll be revamping this in the near future. thanks.

Link to post
Share on other sites
  • 6 months later...
gcorgnet
On 4/15/2020 at 4:27 PM, Luke said:

 

Hi, yes we'll be revamping this in the near future. thanks.

Hey mate, did you guys get chance to look into this at all? Thanks

Link to post
Share on other sites
cayars

This should be handled in the update to Live TV that's currently in development.

  • Like 1
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...