Skip to content

A vod can get downloaded as .mp4 files with an init-0.mp4. Breaks converting to a single file #754

@tuxayo

Description

@tuxayo

Somehow I found one VOD that gets downloaded as .mp4 (including when audio only) instead of .ts and with an init-0.mp4
https://www.twitch.tv/videos/2534488919

The m3u8 after download looks like this

#EXTM3U
#EXT-X-VERSION:6
#EXT-X-PLAYLIST-TYPE:EVENT
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-MAP:URI="content://com.android.externalstorage.documents/tree/primary%3Aclips/document/primary%3Aclips%2F2534488919480p30%2Finit-0.mp4"
#EXTINF:10.0
content://com.android.externalstorage.documents/tree/primary%3Aclips/document/primary%3Aclips%2F2534488919480p30%2F155.mp4
#EXTINF:10.0
content://com.android.externalstorage.documents/tree/primary%3Aclips/document/primary%3Aclips%2F2534488919480p30%2F156.mp4
#EXTINF:10.0
content://com.android.externalstorage.documents/tree/primary%3Aclips/document/primary%3Aclips%2F2534488919480p30%2F157.mp4
#EXTINF:10.0
content://com.android.externalstorage.documents/tree/primary%3Aclips/document/primary%3Aclips%2F2534488919480p30%2F158.mp4

The segments are not playable directly by VLC or mpv. But xtra can play them. And xtra can convert to single file with success.
But the resulting video doesn't have a usable seek bar. And if audio only, it doesn't work at all. I think it's xtra that gets confused. VLC for android can play the video. But maybe it's just that VLC can still play some corrupted stuff, I don't know.

Is it sure that this vod doesn't somehow still have a .ts version? That would circumvent the issue. I tried replacing the .mp4 extension with .ts in the URL but it doesn't work
https://d2nvs31859zcd8.cloudfront.net/f1a6ba5f55c5bc779b2a_central_committee_325522132732_1754661610/360p30/1.mp4
↓↓↓
https://d2nvs31859zcd8.cloudfront.net/f1a6ba5f55c5bc779b2a_central_committee_325522132732_1754661610/360p30/1.ts

I tried 3 other channel with sub only vods. And other vods of that channel and it's still the only example I have.
What does that vod could have in particular that lead to this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions