On server execute (tested on Ubuntu)
gst-launch videotestsrc ! ffenc_mpeg4 ! rtpmp4vpay send-config=true ! udpsink host=<ip_of_vlc_PC> port=5000
On receiver-host create file test.sdp файл with following contents:
v=0
m=video 5000 RTP/AVP 96
c=IN IP4 127.0.0.1
a=rtpmap:96 MP4V-ES/90000
Launch VLC, choose 'Open file..' and select test.sdp
gst-launch videotestsrc ! ffenc_mpeg4 ! rtpmp4vpay send-config=true ! udpsink host=<ip_of_vlc_PC> port=5000
On receiver-host create file test.sdp файл with following contents:
v=0
m=video 5000 RTP/AVP 96
c=IN IP4 127.0.0.1
a=rtpmap:96 MP4V-ES/90000
Launch VLC, choose 'Open file..' and select test.sdp
No comments:
Post a Comment