video-streaming

How to get video thumbnail (frame) from live video url

浪子不回头ぞ 提交于 2019-12-23 20:21:06
问题 I have video uploaded on server. which is trailer of movie. I can play this video direct to my videoView with the help of live url. My question: is there any method in android which help me out to get a video frame from url without download the video to local storage. I know one method name "createvideothumbnail" but it will not work in my case. because i need to get the video thumbnail without download the whole video. as you have seen the mechanism is implemented in imdb official app

Render h264 video frames in directx 11

允我心安 提交于 2019-12-23 20:02:55
问题 I am new to DirectX . I am trying to write a custom IP camera video player and for which I am using DirectX11 to render the decoded image with Wpf Gui as my front end. I am a c# developer and have used managed directx which is no longer updated by microsoft hence moved to wpf and directx11. All parts of my application up to the rendering of the frames is working fine. I have managed to create a D3DImage source which will be used in Wpf app, successfully create my viewports and my device

Stream 2 videos simultaneously Swift

拟墨画扇 提交于 2019-12-23 17:26:24
问题 I'm trying to stream two videos at the same time with swift on iphone. I already know that the AV Player can only stream one video at a time, but googling it I saw that it's still possible to stream different tracks at the same time. I also saw the picture in picture implementation. The real problem is that is all in objective-c and the code is quite old. I tried to understand it running the code as it is, but there are errors and some of the functions are deprecated. Does someone know how to

IIS Smooth Streaming in a WPF application

十年热恋 提交于 2019-12-23 12:30:08
问题 How can I play IIS Smooth Streaming video in a WPF application. I know Silverlight has built-in support for it, but I can't find much information for WPF. Will the MediaElement control support this in WPF 4? 回答1: Unless something has changed very recently, the only Windows Smooth Streaming client available is Silverlight. There is no support for Smooth Streaming in Windows Media Player or for other standalone Windows applications. 来源: https://stackoverflow.com/questions/2409930/iis-smooth

Region of Interest in Video File

一个人想着一个人 提交于 2019-12-23 10:53:08
问题 This is my first time posting here and hoping for a positive result since my research is near its conclusion. I want to add in my code a function that will process only the defined region of interest of a video file. (I can't post image since I don't have yet a reputation but same question is posted here ---> http://answers.opencv.org/question/18619/region-of-interest-in-video-file/) Storyboard: I'm making a program in C++/OpenCV that will make the pedestrians and vehicles look that they are

SKVideoNode only on a small part of SCNSphere

给你一囗甜甜゛ 提交于 2019-12-23 07:23:09
问题 I'm using SKVideoNode as a material for my sphere for 360 video, but it only renders the video on the xy positive part of the sphere, I'm streaming the video from a URL it's a .m3u8 for reference see - SKVideoNode as texture for SCNSphere Multiple people seem to be having the same issue as me func makeSphere() { let sceneView = SCNView(frame: self.view.frame); self.view.addSubview(sceneView); var screenSize: CGRect = UIScreen.mainScreen().bounds; var screenWidth = screenSize.width; var

download video with .m3u8 url in ios app

北城以北 提交于 2019-12-23 05:19:43
问题 How to download video with .m3u8 url in ios app document directory. When i download the video with .m3u8 url I receive the text file containing following data : EXTM3U EXT-X-VERSION:3 EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1057090,CODECS="avc1.4d001f,mp4a.40.2",RESOLUTION=854x480 14527590795694Super-Cool-Stylesstream_80.m3u8 EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1902362,CODECS="avc1.4d001f,mp4a.40.2",RESOLUTION=1280x720 14527590795694Super-Cool-Stylesstream_81.m3u8 EXT-X-STREAM-INF:PROGRAM

Howto host Vimeo videos on Xamarin forms?

血红的双手。 提交于 2019-12-23 05:17:50
问题 How do I get Xamarin mobile app to host vimeo video playback? While I found how to play video in Xamarin, I cannot see how to do this for Vimeo? 回答1: ill expand on how i've done this for a xamarin forms app. ie. video url: https://vimeo.com/135727591 use the following to get the config info https://player.vimeo.com/video/{VideoId}/config so take video id and get the config using the following: https://player.vimeo.com/video/135727591/config now parse the config file from the json received 回答2

Streaming .m3u8 using MPMoviePlayerController does not work

南楼画角 提交于 2019-12-23 04:53:25
问题 I used the example in how to play a local video and tried to modify for use on .m3u8 file. I am unable to make it work. I get a blank screen. I confirmed that the file was ok by testing on VLC. Any help would be appreciated. Here is the code: import UIKit import MediaPlayer class ViewController: UIViewController { var moviePlayer : MPMoviePlayerController? override func viewDidLoad() { super.viewDidLoad() playVideo() // Do any additional setup after loading the view. } override func

Stream using libstreaming to VLC 2.2.4 exception

半城伤御伤魂 提交于 2019-12-23 04:45:47
问题 I setup libstreaming to stream video from Android camera to VLC 2.2.4 on my macOS. SharedPreferences.Editor editor = PreferenceManager.getDefaultSharedPreferences(context).edit(); editor.putString(RtspServer.KEY_PORT, String.valueOf(1777)); editor.apply(); SessionBuilder.getInstance() .setContext(context) .setCallback(this) .setAudioEncoder(SessionBuilder.AUDIO_NONE) .setVideoEncoder(SessionBuilder.VIDEO_H264) .setVideoQuality(new VideoQuality(640, 480, 15, 500000)); context.startService(new