[FFmpeg-user] Video streams in MPEG-TS missing bitrate information

Moritz Barsnick barsnick at gmx.net
Fri Oct 23 12:08:47 CEST 2015


Hi André,

On Fri, Oct 23, 2015 at 11:01:26 +0200, André Pankratz wrote:
> I am trying to encode a RTMP stream into a multi-variant MPEG-TS
> stream for further processing. It works almost perfectly, however all
> video streams lack bitrate information when reading, while audio
> bitrate is present.

> Stream info during encoding:
> Stream #0:0: Video: h264 (libx264), yuv420p, 640x360 [SAR 1:1 DAR 16:9], q=-1--1, 1000 kb/s, 25 fps, 90k tbn, 25 tbc
> 
> Stream info while reading:
> Stream #0:0[0x100]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
> 
> To create a valid MPEG-DASH stream later on, I need the bitrate of each video stream.

I think ffmpeg/ffprobe is just not capable of displaying the nominal
bitrate of the video streams in an MPEG-TS. It *seems* the info is
in it, because (*cough*) mediainfo shows it.

Whether that's a bug or shortcoming in ffmpeg I do not know.

Moritz


More information about the ffmpeg-user mailing list