Does Video Encoders support B frame for H.265 on Tx1?

Does Video Encoders support B frame for H.265 on Tx1?

as NVIDIA Tegra Linux Driver Package Development Guide 28.2 Release shows:
H.265
I420, NVMM:I420, NVMM:NV12
3840 x 2160 at
30 fps
Up to 100 Mbps
Supported features include:
• control-rate
• Bitrate
• Peak-bitrate
• Iframeinterval
• SliceIntrarefreshEnable
• Sliceintrarefreshinterval
• Bit-Packetization
• VBV-Size
• Temporal-tradeoff
• EnableMVBufferMeta
• qp-range
• MeasureEncoderLatency
• EnableTwopassCBR
• Preset-level
• EnableStrimgentBitrate
• Insert-SPS-PPS
• Num-B-Frames
• Slice-Header-Spacing
• Profile
• insert-aud
• insert-vui
• Force-IDR

but, how could I test it?

nvidia@tegra-ubuntu:~/tegra_multimedia_api/samples/01_video_encode$ ./video_encode ../00_video_decode/1920x1080.yuv 1920 1080 H265 ./1080Pb.h265 -nbf 2
Failed to query video capabilities: Inappropriate ioctl for device
NvMMLiteOpen : Block : BlockType = 8 
===== MSENC =====
NvMMLiteBlockCreate : Block : BlockType = 8 
892744264
842091865
[ERROR] (NvV4l2Element.cpp:186) <enc0> Error setting controls: Invalid argument
[ERROR] (NvVideoEncoder.cpp:716) <enc0> Setting encoder number of B frames to 2: failed: Invalid argument
Could not set number of B Frames
App run failed

as I run the MMAPI samples failed

Encoding B frames is not supported in H265 HW encoder.

OK!thank you!
what about TX2?

Neither on TX1 nor on TX2. It is h264 only.