[FFmpeg-user] DVB subtitle track is not found by ffmpeg

Lehtonen Tommi (KAVI) tommi.lehtonen at kavi.fi
Tue May 29 13:58:49 EEST 2018


Hello,

and thanks for the tip! It does sound liek it, but I tried with very high values and it still does not find those on/off subtitle tracks. Here is the output with verbose logging.

C:\Users\tommi.lehtonen>ffmpeg -loglevel verbose -analyzeduration 100G -probesize 100G -i rtsp://****yleteemaetfem/2018/05/24/TV_-_dvbcapture3_-_HM843C_-_yleteemaetfem_-_2018-05-24T180000Z03600.ts -filter_complex "[0:v][0:s]overlay[v]" -map "[v]" -map 0:a test.ts
ffmpeg version N-90638-g3b2fd96048 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.3.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
  libavutil      56. 13.100 / 56. 13.100
  libavcodec     58. 17.100 / 58. 17.100
  libavformat    58. 11.101 / 58. 11.101
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 14.100 /  7. 14.100
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[rtsp @ 000002450c5ea8c0] SDP:
v=0
o=- 16048489464968084759 16048489464968084759 IN IP4 86.50.25.44
s=Packet Ship RTSP session: tv/yleteemaetfem/2018/05/24/TV_-_dvbcapture3_-_HM843C_-_yleteemaetfem_-_2018-05-24T180000Z03600.ts
c=IN IP4 *******
t=0 0
a=range:npt=0-3600.57
a=control:rtsp://******/tv/yleteemaetfem/2018/05/24/TV_-_dvbcapture3_-_HM843C_-_yleteemaetfem_-_2018-05-24T180000Z03600.ts
b=AS:1163
m=video 0 udp 33

[udp @ 000002450c5ee2c0] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
[udp @ 000002450c613100] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
[h264 @ 000002450c63a300] Reinit context to 720x576, pix_fmt: yuv420p
Input #0, rtsp, from 'rtsp://*****/tv/yleteemaetfem/2018/05/24/TV_-_dvbcapture3_-_HM843C_-_yleteemaetfem_-_2018-05-24T180000Z03600.ts':
  Metadata:
    title           : Packet Ship RTSP session: tv/yleteemaetfem/2018/05/24/TV_-_dvbcapture3_-_HM843C_-_yleteemaetfem_-_2018-05-24T180000Z03600.ts
  Duration: 01:00:00.57, start: 53834.091367, bitrate: N/A
  Program 1
    Stream #0:0(fin): Audio: aac (HE-AAC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 67 kb/s
    Stream #0:1: Video: h264 (Main), 1 reference frame ([27][0][0][0] / 0x001B), yuv420p(top first, left), 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream specifier ':s' in filtergraph description [0:v][0:s]overlay[v] matches no streams.



-----Alkuperäinen viesti-----
Lähettäjä: ffmpeg-user [mailto:ffmpeg-user-bounces at ffmpeg.org] Puolesta Moritz Barsnick
Lähetetty: maanantai 28. toukokuuta 2018 16.09
Vastaanottaja: FFmpeg user discussions
Aihe: Re: [FFmpeg-user] DVB subtitle track is not found by ffmpeg

On Mon, May 28, 2018 at 11:32:52 +0000, Lehtonen Tommi (KAVI) wrote:
> Stream specifier ':s' in filtergraph description [0:v][0:s]overlay[v] matches no streams.
> 
> DVB stream is not found, because it is not present at the start of
> the file. This works in those files where the DVB track is present
> from the start, but some files it goes like on and off.

This recent thread was about dvd_subtitle, but I believe it also
applies to your case:

http://lists.ffmpeg.org/pipermail/ffmpeg-user/2018-March/039201.html

In short, you need to provide sufficiently large values of
"-analyzeduration" and "-probesize".

> Finnish
> Swedish

Nice. Or rather: jättebra.

Cheers,
Moritz
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list