[FFmpeg-trac] #1482(undetermined:new): FFMPEG fails to create a SRT file when extracting Subtitles
FFmpeg
trac at avcodec.org
Sat Jun 23 21:00:05 CEST 2012
#1482: FFMPEG fails to create a SRT file when extracting Subtitles
-------------------------------------+-------------------------------------
Reporter: ramitbhalla | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug: When extracing subtitles in SRT format FFMPEG creates
a file but it is an illegible format.
The link to the original file (too big to attach)
http://www.mediafire.com/?dnvw6m61mky8pea
Attaching the output file created
How to reproduce:
COMMAND:
ffmpeg -i srt.ts -an -vn -scodec copy -copyinkf -f srt sub.srt
{{{
ffmpeg version N-41578-ga5c1a0c Copyright (c) 2000-2012 the FFmpeg
developers
built on Jun 13 2012 22:34:53 with gcc 4.6.3
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-runtime-cpudetect --enable-avisynth --enab
le-bzlib --enable-frei0r --enable-libass --enable-libcelt --enable-
libopencore-amrnb --enable-libopencore-amrwb --enable
-libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-
libopenjpeg --enable-librtmp --enable-libschro
edinger --enable-libspeex --enable-libtheora --enable-libutvideo --enable-
libvo-aacenc --enable-libvo-amrwbenc --enable-
libvorbis --enable-libvpx --ena libavutil 51. 58.100 / 51. 58.100
libavcodec 54. 25.100 / 54. 25.100
libavformat 54. 6.101 / 54. 6.101
libavdevice 54. 0.100 / 54. 0.100
libavfilter 2. 79.100 / 2. 79.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
[mpegts @ 002dbd00] max_analyze_duration 5000000 reached at 5000000
[NULL @ 02b171c0] start time is not set in estimate_timings_from_pts
Input #0, mpegts, from 'srt.ts':
Duration: 00:01:38.16, start: 0.151678, bitrate: 4310 kb/s
Program 1
Stream #0:0[0x30]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002),
yuv420p, 720x576 [SAR 64:45 DAR 16:9], 15000 kb
/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x40](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
stereo, s16, 256 kb/s
Stream #0:2[0x50](eng): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
Output #0, srt, to 'sub.srt':
Metadata:
encoder : Lavf54.6.101
Stream #0:0(eng): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
Stream mapping:
Stream #0:2 -> #0:0 (copy)
Press [q] to stop, [?] for help
size= 113kB time=00:01:37.25 bitrate= 9.5kbits/s
video:0kB audio:0kB global headers:0kB muxing overhead inf%
Output file is empty, nothing was encoded (check -ss / -t / -frames
parameters if used)
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1482>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list