搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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.

有帮助吗?

我要提问

您需要登录才能回复。如果您还没账号,可以提出新问题