[FFmpeg-trac] #2488(undetermined:new): ffmpeg seems not creating standard compliance subtitle streams in MOV files
FFmpeg
trac at avcodec.org
Sat Apr 20 22:51:47 CEST 2013
#2488: ffmpeg seems not creating standard compliance subtitle streams in MOV files
-------------------------------------+-------------------------------------
Reporter: Nick | Type: defect
Status: new | Priority: normal
Component: | Version: git-
undetermined | master
Keywords: MOV sub srt | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
During some tests for [https://ffmpeg.org/trac/ffmpeg/ticket/2431
ticket#2431] I noticed that subtitle streams with special characters in
MOV files are not displayed correctly in VLC 2.0.6. Therefore I opened a
ticket in VLC bug tracker ([https://trac.videolan.org/vlc/ticket/8450
ticket#8450]). [[BR]]
''(In other media players like SMPlayer and XBMC it works fine.)''
My test files are encoded with command line:
{{{
ffmpeg -i input.mp4 -sub_charenc ISO-8859-1 -i subtitle_test.srt -map 0:v
-map 0:a -c copy -map 1 -c:s:0 mov_text -metadata:s:s:0 language=ger
output_imported_subtitle.mov
ffmpeg -i input.mp4 -sub_charenc ISO-8859-1 -i subtitle_test.srt -map 0:v
-map 0:a -c copy -map 1 -c:s:0 mov_text -metadata:s:s:0 language=ger
output_imported_subtitle.mp4
}}}
...using a Windows build of ffmpeg: [[BR]]
http://ffmpeg.zeranoe.com/builds/win32/static/ffmpeg-20130418-git-
ee94362-win32-static.7z
So far I know, for subtitles in "'''MOV'''" the "'''3GPP Timed Text
specification'''" should be used!
See also:
https://developer.apple.com/library/mac/#documentation/QuickTime/qtff/QTFFChap3/qtff3.html
http://en.wikipedia.org/wiki/MPEG-4_Part_17
http://mpeg.chiariglione.org/standards/mpeg-4/streaming-text-format
3GPP TS 26.245 Specification: [[BR]]
http://www.3gpp.org/ftp/Specs/archive/26_series/26.245/26245-600.zip
Another problem for MP4 files was solved with VLC tracker
[https://trac.videolan.org/vlc/ticket/8450 ticket#8450] but for the
initial problem with subtitle streams in MOV files I get as answer:
''"[...] the file is not encoded correctly. The FFmpeg muxer must be at
fault here."''
and
''"Your sample is NOT using 3GPP Timed Text."''
In '''MP4''' files created by ffmpeg I can found the subtitle mark
"'''tx3g'''" (for "3GPP Timed Text") but in '''MOV''' files I cannot find
this mark!
Does ffmpeg using a fully standard compliance format and mark for subtitle
streams in MOV files?
[[BR]]
''tested also with the last build of VLC:
http://nightlies.videolan.org/build/win32/vlc-2.1.0-20130420-0005/vlc-2.1.0-git-20130420-0005-win32.zip
(this build includes MP4 subtitle language code <0x400 detection bugfix
already)''
For more details see also:
https://trac.videolan.org/vlc/ticket/8450
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2488>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list