[FFmpeg-trac] #4280(ffmpeg:open): bug with selecting subtitle. ffmpeg selected video stream instead of subtitle.
FFmpeg
trac at avcodec.org
Wed May 27 00:00:22 CEST 2015
#4280: bug with selecting subtitle. ffmpeg selected video stream instead of
subtitle.
------------------------------------+----------------------------------
Reporter: dinhka | Owner:
Type: defect | Status: open
Priority: normal | Component: ffmpeg
Version: git-master | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
------------------------------------+----------------------------------
Changes (by cehoyos):
* status: new => open
* version: unspecified => git-master
* reproduced: 0 => 1
Comment:
With the sample from ticket #3224 in http://samples.ffmpeg.org/ffmpeg-
bugs/trac/ticket3224/:
The following work as expected:
{{{
$ ffmpeg -i HD_subs_1080_win_33a_cut3.ts -filter_complex [0:0][0:3]overlay
-an -qscale 2 -t 3 out1.avi
}}}
{{{
$ ffmpeg -i HD_subs_1080_win_33a_cut3.ts -filter_complex [0:v][0:s]overlay
-an -qscale 2 -t 3 out2.avi
}}}
For the following command line, a video stream instead of a subtitle
stream is chosen:
{{{
$ ffmpeg -i HD_subs_1080_win_33a_cut3.ts -filter_complex
[0:p:37060:v][0:p:37060:s]overlay -an -qscale 2 -t 3 out3.avi
ffmpeg version N-72360-g816005d Copyright (c) 2000-2015 the FFmpeg
developers
built with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl
libavutil 54. 25.100 / 54. 25.100
libavcodec 56. 41.100 / 56. 41.100
libavformat 56. 33.101 / 56. 33.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 16.101 / 5. 16.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
[h264 @ 0x26281e0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x26281e0] non-existing PPS 0 referenced
[h264 @ 0x26281e0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x26281e0] non-existing PPS 0 referenced
[h264 @ 0x26281e0] decode_slice_header error
[h264 @ 0x26281e0] non-existing PPS 0 referenced
[h264 @ 0x26281e0] decode_slice_header error
[h264 @ 0x26281e0] non-existing PPS 0 referenced
[h264 @ 0x26281e0] decode_slice_header error
[h264 @ 0x26281e0] non-existing PPS 0 referenced
[h264 @ 0x26281e0] decode_slice_header error
[h264 @ 0x26281e0] non-existing PPS 0 referenced
[h264 @ 0x26281e0] decode_slice_header error
[h264 @ 0x26281e0] non-existing PPS 0 referenced
[h264 @ 0x26281e0] decode_slice_header error
[h264 @ 0x26281e0] no frame!
...
[h264 @ 0x26281e0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x26281e0] non-existing PPS 0 referenced
[h264 @ 0x26281e0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x26281e0] non-existing PPS 0 referenced
[h264 @ 0x26281e0] decode_slice_header error
[h264 @ 0x26281e0] non-existing PPS 0 referenced
[h264 @ 0x26281e0] decode_slice_header error
[h264 @ 0x26281e0] non-existing PPS 0 referenced
[h264 @ 0x26281e0] decode_slice_header error
[h264 @ 0x26281e0] non-existing PPS 0 referenced
[h264 @ 0x26281e0] decode_slice_header error
[h264 @ 0x26281e0] non-existing PPS 0 referenced
[h264 @ 0x26281e0] decode_slice_header error
[h264 @ 0x26281e0] non-existing PPS 0 referenced
[h264 @ 0x26281e0] decode_slice_header error
[h264 @ 0x26281e0] no frame!
[mpegts @ 0x26243c0] PES packet size mismatch
Last message repeated 1 times
Input #0, mpegts, from 'HD_subs_1080_win_33a_cut3.ts':
Duration: 00:00:04.10, start: 56922.964711, bitrate: 13450 kb/s
Program 37060
Metadata:
service_name : BBC HD KW
service_provider:
Stream #0:0[0x5de]: Video: h264 (High) ([27][0][0][0] / 0x001B),
yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x5e1](eng): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz,
5.1(side), fltp, 384 kb/s
Stream #0:2[0x5e8](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
stereo, s16p, 256 kb/s
Stream #0:3[0x400](eng): Subtitle: dvb_subtitle ([6][0][0][0] /
0x0006)
Please use -q:a or -q:v, -qscale is ambiguous
Output #0, avi, to 'out.avi':
Metadata:
ISFT : Lavf56.33.101
Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 1920x1080 [SAR
1:1 DAR 16:9], q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc (default)
Metadata:
encoder : Lavc56.41.100 mpeg4
Stream mapping:
Stream #0:0 (h264) -> overlay:main
Stream #0:0 (h264) -> overlay:overlay
overlay -> Stream #0:0 (mpeg4)
Press [q] to stop, [?] for help
frame= 65 fps= 59 q=2.0 Lsize= 6302kB time=00:00:03.00
bitrate=17209.1kbits/s
video:6295kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.117767%
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4280#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list