yishengzhile 发表于 2014-2-24 18:25:17

ffmpeg+rtp传输

用rtp进行传输,不知道ffmpeg里面是否包含rtp呢还是需要移植jrtplib来进行开发?

孙悟空 发表于 2014-6-10 12:29:51

ffmpeg自己带rtp的
RTP muxer AVOptions:
-rtpflags          <flags>      E....... RTP muxer flags (default 0)
   latm                         E....... Use MP4A-LATM packetization instead of MPEG4-GENERIC for AAC
   rfc2190                      E....... Use RFC 2190 packetization instead of RFC 4629 for H.263
   skip_rtcp                  E....... Don't send RTCP sender reports
   h264_mode0                   E....... Use mode 0 for H264 in RTP
   send_bye                     E....... Send RTCP BYE packets when finishing
-payload_type      <int>      E....... Specify RTP payload type (from -1 to 127) (default -1)
-ssrc            <int>      E....... Stream identifier (from INT_MIN to INT_MAX) (default 0)
-cname             <string>   E....... CNAME to include in RTCP SR packets
-seq               <int>      E....... Starting sequence number (from -1 to 65535) (default -1)


页: [1]
查看完整版本: ffmpeg+rtp传输