I'm streaming raw h264 using raspivid on Raspberry Pi 3 and PiCam v1 . However, even I set the h264 profile to main or high, stream only contains I and P frames. Here is the command that I use for starting stream over TCP;

raspivid --verbose --framerate 10 -b 1000000 --stats --intra 50 --inline --nopreview  -t 0 -l --output tcp://

When I parse the byte stream, I only see SPS,PPS,I-frames and P-frames. How can I make raspivid to add B-frames also?

1 Answer 1


Regarding the official answer on Raspberry Pi forum, it is not possible to include B-Frames into h264 stream since hardware encoder doesn't support it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.