[FFmpeg-trac] #11430(ffmpeg:new): ffmpeg 7.x There are no speed and time statistics if there are data streams in the SRT stream

FFmpeg trac at avcodec.org
Fri Jan 24 16:14:16 EET 2025


#11430: ffmpeg 7.x There are no speed and time statistics if there are data streams
in the SRT stream
----------------------------------------+----------------------------------
             Reporter:  Denis Filippov  |                     Type:  defect
               Status:  new             |                 Priority:  normal
            Component:  ffmpeg          |                  Version:  7.1
             Keywords:                  |               Blocked By:
             Blocking:                  |  Reproduced by developer:  0
Analyzed by developer:  0               |
----------------------------------------+----------------------------------
 Summary of the bug:
 How to reproduce:
 The stream from the TV-channel contains scte-35 tags and subtitles as a
 teletext. If you use the command for such a stream:
 {{{
 % ffmpeg -hide_banner -loglevel fatal -stats -i
 "srt://94.140.220.80:12108?streamid=571570#e05214d" -map 0:a -map 0:v -map
 "0:d?" -c:v h264 -c:a aac -f null -
 ffmpeg version 7.1
 built on Ubuntu 22.04
 }}}
 The result of statistic:
 {{{
 % frame=  393 fps= 34 q=13.0 size=N/A time=N/A bitrate=N/A speed=N/A
 }}}
 Stream data:
 {{{
 % Input #0, mpegts, from
 'srt://94.140.220.80:12108?streamid=571570#e05214d':
   Duration: N/A, start: 30269.132444, bitrate: N/A
   Program 778
     Metadata:
       service_name    : HD_H264
       service_provider: 78
   Stream #0:0[0x2a6]: Video: h264 (High) ([27][0][0][0] / 0x001B),
 yuv420p(tv, top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k
 tbn
   Stream #0:1[0xd2]: Audio: mp2 (mp3float) ([3][0][0][0] / 0x0003), 48000
 Hz, stereo, fltp, 128 kb/s
   Stream #0:2[0x23](rus,rus): Subtitle: dvb_teletext ([6][0][0][0] /
 0x0006)
   Stream #0:3[0x20]: Data: scte_35
 Stream mapping:
   Stream #0:1 -> #0:0 (mp2 (native) -> aac (native))
   Stream #0:0 -> #0:1 (h264 (native) -> h264 (libx264))
 Press [q] to stop, [?] for help
 }}}
 Without -map "0:d?" everything all right, result:
 {{{
 % frame=  361 fps= 34 q=20.0 size=N/A time=00:00:15.48 bitrate=N/A
 speed=1.46x
 }}}
 The problem is exclusively on versions starting from 7.0
 Similarly, there are no problems with ffmpeg versions 5.x and 6.x.
 I have tried all available Dockers as well as the local build on linux and
 macos - the result is similar: versions starting from 7 do not provide
 statistics with datastreams.

 I can run the verification stream on demand. The stream is limited to 1
 connection.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11430>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list