When I use nvidia to decode a h264 stream,it’s not one in and one out(one input h264 frame, one output yuv frame). So cause high delay(about 200ms). When I using ffmpeg to decode the stream. It’s OK. There is no B-frame in the stream.
So Can I set anything to force on in and one out?
The output is:
...
Decode: nVideoBytes=87136, nFrameReturned=1, total=59
Timestamp: 58
Decode: nVideoBytes=0, nFrameReturned=5, total=64
Timestamp: 59
Timestamp: 60
Timestamp: 61
Timestamp: 62
Timestamp: 63
One packet in and one frame out: false
System:
Video_Codec_SDK:8.2.16
OS:win7 x64
GPU: GeForce 750Ti
driver:398.36
stream could be downloaded with: https://drive.google.com/file/d/10L_Qg3P7cTp9MuqqhB-dBLn2REzQbGSN/view?usp=sharing