Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

Mine type video/OGG is not working.

  • 2 ответа
  • 1 имеет эту проблему
  • Последний ответ от 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.

Полезно?

Задать вопрос

Для ответа на сообщения вы должны войти в свою учётную запись. Пожалуйста, задайте новый вопрос, если у вас ещё нет учётной записи.