javascript - Help! When playing a video on a web page, there is only sound but no picture. How do you know whether the video is encoded as H264 or MPEG4 when uploading a video file on the web page?
高洛峰
高洛峰 2017-05-24 11:36:12
0
2
1054

Update question:

After testing, neither flash nor video tags can play mp4 files encoded in MPEG4. Now I want to change my thinking and want to prohibit users from uploading videos in this format from the source. I would like to ask if this encoding format can be recognized when uploading MP4 files on the web page? ?

The project I am developing plays videos uploaded by others. I encountered an MP4 file recorded by a mobile phone. When using the video tag to play, there is only sound but no picture. I originally thought that using flash could solve the problem, but then using jwplayer and ckplayer became a tragedy. There is only sound but no picture. I would like anyone in the forum who knows about this to help me find out how to solve it. I hope you can help me test it. Thank you!

Video information:


Video address:

http://test1-store.oss-cn-beijing.aliyuncs.com/591abafc12bbb0e42cc3896a.mp4

Use jwplayer to play the picture:

高洛峰
高洛峰

拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...

reply all (2)
迷茫

Go check the video formats supported by HTML5 and convert your MP4 to a supported format

    phpcn_u1582

    There should be something wrong with the video format or the process of uploading the video. Indeed, there is only sound but no image

      Latest Downloads
      More>
      Web Effects
      Website Source Code
      Website Materials
      Front End Template
      About us Disclaimer Sitemap
      php.cn:Public welfare online PHP training,Help PHP learners grow quickly!