rtsp

How to demux audio and video from rtspsrc and then save to file using matroska mux?

白昼怎懂夜的黑 提交于 2019-12-10 17:27:15
问题 I have been working on an application where I use rtspsrc to gather audio and video from one network camera to another. However I can not watch the stream from the camera and thereby cant verify that the stream works as intended. To verify that the stream is correct I want to record it on a SD card and then play the file on a computer. The problem is that I want the camera to do as much of the parsing, decoding, depayloading as possible since that is the purpose of the application. I thereby

EMGU QueryFrame returns “streaky” Image over RTSP

百般思念 提交于 2019-12-10 15:09:28
问题 I have a HD network camera that I am trying to grab frames over rtsp and using the following code: //in Form_Load Application.Idle += getNextFrame; And the Event Handler: private void getNextFrame(object sender, EventArgs ags) { //where _imgCount is the total image Grabs lbl_Count.Text = _imgCount++.ToString(); // and ibLive is a Emgu ImageBox ibLive.Image = capAxis.QueryFrame().Resize(640, 480, INTER.CV_INTER_AREA); } When I start the program, it'll grab 20-40 frames before the "streakiness"

Video cannot be played Android Vitamio library

邮差的信 提交于 2019-12-10 11:51:15
问题 I am using vitamio library for rtsp stream. I am getting : "Sorry this video cannot be played" error. File format of the video is .H264. Where is my mistake ? Have you ever used vitamio library ? VideoActivity.java code as below : public class VideoActivity extends AppCompatActivity { private String path; private VideoView mVideoView; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_video); if (!LibsChecker

How do you Fullscreen RTSP Stream in Android LibVLC?

江枫思渺然 提交于 2019-12-10 11:38:26
问题 I'm using mrmaffen's VLC-ANDROID-SDK to develop an RTSP streaming app. https://github.com/mrmaffen/vlc-android-sdk I've had a lot of success getting it working and running quite well, but the problem I'm having that I can't seem to shake is getting it to display the video feed in fullscreen on the SurfaceView, or even just in the center of the SurfaceView. This is what I get: http://s1378.photobucket.com/user/Jo_Han_Solo/media/Screenshot_20171214-125504_zps437k1kw2.png.html?filters[user]

RTSP server java implementation problems :(

天大地大妈咪最大 提交于 2019-12-10 11:28:08
问题 I'm writing RTSP server and have some problems. I'm using VLC as client. Server receive OPTIONS, DESCRIBE, SETUP and PLAY commands from client (VLC player) and answers to that commands. By SETUP command client send ports numbers and I'm using that ports to send data. When my server receive PLAY command it's sending the answer and starting to stream data. I'm creating two DatagramSocket instances with the client ports. I'm trying to stream mp4 files. I'm using mp4parse java library to get

Cross-browser embed VLC plugin

大兔子大兔子 提交于 2019-12-10 10:18:32
问题 I have embedded vlc plugin for Google Chrome this way: <embed type='application/x-vlc-plugin' pluginspage='http://www.videolan.org' version='VideoLAN.VLCPlugin.2' width='800' height='600' id='vlc' loop='yes' autoplay='yes' target='rtsp://127.0.0.1:8554/realtime_1db07ff1-c5f9-4597-abf6-0d442454d06c'> </embed> But this approach doesn't work with Internet Explorer. Are any universal methods available to embed this player in all browsers? 回答1: I posted examples for both IE and Mozilla on the

Does Android 4.x support streaming RTSP over TCP?

℡╲_俬逩灬. 提交于 2019-12-09 17:38:58
问题 I've used VideoView in Android to play video on wowza successfully. Now I got to deal with my server which the UDP ports seems to be blocked. With the proof of openRTSP command: -> % openRTSP rtsp://61.218.52.250:554/live/ch00_0 Opening connection to 61.218.52.250, port 554... ...remote connection opened Sending request: OPTIONS rtsp://61.218.52.250:554/live/ch00_0 RTSP/1.0 CSeq: 2 User-Agent: openRTSP (LIVE555 Streaming Media v2013.12.16) Received 105 new bytes of response data. Received a

RTSP转RTSP、RTMP、HLS、FLV安防摄像头网页无插件直播流媒体服务器EasyNVR在IE浏览器下的 pointer-events- none前端兼容性调试

青春壹個敷衍的年華 提交于 2019-12-09 15:16:39
背景说明 由于互联网的飞速发展,传统安防摄像头的视频监控直播与互联网直播相结合是大势所趋。传统安防的直播大多在一个局域网内,在播放的客户端上也是有所限制,一般都需要OCX Web插件进行直播。对于安防监控的视频直播需求,根据不同的业务需求,对视频直播需求也不尽相同。针对这样的行业大环境背景,立足于开源社区的EasyDarwin团队推出了EasyNVR、EasyDSS等系列产品。而对于安防监控的视频直播需求,对延时要求都比较高。 IE浏览器下的pointer-events- none问题 在我们调试EasyNVR的web页面过程中,力求的都是一个播放效果的、功能的展示。对于兼容性也有注意,但有些细小的部分还是难免有所疏忽。内部测试发现:由于我们是流媒体的实时视频直播,在web的直播页面中,我们都是屏蔽、删除播放器的暂停按钮、功能的。我们的web页面播放rtmp、hls使用的是videojs,因此,我们需要通过设置css属性来完成这个需求。 发现问题 屏蔽单机页面暂停 .video-js .vjs-tech { pointer-events: none; } 这个属性设置 很好的在chrome中完成了需求。但是在IE中似乎就没有能够完成自己应有的任务了。 隐藏暂停、开始按钮 .vjs-progress-control,.vjs-remaining-time-display{

Keeping Alive Rtsp Connection

吃可爱长大的小学妹 提交于 2019-12-09 11:59:44
问题 I have a simple Rtsp Client...The client send Rtsp Commands to Rtsp Server and get RTP packets from server. The problem is that after a time( about 3-4 minute) my 3rd party RTSP Server drop connection with my RTSP Client. I have not implemented RTCP...I take rtp packets from rtsp server but does not send any RTCP PACKET... I make simple search and find that some guys use some RTSP commands[ like OPTIONS, SET PARAMETER-GET PARAMETER ] too keep alive Connections between RTSP Server and Client..

Android Media Player RTSP

喜欢而已 提交于 2019-12-09 06:49:39
问题 I'm trying to watch RTSP streaming on Android device. But if the server set password for the streaming my Android cannot play it. If without password it's ok. Here is my codes. public class VideoFragment extends Fragment implements View.OnClickListener, SurfaceHolder.Callback, MediaPlayer.OnPreparedListener { VideoView m_videoView; SurfaceView m_surfaceView; SurfaceHolder m_surfaceHolder; MediaPlayer m_mediaPlayer; SharedPreferences m_sharedPref; Boolean m_videoStarted; public VideoFragment()