How can i stream video in MJPEG format in MAC. I am using Qt-kit API of QuickTime.
Is it just a motion jpeg that can be viewed with a web browser?
You can try using a WebView. Create an NSURLRequest with the location of the mjpeg and load it in the WebView.
Related
I am using an FFMPEG component in embarcadero C++ Builder to capture video from a Direct show video camera. The capture works fine and gives me good quality mp4 files which I can play back using VLC player or FFMPEG, but the video file is not compatible with windows media player and windows won't give the nice video image when you view a file list with windows explorer.
I have seen suggestions which say you simply need to set the capture format to YUV420P, however if I do this, FFMPEG raises an exception -5 (input / Output error) and the capture device will not open.
Is there any other setting I should be looking at to allow FFMPEG to open the camera and capture the stream so media player will accept it.
I want to store .mp4 videos to display them in a HTML5 player (videojs).
I have a Problem on Chrome browser : I can't moving seek-bar back or forward in the video (stored on Azure). This problem does not arise if I host the video on another server.
I have checked the mime type (video/mp4). Have You Encountered this problem?
Apparently it is possible that the problem comes from the Accept-Ranges: bytes (not present in HTTP response).
Here is the link in question: http://tbf.azurewebsites.net/fr/media/unrealistic-expectations-10000-dollars
Thank you very much,
Best regards
Formats supported by Chrome are H-264, VP8 (WebM video part), Theora for video and MP3, AAC, Vorbis for audio. MPEG-4 Visual is not supported (Chromium issue 54036).
So, Chrome can play .mp4 with H-264 video but not MPEG-4 Visual video.
https://stackoverflow.com/a/12174154/1384539
We are trying to supply video in emails and it will fall back to a static image if html5 video is not supported. We are having issues with Windows Phones mail client in that it appears to support HTML video because it loads the player. You can see the play icon in the middle but it does not play. It is totally unresponsive.
Does anyone know if there is a specific format videos need to be supplied in? Or if it is just an incompletely finished feature? It is worth noting I am testing this on WP7, not WP8 as I don't currently have access to that device.
Cheers
I think you should use H264 codec for your video with MP4 format.
This link can help you : HTML5 support in IE9 mobile.
To do this, you can use ffmpeg
ffmpeg -i you_video_file.[avi/mp4/mkv] -vcodec libx264 output.mp4
I'm playing around with streaming to a simple mediaelement in silverlight from VLC, but i'm having no such luck. I'm using the following code;
mediaelement.Source = new Uri("http://localip:8080", UriKind.Absolute);
mediaelement.play();
On the VLC end i'm using the following video settings (which i believe WP supports)
Method: HTTP
Container: MP4
Video: H-264
Audio: MP3
All i get is a black screen, no error, no video and no sound. I've read that WP doesnt like playing media etc whilst zune is running, so i've ran the project with my phone connected using wpconnect instead but still have the same issue.
Can anyone give me a few tips?
thanks
See this article for configuration and compatible audio and video formats:
From this article:
http://ipaddress:port;stream.nsv :sout=#transcode
vcodec=WMV2,vb=5000,fps=30,scale=1,acodec=wma2,ab=128,channels=1,samplerate=44100}:std{access=mmsh,mux=asfh,dst=MyIP:PortNo}
:no-sout-rtp-sap :no-sout-standard-sap :sout-keep
I am developing a media player using QTKit framework in Mac OS X (v 10.6). I have used QTMovieView control for the same but there is a problem. The issue is that mov files are played perfectly but avi files and similar formats are not playing properly by properly I mean that though I have added a document type for public.avi file type but only sound is coming and there is no visual output in the player. Been trying to play the same using Quicktime (v 10) but no avail.
Could anyone point me in the right direction?
AVI as well as MOV are just movie containers. Usually a movie file contains a video track and an audio track. When in comes to playback it depends on the particular codecs used to compress the tracks. Quicktime can read AVI files, but it needs the certain codec to play the video.
You need to find out what video codec was used in your movie. There are number of apps that can display this information. For example VLC Player.
If Quicktime does not play it with default set of codecs, most likely the codec is Divx.
After you have found out what codec is used install the certain Quicktime component.
From documentation..and see supported formats..
Audio formats
AIFF, MP3, AU, WAV, uLaw
Video formats
AVI, AVR, DV, M-JPEG, MPEG-1, MPEG-2, MPEG-4
Codecs
AAC, AVI, AVR, DV, M-JPEG, MPEG-1, MPEG-2, MPEG-4, , OpenDML, 3GPP,
3GPP2, AMC, H.264
Web streaming formats
HTTP, RTP, RTSP