Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
How would one compare Ogg Theora and WebM against the following parameters:-
Efficiency of compression
Efficiency of computation
Issues in Wider adaptability (why wouldn't someone make a hardward chip that does Ogg or WebM transcoding; like it is currently done for H.264)
Possible/Future intellectual property issues
Availability in existing devices
The reason I ask these questions is because I need to choose between Ogg Theora and WebM format for a software project and I am a FLOSS believer.
Good graph here: http://farukat.es/journal/2011/01/488-google-h264-and-video-web
This is a tough call, but honestly, WebM is probably going to win out in the end considering it's Google's project. Ogg will most likely stay what it is now in it's audio counterpart-- an open standard that is not widely-adopted even though it's superior in some ways.
H.264 is Apple's, WebM is Google's. Apple will most likely end up adopting WebM, and Google will most likely continue to pare back H.264 on their devices.
I'd base your decision more on longevity than on video quality, the reason being that the quality isn't that different, and even better quality could end up losing in the end. Remember Betamax?
We are using an optimized version of Theora for our video-chat appliation, and are very happy with the quality and performance. VP8 seems to have the same quality, but the encoder is slow compared to Theora.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I'm looking into how I can record video / audio via a devices camera. The recording will be temporarily stored on the server, I'll then upload to Vimeo before deleting the original video from my server. The latter part I can do, the first is proving to be difficult.
I would have loved to have used the getUserMedia API but I haven't found a way to record both the audio and the video in a reliable way. I've looked at MediaStreamRecorder but that isn't currently supported. Other solutions such as:
http://ericbidelman.tumblr.com/post/31486670538/creating-webm-video-from-getusermedia
Are too slow and work in too few browsers for it to be considered for a production site. Which leads me to believe the only way to do this is use Flash (blurgh).
Which leads me to my question. Has anyone had experience implementing something similar? Is there a solution that will perform well on most modern browsers but doesn't require downloading big libraries. I'll be providing a file upload fallback so in terms of browser support it would just need to work in most modern browsers.
I'm mostly looking for guidance and ideas on how to solve this problem.
There is no broadly available solution to this. You can use Flash or Silverlight or Java on browsers that support them. You can use getUserMedia on browsers that support them. But even if you do all of those, some browsers like Safari (and thus iOS) are left out until they implement getUserMedia
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I want to play a video file (avi) at a specific time (for example, 40s) in html4. I found it's possible to manipulate a mp4 file in html5 using javascript. But apparently html5 doesn't cover avi file. It's quite a burden to convert all the avi files into mp4, as they are over 100. Are there any solutions?
Not with HTML4 features, but there are other solutions...
HTML5 video is supported with a few video types - none of them .avi ->
http://en.wikipedia.org/wiki/HTML5_video#Supported_video_formats
Most web sites and applications that support HTML5 video have a flash player fallback. When the user's browser doesn't support HTML5 video, the flash player will play one of the encoded videos (.mp4 extension) through a .swf video player. Sites like Youtube use the query string from the URL to supply the video player with a start time in seconds. This video player will either be HTML5 or flash, but not HTML4. Avi videos aren't much use on web, so I'd recommend using Miro video encoder to encode avi's into mp4.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I’m trying to stream an .MP4 from a mobile website. They run fine from my desktop but not on my phone , I get, “Sorry, this video is not valid for streaming to this device.” On my 2.2 Android and “Sorry, we can’t’ play this file on your phone” on the Windows emulator.
This is my video embed code, it’s doing it the HTML5 way.
<video
src="http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4"
poster="http://www.mysite.com/myMobileSite/Content/Images/icon5.png"
type="video/mp4"
width="400" height="300" controls>
</video>
I can play “Video For Everybody” and other videos I’ve found on the net but I can’t play mine, which leads me to believe there is something wrong with a codec??? Or the way I’ve converted them from .AVI. but bear in mind the MP4s do play via the HTML5 MVC Razor webpage on my desktop, just not in the phones.
Any ideas?
Currently html5 video and audio support is a whole new world of pain and compatibility problem - caught in a grid lock between the big internet companies. A great guide would be Mark Pilgrim's great book diveintohtml5.
The chapter about audio and video encoding, support etc. should solve you problem or lead you in the right direction.
Have a read of this and see it it helps?
I suggest removing the src attribute from the video element and adding a source element that points to the MP4 file.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
If I make an Amazon s3 MP4 resource publically availible and then throw the Html5 Video tag around the resource's URL will it stream? Is it really that simple. There are a lot of "encoding" api's out there such as pandastream and zencoder and I'm not sure exactly what these companies do. Do they just manage bandwidth allocation(upgrading/downgrading stream quality and delivery rate/cross-platform optimization?) Or do encoding services do more then that.
This is Brandon from Zencoder. What you're looking for is probably something like Video JS (videojs.com) for video playback. You can just upload an MP4 to S3 and reference it in a player (or the video tag directly, but that has additional issues). Our service is actually used for transcoding the video itself, not delivery. We actually created Video JS to help our customers (and the web at large) with easy, compatible HTML5 playback. If you have any other questions just ask. Thanks.
The answer to the first part of your question is, yes, it is really that simple. There is a how-to about it and a working demo at the end of the article that you can see as a proof of concept.
I just had the same question as you and was happy to see that uploading an mp4 file to S3, setting "public" permissions on it, and then using this simple HTML worked great without any additional tools. And CloudFront wasn't even necessary.
<video id="clip" controls preload=auto width=640 height=264 data-setup="{}">
<source src="https://s3.amazonaws.com/xxxxbucketnamexxxxx/xxxxfilenamexxxx.mp4" type='video/mp4'/>
</video>
Amazon S3 is a really good choice for serving up video content. We've been using it for a couple of years with no issues and the cost has been unbeatable. You should also look at using Amazon CloudFront and configuring your media to use their "streaming distributions". It basically uses your S3 files but copies them to edge locations around the internet and uses RTMP to provide a better playback experience for users and to save you money on bandwidth.
http://aws.amazon.com/cloudfront/
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
How can you display a video (mpeg or avi) with controls (play, stop, fullscreen) in both internet explorer 7 and up and firefox 3.0 and up. A lot of the examples online only works for one of the other. And I can't seem to find one that does it all.
Constraints :
I dont want a solution which needs me to export my videos to youtube or google video or others.
I don't to convert the video to another format, such as flv or mov (avi and mpeg are widely used, there should be a solution where you don't need to convert them).
There are many ways you can do this, however, you will probably have to convert your video files to .flv and use a free media player like the Longtail Player or the OS FLV player (Google them) to embed them on your webpage.
Alternatively, you can wait for HTML5 to come out; this will take a while for major browsers to accept but they have an easy <video> tag.