Bitrate is N/A when using matroskamux in gstreamer

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) - Jetson Nano
• DeepStream Version - 6.0.1
• JetPack Version (valid for Jetson only) - 4.6.3
• TensorRT Version - 8.2
• NVIDIA GPU Driver Version (valid for GPU only) - 10.2
• Issue Type( questions, new requirements, bugs)


bitrate is N/A in stored video clips using matroskamux in splitmuxsink

• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
gst-launch-1.0 videotestsrc ! nvvideoconvert ! nvv4l2h264enc bitrate=100000 ! h264parse ! splitmuxsink location=‘v%d’ max-size-time=20000000000 muxer=matroskamux

• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)
how to solve that issue?


I can’t find any problem with the stream generated by the pipeline.

Why do you think the bitrate should be encoded in the video? There is no bitrate information in H264 spec H.264 : Advanced video coding for generic audiovisual services (itu.int)

gst-launch-1.0 videotestsrc ! nvvideoconvert ! nvv4l2h264enc bitrate=100000 ! h264parse ! splitmuxsink location=‘v%d’ max-size-time=20000000000 muxer=matroskamux

if I change matroskamux to mp4mux, bitrate value is showing, but not showing in matroskamux.

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks

According to the Matroska spec, there is no framerate information in the container header.

But MP4 container spec Movie Atoms (apple.com) contains the size of the samples Movie Atoms (apple.com) and
duration of the media Movie Atoms (apple.com) in the atoms’ headers, it is very easy to calculate bitrate without getting the whole media(video or audio) data.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.