Discussion:
[Libav-user] SPS decoding question
Mark Nelson
2018-04-19 18:32:21 UTC
Permalink
Can anyone give a good explanation of why decode_hrd_parameters() in
libavcodec/h264_ps.c passes over the value of bit_rate_value_minus1 in the
HRD, tossing it and not making room in the SPS structure for it?

There are times (I think) when this might be the only place one can find
the bit rate for a video stream. So, for example, if I extract an H.264
stream from a TS stream and view it in isolation, ffprobe can tell me a lot
about it, but not the bit rate - it needs to get that from the PMT.

Is this just something that nobody thinks is that important, or am I wrong
about how that value can be used?
Andrew Grace
2018-10-02 18:13:15 UTC
Permalink
Can anyone give a good explanation of why decode_hrd_parameters() in libavcodec/h264_ps.c passes over the value of bit_rate_value_minus1 in the HRD, tossing it and not making room in the SPS structure for it?
There are times (I think) when this might be the only place one can find the bit rate for a video stream. So, for example, if I extract an H.264 stream from a TS stream and view it in isolation, ffprobe can tell me a lot about it, but not the bit rate - it needs to get that from the PMT.
Is this just something that nobody thinks is that important, or am I wrong about how that value can be used?
------------------------------------------------------------------------------
Libav-user mailing list
http://ffmpeg.org/mailman/listinfo/libav-user
Loading...