Questions tagged [video-streaming]

Video streaming is the process of delivering a video from a server to a client. This is different from simply downloading the entire video file, as the client is able to watch the video while it's being downloaded.

Video streaming is the process of delivering a video from a server to a client. This is different from simply downloading the entire video file, as the client is able to watch the video while it's being downloaded.

8577 questions
33
votes
10 answers

Exception when calling setDataSource(FileDescriptor) method (failed.: status=0x80000000)

I'm developing a video streaming application and I'm getting stuck when calling set setDataSource with a FileDescriptor. I want my application to play the video as it is being downloaded, so once I get a minimum number of bytes, I move those bytes…
Pedriyoo
  • 1,259
  • 4
  • 16
  • 26
33
votes
11 answers

Video/audio streaming does not stop even if UIWebView is closed - iPad

I see this issue only on the iPad. The same things works as expected on the iPhone. I am opening the URL from my application in a UIWebView. If the URL is a normal web page, it works fine as expected. But if the URL is that of a remote video/audio…
lostInTransit
  • 70,519
  • 61
  • 198
  • 274
33
votes
4 answers

Recording video feed from an IP camera over a network

I am building a camera security system for my office however we do not want to keep the DVR on site. We looked at NVR (network video recorders) and they are too expensive. I thought of an alternative to this. I do not know how much feasible it is…
YD8877
  • 10,401
  • 20
  • 64
  • 92
32
votes
3 answers

Flutter - Streaming and Caching videos

I'm developing an application in flutter which is showing videos in a list (like Instagram). Videos must be streamed so I can't download them first and then play them. I want to cache them while they are being streamed. I've seen CacheManager class…
Saman Salehi
  • 1,995
  • 1
  • 22
  • 36
32
votes
1 answer

ffmpeg throwing "Output file #0 does not contain any stream" when trying to make a slideshow out of images

Im trying to create video streaming using phantomjs that create screenshots from a url then it will pipe the frames to ffmpeg so he can use it to stream the video to an rtmp url . here is what i tried so far : phantomjs runner.js | ffmpeg -f…
Abdou Tahiri
  • 4,338
  • 5
  • 25
  • 38
32
votes
3 answers

Transfer real-time video stream to server using Android

We have to capture the real-time video using Android Camera, and send them to the server, then other users would read them through the browser or something else. I have Googled and searched at SO, and there are some examples about video stream app…
hguser
  • 35,079
  • 54
  • 159
  • 293
31
votes
10 answers

VideoView onResume loses buffered portion of the video

I am having an Activity in which there is VideoView -- Streams a video from a webserver. Button -- Takes the user to the next activity to be shown. When the application starts, VideoView is made to play the Video from a webserver. Now…
31
votes
3 answers

Stream video in Java

What is the best way to record and stream live video to many clients? Are there any libraries?
Etam
  • 4,553
  • 10
  • 40
  • 60
31
votes
5 answers

Encoding H.264 from camera with Android MediaCodec

I'm trying to get this to work on Android 4.1 (using an upgraded Asus Transformer tablet). Thanks to Alex's response to my previous question, I already was able to write some raw H.264 data to a file, but this file is only playable with ffplay -f…
gleerman
  • 1,793
  • 4
  • 24
  • 38
30
votes
2 answers

Using AVAssetReader to read (stream) from a remote asset

My main goal is to stream a video from a server, and cut it frame by frame while streaming (so that it can be used by OpenGL). For that, I've used this code that I found everywhere on the Internet (as I recall it was from Apple's GLVideoFrame sample…
Paula Mamdouh
  • 348
  • 1
  • 3
  • 9
30
votes
3 answers

Embedding a live RTSP stream of H.264 video in a webpage

I have a server providing live H.264 video over a network via RTSP (rtsp://...), and I've been trying to find a way to display the stream to users in their browser (on at least Windows and OS X - Linux is a bonus). I currently have VLC Player…
jstol
  • 847
  • 3
  • 12
  • 29
29
votes
2 answers

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

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…
Hunter
  • 4,343
  • 5
  • 42
  • 44
29
votes
1 answer

Understanding PTS and DTS in video frames

I had fps issues when transcoding from avi to mp4(x264). Eventually the problem was in PTS and DTS values, so lines 12-15 where added before av_interleaved_write_frame function: 1. AVFormatContext* outContainer = NULL; 2. …
theateist
  • 13,879
  • 17
  • 69
  • 109
28
votes
5 answers

iOS video streaming and storing on device afterwards

So far I know how to stream a video and how to download it and afterwards stream it, but here's the tricky bit: streaming it once, storing it on the device and in the future play it from the device. Is that possible?
Tudor
  • 4,137
  • 5
  • 38
  • 54
28
votes
5 answers

Creating an MJPEG video stream in c#

I have images being sent to my database from a remote video source at about 5 frames per second as JPEG images. I am trying to figure out how to get those images into a video format so I can stream a live video feed to Silverlight. It seems to make…
typemismatch
  • 2,047
  • 3
  • 23
  • 26