rtp

stream live video from IP Cams in iPhone SDK?

限于喜欢 提交于 2019-12-07 03:05:33
I have to develop plug-in module which will allow us to stream live video from IP Cams if the IP of the cameras are available. The format and encoding for the same is: MPEG4 RTSP/RTP but I dont know from where to start. I have search in many site, unable to find any thing related. while browsing the Apples doc's, I found AVFoundation is used to stream live video from IP Cam's. UPDATE I found this from GITHUB but dont know How to implement it in my App. Please help me by sample code or related app and suggest me to overcome this. thanks in Advance. Dipan Mehta I am adding some references for

Java实现视频网站的视频上传、视频转码、视频关键帧抽图, 及视频播放功能

萝らか妹 提交于 2019-12-06 20:05:31
视频网站中提供的在线视频播放功能,播放的都是FLV格式的文件,它是Flash动画文件,可通过Flash制作的播放器来播放该文件.项目中用制作的player.swf播放器. 多媒体视频处理工具FFmpeg有非常强大的功能包括视频采集功能、视频格式转换、视频抓图、给视频加水印等。 ffmpeg视频采集功能非常强大,不仅可以采集视频采集卡或USB摄像头的图像,还可以进行屏幕录制,同时还支持以RTP方式将视频流传送给支持RTSP的流媒体服务器,支持直播应用。 1.能支持的格式 ffmpeg能解析的格式:(asx,asf,mpg,wmv,3gp,mp4,mov,avi,flv等) 2.不能支持的格式 对ffmpeg无法解析的文件格式(wmv9,rm,rmvb等),可以先用别的工具(mencoder)转换为avi(ffmpeg能解析的)格式. 实例是将上传视频转码为flv格式,该格式ffmpeg支持,所以我们实例中需要ffmpeg视频处理工具. 数据库 MySQL5.5 实例所需要的数据库脚本 drop database if exists db_mediaplayer; create database db_mediaplayer; use db_mediaplayer; create table tb_media( id int not null primary key auto

MPEG4 extract from RTP payload

喜你入骨 提交于 2019-12-06 13:53:35
I'm trying to extract mpeg4 from an rtp payload , format of the rtsp media (video) is MP4V-ES but I'm not able to extract the mp4 from the payload . when I dump the extract into a raw file and use ffmpeg to convert it into .avi or .mpg its not working. I don't know what I'm missing here. the code is written in java. I want to extract each video frame from the rtp and save that in a file or retransmit it. Thanks Question UPDATED..... Thanks for the inputs, actually I'm able to extract bytes from 000001b6 and sent it to ffmpeg , but it complains about not header information and then I

OpenSIPS 2.4 call forbidden

ぃ、小莉子 提交于 2019-12-06 13:35:58
问题 I discovered OpenSIPS and all the possibilities a few days ago. I would just use it as a simple SIP proxy to get started. Proxy between my designated UAC and my UAS (asterisk, not natted). The goal is to use a proxy to prevent bot attacks on my UAS. After installing OpenSIPS, I tried to configure my XLITE (natted) by simply adding the proxy URL in the configuration. It works, I register and I can see in my UAS peers my extensions with proxy IP. But when I make a call, I got a forbidden error.

RTP/RTSP library usable in Java

核能气质少年 提交于 2019-12-06 11:16:49
I'm looking to write a voip application, I know JMF has RTP code but it's old and 32bit only. Is there a robust library that does RTP/RTSP that can be used with java? Thanks no way JMF - its 10 years out of date list java RTP RTSP packages: RTSPClientLib.tar.gz on code.google http://github.com/brunodecarvalho/efflux i used the efflux on a java project and it was worth the time learning his packages. The combined netty/efflux is very robust on the variety of RFC's involved in networking underlying RTSP/RTP. i think i have an eclipse project archived somewhere using efflux for alot of RTSP

c++ Hole punching UDP(RTP)

元气小坏坏 提交于 2019-12-06 11:09:08
问题 I am doing a client-server voice chat program(unmanaged C++,win32) in which clients connects to the server using TCP and textchat/chatroom functions are done in TCP while all audiotransmission is sent through a separate UDP/RTP socket (using the API from JRTPLIB). So the IP is known from the TCP connection, and the port number of the RTP socket can be sent after connection is established. The problem is that in TCP only the server needs to do port forwarding for communications to work both

Streaming Mp4 video through RTP protocol using Gstreamer in Ubuntu

狂风中的少年 提交于 2019-12-06 10:28:02
问题 I'm trying to fetch the video file from my local directory,enable the stream from server and capture these frames from my Client side.I have used the following pipelines: Server side: gst-launch -v filesrc location=/home/gokul/Videos/Econ_TestVideo/radioactive.mp4 ! qtdemux ! rtpmp4vpay ! udpsink host=192.168.7.61 port=5000 sync=true Setting pipeline to PAUSED ... Pipeline is PREROLLING ... /GstPipeline:pipeline0/GstRtpMP4VPay:rtpmp4vpay0.GstPad:src: caps = application/x-rtp, media=(string

How to simulate network packet loss when streaming video?

浪子不回头ぞ 提交于 2019-12-06 09:21:00
Please help me solve this tricky problem, making me suffering for almost one week. How to make streaming video suffering packet loss? Switch: Pica8 3290 Computer: core i7 2600, 8GB Link: 100Mps Streaming video : RTP (1080P、4K) I've already tried "iperf", "iperf3" and "Packeth" to generate UDP packets. However, these 3 sofwares seem to measure the residual capacity of the link first and then send the amount of the packets fit the capacity. E.g.: (No Video streaming) iperf send almost 100Mps (With video streaming) iperf only send almost 70Mbps Thus, these packet generator won't help me to make

Android: mpeg4/H.264 packetization example

安稳与你 提交于 2019-12-06 07:20:23
I need to split mpeg4 video stream (actually from android video camera) to send it through RTP. The specification is little large for quick reference. I wonder if there any example/open source code for mpeg4 packetization? Thanks for any help ! Mpeg4 file format is also called ISO/IEC 14496-14. Google it any you will find specifications. However, what you are trying to do (RTP publisher) will be hard for the following reasons: Mpeg4 has header at the end of the file. Which means header will be written out only when video stream is finished. Since you want to do real time video streaming you

How to detect the difference between a wrapping counter and large negative value in C language

本小妞迷上赌 提交于 2019-12-06 04:38:53
问题 Apologies for my imbecility as this is my first post on this forum. I am trying to detect the difference between a wrapping unsigned 32-bit counter and a large negative Jump with the help of following code but the compiler give me error: error: comparison is always true due to limited range of data type [-Werror=type-limits] Here is my code snippet: #define MAX_BACKWARD_JUMP -4294959295 //UINT_MAX - 8000 #define MIN_BACKWARD_JUMP -3600 #define MAX_FORWARD_JUMP 4800000 signed int rtpDelta; /