Now the application of web pages is extremely wide. In actual projects, some MP4 files can be played normally in the H5 webpage, but some are not. Why is this?
1. First of all, I downloaded a MP4 file from the Internet. IE10 and Google can be played normally. Then I used the format into the factory to convert a RMVB file as MP4, and then could not play.As shown in the figure below, I chose the MP4 format conversion, and the configuration file inside was adjusted many times, but it could not be played. IE10 was completely react. Google could make a sound, but the image could not come out.
2. I see the file attribute-detailed information in the file right-click attribute, which is basically the same. 3. I play two different files in Potplayer, use Potplayer to view the attributes of the 2 files, and find that different places are found.The video attributes that can be played normally on the online download can be played by Video tags as shown below
We can see that the video code is AVC
And the video coded by the Format Factory's transcoding is as follows
I found that my own transfer video coding is MP4V.
4. Find the format of the AVC encoding in the format of the format, as shown in the figure below 5. Select the encoding in AVC format, re -transfer, and use the Video tag to play normally.In the final analysis, the problem of video coding format is not a problem with the webpage program.
The above is all the contents of this article. I hope the content of this article will help everyone's learning or work ~ If you have any questions, you can leave a message to communicate. Thank you for your support for VEVB Wulin.com!