FireFox Video throws warning but video actually works? - firefox

OS: Ubuntu 18.04
FF: 85.0.1
Error/warning: Cannot play media. No decoders for requested formats: video/mp4, video/mp4
Same error for video/ogg
Here are my questions: 1) The video still plays fine once loaded, and there is no error in Chrome or Chromium. Why does the video work fine after loading but throws the error on load? 2) Is there anything that can be done without re-encoding over 2 gigs of video?
Context: this is an old no-profit site that used Flash for video and we really don't want to throw a lot of time at, but there are gigs of videos. I converted all .flv files and .mpg files to .mp4 using the most simple of ffmpeg commands, examples:
ffmpeg -i video-source.flv video-source.mp4
ffmpeg -i video-source.mpg video-source.mp4
ffmpeg -i video-source.mpg video-source.ogg
As I watched the ffmpeg output, it looked to me like the codec was H264 (at least, I think that is what I am seeing, not a video expert.)
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> theora (libtheora))
Stream #0:1 -> #0:1 (aac (native) -> vorbis (libvorbis))
Server response in a direct request to the mp4 files is
Content-Type
video/mp4
I have seen the documentation and posts on fragmented mp4 and if re-encoding is the only option, we're probably going to abandon as it does play once loaded.
Code is simplistic, using an html5 doctype:
<video id=some-container-id" width="320" height="240" controls>
<source src="/images/video/mp4/video-source.mp4" type="video/mp4">
<source src="/images/video/ogg/video-source.ogg" type="video/ogg">
Your browser does not support the video tag.
</video>
Is the only option here to pander to FireFox and re-encode everything since as mentioned, it plays fine once loaded and throws no error in Chrome?

Just ignore the warning. It's wrong and fixed in Firefox 86.

Related

C930 Webcam not show h264 stream

I'm working on capture video using the Logitech C930. Currently on Windows 8.1 and use the H264 stream from the webcam it self.
However on some PC the H264 Stream not show. I understand that C930 use UVC 1.5 and only appear in Windows 8.
Any idea how to make h264 stream visible ?
Here is the pc have problem
Here is the pc that working

Video stored on Windows Azure blob doesn't work with VideoJS (with Chrome)

I want to store .mp4 videos to display them in a HTML5 player (videojs).
I have a Problem on Chrome browser : I can't moving seek-bar back or forward in the video (stored on Azure). This problem does not arise if I host the video on another server.
I have checked the mime type (video/mp4). Have You Encountered this problem?
Apparently it is possible that the problem comes from the Accept-Ranges: bytes (not present in HTTP response).
Here is the link in question: http://tbf.azurewebsites.net/fr/media/unrealistic-expectations-10000-dollars
Thank you very much,
Best regards
Formats supported by Chrome are H-264, VP8 (WebM video part), Theora for video and MP3, AAC, Vorbis for audio. MPEG-4 Visual is not supported (Chromium issue 54036).
So, Chrome can play .mp4 with H-264 video but not MPEG-4 Visual video.
https://stackoverflow.com/a/12174154/1384539

QTMovieView supported formats

I am developing a media player using QTKit framework in Mac OS X (v 10.6). I have used QTMovieView control for the same but there is a problem. The issue is that mov files are played perfectly but avi files and similar formats are not playing properly by properly I mean that though I have added a document type for public.avi file type but only sound is coming and there is no visual output in the player. Been trying to play the same using Quicktime (v 10) but no avail.
Could anyone point me in the right direction?
AVI as well as MOV are just movie containers. Usually a movie file contains a video track and an audio track. When in comes to playback it depends on the particular codecs used to compress the tracks. Quicktime can read AVI files, but it needs the certain codec to play the video.
You need to find out what video codec was used in your movie. There are number of apps that can display this information. For example VLC Player.
If Quicktime does not play it with default set of codecs, most likely the codec is Divx.
After you have found out what codec is used install the certain Quicktime component.
From documentation..and see supported formats..
Audio formats
AIFF, MP3, AU, WAV, uLaw
Video formats
AVI, AVR, DV, M-JPEG, MPEG-1, MPEG-2, MPEG-4
Codecs
AAC, AVI, AVR, DV, M-JPEG, MPEG-1, MPEG-2, MPEG-4, , OpenDML, 3GPP,
3GPP2, AMC, H.264
Web streaming formats
HTTP, RTP, RTSP

MediaElement and AAC stream support on Windows Phone 7

According to this link the Windows Phone 7 supports the AAC encoded audio stream in the browser and via the MediaElement API as well. We have tested few the icecast streams (e.g. this) it on our devices (e.g. HTC HD7 T9292, with latest updated - ver 7.0 (7392) ), but it does not work either in web browser or via API. The mp3 live stream works fine.
Any clues, why the AAC does not work, even the documentation says it should?
BR
SteN
Icecast is not pure AAC, in 7.0 you need to strip out the icecast headers and metadata using a custom MediaStreamSource and then feed the raw AAC to the MediaElement.
It looks like from your comments that they may have added native icecast support to Mango.

How to stream video in MJPEG Formate in Mac

How can i stream video in MJPEG format in MAC. I am using Qt-kit API of QuickTime.
Is it just a motion jpeg that can be viewed with a web browser?
You can try using a WebView. Create an NSURLRequest with the location of the mjpeg and load it in the WebView.

Resources