[FFmpeg-trac] #2431(undetermined:new): ffmpeg subtitle encoding of special characters does not working correctly
FFmpeg
trac at avcodec.org
Thu Apr 4 00:15:42 CEST 2013
#2431: ffmpeg subtitle encoding of special characters does not working correctly
-------------------------------------+-------------------------------------
Reporter: Nick | Type: defect
Status: new | Priority: important
Component: | Version:
undetermined | unspecified
Keywords: ffmpeg | Blocked By:
subtitle encoding of special | Reproduced by developer: 0
characters |
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
== ffmpeg subtitle encoding of special characters does not working
correctly (with special characters of German, French, Spanish, etc.) ==
'''Problem Description:'''
'''Import and encoding''' of subtitles which containing special characters
using ffmpeg '''from text based *.srt and *.ass-subtitle files''' into an
*.mp4 or *.mkv container does not working correctly!
Special characters from languages like German (e.g. ä/Ä, ö/Ö. ü/Ü, ß),
French, Spanish and so on, imported and encoded with ffmpeg as "mov_text"
subtitle stream into an mp4 container or as "srt"-subtitle stream into an
mkv container are not compatible with different media players and Blu-Ray
stand-alone players!
''(All tested special characters are included in ISO-8859-1)''
'''I tested the following media players (Windows versions):'''
VLC 1.1.11
VLC 2.0.5
MPC-HC 1.6.6 (Media Player Classic - Home Cinema)
XBMC 12.0
SMPlayer 0.8.4
and ...
Philips stand-alone Blu-Ray player BDP5180
Philips Blu-Ray Home Cinema System
''(Annotation to SMPlayer:
SMPlayer uses as default a new ass library to convert srt subtitles
internal to an ass subtitle stream and render that like a normal ass/ssa
subtitle. To force SMPlayer into the "normal subtitle mode" activate the
option: -> SMPlayer menu "Options" >> "Preferences" >> "Subtitles" >>
"Font and colors" and activate "Enable normal subtitles")''
== Examples for incorrect imported/encoded subtitles with ffmpeg: ==
Import and encoding of a *.srt subtitle text file as "'''mov_text'''"
subtitle stream within an '''mp4''' file:
{{{
ffmpeg -i input.mp4 -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 ffmpeg_mov-text.mp4
}}}
or
Import and encoding of a *.srt subtitle file as "'''SRT'''" subtitle
stream within an '''mkv''' file:
{{{
ffmpeg -i input.mp4 -i subtitle_test.srt -map 0:v -map 0:a -c copy -map 1
-c:s:0 srt -metadata:s:s:0 language=ger ffmpeg_srt-subtitle.mkv
}}}
''(content of "subtitle_test.srt" see below)''
[[BR]]
"'''ASS'''" subtitle streams into '''mkv''' files created by ffmpeg are
compatible with most of these players but not with all:
{{{
ffmpeg -i input.mp4 -i subtitle_test.srt -map 0:v -map 0:a -c copy -map 1
-c:s:0 ass -metadata:s:s:0 language=ger ffmpeg_ass-subtitle.mkv
}}}
[[BR]]
== For comparison: ==
MP4Box creates fully compliant subtitle streams into mp4 containers
working with all these media players!
I used MP4Box 0.4.6 (rev2698) to create a compliant subtitle streams
(other versions of MP4Box working also).
MP4Box command line:
{{{
mp4box -add input.mp4#video -add input.mp4#audio -add
subtitle_test.srt:lang=de -new mp4box_mov-text.mp4
}}}
If you convert a subtitle streams of an mp4 file created by MP4Box using
ffmpeg to another mp4 file or an mkv file, that subtitle stream working
also correctly. Example code:
Step 1:
{{{
mp4box -add input.mp4#video -add input.mp4#audio -add
subtitle_test.srt:lang=de -new mp4box_mov-text.mp4
}}}
Step 2:
{{{
ffmpeg -i mp4box_mov-text.mp4 -map 0 -c copy -c:s:0 srt mp4box_mov-
text_converted-by-ffmpeg-to-srt.mkv
ffmpeg -i mp4box_mov-text.mp4 -map 0 -c copy -c:s:0 ass mp4box_mov-
text_converted-by-ffmpeg-to-ass.mkv
}}}
[[BR]]
My (Philips) stand-alone Blu-Ray player can read "'''SRT'''" subtitle
streams from '''mkv''' files only; therefore I have to create a fully
compliant mkv file at the moment in two steps:
{{{
mp4box -add input.mp4#video -add input.mp4#audio -add
subtitle_test.srt:lang=de -new mp4box_mov-text.mp4
ffmpeg -i mp4box_mov-text.mp4 -map 0 -c copy -c:s:0 srt mp4box_mov-
text_converted-by-ffmpeg-to-srt.mkv
}}}
== My little "standard test" to create some test files including a
subtitle stream... ==
For this test I use a Windows 32bit environment with following files:
'''input.mp4''' ''(a small mp4 file as input, duration ~30-60 seconds,
including one AVC/H.264 video stream and one AAC audio stream)''
'''subtitle_test.srt''' ''(a subtitle test file with different special
characters, content see below)''
'''subtitle_test.bat''' ''(a batch file to create all test files
automatically, content see below)''
'''ffmpeg.exe''' ''(the current version from
[http://ffmpeg.zeranoe.com/builds/win32/static/])''
'''MP4Box.exe''' ''(e.g.
[http://www.videohelp.com/download/MP4Box-0.4.6-rev2698.zip] )''
Easy to use: Put all these files together in one folder and run the
"subtitle_test.bat".
Then play the created files in a media player and activate the subtitle.
"'''subtitle_test.srt'''":
{{{
1
00:00:05,000 --> 00:00:14,000
German special characters:
Ä/ä, Ö/ö, Ü/ü, ß
2
00:00:15,000 --> 00:00:19,000
French special characters:
Æ/æ, À/à, Â/â, È/è, É/é, Ê/ê, Ë/ë,
Î/î, Ï/ï, Ô/ô, Ù/ù, Û/û, Ç/ç, Ü/ü, ÿ
3
00:00:20,000 --> 00:00:24,000
Italian special characters:
À/à, È/è, É/é, Ò/ò, Ù/ù
4
00:00:25,000 --> 00:00:29,000
Spanish special characters:
¡, ¿, ª, º, Á/á, É/é, Í/í, Ñ/ñ, Ó/ó, Ú/ú, Ü/ü
5
00:00:30,000 --> 00:00:55,000
These are printable characters of ISO-8859-1:
(*str >= 32 && *str < 128) || (*str >= 160 && *str <= 255)
}}}
"'''subtitle_test.bat'''":
{{{
@echo on
@rem This batch file requires following files: ffmpeg.exe, MP4Box.exe,
input.mp4, subtitle_test.srt
@echo
============================================================================
ffmpeg -i input.mp4 -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 ffmpeg_mov-text.mp4
@echo
============================================================================
ffmpeg -i input.mp4 -i subtitle_test.srt -map 0:v -map 0:a -c copy -map 1
-c:s:0 srt -metadata:s:s:0 language=ger ffmpeg_srt-subtitle.mkv
@echo
============================================================================
ffmpeg -i input.mp4 -i subtitle_test.srt -map 0:v -map 0:a -c copy -map 1
-c:s:0 ass -metadata:s:s:0 language=ger ffmpeg_ass-subtitle.mkv
@echo
============================================================================
mp4box -add input.mp4#video -add input.mp4#audio -add
subtitle_test.srt:lang=de -new mp4box_mov-text.mp4
@echo
============================================================================
ffmpeg -i mp4box_mov-text.mp4 -map 0 -c copy -c:s:0 srt mp4box_mov-
text_converted-by-ffmpeg-to-srt.mkv
@echo
============================================================================
ffmpeg -i mp4box_mov-text.mp4 -map 0 -c copy -c:s:0 ass mp4box_mov-
text_converted-by-ffmpeg-to-ass.mkv
@echo
============================================================================
@pause
}}}
Please contact me if you want to get all my original test files in one
zip! (all together <4 MB)
Here the output of a complete test run, started with "subtitle_test.bat":
{{{
============================================================================
C:\Video>ffmpeg -i input.mp4 -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 ffmpeg_mov-
text.mp4
ffmpeg version N-51511-g599866f Copyright (c) 2000-2013 the FFmpeg
developers
built on Apr 1 2013 12:44:46 with gcc 4.8.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gnutls --enab
bcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-
libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-
libopenjpeg --ena
bschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora
--enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc
--enable-libvorbis --enabl
vs --enable-libxvid --enable-zlib
libavutil 52. 24.100 / 52. 24.100
libavcodec 55. 2.100 / 55. 2.100
libavformat 55. 1.100 / 55. 1.100
libavdevice 55. 0.100 / 55. 0.100
libavfilter 3. 48.105 / 3. 48.105
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 2013-03-24 21:33:20
encoder : Lavf54.63.100
Duration: 00:01:00.02, start: 0.023220, bitrate: 85 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p,
720x404 [SAR 1:1 DAR 180:101], 20 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc
Metadata:
creation_time : 2013-03-24 21:33:20
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo,
fltp, 58 kb/s
Metadata:
creation_time : 2013-03-24 21:33:20
handler_name : SoundHandler
Input #1, srt, from 'subtitle_test.srt':
Duration: N/A, bitrate: N/A
Stream #1:0: Subtitle: subrip
Output #0, mp4, to 'ffmpeg_mov-text.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf55.1.100
Stream #0:0(und): Video: h264 ([33][0][0][0] / 0x0021), yuv420p,
720x404 [SAR 1:1 DAR 180:101], q=2-31, 20 kb/s, 25 fps, 12800 tbn, 12800
tbc
Metadata:
creation_time : 2013-03-24 21:33:20
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz,
stereo, 58 kb/s
Metadata:
creation_time : 2013-03-24 21:33:20
handler_name : SoundHandler
Stream #0:2(ger): Subtitle: mov_text ([8][0][0][0] / 0x0008)
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Stream #1:0 -> #0:2 (subrip -> mov_text)
Press [q] to stop, [?] for help
frame= 1500 fps=0.0 q=-1.0 Lsize= 629kB time=00:01:00.02 bitrate=
85.8kbits/s
video:151kB audio:432kB subtitle:0 global headers:0kB muxing overhead
7.752755%
============================================================================
C:\Video>ffmpeg -i input.mp4 -i subtitle_test.srt -map 0:v -map 0:a -c
copy -map 1 -c:s:0 srt -metadata:s:s:0 language=ger ffmpeg_srt-
subtitle.mkv
ffmpeg version N-51511-g599866f Copyright (c) 2000-2013 the FFmpeg
developers
built on Apr 1 2013 12:44:46 with gcc 4.8.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gnutls --enab
bcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-
libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-
libopenjpeg --ena
bschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora
--enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc
--enable-libvorbis --enabl
vs --enable-libxvid --enable-zlib
libavutil 52. 24.100 / 52. 24.100
libavcodec 55. 2.100 / 55. 2.100
libavformat 55. 1.100 / 55. 1.100
libavdevice 55. 0.100 / 55. 0.100
libavfilter 3. 48.105 / 3. 48.105
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 2013-03-24 21:33:20
encoder : Lavf54.63.100
Duration: 00:01:00.02, start: 0.023220, bitrate: 85 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p,
720x404 [SAR 1:1 DAR 180:101], 20 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc
Metadata:
creation_time : 2013-03-24 21:33:20
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo,
fltp, 58 kb/s
Metadata:
creation_time : 2013-03-24 21:33:20
handler_name : SoundHandler
Input #1, srt, from 'subtitle_test.srt':
Duration: N/A, bitrate: N/A
Stream #1:0: Subtitle: subrip
Output #0, matroska, to 'ffmpeg_srt-subtitle.mkv':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf55.1.100
Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 720x404
[SAR 1:1 DAR 180:101], q=2-31, 20 kb/s, 25 fps, 1k tbn, 12800 tbc
Metadata:
creation_time : 2013-03-24 21:33:20
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac ([255][0][0][0] / 0x00FF), 44100 Hz,
stereo, 58 kb/s
Metadata:
creation_time : 2013-03-24 21:33:20
handler_name : SoundHandler
Stream #0:2(ger): Subtitle: srt
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Stream #1:0 -> #0:2 (subrip -> srt)
Press [q] to stop, [?] for help
frame= 1500 fps=0.0 q=-1.0 Lsize= 611kB time=00:01:00.02 bitrate=
83.4kbits/s
video:151kB audio:432kB subtitle:1 global headers:0kB muxing overhead
4.759849%
============================================================================
C:\Video>ffmpeg -i input.mp4 -i subtitle_test.srt -map 0:v -map 0:a -c
copy -map 1 -c:s:0 ass -metadata:s:s:0 language=ger ffmpeg_ass-
subtitle.mkv
ffmpeg version N-51511-g599866f Copyright (c) 2000-2013 the FFmpeg
developers
built on Apr 1 2013 12:44:46 with gcc 4.8.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gnutls --enab
bcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-
libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-
libopenjpeg --ena
bschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora
--enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc
--enable-libvorbis --enabl
vs --enable-libxvid --enable-zlib
libavutil 52. 24.100 / 52. 24.100
libavcodec 55. 2.100 / 55. 2.100
libavformat 55. 1.100 / 55. 1.100
libavdevice 55. 0.100 / 55. 0.100
libavfilter 3. 48.105 / 3. 48.105
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 2013-03-24 21:33:20
encoder : Lavf54.63.100
Duration: 00:01:00.02, start: 0.023220, bitrate: 85 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p,
720x404 [SAR 1:1 DAR 180:101], 20 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc
Metadata:
creation_time : 2013-03-24 21:33:20
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo,
fltp, 58 kb/s
Metadata:
creation_time : 2013-03-24 21:33:20
handler_name : SoundHandler
Input #1, srt, from 'subtitle_test.srt':
Duration: N/A, bitrate: N/A
Stream #1:0: Subtitle: subrip
Output #0, matroska, to 'ffmpeg_ass-subtitle.mkv':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf55.1.100
Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 720x404
[SAR 1:1 DAR 180:101], q=2-31, 20 kb/s, 25 fps, 1k tbn, 12800 tbc
Metadata:
creation_time : 2013-03-24 21:33:20
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac ([255][0][0][0] / 0x00FF), 44100 Hz,
stereo, 58 kb/s
Metadata:
creation_time : 2013-03-24 21:33:20
handler_name : SoundHandler
Stream #0:2(ger): Subtitle: ssa
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Stream #1:0 -> #0:2 (subrip -> ass)
Press [q] to stop, [?] for help
frame= 1500 fps=0.0 q=-1.0 Lsize= 612kB time=00:01:00.02 bitrate=
83.5kbits/s
video:151kB audio:432kB subtitle:1 global headers:0kB muxing overhead
4.759022%
============================================================================
C:\Video>mp4box -add input.mp4#video -add input.mp4#audio -add
subtitle_test.srt:lang=de -new mp4box_mov-text.mp4
IsoMedia import - track ID 1 - Video (size 720 x 404)
IsoMedia import - track ID 2 - Audio (SR 44100 - 2 channels)
Timed Text (SRT) import - text track 720 x 404, font Serif (size 18)
Saving mp4box_mov-text.mp4: 0.500 secs Interleaving
============================================================================
C:\Video>ffmpeg -i mp4box_mov-text.mp4 -map 0 -c copy -c:s:0 srt
mp4box_mov-text_converted-by-ffmpeg-to-srt.mkv
ffmpeg version N-51511-g599866f Copyright (c) 2000-2013 the FFmpeg
developers
built on Apr 1 2013 12:44:46 with gcc 4.8.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gnutls --enab
bcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-
libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-
libopenjpeg --ena
bschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora
--enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc
--enable-libvorbis --enabl
vs --enable-libxvid --enable-zlib
libavutil 52. 24.100 / 52. 24.100
libavcodec 55. 2.100 / 55. 2.100
libavformat 55. 1.100 / 55. 1.100
libavdevice 55. 0.100 / 55. 0.100
libavfilter 3. 48.105 / 3. 48.105
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'mp4box_mov-text.mp4':
Metadata:
major_brand : isom
minor_version : 1
compatible_brands: isom
creation_time : 2013-04-03 20:31:53
Duration: 00:01:20.00, start: 0.000000, bitrate: 62 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p,
720x404 [SAR 1:1 DAR 180:101], 20 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc
Metadata:
creation_time : 2013-03-24 21:33:20
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo,
fltp, 58 kb/s
Metadata:
creation_time : 2013-04-03 20:31:53
handler_name : GPAC ISO Audio Handler
Stream #0:2(deu): Subtitle: mov_text (tx3g / 0x67337874)
Metadata:
creation_time : 2013-04-03 20:31:53
handler_name : Imported with GPAC 0.4.6-DEV-rev
Output #0, matroska, to 'mp4box_mov-text_converted-by-ffmpeg-to-srt.mkv':
Metadata:
major_brand : isom
minor_version : 1
compatible_brands: isom
encoder : Lavf55.1.100
Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 720x404
[SAR 1:1 DAR 180:101], q=2-31, 20 kb/s, 25 fps, 1k tbn, 12800 tbc
Metadata:
creation_time : 2013-03-24 21:33:20
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac ([255][0][0][0] / 0x00FF), 44100 Hz,
stereo, 58 kb/s
Metadata:
creation_time : 2013-04-03 20:31:53
handler_name : GPAC ISO Audio Handler
Stream #0:2(deu): Subtitle: srt
Metadata:
creation_time : 2013-04-03 20:31:53
handler_name : Imported with GPAC 0.4.6-DEV-rev
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Stream #0:2 -> #0:2 (mov_text -> srt)
Press [q] to stop, [?] for help
frame= 1500 fps=0.0 q=-1.0 Lsize= 612kB time=00:01:00.02 bitrate=
83.5kbits/s
video:151kB audio:432kB subtitle:1 global headers:0kB muxing overhead
4.777075%
============================================================================
C:\Video>ffmpeg -i mp4box_mov-text.mp4 -map 0 -c copy -c:s:0 ass
mp4box_mov-text_converted-by-ffmpeg-to-ass.mkv
ffmpeg version N-51511-g599866f Copyright (c) 2000-2013 the FFmpeg
developers
built on Apr 1 2013 12:44:46 with gcc 4.8.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gnutls --enab
bcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-
libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-
libopenjpeg --ena
bschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora
--enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc
--enable-libvorbis --enabl
vs --enable-libxvid --enable-zlib
libavutil 52. 24.100 / 52. 24.100
libavcodec 55. 2.100 / 55. 2.100
libavformat 55. 1.100 / 55. 1.100
libavdevice 55. 0.100 / 55. 0.100
libavfilter 3. 48.105 / 3. 48.105
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'mp4box_mov-text.mp4':
Metadata:
major_brand : isom
minor_version : 1
compatible_brands: isom
creation_time : 2013-04-03 20:31:53
Duration: 00:01:20.00, start: 0.000000, bitrate: 62 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p,
720x404 [SAR 1:1 DAR 180:101], 20 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc
Metadata:
creation_time : 2013-03-24 21:33:20
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo,
fltp, 58 kb/s
Metadata:
creation_time : 2013-04-03 20:31:53
handler_name : GPAC ISO Audio Handler
Stream #0:2(deu): Subtitle: mov_text (tx3g / 0x67337874)
Metadata:
creation_time : 2013-04-03 20:31:53
handler_name : Imported with GPAC 0.4.6-DEV-rev
Output #0, matroska, to 'mp4box_mov-text_converted-by-ffmpeg-to-ass.mkv':
Metadata:
major_brand : isom
minor_version : 1
compatible_brands: isom
encoder : Lavf55.1.100
Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 720x404
[SAR 1:1 DAR 180:101], q=2-31, 20 kb/s, 25 fps, 1k tbn, 12800 tbc
Metadata:
creation_time : 2013-03-24 21:33:20
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac ([255][0][0][0] / 0x00FF), 44100 Hz,
stereo, 58 kb/s
Metadata:
creation_time : 2013-04-03 20:31:53
handler_name : GPAC ISO Audio Handler
Stream #0:2(deu): Subtitle: ssa
Metadata:
creation_time : 2013-04-03 20:31:53
handler_name : Imported with GPAC 0.4.6-DEV-rev
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Stream #0:2 -> #0:2 (mov_text -> ass)
Press [q] to stop, [?] for help
frame= 1500 fps=0.0 q=-1.0 Lsize= 612kB time=00:01:00.02 bitrate=
83.5kbits/s
video:151kB audio:432kB subtitle:1 global headers:0kB muxing overhead
4.776069%
============================================================================
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2431>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list