[FFmpeg-trac] #6105(undetermined:new): Closed captions not exported from mpeg2video
FFmpeg
trac at avcodec.org
Fri Jan 27 10:36:17 EET 2017
#6105: Closed captions not exported from mpeg2video
-------------------------------------+-------------------------------------
Reporter: cehoyos | Owner:
Type: defect | Status: new
Priority: normal | Component:
Version: git- | undetermined
master | Keywords: cc
Blocked By: | Blocking:
Reproduced by developer: 0 | Analyzed by developer: 0
-------------------------------------+-------------------------------------
http://ffmpeg.org/pipermail/ffmpeg-user/2017-January/035033.html
A user provided a transport stream that contains mpeg2video with Closed
Captions that can be shown with vlc. Trying to export them results in an
empty output file.
{{{
$ ffmpeg -i output.ts
ffmpeg version N-83255-gfca3083 Copyright (c) 2000-2017 the FFmpeg
developers
built with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl
libavutil 55. 45.100 / 55. 45.100
libavcodec 57. 75.100 / 57. 75.100
libavformat 57. 65.100 / 57. 65.100
libavdevice 57. 2.100 / 57. 2.100
libavfilter 6. 71.100 / 6. 71.100
libswscale 4. 3.101 / 4. 3.101
libswresample 2. 4.100 / 2. 4.100
libpostproc 54. 2.100 / 54. 2.100
Input #0, mpegts, from 'output.ts':
Duration: 00:05:00.26, start: 1.435089, bitrate: 3998 kb/s
Program 1
Metadata:
service_name : Service01
service_provider: FFmpeg
Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002),
yuv420p(tv, top first), 720x480 [SAR 8:9 DAR 4:3], Closed Captions, 3463
kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
Stream #0:1[0x101](tvj): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
stereo, s16p, 192 kb/s
At least one output file must be specified
}}}
{{{
$ ffmpeg -f lavfi -i "movie=out[out+subcc]" -map s out.srt
ffmpeg version N-83255-gfca3083 Copyright (c) 2000-2017 the FFmpeg
developers
built with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl
libavutil 55. 45.100 / 55. 45.100
libavcodec 57. 75.100 / 57. 75.100
libavformat 57. 65.100 / 57. 65.100
libavdevice 57. 2.100 / 57. 2.100
libavfilter 6. 71.100 / 6. 71.100
libswscale 4. 3.101 / 4. 3.101
libswresample 2. 4.100 / 2. 4.100
libpostproc 54. 2.100 / 54. 2.100
[mpegvideo @ 0x2515560] Estimating duration from bitrate, this may be
inaccurate
Input #0, lavfi, from 'movie=out[out+subcc]':
Duration: N/A, start: 0.100100, bitrate: N/A
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 720x480
[SAR 1:1 DAR 3:2], 29.97 fps, 29.97 tbr, 1200k tbn, 1200k tbc
Stream #0:1: Subtitle: eia_608
Output #0, srt, to 'out.srt':
Metadata:
encoder : Lavf57.65.100
Stream #0:0: Subtitle: subrip (srt)
Metadata:
encoder : Lavc57.75.100 srt
Stream mapping:
Stream #0:1 -> #0:0 (eia_608 (cc_dec) -> subrip (srt))
Press [q] to stop, [?] for help
[mpeg2video @ 0x2517000] ac-tex damaged at 3 6peed= 0x
[mpeg2video @ 0x2517000] Warning MVs not available
[mpeg2video @ 0x2517000] concealing 1080 DC, 1080 AC, 1080 MV errors in P
frame
size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: unknown
Output file is empty, nothing was encoded (check -ss / -t / -frames
parameters if used)
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6105>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list