Can't enable subtitle/closed-caption track in MP4 stream?
Posted: 07 Oct 2019 03:27
I'm playing an MP4 container stream from a DLNA server that contains a closed-caption subtitle track. When using the Linux/Qt VLC (3.0.8 Vetinari) app, I can use the Subtitle/Sub_Track/Closed_captions_N menu entry and the closed-captions show up as expected. Android VLC (3.1.7) doesn't show any subtitle track choices for the MP4 stream.
The MP4 files are ATSC TV programs recorded off the air and then remuxed (but not reencoded) from TS to MP4 containers to enable seeking by VLC. The Linux VLC app can show subtitle/closed-caption tracks in either TS or MP4 streams. The Android VLC will show subtitles in TS container streams (which aren't seekable), but not in the MP4 streams.
How do I get MP4 subtitle tracks to work for VLC Android?
I'm remuxing with a command like this:
And that seems fine for the Linux/Qt VLC, but not for Android VLC.
Should I be remuxing to a different container format?
The MP4 files are ATSC TV programs recorded off the air and then remuxed (but not reencoded) from TS to MP4 containers to enable seeking by VLC. The Linux VLC app can show subtitle/closed-caption tracks in either TS or MP4 streams. The Android VLC will show subtitles in TS container streams (which aren't seekable), but not in the MP4 streams.
How do I get MP4 subtitle tracks to work for VLC Android?
I'm remuxing with a command like this:
Code: Select all
ffmpeg -i filename.ts -map 0 -c copy -c:s copy filename.mp4
Should I be remuxing to a different container format?