X
Nhấn vào đây để đến phiên bản di động của trang web.

Diễn đàn trợ giúp

MP4 video problem in Firefox 35.0.1

DYR
Được đăng

Hi Everyone,

I see that problems with MP4 playback are fairly common but I couldn't find a solution to my problem in any of the several questions and answers I've reviewed.

When I comment out the OGG code at http://www.deiryassin.org/video.html I cannot get the MP4 file to play. The OGG file play back in Firefox is just fine. Someone else who uses the latest version of Safari for the Mac OS was not able to get reliable MP4 playback, either. Per w3schools.com, MP4 is a supported fiie type in both Safari and Firefox.

I don't know how to embed HTML in this question so please see the attached PNG file for the code I used for testing MP4 playback. The MP4 file location is correct and the file is not corrupted, it plays fine when I download it.

When I try to play it in Firefox the browser console/error log says: "Specified 'type' attribute of 'video/mp4' is not supported. Load of media resource /media/deiryassinremembered.mp4 failed." The browser displays: "No video with supported format and MIME type found".

Here are the codecs for the file: Codec: H264 - MPEG-4 AVC (part 10) (avc1) Codec: MPEG AAC Audio (mp4a)

The following lines are in my .htaccess:

AddType video/mp4 mp4 m4v AddType audio/mp4 m4a

I've re-enabled the OGG source for visitors to the site. Any ideas on what I'm doing wrong?

Thanks.

Hi Everyone, I see that problems with MP4 playback are fairly common but I couldn't find a solution to my problem in any of the several questions and answers I've reviewed. When I comment out the OGG code at http://www.deiryassin.org/video.html I cannot get the MP4 file to play. The OGG file play back in Firefox is just fine. Someone else who uses the latest version of Safari for the Mac OS was not able to get reliable MP4 playback, either. Per w3schools.com, MP4 is a supported fiie type in both Safari and Firefox. I don't know how to embed HTML in this question so please see the attached PNG file for the code I used for testing MP4 playback. The MP4 file location is correct and the file is not corrupted, it plays fine when I download it. When I try to play it in Firefox the browser console/error log says: "Specified 'type' attribute of 'video/mp4' is not supported. Load of media resource /media/deiryassinremembered.mp4 failed." The browser displays: "No video with supported format and MIME type found". Here are the codecs for the file: Codec: H264 - MPEG-4 AVC (part 10) (avc1) Codec: MPEG AAC Audio (mp4a) The following lines are in my .htaccess: AddType video/mp4 mp4 m4v AddType audio/mp4 m4a I've re-enabled the OGG source for visitors to the site. Any ideas on what I'm doing wrong? Thanks.
Đính kèm ảnh chụp màn hình

Được chỉnh sửa bởi DYR vào

Chi tiết hệ thống bổ sung

Phần bổ trợ đã cài đặt

  • Adobe PDF Plug-In For Firefox and Netscape 11.0.8
  • Shockwave Flash 16.0 r0
  • Adobe Shockwave for Director Netscape plug-in, version 12.0.5.146
  • Npdsplay dll

Ứng dụng

  • Chuỗi đại diện người dùng: Mozilla/5.0 (Windows NT 5.1; rv:35.0) Gecko/20100101 Firefox/35.0

Thông tin chi tiết

FredMcD
  • Top 10 Contributor
4308 giải pháp 60504 câu trả lời
Được đăng

I've called the big guys to help you. Good luck.

I've called the big guys to help you. Good luck.
FredMcD
  • Top 10 Contributor
4308 giải pháp 60504 câu trả lời
Được đăng
'''[https://www.adobe.com/software/flash/about/ Flash Player Test Page]''' '''[https://www.youtube.com/html5 YouTube Test Page: What video does this browser support]'''
cor-el
  • Top 10 Contributor
  • Moderator
17690 giải pháp 160039 câu trả lời
Được đăng

Both the MP4 file and the OGG file work for me on Linux (the latter takes some time to start up), so there is nothing wrong with the files. If the MP4 file doesn't play then it is possible that you do not have a codec to handle this file.

Both the MP4 file and the OGG file work for me on Linux (the latter takes some time to start up), so there is nothing wrong with the files. If the MP4 file doesn't play then it is possible that you do not have a codec to handle this file.
DYR
Được đăng

Người tạo câu hỏi

cor-el said

Both the MP4 file and the OGG file work for me on Linux (the latter takes some time to start up), so there is nothing wrong with the files. If the MP4 file doesn't play then it is possible that you do not have a codec to handle this file.

Thanks, cor-el, for letting me know the files work on a Linux machine. The MP4 file plays fine on this machine with the VLC Media Player. I wonder if the problem is that the MP4 file uses the H264 - MPEG-4 AVC (part 10) codec while Firefox perhaps only supports the "part 14" container.

''cor-el [[#answer-691517|said]]'' <blockquote> Both the MP4 file and the OGG file work for me on Linux (the latter takes some time to start up), so there is nothing wrong with the files. If the MP4 file doesn't play then it is possible that you do not have a codec to handle this file. </blockquote> Thanks, cor-el, for letting me know the files work on a Linux machine. The MP4 file plays fine on this machine with the VLC Media Player. I wonder if the problem is that the MP4 file uses the H264 - MPEG-4 AVC (part 10) codec while Firefox perhaps [https://developer.mozilla.org/en-US/Apps/Build/Audio_and_video_delivery/H.264_support_in_Firefox only supports the "part 14"] container.
DYR
Được đăng

Người tạo câu hỏi

deiryassin said

I wonder if the problem is that the MP4 file uses the H264 - MPEG-4 AVC (part 10) codec while Firefox perhaps only supports the "part 14" container.

I've ruled out part 10 vs. part 14. The Big Buck Bunny video used by the MDN uses the same part 10 video codec.

''deiryassin [[#answer-691639|said]]'' <blockquote> I wonder if the problem is that the MP4 file uses the H264 - MPEG-4 AVC (part 10) codec while Firefox perhaps [https://developer.mozilla.org/en-US/Apps/Build/Audio_and_video_delivery/H.264_support_in_Firefox only supports the "part 14"] container. </blockquote> I've ruled out part 10 vs. part 14. The Big Buck Bunny video [https://developer.mozilla.org/en-US/Apps/Build/Audio_and_video_delivery/H.264_support_in_Firefox used by the MDN] uses the same part 10 video codec.
CC001 0 giải pháp 5 câu trả lời
Được đăng

Works fine in HTML5.

Here's the add-on if you feel like giving HTML5 a go https://addons.mozilla.org/en-us/firefox/addon/html5-video-everywhere/

Works fine in HTML5. Here's the add-on if you feel like giving HTML5 a go https://addons.mozilla.org/en-us/firefox/addon/html5-video-everywhere/