rtp

webrtc vp8与h264 sdp文件解读

杀马特。学长 韩版系。学妹 提交于 2019-12-01 11:47:49
参考地址: https://blog.csdn.net/zhangjikuan/article/details/27367437 , https://www.cnblogs.com/idignew/p/7249056.html vp8 sdp描述文件 v=0 o=- 0 0 IN IP4 127.0.0.1 s=- c=IN IP4 127.0.0.1 t=0 0 m=audio 5006 RTP/AVP 111 a=rtcp-mux a=rtpmap:111 opus/48000/2 a=fmtp:111 minptime=10;useinbandfec=1 m=video 5004 RTP/AVP 96 a=rtcp-mux a=rtpmap:96 VP8/90000 1、v=0 sdp的版本号 2、o=<username> <sessionid> <version> <network type> <address type> <address> / o=<用户名> <session id> <会话版本> <网络类型><地址类型> <地址>,6部分组成,对会话的发起者进行了描述 <username>是用户的登录名。如果主机不支持<username>,则为 ”-”; <session id>:是一个数字串。在整个会话中,必须是唯一的,建议使用NTP(Network Time

Kurento Media WebRTC to RTP

亡梦爱人 提交于 2019-12-01 10:16:24
问题 I am using kurento's master git to make a WebRTC to RTP bridge. MediaPipeline pipeline = kurento.createMediaPipeline(); WebRtcEndpoint webRtcEndpoint = new WebRtcEndpoint.Builder(pipeline).build(); HttpGetEndpoint httpEndpoint=new HttpGetEndpoint.Builder(pipeline).build(); org.kurento.client.Fraction fr= new org.kurento.client.Fraction(1, 30); VideoCaps vc= new VideoCaps(VideoCodec.H264,fr); httpEndpoint.setVideoFormat(vc); AudioCaps ac= new AudioCaps(AudioCodec.PCMU, 65536); httpEndpoint

How to write an client-server video streaming

放肆的年华 提交于 2019-12-01 08:32:09
I'm working on project that will work real time: I have to write a video streaming client-server app, this server will to send the AVI/MPEG etc to an web application. I have some questions: What is the protocol recommend to do this, http? rtp? or other? In the web application, how do I to show it to user? using an flash player,java applet(I don't ensure if it's possible with it) or HTML5, what is the best way to do this currently? I hope this is clean for you. Any help is very appreciadted. Thanks in advance. :) There are several different ways to implement this (some that require programming

How to write an client-server video streaming

被刻印的时光 ゝ 提交于 2019-12-01 05:37:19
问题 I'm working on project that will work real time: I have to write a video streaming client-server app, this server will to send the AVI/MPEG etc to an web application. I have some questions: What is the protocol recommend to do this, http? rtp? or other? In the web application, how do I to show it to user? using an flash player,java applet(I don't ensure if it's possible with it) or HTML5, what is the best way to do this currently? I hope this is clean for you. Any help is very appreciadted.

Writing custom DirectShow RTSP/RTP Source push filter - timestamping data coming from live sources

我是研究僧i 提交于 2019-12-01 04:08:38
问题 I'm writing custom DirectShow source push filter which is supposed to receive RTP data from video server and push them to the renderer. I wrote a CVideoPushPin class which inherits from CSourceStream and CVideoReceiverThread class which is a wrapper for a thread that receive RTP packets from video server. The receiver thread essentially does three things: receives raw RTP packets and collects some data that is needed for Receiver Reports assembles frames, copies them to the buffer and stores

Streaming using GStreamer

ぐ巨炮叔叔 提交于 2019-12-01 02:38:23
I have got one HD video "ed_hd.avi" on System#1. Would like to stream it over network and play the content from System#2. I am using GStreamer on Ubuntu 11.04, tried a lot on this. Variety of errors makes this objective difficult to diagnose. Will be thankful for getting a working command for the System#1-end and System#2-end. What I have tried is as follows: System #1: gst-launch filesrc location=ed_hd.avi ! decodedin ! x263enc ! video/x-h264 ! rtph264pay ! udpsink host=127.0.0.1 port=5000 System #2: gst-launch udpsrc port=5000 ! rtph264depay ! decodebin ! xvimagesink Objective is : Convert

RTSP Client in Android

天大地大妈咪最大 提交于 2019-12-01 01:36:01
The same question might have been asked but I didn't find any solutions available for me. I'm trying to play RTSP stream in android and the server is Darwin streaming server. For now I’ve tried VideoView and MediaPlayer, both of which always work fine when I use 3G but have problems when I use Wifi sometimes, specifically when I use Wifi at my workplace, and the error in LogCat: PlayerDriver( 31): buffering (0) I have googled around and guess the reason maybe the Wifi hotspot is behind the firewall and the UDP port is blocked, and the Opencore media framework only supports RTP over UDP.

Read dumepd RTP stream in libav

陌路散爱 提交于 2019-12-01 01:14:35
Hi I am in a need of a bit of a help/guidance because I got stuck in my research. The problem: How to convert RTP data using either gstreamer or avlib (ffmpeg) in either API (by programming) or console versions. Data I have RTP dump that comes from RTP/RTCP over TCP so I can get the precise start and stop for each RTP packet in file. It's a H264 video stream dump. The data is in this fashion because I need to acquire the RTCP/RTP interleaved stream via libcurl (which I'm currently doing) Status I've tried to use ffmpeg to consume pure RTP packets but is seems that using rtp either by console

Pipe UDP input to FFMPEG

冷暖自知 提交于 2019-12-01 00:24:40
A video camera is sending me video data as RTPs via UDP on a local port. Does ffmpeg support automatically conversion of input (H.264 payload) to MP4 ? How to do that ? This should work: ffmpeg -i udp://localhost:1234 -vcodec copy output.mp4 Or try: ffmpeg -i rtp://localhost:1234 -vcodec copy output.mp4 Replace 1234 with your port. I assume that the input is already in H.264, if not, remove the -vcodec copy. 来源: https://stackoverflow.com/questions/12003014/pipe-udp-input-to-ffmpeg

RTP Client Application on Android Mobile Device

岁酱吖の 提交于 2019-11-30 22:20:41
Hey folks,i am developing a RTP client on an Android device which can play streaming videos from a server. I am confused regarding how should i start about? i am thinking of developing a web app, using HTML,CSS and Javascript, which can later be wrapped in Android.is this approach correct? does javascript support real time media player? please guide me, i am a fresher and completely clueless..:( Witold Graca You should play your video with MediaPlayer. Of course you can prepare dedicated website that lists available streams and wrap it up into WebView. Having this stream list in WebView you