henle wrote:
The video codec used shouldn't make a difference. Subtitles with complex formatting (SSA) don't work yet, but if you are muxing them in from SRT files, that's not an issue. It would be very helpful if you could upload a short clip that demonstrates the problem.
I don't think I can make a short-clip without altering the settings, because I would have to choose settings for rendering. This might result in a different file, which might not represent my issue. However, I have taken screens and I have tried to describe my problem as clearly as possible.
At first I thought the same about the video-codecs, but now I'm not so sure anymore.
Today I had three files: mp4-file, mkv-file and one avi-file. I muxed the approriate subtitles to all of them from .srt-files by using mkvtoolnix (mkvmerge GUI v5.7.0 to be exact). The results were the following:
mp4-file: Video and sound works perfectly in omxplayer, but subtitles do not appear when using "-t on"-command or when toggling them on/off with "s".
mkv-file: Video and sound works perfectly in omxplayer, but subtitles do not appear when using "-t on"-command or when toggling them on/off with "s".
avi-file: Video and sound works perfectly in omxplayer and subtitles appear as they should when using the "-t on"-command or when toggling them on/off with "s".
Note: All three files played flawlessly with sound, video and subtitles in XBMC.
Screens: (I have removed the path to the file)
mp4-file: http://i5.aijaa.com/b/00348/10718117.jpg
mkv-file: http://i6.aijaa.com/b/00496/10718116.jpg
avi-file: http://i6.aijaa.com/b/00277/10718118.jpg
After looking at the screens, I came to the conclusion that it has to be related to the codecs. It uses the same process for srt-files and text subtitles, but the sound and video codecs differ. I don't think it has anything to do with audio-codecs, which only leaves the video-codecs (AVC/h.264 is used for both mp4- and mkv-files).
In short: The subtitles never appear when the file has been made with AVC/h.264-video codec. The subtitles appear normally when the codec is something else than AVC/h.264.
To sum it up: I believe my problem is related to the way how omxplayer handles AVC/h.264-video codecs.
Is there an "official forum" for the omxplayer or a website where I could ask this directly from the guys who made the omxplayer? If there is, can you point me to the right direction?
PS: I made sure I am using the latest omxplayer-build. Am I the only one experiencing this? Could it be that I am missing a certain file? Thanks in advance!