Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#4826 closed defect (fixed)

Sample request "Subtitles with data type ..." is extremely spammy

Reported by: barsnick Owned by:
Priority: minor Component: avcodec
Version: git-master Keywords: h264
Cc: bbutscheidt@yahoo.de Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Summary of the bug:

When decoding/remuxing an MPEG-TS (captured from DVB-S2 with a PVR), the message:

[NULL @ 0xb8cbbe0] Subtitles with data type 0x06 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[NULL @ 0xb8cbbe0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)

is spamming the console and making it useless for reading any other information.

This message was introduced in commit f9ab4fe1f7c1e9d410ca5ee2c9ff8d2892aad068 (with a subsequent edit in commit 61d8fa2a1ab76f0f3ac1442faa104ace4b29decc).

How to reproduce:

barsnick@sunshine:/usr/new/tools/video/ffmpeg > ffmpeg -ss 00:05:00 -i /home/barsnick/Downloads/PVR/20150831\ 2212\ -\ ZDF\ HD\ -\ Iron\ Man\ 2.ts -map 0:v -map 0:4 -t 0.05 -c copy ~/tmp/Iron\ Man\ 2.mkv -y
ffmpeg version N-74791-g95010d4 Copyright (c) 2000-2015 the FFmpeg developers
  built with icc (ICC) 14.0.3 20140422
  configuration: --prefix=/usr/new/tools/video/install/ffmpeg/2015-09-02 --cc=icc --cxx=icpc --enable-gpl --enable-version3 --enable-nonfree --disable-shared --enable-gnutls --enable-libcdio --enable-libfreetype --enable-libx264 --enable-libvpx --enable-libmp3lame --enable-openal --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libass --enable-libv4l2 --enable-libvidstab --enable-libfdk-aac --enable-libsmbclient --enable-libquvi --enable-libzvbi --enable-libzmq
  libavutil      54. 31.100 / 54. 31.100
  libavcodec     56. 60.100 / 56. 60.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 40.101 /  5. 40.101
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] decode_slice_header error
[h264 @ 0xb039be0] no frame!
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] decode_slice_header error
[h264 @ 0xb039be0] no frame!
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] decode_slice_header error
[h264 @ 0xb039be0] no frame!
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] decode_slice_header error
[h264 @ 0xb039be0] no frame!
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] decode_slice_header error
[h264 @ 0xb039be0] no frame!
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] decode_slice_header error
[h264 @ 0xb039be0] no frame!
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] decode_slice_header error
[h264 @ 0xb039be0] no frame!
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] decode_slice_header error
[h264 @ 0xb039be0] no frame!
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] decode_slice_header error
[h264 @ 0xb039be0] no frame!
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] decode_slice_header error
[h264 @ 0xb039be0] no frame!
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] decode_slice_header error
[h264 @ 0xb039be0] no frame!
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] decode_slice_header error
[h264 @ 0xb039be0] no frame!
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] decode_slice_header error
[h264 @ 0xb039be0] no frame!
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] decode_slice_header error
[h264 @ 0xb039be0] no frame!
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] decode_slice_header error
[h264 @ 0xb039be0] no frame!
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] decode_slice_header error
[h264 @ 0xb039be0] no frame!
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] decode_slice_header error
[h264 @ 0xb039be0] no frame!
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] decode_slice_header error
[h264 @ 0xb039be0] no frame!
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] decode_slice_header error
[h264 @ 0xb039be0] no frame!
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] decode_slice_header error
[h264 @ 0xb039be0] no frame!
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] decode_slice_header error
[h264 @ 0xb039be0] no frame!
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] decode_slice_header error
[h264 @ 0xb039be0] no frame!
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] decode_slice_header error
[h264 @ 0xb039be0] no frame!
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] decode_slice_header error
[h264 @ 0xb039be0] no frame!
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] decode_slice_header error
[h264 @ 0xb039be0] no frame!
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] decode_slice_header error
[h264 @ 0xb039be0] no frame!
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] non-existing SPS 0 referenced in buffering period
[h264 @ 0xb039be0] non-existing PPS 0 referenced
[h264 @ 0xb039be0] decode_slice_header error
[h264 @ 0xb039be0] no frame!
[h264 @ 0xb039be0] Subtitles with data type 0x06 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[h264 @ 0xb039be0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
[ *** ... 120 occurrences stripped *** ]
[h264 @ 0xb039be0] Subtitles with data type 0x06 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[h264 @ 0xb039be0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
[NULL @ 0xb03d3c0] start time for stream 6 is not set in estimate_timings_from_pts
[NULL @ 0xb045f00] start time for stream 7 is not set in estimate_timings_from_pts
[mpegts @ 0xb028400] PES packet size mismatch
    Last message repeated 3 times
[mpegts @ 0xb028400] Could not find codec parameters for stream 8 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[NULL @ 0xb039be0] Subtitles with data type 0x06 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[NULL @ 0xb039be0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
[NULL @ 0xb039be0] Subtitles with data type 0x06 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[NULL @ 0xb039be0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
[NULL @ 0xb039be0] Subtitles with data type 0x06 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[NULL @ 0xb039be0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
[mpegts @ 0xb028400] PES packet size mismatch
    Last message repeated 1 times
[NULL @ 0xb039be0] Subtitles with data type 0x06 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[NULL @ 0xb039be0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
[mpegts @ 0xb028400] PES packet size mismatch
[NULL @ 0xb039be0] Subtitles with data type 0x06 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[NULL @ 0xb039be0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
[NULL @ 0xb039be0] Subtitles with data type 0x06 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[NULL @ 0xb039be0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
[NULL @ 0xb039be0] Subtitles with data type 0x06 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[NULL @ 0xb039be0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
[NULL @ 0xb039be0] Subtitles with data type 0x06 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[NULL @ 0xb039be0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
[NULL @ 0xb039be0] Subtitles with data type 0x06 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[NULL @ 0xb039be0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
[NULL @ 0xb039be0] Subtitles with data type 0x06 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[NULL @ 0xb039be0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
[NULL @ 0xb039be0] Subtitles with data type 0x06 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[NULL @ 0xb039be0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
[NULL @ 0xb039be0] Subtitles with data type 0x06 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[NULL @ 0xb039be0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
[NULL @ 0xb039be0] Subtitles with data type 0x06 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[NULL @ 0xb039be0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
[NULL @ 0xb039be0] Subtitles with data type 0x06 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[NULL @ 0xb039be0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
Input #0, mpegts, from '/home/barsnick/Downloads/PVR/20150831 2212 - ZDF HD - Iron Man 2.ts':
  Duration: 02:00:00.21, start: 41104.755656, bitrate: 13972 kb/s
  Program 11110
    Stream #0:0[0x17de]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
    Stream #0:1[0x17e8](deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 256 kb/s
    Stream #0:2[0x17e9](mis): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 192 kb/s
    Stream #0:3[0x17eb](mul): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 192 kb/s
    Stream #0:4[0x17ea](deu): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 448 kb/s
    Stream #0:5[0x17f2](deu): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006), 492x250
    Stream #0:6[0x17f3](deu): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) (hearing impaired)
    Stream #0:7[0x17f4]: Data: bin_data ([6][0][0][0] / 0x0006)
    Stream #0:8[0x181a]: Unknown: none ([5][0][0][0] / 0x0005)
  Program 11130
  Program 11140
[matroska @ 0xb0974a0] Codec for stream 0 does not use global headers but container format requires global headers
[matroska @ 0xb0974a0] Codec for stream 1 does not use global headers but container format requires global headers
Output #0, matroska, to '/home/barsnick/tmp/Iron Man 2.mkv':
  Metadata:
    encoder         : Lavf56.40.101
    Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 50 fps, 50 tbr, 1k tbn, 90k tbc
    Stream #0:1(deu): Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, 448 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:4 -> #0:1 (copy)
Press [q] to stop, [?] for help
[NULL @ 0xb039be0] Subtitles with data type 0x06 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[NULL @ 0xb039be0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
[ *** ... 34 occurrences stripped *** ]
[NULL @ 0xb039be0] Subtitles with data type 0x06 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[NULL @ 0xb039be0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
frame=    0 fps=0.0 q=-1.0 Lsize=      32kB time=00:00:00.06 bitrate=3850.7kbits/s
video:0kB audio:32kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.963790%

Note two big sections where I stripped 120 and 34 repetitions, respectively. And this is just 0.05 seconds of material.

Since patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker, I am not attaching a patch. :-P What does work fine for me is wrapping the offending code:
http://git.videolan.org/?p=ffmpeg.git;a=blob;f=libavcodec/h264_sei.c;h=fbb5576b9148710fa888e0759806aa780ce14dfe;hb=HEAD#l185

in a block with a static "boolean" variable, as other sections in libavcodec do:

        static int requested;
        if (!requested) {
            avpriv_request_sample[...]
            requested = 1;
        }

Follow-up question:
Do you still require a sample? I assume this is a very common DVB-S2 type stream.

Change History (6)

comment:1 Changed 4 years ago by heleppkes

The warning probably doesn't make sense at all, since any other values are not actually subtitles.

3 = DTV CC
4 = SCTE EIA-608
5 = SCTE pulse-amplitude modulated luma samples
6 = EBU bar data

Should probably just strip it.

comment:2 in reply to: ↑ description ; follow-up: Changed 4 years ago by cehoyos

  • Keywords mpegts added; avpriv_request_sample removed
  • Priority changed from normal to minor

Replying to barsnick:

Do you still require a sample?

Sorry, but why do you think we ask for a sample?
I would most likely have removed the warning if I had seen a sample.

comment:3 in reply to: ↑ 2 Changed 4 years ago by barsnick

Replying to cehoyos:

I would most likely have removed the warning if I had seen a sample.

Okay, done. Thanks.

comment:4 follow-up: Changed 4 years ago by bernd_b

  • Cc bbutscheidt@yahoo.de added

I took the freedom to upload another sample, just in case.


/mnt/sda7/ffmpeg_neu/ffmpeg-git/ffmpeg -i 4826_sample_subtitle_type_not_implemented.ts -codec copy sample.mp4
ffmpeg version N-74990-gfb13513 Copyright (c) 2000-2015 the FFmpeg developers                                                                                                                                
  built with gcc 5.2.0 (GCC)                                                                                                                                                                                 
  configuration: --enable-nvenc --enable-libzvbi --enable-gpl --enable-libx264 --enable-nonfree --enable-libmp3lame --enable-libfaac --enable-version3 --enable-pic --enable-postproc --prefix=/mnt/sda7/ffmpeg_neu/ffmpeg_bin                                                                                                                                                                                            
  libavutil      55.  0.100 / 55.  0.100                                                                                                                                                                     
  libavcodec     57.  0.100 / 57.  0.100                                                                                                                                                                     
  libavformat    57.  0.100 / 57.  0.100                                                                                                                                                                     
  libavdevice    57.  0.100 / 57.  0.100                                                                                                                                                                     
  libavfilter     6.  0.100 /  6.  0.100                                                                                                                                                                     
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.100 /  2.  0.100
  libpostproc    54.  0.100 / 54.  0.100
[h264 @ 0x7f11511b9920] Subtitles with data type 0x06 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.                                                                                                                                                                                       
[h264 @ 0x7f11511b9920] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)                          
[h264 @ 0x7f11511b9920] Subtitles with data type 0x06 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.                                                                                                                                                                                       

.
.
.

                                                                                              

[h264 @ 0x7f11511b9920] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
[h264 @ 0x7f11511b9920] Subtitles with data type 0x06 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[h264 @ 0x7f11511b9920] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
Input #0, mpegts, from '4826_sample_subtitle_type_not_implemented.ts':
  Duration: 00:00:30.54, start: 0.007100, bitrate: 12745 kb/s
  Program 1 
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
    Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
    Stream #0:1[0x101](deu): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, fltp, 448 kb/s


.
.
.


[NULL @ 0x7f11511b9920] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
[NULL @ 0x7f11511b9920] Subtitles with data type 0x06 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[NULL @ 0x7f11511b9920] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
[NULL @ 0x7f11511b9920] Subtitles with data type 0x06 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[NULL @ 0x7f11511b9920] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
[NULL @ 0x7f11511b9920] Subtitles with data type 0x06 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[NULL @ 0x7f11511b9920] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
[NULL @ 0x7f11511b9920] missing picture in access unit with size 6
frame= 1526 fps=0.0 q=-1.0 Lsize=   43895kB time=00:00:30.52 bitrate=11778.9kbits/s    
video:42189kB audio:1670kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.081447%

[bernd_b@amd64-archlinux 2015-07-19.20.12.7-0.rec]$ wput 4826_sample_subtitle_type_not_implemented.ts ftp://upload.ffmpeg.org/incoming/
--14:25:24-- `4826_sample_subtitle_type_not_implemented.ts'
    => ftp://anonymous:xxxxx@138.195.131.196:21/incoming/4826_sample_subtitle_type_not_implemented.ts
Connecting to 138.195.131.196:21... connected! 
Logging in as anonymous ... Logged in!
Length: 48,652,896
99% [================================================================================================================================================================>] 48,649,216       100.7K/s ETA    00s
14:33:18 (4826_sample_subtitle_type_not_implemented.ts) - `100.3K/s' [48652896]

FINISHED --14:33:18--

comment:5 Changed 4 years ago by cehoyos

  • Keywords h264 added; mpegts removed
  • Reproduced by developer set
  • Resolution set to fixed
  • Status changed from new to closed

Fixed by Michael in 91ca8105dde93e8f7500abba36f87629975ba1ab - thank you for the samples!

comment:6 in reply to: ↑ 4 Changed 4 years ago by cehoyos

Replying to bernd_b:

I took the freedom to upload another sample, just in case.

For future tickets: Please avoid uploading samples made with FFmpeg.

Note: See TracTickets for help on using tickets.