ubuntu 編譯sdl
wget http://libsdl.org/release/SDL-1.2.15.tar.gz
tar zxvf SDL-1.2.15.tar.gz
cd SDL-1.2.15
./configure --prefix=/usr
make -j16
sudo make install
如此才能在ubuntu上順利編譯出ffplayer
OMXCoreMgr::OMX_INIT()
OMX_ERRORTYE OMX_Init()virtual android::status_t android::OMXPlayer::initCheck
打開
rtsp_read_header
ff_rtsp_connect
ffurl_open
ffurl_alloc
url_alloc_for_protocol
tcp_open
ff_rtsp_make_setup_request
ffurl_open
ffurl_alloc
url_alloc_for_protocol
ffurl_connect
rtp_open
build_udp_url
url_add_option
udp_open_uri_udp://192.168.10.101?localport=5000
ff_udp_set_remote_url
udp_set_url
_____socket
bind_port_5000
udp_port
5000
ff_udp_get_local_port
build_udp_url
url_add_option
ffurl_open
======================
接收
rtsp_read_packet
ff_rtsp_fetch_packet
ff_rtp_queued_packet_time
ff_rtp_queued_packet_time
udp_read_packet
ffurl_get_file_handle
============================
解碼
ccc_rtp_parse_packet2
rtp_parse_one_packet
rtp_parse_packet_internal
rtp_parse_packet_in_sequence
h264_handle_packet
finalize_packet
has_next_packet