video-streaming

Control buffering in VideoView

有些话、适合烂在心里 提交于 2019-12-13 02:25:50
问题 I'm trying to use a VideoView to display a mp4 video from Vimeo. Everything works fine but is there a way that I can control the buffering of the video? My problem is that I have 6 VideoView's in one view and as soon as the view loads all of them starts buffering right away. I would like them to only start buffering when i press play on one of them to lower internet usage. Is there a way to start/stop the buffering? 回答1: For your case: The VideoView wraps the MediaPlayer, making it unable to

PhoneGap Play m3u8 Video

雨燕双飞 提交于 2019-12-13 02:08:08
问题 I have an index.html with an iframe and inside that iframe I have the following code: <a id="watch-live-btn" href="http://the.location.to/playlist.m3u8" target="_parent"></a> The video plays fine on iOS and when I hit "Done" I'm sent back to the app with no problems. When I try this on Android it just sits there for some time doing nothing. The app is still active in the mean time. iOS: 6.1 Android 4.0.4 回答1: You can make use of a phonegap plugin. There is one already created here for playing

Error with HTML5 video in Chrome, using RangeFilePathResult

允我心安 提交于 2019-12-13 00:20:00
问题 Using MVC3 and flowplayer, I have a video player that is set up to get video files with the following markup: <div id="video"> <div id="video-viewport"> <!-- The data-ratio is a decimal number represeting the height of the video in proportion to the width --> <div class="flowplayer" data-swf="http://releases.flowplayer.org/5.1.1/flowplayer.swf" data-ratio="0.417" data-engine="html5" data-keyboard="true" data-native_ipad_fullscreen="true" data-volume="0.6"> <video> <!-- By default Flowplayer

the program can't start because libgstreamer-0.10.dll is missing

萝らか妹 提交于 2019-12-12 21:33:26
问题 I am trying to create new project of gstreamer. I downloaded the SDK and succeeded to run the tutorials, but when I create a new project: File -> New -> Project -> GStreamer SDK Project copy the content of the (working) tutorial to my new project and launch it, I constantly get this error: the program can't start because libgstreamer-0.10.dll is missing from your computer am I missing something here? thanks! 来源: https://stackoverflow.com/questions/22036451/the-program-cant-start-because

DVR client software SDK tools?

对着背影说爱祢 提交于 2019-12-12 20:00:59
问题 Are there any free or paid SDK's for developing DVR client software, like "UMS Single client?" for C# or JAVA? 回答1: You can ask your DVR's vendor for their specific SDK. There are no universal SDKs for DVRs, unless your DVR has a RSTP feature 来源: https://stackoverflow.com/questions/13230120/dvr-client-software-sdk-tools

Unable jump into stream from media recorder using media source with socket.io

吃可爱长大的小学妹 提交于 2019-12-12 18:45:06
问题 The following code works when the video observing client is loaded first then the webcam client is loaded second it works flawlessly, however, if the order is switched or in any way the stream is interrupted for example by refreshing either client the stream will fail and the Media Source will change its ready state to closed. My assumption is that the video being received on start needs initialization headers for starting and since the stream is being read midstream it never gets said

Can you use Elgato's HDMIComponent Game Capture HD as a video-in device in C#?

拜拜、爱过 提交于 2019-12-12 15:55:41
问题 We're wondering if it's possible to capture the video stream from Elgato's Game Capture HD (or something similar--the model/brand doesn't matter) and get it in a window using C#. We haven't found any information on using that product with anything but its own software, nor have we found any other hardware that can capture such a thing. Again, our goal is simply to get a device with Component Out to appear in a window on-screen, nothing else. No recording, no screen capture, no overlays,

Uploading/Saving videos to database or file system

痞子三分冷 提交于 2019-12-12 13:54:20
问题 I have never tried to save a video before so I don't know much about this. I know if the video is small I can convert to byte array and save to db, however to be more efficient I would like to learn how to save any uploaded video(s) to my servers file and then just save the file path of the video in my database table. I have absolutely no idea how to begin to do this. I've seen this example below but not too sure what its doing. To me it appears it's saving any uploaded videos that any user

Error in opening streaming video

只谈情不闲聊 提交于 2019-12-12 11:35:01
问题 I'm trying to open video stream by giving the url of the video. I'm using VideoView .Here is my code: public class MainActivity extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); VideoView videoView = (VideoView) findViewById(R.id.stream_video_view); videoView.setVisibility(View.VISIBLE); MediaController mc = new MediaController(this); mc.setAnchorView(videoView); mc.setMediaPlayer

How to do webcam streaming with mpegtsmux in Gstreamer

那年仲夏 提交于 2019-12-12 10:51:42
问题 I'm new to gstreamer, and I want to stream webcam video through network with mpeg2-ts. I am able to stream video using following pipeline, but I don't know how to stream it with mpeg2-ts using mpegmux . Any help would be great! Thanks. My working pipline (without mpegmux ) : // Sender gst-launch-1.0 -ve v4l2src \ ! video/x-raw, framerate=30/1 \ ! videoconvert \ ! x264enc noise-reduction=10000 speed-preset=fast tune=zerolatency byte-stream=true threads=4 key-int-max=15 intra-refresh=true \ !