[FFmpeg-trac] #1845(avformat:closed): Encoded movies with mov_text subtitles do not play with QT Player
FFmpeg
trac at avcodec.org
Sun Jan 21 03:54:49 EET 2018
#1845: Encoded movies with mov_text subtitles do not play with QT Player
--------------------------------------+------------------------------------
Reporter: Atarikid | Owner:
Type: defect | Status: closed
Priority: normal | Component: avformat
Version: git-master | Resolution: fixed
Keywords: mov mov_text | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
--------------------------------------+------------------------------------
Changes (by aviram):
* status: reopened => closed
* resolution: => fixed
Comment:
This is the solution and it works on my macOS and iOS devices, but this is
the first place where is documented:
{{{
ffmpeg -i video.mov -canvas_size 1920x1080 -i sub.srt -c copy -c:s
mov_text -tag:s:s:0 tx3g new.mov
}}}
The {{{-tag:s:s:0 tx3g}}} does the trick. The {{{-canvas_size WxH}}}
doesn't seem necessary but that is what make files look similar, in the
metadata level, to what gpac MP4Box generates.
Also, resulting file must be named {{{.mov}}}, not {{{.mp4}}} and not
{{{.m4v}}}, otherwise a different file brand will be set which makes
ffmpeg complain.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/1845#comment:33>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list