video-streaming

Create a Live Streaming APP for Android [closed]

天大地大妈咪最大 提交于 2019-12-02 16:48:08
I am having quite a trouble lately. I want to develop an Android App with a livestreaming embeded, but I just don't know how to start. I tried using an Webview with the livestreaming tag embeded, but it didn't work (most likely the stream is provided via Flash). I also tried to use a VideoView component but it also didn't work. I know it's possible because those publishers have their own APP, but the format we are provided is usually Flash. Not a mobile friendly format. Can someone, please, show me any idea on how to start or if there is some workaround? Thanks in advance! EDIT: What I would

How can I stream video from UDP source and display on Android/iOS device with C# Xamarin

泄露秘密 提交于 2019-12-02 15:03:50
问题 I need to stream video coming from my drone through UDP port and use some kind of video player to display on my Android/IOS device. I've already tried to use LIBVLC player to do it but got some issues. The problem with the LibVLC is that the receiving packet size is 1416 but LibVLC need to receive 1316 string UDP_VIDEO_URL = "udp://@:11111"; LibVLC _libvlc = new LibVLC(); VideoView0.MediaPlayer.Play(new Media(_libvlc, UDP_VIDEO_URL, FromType.FromLocation)); 来源: https://stackoverflow.com

Stream video while downloading iOS

强颜欢笑 提交于 2019-12-02 14:58:24
I am using iOS 7 and I have a .mp4 video that I need to download in my app. The video is large (~ 1 GB) which is why it is not included as part of the app. I want the user to be able to start watching the video as soon as is starts downloading. I also want the video to be able to be cached on the iOS device so the user doesn't need to download it again later. Both the normal methods of playing videos (progressive download and live streaming) don't seem to let you cache the video, so I have made my own web service that chunks up my video file and streams the bytes down to the client. I start

Possible to stream videos using Amazon S3/CloudFront with HTML5 player?

前提是你 提交于 2019-12-02 14:06:56
I want to use an HTML5 video player and stream videos. Is this possible with S3/CloudFront? I understand Amazon uses the RTMP streaming protocol and HTML5's video tag does not support RTMP. Is there any way to stream videos with HTML5 players? Much of what @Wayne Koorts posted provides the basis for a good answer. The disconnect it seems is that you can "stream" video via progressive download. This works with any html5 compatible video file, as he illustrated. In order to get the best performance in a progressive download of mp4 files, you need the moov atom meta data to appear at the

What Techniques Are Best To Live Stream iPhone Video Camera Data To a Computer?

耗尽温柔 提交于 2019-12-02 13:57:07
I would like to stream video from an iPhone camera to an app running on a Mac. Think sorta like video chat but only one way, from the device to a receiver app (and it's not video chat). My basic understanding so far: You can use AVFoundation to get 'live' video camera data without saving to a file but it is uncompressed data and thus I'd have to handle compression on my own. There's no built in AVCaptureOutput support for sending to a network location, I'd have to work this bit out on my own. Am I right about the above or am I already off-track? Apple Tech Q&A 1702 provides some info on saving

how to decode the byte array (.h264 format) in to video in android?

我的梦境 提交于 2019-12-02 13:28:38
问题 In My App, I have to decode the bytearray (that is in .h264 format) in to video and the byte array coming from live steaming. The code is below: static final int VIDEO_BUF_SIZE = 100000; static final int FRAME_INFO_SIZE = 16; byte[] frameInfo = new byte[FRAME_INFO_SIZE]; byte[] videoBuffer = new byte[VIDEO_BUF_SIZE]; File SDFile = android.os.Environment.getExternalStorageDirectory(); File destDir = new File(SDFile.getAbsolutePath() + "/test.h264"); //avRecvFrameData returns the length of the

how to run a video clip using asp.net?

老子叫甜甜 提交于 2019-12-02 13:24:23
I want to embed video player in asp.net which can support multi video formats and can run same format clip in different browsers. i.e mp4/ogg clip can be played on firfox as well as on chrome Nothing to do with asp.net (this is pure html stuff), just write out a html video tag html5rocks diveintohtml5 May I suggest this simple code: <video width="320" height="240" controls> <source src="videoSource.mp4" type="video/mp4"> <source src="movie.ogg" type="video/ogg"> Your browser does not support the video tag. </video> Source: W3Schools You can use swf files, if you want, in this way: <embed src=

Does PTS have to start at 0?

我与影子孤独终老i 提交于 2019-12-02 10:50:42
I've seen a number of questions regarding video PTS values not starting at zero, or asking how to make them start at zero. I'm aware that using ffmpeg I can do something like ffmpeg -i <video> -vf="setpts=PTS-STARTPTS" <output> to fix this kind of thing However it's my understanding that PTS values don't have to start at zero. For instance, if you join a live stream then odds are it has been going on for an hour and the PTS is already somewhere around 3600000+ but your video player faithfully displays everything just fine. Therefore I would expect there to be no problem if I intentionally

On the fly Stream and transcode video with Django

試著忘記壹切 提交于 2019-12-02 10:29:10
I have a model that uses "models.FileField()", which I then display back to the user so they may click the link and have a file rendered in their browser. The user can upload various types of files. Problem is, I'd like to handle large avi's differently, and have the file stream to the user. The requirement I have is to simply stream/transcode video files from the media_root dir to an end user's browser, preferably in a mac friendly format. It would be for a couple users at most. I've search and stumbled upon a few projects: https://github.com/andrewebdev/django-video https://github.com

How can I stream video from UDP source and display on Android/iOS device with C# Xamarin

若如初见. 提交于 2019-12-02 10:20:16
I need to stream video coming from my drone through UDP port and use some kind of video player to display on my Android/IOS device. I've already tried to use LIBVLC player to do it but got some issues. The problem with the LibVLC is that the receiving packet size is 1416 but LibVLC need to receive 1316 string UDP_VIDEO_URL = "udp://@:11111"; LibVLC _libvlc = new LibVLC(); VideoView0.MediaPlayer.Play(new Media(_libvlc, UDP_VIDEO_URL, FromType.FromLocation)); 来源: https://stackoverflow.com/questions/56486597/how-can-i-stream-video-from-udp-source-and-display-on-android-ios-device-with-c