As I said in this question, there were two (well, basically, three) reasons why MPlayer could not play my UDP stream.
. NVEnc , NALU, " ", . ( szatmary's SO, B - AVCC).
, NVEnc NALU . NALU , ( ) , , .. NVEnc , NALU ( ).
, , , NALU UDP. , , ( "0" , "1" ), NALU UDP-. ( , , UDP- .)
, IP- . , SO , . , , , NVEnc "" , encoder:
m_stEncodeConfig.encodeCodecConfig.h264Config.sliceMode = 1;
m_stEncodeConfig.encodeCodecConfig.h264Config.sliceModeData = 1500 - 28;
( m_stEncodeConfig
, NvEncInitializeEncoder()
, 1500 - MTU Ethernet-, 28 - IP4 UDP-).
, MPlayer , , . H.264, NALU , , .., , , . , .
: , NVEnc NALU . , :
m_stEncodeConfig.encodeCodecConfig.h264Config.repeatSPSPPS = 1;
NVEnc SAL/PPS NALU ( , , IDR).
! , .
EDIT:
, - UDP , . Mplayer , VLC, , . , , ( - ). , , .