You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: Missing VIDEO in Shaka Player and HLS Player
I have discovered a bug in the MediaFlow Proxy when converting MPD-DASH media files to HLS (m3u8) manifests. Specifically, all tracks are being incorrectly labeled as audio tracks in the resulting HLS manifest, even those that are video tracks.
Issue Details:
When performing a GET request to /proxy/mpd/manifest.m3u8 with the following parameters, the generated HLS manifest lists all streams with TYPE=AUDIO, and video tracks are incorrectly associated with the audio group.
As you can see, all the #EXT-X-STREAM-INF entries reference AUDIO="audio", even for video streams, and there's no distinction between audio and video tracks.
Expected Behavior:
The original MPD manifest correctly differentiates between video and audio AdaptationSets:
The HLS manifest should reflect this by properly assigning video and audio types. Video streams should not be labeled as audio, and the AUDIO attribute should only be associated with actual audio groups.
Impact:
This mislabeling causes media players to misinterpret the streams, leading to playback issues. Video tracks are treated as audio, which can result in errors or missing video during playback.
Steps to Reproduce:
Use the provided MPD URL and parameters.
Send a GET request to /proxy/mpd/manifest.m3u8.
Inspect the returned HLS manifest and observe that all tracks are labeled with TYPE=AUDIO.
Environment:
MediaFlow Proxy Version: Latest (as of the date of this report)
Tested On: Multiple environments and media players (Missing VIDEO in Shaka Player and HLS Player)
MPD URL: As provided above
Possible Cause:
It appears that during the conversion from MPD to HLS, the logic that handles the mapping of AdaptationSets to HLS media groups might be incorrectly assigning the TYPE attribute. The converter may be defaulting all tracks to audio without checking the contentType or mimeType attributes of each AdaptationSet.
Suggested Solution:
Update the conversion logic to:
Check the contentType or mimeType of each AdaptationSet.
Assign TYPE=VIDEO for video AdaptationSets and TYPE=AUDIO for audio AdaptationSets in the HLS manifest.
Ensure that #EXT-X-STREAM-INF entries correctly reference their associated audio groups only when applicable.
Additional Information:
The issue is consistent with this specific MPD manifest but may affect others with similar structures.
Proper handling of multiple AdaptationSets is crucial for correct playback, especially in streams with multiple audio or subtitle tracks.
Attachments:
[Original MPD Manifest](attach the full MPD manifest if possible)
[Generated HLS Manifest](attach the generated HLS manifest)
Thank you for your attention to this matter. Please let me know if you need any additional information or assistance in reproducing the issue.
Dear MediaFlow Proxy Developer,
title: Missing VIDEO in Shaka Player and HLS Player
I have discovered a bug in the MediaFlow Proxy when converting MPD-DASH media files to HLS (m3u8) manifests. Specifically, all tracks are being incorrectly labeled as audio tracks in the resulting HLS manifest, even those that are video tracks.
Issue Details:
When performing a GET request to
/proxy/mpd/manifest.m3u8
with the following parameters, the generated HLS manifest lists all streams withTYPE=AUDIO
, and video tracks are incorrectly associated with the audio group.Request:
Parameters:
d
:in Attachments
key_id
:in Attachments
key
:in Attachments
api_password
:your_password
Curl Command:
Response:
As you can see, all the
#EXT-X-STREAM-INF
entries referenceAUDIO="audio"
, even for video streams, and there's no distinction between audio and video tracks.Expected Behavior:
The original MPD manifest correctly differentiates between video and audio AdaptationSets:
The HLS manifest should reflect this by properly assigning video and audio types. Video streams should not be labeled as audio, and the
AUDIO
attribute should only be associated with actual audio groups.Impact:
This mislabeling causes media players to misinterpret the streams, leading to playback issues. Video tracks are treated as audio, which can result in errors or missing video during playback.
Steps to Reproduce:
/proxy/mpd/manifest.m3u8
.TYPE=AUDIO
.Environment:
Possible Cause:
It appears that during the conversion from MPD to HLS, the logic that handles the mapping of AdaptationSets to HLS media groups might be incorrectly assigning the
TYPE
attribute. The converter may be defaulting all tracks to audio without checking thecontentType
ormimeType
attributes of each AdaptationSet.Suggested Solution:
Update the conversion logic to:
contentType
ormimeType
of each AdaptationSet.TYPE=VIDEO
for video AdaptationSets andTYPE=AUDIO
for audio AdaptationSets in the HLS manifest.#EXT-X-STREAM-INF
entries correctly reference their associated audio groups only when applicable.Additional Information:
Attachments:
Thank you for your attention to this matter. Please let me know if you need any additional information or assistance in reproducing the issue.
Best regards,
report.zip
The text was updated successfully, but these errors were encountered: