rtsp

Ubuntu利用ROS搭建手机移动网络摄像头(Android)

前提是你 提交于 2019-12-15 17:41:28
所需设备 PC -> Ubuntu 16.04 - > ROS Kinetic Android系统手机 1、Android移动端APP 下载 安装   配置手机端:(一般默认即可 RTSP ) 2、源码 下载 ( rocon_devices_kinetic )   将文件解压在catkin_ws/src文件夹; 3、编译 catkin_make 4、配置 source xxx/devel/setup.bash (×××是路径) 5、查看手机端接口,并配置 export ROCON_RTSP_CAMERA_RELAY_URL=rtsp://×××:5540/ch0 (×××是IP) 6、运行驱动 roslaunch rocon_rtsp_camera_relay rtsp_camera_relay.launch --screen 7、查看ros接口 rostopic list /rosout /rosout_agg /rtsp_camera_relay/camera_info /rtsp_camera_relay/image /rtsp_camera_relay/image/compressed /rtsp_camera_relay/image/compressed/parameter_descriptions /rtsp_camera_relay/image/compressed

FFmpeg解码RTSP流数据使用HTML+JSMPEG播放

↘锁芯ラ 提交于 2019-12-14 07:57:38
先说思路 网上基本都是node.js+websocket-relay.js作为中继器,其实现原理就是将RTSP数据推送到websocket-relay的接口,再通过websockclient推到websocketserver,根据这个原理我做了个类似的程序,但是不完美,视频会时不时出现马赛克,一直没能找到解决办法。 webcam.html <!DOCTYPE html> <html> <head> <title>视频</title> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width"/> </head> <body> <canvas id="video-canvas" width="480px" height="320px"></canvas> <script type="text/javascript" src="/js/jsmpeg.js"></script> <script type="text/javascript" src="/js/jquery-1.8.2.min.js"></script> <script type="text/javascript"> debugger; var url = 'http://localhost:8080/webcam/stream';

buffering issue with java communicating vlc

风流意气都作罢 提交于 2019-12-14 03:18:09
问题 I'm a newbie to Socket communication, so I may be wrong, but please advice or at least give the direction! I'm implementing an RTSP server according to http://www.csee.umbc.edu/~pmundur/courses/CMSC691C/lab5-kurose-ross.html#appendix taking a look to the similar code from http://www.java2s.com/Open-Source/Android/UnTagged/mynpr/com/webeclubbin/mynpr/RTSPserver.java.htm At the moment I'm implementing responce to the OPTIONS request. To make it easy in the first approach, I decided to hardcode

Save RTSP stream continuously into multi mp4 files with specific length (10 minutes) in ffmpeg

女生的网名这么多〃 提交于 2019-12-13 23:35:31
问题 I'm recording RTSP stream from camera into .mp4 files using ffmpeg and I want to roll it into multi files with 10 minutes long every videos. Currently I have a solution for this: I'm setting a time length '00:10:00', after it finished then I will restart below command with new process. Sample: ffmpeg -rtsp_transport tcp -i <rtsp_url> -acodec copy -vcodec copy -t 00:10:00 D:\video_test.mp4 But this solution makes camera becoming unstable, RTSP stream uasually corrupted with this error: rtsp:/

EasyRTMP实现内网摄像头RTSP拉流转码RTMP推流到RTMP服务器之EasyRTMP-iOS硬编码的码率设置方法

不羁岁月 提交于 2019-12-13 16:13:34
视频流媒体中视频数据的传输占据了绝大部分的带宽,如何提升编码效率、减小带宽使用、提升画面质量,成为音视频开发者努力的重点。随着互联网、流媒体技术的发展,兼容支持H.264、H.265编码器(可减少计算的复杂性、提高压缩率,并降低编码时间)已经成为迫在眉睫的事。 关于RTMP推流组件 EasyRTMP是一套调用简单、功能完善、运行高效稳定的RTMP推流功能组件,经过多年客户实战和线上运行打造,支持RTMP推送断线重连、环形缓冲、智能丢帧、网络事件回调,支持Windows、Linux、ARM、Android、iOS平台,支持市面上绝大部分的RTMP流媒体服务器,能够完美应用于各种行业的直播需求,手机直播、桌面直播、摄像机直播、课堂直播等方面。 调用方法 EasyRTMP_File:EasyRTMP做为RTMP推送端,将本地文件推送到RTMP流媒体服务器; EasyRTMP_RTSP:将RTSP/RTP数据获取到本地,再通过EasyRTMP推送到RTMP服务器; EasyRTMP-Android:Android安卓RTMP直播推流,采集安卓手机前/后摄像头、麦克风音视频推送直播;项目地址:https://github.com/EasyDSS/EasyRTMP-Android EasyRTMP-iOS:iOS苹果RTMP直播推流,采集苹果手机前/后摄像头、麦克风音视频推送直播;

Gstreamer, rtspsrc and payload type

折月煮酒 提交于 2019-12-13 15:14:22
问题 I'm having difficulties in retrieving rtsp stream from a specific camera, because the rtp payload type the camera is providing is 35 (unassigned) and payload types accepted by the rtph264depay plugin are in range [96-127]. The result is that gstreamer displays ann error like: <udpsrc0> error: Internal data flow error. <udpsrc0> error: streaming task paused, reason not-linked (-1) Other cameras that I have tested are working because they define a good payload type. FFmpeg, MPlayer and other

How to Stream Video from Http or RTSP Url in android

天涯浪子 提交于 2019-12-13 15:07:44
问题 I want to play a video from Http and Rtsp on android. currently i am trying with http link But when my activity starts, it just starts playing audio with blank black screen. No video is displaying. Here i have posted my code below. Thanks for any help in advance. and if anyone can provide a fresh running rtsp link for live streaming, i'll be very thankful. VideoView vidView = (VideoView)findViewById(R.id.myVideo); Uri stream = Uri.parse("http://www.androidbegin.com/tutorial/AndroidCommercial

Android RTSP - MediaPlayer init failure / PVMFFailure

不打扰是莪最后的温柔 提交于 2019-12-13 14:08:23
问题 I have a camera by Cisco and like to stream it's video stream to my android phone. It's coded in MPEG4 so there should be no problem, but it's not working anymore (it worked with another camera a few weeks ago). Any idea what I might try ? I don't know what's wrong here. I/ActivityManager( 79): Starting activity: Intent { cmp=com.Projekt1/.CameraView } I/System.out(18792): SDPURL - rtsp://10.42.0.103:554/live.sdp I/NotificationService( 79): enqueueToast pkg=com.Projekt1 callback=android.app

Android 4.0.4 MediaPlayer prepare issue using RTSP urls

做~自己de王妃 提交于 2019-12-13 12:04:27
问题 I am experiencing an odd issue with a video streaming application I am working on. The actual streaming of video/audio is working fine on all of my test devices. However, on seemingly any device 4.0+, when using an RTSP URL, prepare() returns instantly (this causes an issue providing proper feedback to the users while a video is loading and interferes with a few other systems I have in place). Below is the block of code where I initialize and setup my MediaPlayer, but keep a few things in

Low-latency video streaming from c++ opencv application in WINDOWS [closed]

风格不统一 提交于 2019-12-13 10:41:02
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . There are quite a lot of questions on the topic, but most of them involve the use of undesired protocols - HTML5, WebRTC, etc. Basically, the problem can formulated as follows: how do I stream my own cv::Mat images over either RTSP or MJPEG [AFAIK it is better for realtime streaming] streams in Windows ? Nearly