streaming-video

How do I close a Node.js FFMPEG child process that is actively streaming from a live capture source?

こ雲淡風輕ζ 提交于 2019-12-23 20:09:09
问题 I'm new to Node.js and have figured out how to utilize child.spawn to launch an instance of FFMPEG that is being used to capture live video and send it over to Adobe Media Server via rtmp. Every example I've seen of FFMPEG being used in conjunction with Node.js has been with a time limited sample, so the child process closes once FFMPEG reaches the end of the file it is converting. In this case, there is no "end of file". If I instantiate: var ffmpeg = child.spawn('ffmpeg.exe', [args]); it

Play .ts video file on Android?

回眸只為那壹抹淺笑 提交于 2019-12-23 09:59:44
问题 I am pretty new at streaming video, so please bear with me. :) I am trying to port an m3u8 stream over from iPhone to Android. Looking in the m3u8 feed, I found some .ts files. From what I can tell, .ts files are, themselves, wrappers that contain the video stream (Elementary Stream). Is it possible to play a .ts file in Android? (The docs only list 3gp and mp4 as supported formats.) Is there a way to extract the Elementary Stream and just process the video feed? If that is in 3gp or mp4, I

Pros and cons of MPMoviePlayerController versus launching UIWebView to stream movie

ぐ巨炮叔叔 提交于 2019-12-03 02:02:11
问题 I have a client who has video content for the web in Flash format. My task is to help them show the videos in an iPhone app. I realize that step one is to get these videos into the appropriate Quicktime format for the iPhone. Then I'm going to have to help the client figure out how or where to host these files. If that's tricky I assume they can be hosted at YouTube. My chief concern, though, is which approach to take to stream the video. What are the pros and cons of MPMoviePlayerController

Pros and cons of MPMoviePlayerController versus launching UIWebView to stream movie

試著忘記壹切 提交于 2019-12-02 15:39:11
I have a client who has video content for the web in Flash format. My task is to help them show the videos in an iPhone app. I realize that step one is to get these videos into the appropriate Quicktime format for the iPhone. Then I'm going to have to help the client figure out how or where to host these files. If that's tricky I assume they can be hosted at YouTube. My chief concern, though, is which approach to take to stream the video. What are the pros and cons of MPMoviePlayerController versus launching UIWebView with the URL of the stream? Is there any difference? Is one of them more or