搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Firefox 44 do not play html5 video

  • 6 回覆
  • 2 有這個問題
  • 23 次檢視
  • 最近回覆由 jdanield

more options

Best example is on this page: http://lesgazelles.fr/index.php?n=Site.VideosGazelles last video (chain) is ogv only, it plays. Hit that jive is mp4 only and don't play (ask for wbm that is not available) the other video on the page have both ogv and mp4, they play sound but no image. this http://dodin.info/piwigo/picture.php?/111861-20151109_mg_garage/category/5948 mp4 only page used to play with previous firefox (may be several versions away, I don't test every version). It plays fine in chromium

Firefox 44 on openSUSE Leap, with (apparently) all the gstreamer codecs installed

direct link to the video files:

direct link to the ogv file (read)

http://lesgazelles.fr/uploads/Site/20130926-florida-gaz-03-haventfound.ogv

and the mp4 file (say it's corrupted)

http://lesgazelles.fr/uploads/Site/20130926-florida-gaz-03-haventfound.mp4

I spent some month ago much time searching for a compatible mp4 codec and found one (use handbrake, ipad profile web optimized)

any clue?

thanks jdd

Best example is on this page: http://lesgazelles.fr/index.php?n=Site.VideosGazelles last video (chain) is ogv only, it plays. Hit that jive is mp4 only and don't play (ask for wbm that is not available) the other video on the page have both ogv and mp4, they play sound but no image. this http://dodin.info/piwigo/picture.php?/111861-20151109_mg_garage/category/5948 mp4 only page used to play with previous firefox (may be several versions away, I don't test every version). It plays fine in chromium Firefox 44 on openSUSE Leap, with (apparently) all the gstreamer codecs installed direct link to the video files: direct link to the ogv file (read) http://lesgazelles.fr/uploads/Site/20130926-florida-gaz-03-haventfound.ogv and the mp4 file (say it's corrupted) http://lesgazelles.fr/uploads/Site/20130926-florida-gaz-03-haventfound.mp4 I spent some month ago much time searching for a compatible mp4 codec and found one (use handbrake, ipad profile web optimized) any clue? thanks jdd

所有回覆 (6)

more options

I could a bit narrow the problem. In openSUSE Leap, with the Packman repository enabled and with all the codecs (specially gstreamer);

zypper dup --from "Packman Repository"

make sure all the multimedia packages come from Packman, then mp4 aloe should work (with the Handbrake coding).

this mp4 video plays fine:

http://dodin.info/piwigo/picture.php?/111861-20151109_mg_garage/category/5948

But html5 do not work as fine as expected. This is probably because Firefox expect a very special mp4 format (I don't know why). So, now, Firefox feels like reading mp4, but in fact don't. Why does it read the sound, I don't know. but look at this page:

http://lesgazelles.fr/index.php?n=Site.VideosGazelles

that gives choice between mp4 and ogv.


Oone hear the sound, but don't see the image.

making a right clic on the frame, one can choose "donwload video" and see the video is mp4.

A direct link to the video gives no sound and noimage

http://lesgazelles.fr/uploads/Site/20130926-florida-gaz-03-haventfound.mp4

The ogv file:

http://lesgazelles.fr/uploads/Site/20130926-florida-gaz-03-haventfound.ogv

works perfectly. So the fact that Firefox readsonly some mp4 make some web site to work and others to fail that previously worked.

I don't know of any way to gives a priority of ogv versus mp4

jdd

more options

Well... I could verify my hypothesis. With the good mp4, the web site works:

http://lesgazelles.fr/index.php?n=Site.VideosGazelles

but then, the ogv file become unuseful...

If you have only a handful of file, ok, but if you get large collection...

the script I use (with the correct handbrake-cli syntax) is:

  1. !/bin/bash
  2. echo usage: movtomp4-html5.sh *.MOV

mkdir html5 for a ; do b=`echo "$a" | cut -d'.' -f1` ; HandBrakeCLI -i "$a" -t 1 --angle 1 -c 1 -o "html5/$b.mp4" -f mp4 -O -w 960 --crop 0:0:0:0 --loose-anamorphic --modulus 2 -e x264 -q 22 -r 30 --pfr -a 1 -E av_aac -6 dpl2 -R Auto -B 160 -D 0 --gain 0 --audio-fallback ac3 --encoder-level="3.1" --encoder-profile=high --verbose=1 done exit

I don't know in it what is the part really mandatory, but this syntax is read by all the browser I'm aware of...

more options

The MP4 file works for me on Linux.

  • http://lesgazelles.fr/uploads/Site/20130926-florida-gaz-03-haventfound.mp4

Make sure you have the latest updates of GStreamer and FFmpeg.

more options

cor-el said

The MP4 file works for me on Linux.
  • http://lesgazelles.fr/uploads/Site/20130926-florida-gaz-03-haventfound.mp4
Make sure you have the latest updates of GStreamer and FFmpeg.

have to, I just updated all the files to the mp4/Firefox compatible version (see previous post :-) thanks jdd

more options

Well with the appropriate Gstreamer and FFmpeg packages installed on 64-bit openSUSE 42.1 the HTML5 videos on Youtube, twitter and your example works fine in Firefox versions from mozilla.org and also in SeaMonkey. I do not use any openSUSE versions of Firefox and SeaMonkey.

The http://opensuse-community.org page used to make it easy to install the needed packages after a new openSUSE install but they have since removed that part on page.

由 James 於 修改

more options

nope.

I can easily post mp4 video that works perfectly locally but not on firefox. In fact most mp4 viedo that do not comply with the options I published do not work.

I don't know what options make the difference.

look.

http://lesgazelles.fr/index.php?n=Main.WikiSandbox

on this page I have two videos, one is ogv and the other is the mp4 I had originally on the other page. Since Firefox is said to read mp4, this video do not work anymore. No idea why. One can hear the sound, right clicking the video and choosing "display video" show the ogv files with all images, but the mp4 (simply in the url change ogv to mp4) says the video is corrupted, file / write to allows you to download the file an see if you can read it (ffplay reads it perfectly)

thanks helping jdd

由 jdanield 於 修改