phppup Posted March 7, 2019 Share Posted March 7, 2019 (edited) This is a first time effort to create a video of my local pc workstation screen. Attempt #1 utilized an application provided in Windows 10 to create the MP4 file. Attempt #2 was to convert a Powerpoint 2010 presentation into an MP4 file Both seemed to go well, and produced files then when clicked independently on the desktop, will play their clip. However, when called from a local webpage "No video with supported format" is the message displayed where the working video is expected. <video width="400" controls> <source src="mov_bbb.mp4" type="video/mp4"> <source src="mov_bbb.ogg" type="video/ogg"> Your browser does not support HTML5 video. </video> <video width="400" controls> <source src="Presentation2.mp4" type="video/mp4"> <source src="Presentation2.mp4" type="video/ogg"> Your browser does not support HTML5 video. </video> I borrowed a video clip from W3 and it seems to work fine, which leads me to believe that either I am creating a damaged file or the file is not truly MP4. The file PROPERTIES indicate it is MP4 in all instances. Where did I go wrong? Edited March 7, 2019 by phppup Quote Link to comment Share on other sites More sharing options...
requinix Posted March 7, 2019 Share Posted March 7, 2019 MP4 is an extension. What matters is the underlying video and audio codecs being used. (And Windows' properties won't tell you what those are.) It also varies by browser. Quote Link to comment Share on other sites More sharing options...
phppup Posted March 7, 2019 Author Share Posted March 7, 2019 I opened the webpage in both Firefox and Chrome and got the same result. I'm going to conclude that since these are the same browsers that played the video from W3 (both while at their URL and after saving the file locally) that it is not a browser issue. How do I proceed regarding the codecs, or is their a simpler / more effective way to make a simple screen recording for use on a webpage? Quote Link to comment Share on other sites More sharing options...
requinix Posted March 7, 2019 Share Posted March 7, 2019 Windows and Microsoft tend to use AVI for some inexplicable reason. Use a tool like FFmpeg to transcode the video into something safe like H.264+MP3. Quote Link to comment Share on other sites More sharing options...
phppup Posted March 8, 2019 Author Share Posted March 8, 2019 Can I simply change the MP4 extension to AVI just to confirm functionality? Quote Link to comment Share on other sites More sharing options...
gizmola Posted March 8, 2019 Share Posted March 8, 2019 AVI's and MPEG are completely different, so no. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.