video-streaming

Begin stream simple mp4 with ffserver

非 Y 不嫁゛ 提交于 2019-12-18 08:58:32
问题 I want to stream a mp4 and for this I read about ffserver. So I search and read ffserver documentations but still cant stream a simple file. For this I done these: 1-A win 8 and last VLC installed. 2-A Ubuntu 13 with last ffmpeg package. 3-A ffserver.conf file saved to /etc/ and copied from http://ffmpeg.org/sample.html (I just copy text in a new file). 4-Run this command : ffserver -f /etc/ffconfig.conf and this is result : avserver version 0.8.13-6:0.8.13-0ubuntu0.13.10.1, Copyright (c)

_itemFailedToPlayToEnd error when playing video in MPMoviePlayerController

不打扰是莪最后的温柔 提交于 2019-12-18 08:57:54
问题 I am trying to play video using MPMoviePlayerController , and am having following error, _itemFailedToPlayToEnd: { kind = 1; new = 2; old = 0; } Below is my code, NSURL *fileURL = [NSURL URLWithString:_videoUrl]; NSLog(@" fileURL: %@",fileURL); _moviePlayer = [[MPMoviePlayerController alloc] initWithContentURL:fileURL]; _moviePlayer.movieSourceType = MPMovieSourceTypeStreaming; UIWindow *backgroundWindow = [[UIApplication sharedApplication] keyWindow]; [_moviePlayer.view setFrame

MediaElement.js - Flash Video Wont Play Until Fully Loaded

大兔子大兔子 提交于 2019-12-18 04:12:34
问题 I'm having an issue will MediaElement.js (my flash video player) not playing my .m4V video files (encoded using ffmpeg) until the video is fully loaded . I have tested this with various third party video files that appear to play straight away before they have completely loaded. Only my files do not :( When played using the html5 video solution they play straight away, just not on the flash fallback. Could this be to do with the settings the video is being encoded at? I don't see any other

Live555 on Android

谁说胖子不能爱 提交于 2019-12-18 03:43:54
问题 I'm trying to get the RTSP video stream play in my Android App using the build-in Videoview/MediaPlayer, but there're always various problems on different ROMs or different network status(UDP packets blocked), it's really annoying so I want to implement my own rtsp client with the live555 source and GLES and ffmpeg. I can figure out how to use ffmpeg and GLES to show a video, but I'm not familiar with live555. Are there any compiled version of live555 on Android? or how could I do that myself

How to embed .h264 video file in html webpage using video tags

谁都会走 提交于 2019-12-18 02:48:01
问题 I am trying to play .h264 file in browser, Trying to accomplish this using html video tags. The result is always an empty frame. I did check some links on web, They recommend to play the video in .mp4 container. Can someone help me to accomplish this? UPDATED CODE: <video width="560" height="340" preload controls> <source src="hh.h264" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"'> <!--<source src="hh.mov" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"' /> <source src="hh.ogv" type=

How to embed .h264 video file in html webpage using video tags

拈花ヽ惹草 提交于 2019-12-18 02:47:43
问题 I am trying to play .h264 file in browser, Trying to accomplish this using html video tags. The result is always an empty frame. I did check some links on web, They recommend to play the video in .mp4 container. Can someone help me to accomplish this? UPDATED CODE: <video width="560" height="340" preload controls> <source src="hh.h264" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"'> <!--<source src="hh.mov" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"' /> <source src="hh.ogv" type=

How does a YouTube movie downloader work? - YouTube

帅比萌擦擦* 提交于 2019-12-18 01:12:12
问题 I'm wordering how apps such as Video DownloadHelper work. Any ideas? 回答1: UPDATE: This answer may now be outdated, see comments below. This was going to happen eventually anyway, as YouTube phases out FLV and shifts toward HTML5 video... They simply resolve the link to the actual FLV file, and download it. This is done by copying the video identifier from the URL: http://www.youtube.com/watch?v=WEeqHj3Nj2c Which is used to request info about the video: http://www.youtube.com/get_video_info?

Open video stream on VLC Player through the browser

筅森魡賤 提交于 2019-12-17 22:34:12
问题 Is it possible to add a type of link on a webpage that will open up VLC Player and start playing a stream video? Like this one: Alternatively, is it possible to embed VLC Player in the browser? 回答1: UPDATE: 2018-09-25 Most of this response only applies to older browsers, so updating some sections. It was possible on older browsers, but required a client-side browser plugin depending on your Browser and OS versions, see: https://web.archive.org/web/20150212035837/http://www.videolan.org/doc

How to Minimize/Maximize jQuery Dialog?

最后都变了- 提交于 2019-12-17 22:25:31
问题 I am using jQuery UI Dialog to show a video. The video is working fine. What I want to do is minimize the Dialog-element just like in an OS or something like that. A small icon like (" - ") that would minimize my dialog and when I press (*) it would close the dialog but keep the video running in the background. Here's my code //Watch Video $(".watchVideo").live('click',function(){ if($('div.ui-dialog').length){ $('div.ui-dialog').remove(); } var path = $(this).attr('rel'); var title = $(this)

PHP serve MP4 - Chrome “Provisional headers are shown/request is not finished yet” bug

主宰稳场 提交于 2019-12-17 20:06:59
问题 I want to check for users' subscription before allow them to see the video, for this reason I use PHP to interact with Stripe to check for user's subscription, and than used PHP script to serve MP4 to browser It works fine the first time a video is played in Google Chrome (Using HTML5 player)... But when I close the video and play it again, the video doesn't play anymore... I can NOT also reload the current page. It's like server stops working. When I inspect the 1st video request (the one