rtsp

play streaming in VideoView, convert url to rtsp

痴心易碎 提交于 2019-11-26 18:34:55
问题 I need to play youtube video and record video in the same layout. To perform this I search for youtube api and found that android version need to be higher than 2.2, this ok but, i want to use VideoView. I saw some post here about this issue and decide eventually to use this code to watch video in VideoView. videoView = (VideoView) findViewById(R.id.your_video_view); Log.d(TAG,getUrlVideoRTSP(current_url) + " id yotube1 " ); //here type the url... videoView.setVideoURI(Uri.parse

MJPEG streaming and decoding

别说谁变了你拦得住时间么 提交于 2019-11-26 17:58:56
问题 I want to receive JPEG images from an IP camera (over RTSP). For this, I tried cvCreateFileCapture_FFMPEG in OpenCV. But ffmpeg seems to have some problem with the MJPEG format of the streaming (since it automatically tries to detect the streaming info) and I end up with the following error mjpeg: unsupported coding type I, then, decided to use live555 for streaming. Till now, I can successfully establish streaming and capture (non-decoded) images through openRTSP. The question is how can I

Playing RTSP with python-gstreamer

断了今生、忘了曾经 提交于 2019-11-26 16:19:09
问题 I use gstreamer for playing RTSP stream from IP cameras (like Axis.) I use a command line like this: gst-launch-0.10 rtspsrc location=rtsp://192.168.0.127/axis-media/media.amp latency=0 ! decodebin ! autovideosink and it work fine. I want to control it with a gui in pygtk so I use the gstreamer python bindings. I've wrote this piece of code: [...] self.player = gst.Pipeline("player") source = gst.element_factory_make("rtspsrc", "source") source.set_property("location", "rtsp://192.168.0.127

How can I display an RTSP video stream in a web page?

末鹿安然 提交于 2019-11-26 15:43:39
I have an ip camera which provides a live RTSP video stream. I can use VLC media player to view the feed by providing it with the URL: rtsp://cameraipaddress But I need to display the feed on a web page. The camera provider supplied an ActiveX control which I got working, but it is really buggy and causes the browser to frequently hang. Does anyone know of any alternative video plugins I could use which support RTSP? The camera can be configured to stream in either H264 or MPEG4. VLC also comes with an ActiveX plugin that can display the feed in a web page: http://wiki.videolan.org/ActiveX

RTSP youtube link

夙愿已清 提交于 2019-11-26 13:08:24
问题 I have gone all over google and am having trouble getting the rtsp link from a youtube video give the VIDEO_ID. I am confused on how to use that id and then parse google for the link. Thank you for your time and and effort. 回答1: I found this blog entry, maybe its a starting point. If you follow on of the <id> links you get another format where you should find the rtsp link. EDIT: after going through what WarrenFaith posted. PROPS TO HIM this is how you get a rtsp link. make a request http:/

RTP/RTSP编程

本秂侑毒 提交于 2019-11-26 13:05:32
https://blog.csdn.net/pu1030/article/details/7619908 http://blog.chinaunix.net/uid-27875-id-5017161.html 流媒体指的是在网络中使用流技术传输的连续时基媒体,其特点是在播放前不需要下载整个文件,而是采用边下载边播放的方式,它是视频会议、IP电话等应用场合的技术基础。RTP是进行实时流媒体传输的标准协议和关键技术,本文介绍如何在Linux下利用JRTPLIB进行实时流媒体编程。 一、流媒体简介 随着Internet的日益普及,在网络上传输的数据已经不再局限于文字和图形,而是逐渐向声音和视频等多媒体格式过渡。目前在网络上传输音频/视频(Audio/Video,简称A/V)等多媒体文件时,基本上只有下载和流式传输两种选择。通常说来,A/V文件占据的存储空间都比较大,在带宽受限的网络环境中下载可能要耗费数分钟甚至数小时,所以这种处理方法的延迟很大。如果换用流式传输的话,声音、影像、动画等多媒体文件将由专门的流媒体服务器负责向用户连续、实时地发送,这样用户可以不必等到整个文件全部下载完毕,而只需要经过几秒钟的启动延时就可以了,当这些多媒体数据在客户机上播放时,文件的剩余部分将继续从流媒体服务器下载。 流(Streaming)是近年在Internet上出现的新概念,其定义非常广泛

Decoding Raw H264 stream in android?

北城以北 提交于 2019-11-26 11:50:10
问题 I have a project where I have been asked to display a video stream in android, the stream is raw H.264 and I am connecting to a server and will receive a byte stream from the server. Basically I\'m wondering is there a way to send raw bytes to a decoder in android and display it on a surface? I have been successful in decoding H264 wrapped in an mp4 container using the new MediaCodec and MediaExtractor API in android 4.1, unfortunately I have not found a way to decode a raw H264 file or

How to process raw UDP packets so that they can be decoded by a decoder filter in a directshow source filter

蹲街弑〆低调 提交于 2019-11-26 10:12:53
Long Story: There is an H264/MPEG-4 Source I can able to connect this source with RTSP protocol. I can able to get raw UDP packets with RTP protocol. Then send those raw UDP packets to a Decoder[h264/mpeg-4] [DS Source Filter] But those "raw" UDP packets can not be decoded by the Decoder[h264/mpeg-4] filter Shortly: How do I process those raw UDP data in order to be decodable by H264/ MPEG-4 decoder filter? Can any one clearly identify steps I have to do with H264/MPEG stream? Extra Info: I am able to do this with FFmpeg... But I can not really figure out how FFmpeg processes the raw data so

Play RTSP streaming in an Android application

左心房为你撑大大i 提交于 2019-11-26 09:28:34
问题 I am trying to develop an Android based application, which can play video from a live stream. This live stream is produced using Wowza Media Server. The URL is: rtsp://tv.hindiworldtv.com:1935/live/getpun I have tried following code in ecliplse: package com.kalloh.wpa; import android.app.Activity; import android.content.pm.ActivityInfo; import android.net.Uri; import android.os.Bundle; import android.view.Window; import android.widget.MediaController; import android.widget.VideoView; public

How to process raw UDP packets so that they can be decoded by a decoder filter in a directshow source filter

血红的双手。 提交于 2019-11-26 08:50:42
问题 Long Story: There is an H264/MPEG-4 Source I can able to connect this source with RTSP protocol. I can able to get raw UDP packets with RTP protocol. Then send those raw UDP packets to a Decoder[h264/mpeg-4] [DS Source Filter] But those \"raw\" UDP packets can not be decoded by the Decoder[h264/mpeg-4] filter Shortly: How do I process those raw UDP data in order to be decodable by H264/ MPEG-4 decoder filter? Can any one clearly identify steps I have to do with H264/MPEG stream? Extra Info: I