[AppleScript] 纯文本查看 复制代码 liuqideMacBook-Pro:dash liuqi$ ./ffmpeg -scodec dvdsub -f dsub -i outpu.dvdsub
ffmpeg version N-96016-gbc35cef78d Copyright (c) 2000-2019 the FFmpeg developers
built with Apple LLVM version 10.0.0 (clang-1000.11.45.5)
configuration: --enable-fontconfig --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libspeex --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-version3 --enable-nonfree --enable-videotoolbox --enable-libxml2 --samples=fate-suite/ --enable-libopencv --enable-libopus
libavutil 56. 36.101 / 56. 36.101
libavcodec 58. 64.101 / 58. 64.101
libavformat 58. 35.101 / 58. 35.101
libavdevice 58. 9.101 / 58. 9.101
libavfilter 7. 68.100 / 7. 68.100
libswscale 5. 6.100 / 5. 6.100
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100
Input #0, dsub, from 'outpu.dvdsub':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Subtitle: dvd_subtitle
At least one output file must be specified
liuqideMacBook-Pro:dash liuqi$
liuqideMacBook-Pro:dash liuqi$ vim ./libavformat/rawdec.c
liuqideMacBook-Pro:dash liuqi$ ./ffmpeg -i ~/Downloads/05
0525胶片更新.key 05onlysub.mkv
liuqideMacBook-Pro:dash liuqi$ ./ffmpeg -i ~/Downloads/05onlysub.mkv
ffmpeg version N-96016-gbc35cef78d Copyright (c) 2000-2019 the FFmpeg developers
built with Apple LLVM version 10.0.0 (clang-1000.11.45.5)
configuration: --enable-fontconfig --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libspeex --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-version3 --enable-nonfree --enable-videotoolbox --enable-libxml2 --samples=fate-suite/ --enable-libopencv --enable-libopus
libavutil 56. 36.101 / 56. 36.101
libavcodec 58. 64.101 / 58. 64.101
libavformat 58. 35.101 / 58. 35.101
libavdevice 58. 9.101 / 58. 9.101
libavfilter 7. 68.100 / 7. 68.100
libswscale 5. 6.100 / 5. 6.100
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100
Input #0, matroska,webm, from '/Users/liuqi/Downloads/05onlysub.mkv':
Metadata:
ENCODER : Lavf58.25.100
Duration: 00:03:19.82, bitrate: 5 kb/s
Stream #0:0(chi): Subtitle: dvd_subtitle (default)
Metadata:
BPS : 6004
BPS-eng : 6004
DURATION-eng : 00:20:43.506000000
NUMBER_OF_FRAMES: 825
NUMBER_OF_FRAMES-eng: 825
NUMBER_OF_BYTES : 933285
NUMBER_OF_BYTES-eng: 933285
_STATISTICS_WRITING_APP: mkvmerge v10.0.0 ('To Drown In You') 64bit
_STATISTICS_WRITING_APP-eng: mkvmerge v10.0.0 ('To Drown In You') 64bit
_STATISTICS_WRITING_DATE_UTC: 2017-04-23 13:40:44
_STATISTICS_WRITING_DATE_UTC-eng: 2017-04-23 13:40:44
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
ENCODER : Lavc58.42.104 dvdsub
DURATION : 00:03:19.821000000
At least one output file must be specified
liuqideMacBook-Pro:dash liuqi$
要支持dvdsub的话,得稍微改改代码才可以。 |