[FFmpeg-user] DVB subtitle track is not found by ffmpeg
Lehtonen Tommi (KAVI)
tommi.lehtonen at kavi.fi
Tue May 29 14:14:35 EEST 2018
I did, however, noticed that it finds them when I do transcoding without subtitles:
[mpegts @ 0000020e6007aa80] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts
Output #0, mpegts, to 'test.ts':
Metadata:
title : Packet Ship RTSP session: tv/yleteemaetfem/2018/05/24/TV_-_dvbcapture3_-_HM843C_-_yleteemaetfem_-_2018-05-24T180000Z03600.ts
encoder : Lavf58.11.101
Stream #0:0: Video: mpeg2video (Main), 1 reference frame, yuv420p, 720x576 [SAR 64:45 DAR 16:9], q=2-31, 200 kb/s, 25 fps, 90k tbn, 25 tbc (default)
Metadata:
encoder : Lavc58.17.100 mpeg2video
Side data:
cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
Stream #0:1(fin): Audio: mp2, 48000 Hz, stereo, s16, delay 481, 384 kb/s
Metadata:
encoder : Lavc58.17.100 mp2
[rtsp @ 0000020e5fffa740] New subtitle stream 0:2 at pos:-210 and DTS:53853.7ss/s speed=1.11x
[rtsp @ 0000020e5fffa740] New audio stream 0:4 at pos:-1 and DTS:NOPTSs1.8kbits/s speed=1.09x
frame= 983 fps= 25 q=31.0 size= 3584kB time=00:00:40.49 bitrate= 725.1kbits/s speed=1.05x
-Tommi
-----Alkuperäinen viesti-----
Lähettäjä: ffmpeg-user [mailto:ffmpeg-user-bounces at ffmpeg.org] Puolesta Lehtonen Tommi (KAVI)
Lähetetty: tiistai 29. toukokuuta 2018 13.59
Vastaanottaja: FFmpeg user questions
Aihe: Re: [FFmpeg-user] DVB subtitle track is not found by ffmpeg
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".
_______________________________________________
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