Closed micahrollinsmlb closed 1 year ago
So you are getting the error playing back the video in Windows or on an Android device?
I get the error playing back in Windows. On Android we use ExoPlayer directly, and it does not have this problem.
My apologies, I didn't see this comment about the HEVC codec until just now.
I do have the HEVC codec installed on my PC. I verified that the problem was the subtitle track (Codec: dfxp) by removing the subtitle track with ffmpeg. Once I removed the subtitle track, I was able to play the video using AVPro.
Cheers! Micah Rollins
From: Ste Butcher @.> Sent: Saturday, November 5, 2022 5:21 AM To: RenderHeads/UnityPlugin-AVProVideo @.> Cc: Rollins, Micah @.>; Author @.> Subject: Re: [RenderHeads/UnityPlugin-AVProVideo] Unable to play HLS streams with unsupported subtitle tracks (Issue #1361)
Windows 10 does not come with an HEVC codec. You need to download one from the windows store. If you have not done this, you can find many guides on the process, such as thishttps://urldefense.proofpoint.com/v2/url?u=https-3A__www.howtogeek.com_680690_how-2Dto-2Dinstall-2Dfree-2Dhevc-2Dcodecs-2Don-2Dwindows-2D10-2Dfor-2Dh.265-2Dvideo_amp_&d=DwMCaQ&c=wveiQRxe0XcXhet-EEJuzw&r=h1QjQsZ8CMaA2vbAF4eOrKHxkNhkFjD_KY2clzWLtPE&m=-OqlaA7zSogT3nXbXsw1aNRV1zCjRjXIbmGvqrhobrufa2BM4I4ttEFZ3j_aANB8&s=UqmsENynFYP5MbFCb5EoehvMGOS9XNn5UwLXuzFymKU&e= one.
— Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_RenderHeads_UnityPlugin-2DAVProVideo_issues_1361-23issuecomment-2D1304536323&d=DwMCaQ&c=wveiQRxe0XcXhet-EEJuzw&r=h1QjQsZ8CMaA2vbAF4eOrKHxkNhkFjD_KY2clzWLtPE&m=-OqlaA7zSogT3nXbXsw1aNRV1zCjRjXIbmGvqrhobrufa2BM4I4ttEFZ3j_aANB8&s=ky89mTtXMilfxZY6ySbfayEoc5Gy5D3A6AfOm6UZaXo&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AUEQ2SBZBDN3RCQTIYLYXY3WGZGMDANCNFSM6AAAAAARXVGTVQ&d=DwMCaQ&c=wveiQRxe0XcXhet-EEJuzw&r=h1QjQsZ8CMaA2vbAF4eOrKHxkNhkFjD_KY2clzWLtPE&m=-OqlaA7zSogT3nXbXsw1aNRV1zCjRjXIbmGvqrhobrufa2BM4I4ttEFZ3j_aANB8&s=UEChH8d6bMgDfhiGn2g02sn2HZFb25WzebgCTZiFY9I&e=. You are receiving this because you authored the thread.Message ID: @.***>
Yeah, it's odd. Not sure there is much we can do about it. The Windows API's all seem to hate that format and refuse to simply ignore it. Sorry, I don't think there is much we can do about this one and recommend removal (as you have done), or use a different format.
Oh that's really interesting. Do you know if there is a codec that I can install that would allow those Windows APIs to load the subtitle track? My google searches came up empty, but perhaps you have heard of something?
Thank you!
I've had a look and can't find anything. As above, I would recommend removal or using a different format.
Thank you!
When we attempt to load an HLS stream that contains an unsupported subtitle track, we receive the standard "Error: Loading failed. File not found, codec not supported, video resolution too high or insufficient system resources." When we try to load the same HLS stream using ExoPlayer directly, it will play the supported tracks and simply ignore the subtitle track. Ideally, AVPro would behave the same way.
Your Setup (please complete the following information):
To Reproduce
Videos Sample video: https://vr-assets.mlb.com/AWS/DEV/8d6bff48-033c-47e9-a8fa-c8aed75accb8/camA.m3u8