Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

Mine type video/OGG is not working.

  • 2 отговора
  • 1 има този проблем
  • 10 изгледи
  • Последен отговор от Conto

more options

I have tried everything ... mime video/ogg doesn't work at all. I started my old Angular application in which i had my camera feed shown (it was working like year or two ago).

So i tried to fix it, first it seemed it just need "muted" and "autoplay" set as parameters in <video> HTML tag. But then it just did not worked at all.

Detailed description: So i have tried use [CanPlayType] With params : "video/ogg" - it returned empty string so it is not supported However when i check your documentation here [Ogg containers] it says it is supported ...

I included picture with working stream and this is a tag i used:

(+ in angular i added mentioned muted and autoplay + load() and play() )

I have tried to transcode to this formats too Theora video and Vorbis audio in Ogg container

   <source src="video.ogv" type="video/ogg; codecs="theora, vorbis"">

Theora video and Speex audio in Ogg container

   <source src="video.ogv" type="video/ogg; codecs="theora, speex"">

Based on this documentation https://www.w3.org/TR/2009/WD-html5-20090423/video.html#attr-source-src

And use them in video tag param. like : type="video/ogg; codecs="theora, vorbis"" or type='video/ogg; codecs="theora, vorbis"' did not work.

(This was one that i used before and always:

--sout '#transcode{vcodec="theo",venc=theora{quality=3},vb="",scale="0.25"} :standard{mux=ogg,access=http,dst=":8753"}' 

that worked before)

Then i tried look up some example of code to just see it doesnt work at all (example of guide with not working video/ogg : https://tekeye.uk/html/html5-video-test-page See/search for "3: HTML5 Ogg Video Test" )

Please refer me to bug report or issue report i can provide any additional information.

(PS. this submit page dont have preview ... why ?)

I have tried everything ... mime video/ogg doesn't work at all. I started my old Angular application in which i had my camera feed shown (it was working like year or two ago). So i tried to fix it, first it seemed it just need "muted" and "autoplay" set as parameters in &lt;video&gt; HTML tag. But then it just did not worked at all. Detailed description: So i have tried use [[https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/canPlayType CanPlayType]] With params : "video/ogg" - it returned empty string so it is not supported However when i check your documentation here [[https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Containers#ogg Ogg containers]] it says it is supported ... I included picture with working stream and this is a tag i used: <source src="http://192.168.0.121:8753" type='video/ogg'> (+ in angular i added mentioned muted and autoplay + load() and play() ) I have tried to transcode to this formats too Theora video and Vorbis audio in Ogg container &lt;source src="video.ogv" type="video/ogg; codecs=&quot;theora, vorbis&quot;"&gt; Theora video and Speex audio in Ogg container &lt;source src="video.ogv" type="video/ogg; codecs=&quot;theora, speex&quot;"&gt; Based on this documentation https://www.w3.org/TR/2009/WD-html5-20090423/video.html#attr-source-src And use them in video tag param. like : type="video/ogg; codecs=&quot;theora, vorbis&quot;" or type='video/ogg; codecs="theora, vorbis"' did not work. (This was one that i used before and always: --sout '#transcode{vcodec="theo",venc=theora{quality=3},vb="",scale="0.25"} :standard{mux=ogg,access=http,dst=":8753"}' that worked before) Then i tried look up some example of code to just see it doesnt work at all (example of guide with not working video/ogg : https://tekeye.uk/html/html5-video-test-page See/search for "3: HTML5 Ogg Video Test" ) Please refer me to bug report or issue report i can provide any additional information. (PS. this submit page dont have preview ... why ?)
Прикачени екранни снимки

Променено на от cor-el

Всички отговори (2)

more options

Make sure you have the latest FFmpeg and libavcodec packages installed.

Полезно?

more options

I did reinstall all shared libraries that are installed by ffmpeg + vlc both in raspberry pi4 and PC on which angular runs on. Did not help.

Полезно?

Задаване на въпрос

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.