Remuxing the TS container using HLS
Posted: Sun Apr 16, 2023 7:44 pm
Zip, I am trying to work around the failure of Roku to fix their playback issue with media in a TS/M2TS container. All Roku devices will play this container (assuming the codecs are supported) natively, but they have no trick play functionality, including just pausing the playback. I expected a simple remux capture would work, like this:
But I get this error in the log for every file that meets this Matches:
The video in question still appears in the Roku player, but it is not being remuxed and returns an error if playback is attempted. If I add a target vCodec of H.264, it works fine (although I lose my captions), but that puts a transcoding load on the server when the player is capable of supporting the MPEG2 or H.264 video codec already used within the container.
Most of my files in this container are OTA recordings with MPEG2 video and AC3 audio. I'm at a loss as to why this isn't working. I have to use AppleHTTP, as it's the only container that allows the Roku to retain trick play features.
But I get this error in the log for every file that meets this Matches:
The video in question still appears in the Roku player, but it is not being remuxed and returns an error if playback is attempted. If I add a target vCodec of H.264, it works fine (although I lose my captions), but that puts a transcoding load on the server when the player is capable of supporting the MPEG2 or H.264 video codec already used within the container.
Most of my files in this container are OTA recordings with MPEG2 video and AC3 audio. I'm at a loss as to why this isn't working. I have to use AppleHTTP, as it's the only container that allows the Roku to retain trick play features.