mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
1 line
5.6 KiB
JavaScript
1 line
5.6 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{170:function(e,t,n){"use strict";n.r(t),t.default=n.p+"assets/images/mismatched-resolution-fb44a2e826443636c41af90780dfeb16.jpg"},86:function(e,t,n){"use strict";n.r(t),n.d(t,"frontMatter",(function(){return i})),n.d(t,"metadata",(function(){return c})),n.d(t,"toc",(function(){return l})),n.d(t,"default",(function(){return u}));var r=n(3),o=n(7),a=(n(0),n(97)),i={id:"troubleshooting",title:"Troubleshooting"},c={unversionedId:"troubleshooting",id:"troubleshooting",isDocsHomePage:!1,title:"Troubleshooting",description:"My mjpeg stream or snapshots look green and crazy",source:"@site/docs/troubleshooting.md",slug:"/troubleshooting",permalink:"/frigate/troubleshooting",editUrl:"https://github.com/blakeblackshear/frigate/edit/master/docs/docs/troubleshooting.md",version:"current",sidebar:"docs",previous:{title:"Installation",permalink:"/frigate/installation"},next:{title:"Configuration",permalink:"/frigate/configuration/index"}},l=[{value:"My mjpeg stream or snapshots look green and crazy",id:"my-mjpeg-stream-or-snapshots-look-green-and-crazy",children:[]},{value:""mov,mp4,m4a,3gp,3g2,mj2 @ 0x5639eeb6e140 moov atom not found"",id:"movmp4m4a3gp3g2mj2--0x5639eeb6e140-moov-atom-not-found",children:[]},{value:""ffmpeg didnt return a frame. something is wrong"",id:"ffmpeg-didnt-return-a-frame-something-is-wrong",children:[]},{value:""On connect called"",id:"on-connect-called",children:[]}],s={toc:l};function u(e){var t=e.components,i=Object(o.a)(e,["components"]);return Object(a.b)("wrapper",Object(r.a)({},s,i,{components:t,mdxType:"MDXLayout"}),Object(a.b)("h3",{id:"my-mjpeg-stream-or-snapshots-look-green-and-crazy"},"My mjpeg stream or snapshots look green and crazy"),Object(a.b)("p",null,"This almost always means that the width/height defined for your camera are not correct. Double check the resolution with vlc or another player. Also make sure you don't have the width and height values backwards."),Object(a.b)("p",null,Object(a.b)("img",{alt:"mismatched-resolution",src:n(170).default})),Object(a.b)("h2",{id:"movmp4m4a3gp3g2mj2--0x5639eeb6e140-moov-atom-not-found"},'"',"[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5639eeb6e140]",' moov atom not found"'),Object(a.b)("p",null,"These messages in the logs are expected in certain situations. Frigate checks the integrity of the video cache before assembling clips. Occasionally these cached files will be invalid and cleaned up automatically."),Object(a.b)("h2",{id:"ffmpeg-didnt-return-a-frame-something-is-wrong"},'"ffmpeg didnt return a frame. something is wrong"'),Object(a.b)("p",null,"Turn on logging for the ffmpeg process by overriding the global_args and setting the log level to ",Object(a.b)("inlineCode",{parentName:"p"},"info")," (the default is ",Object(a.b)("inlineCode",{parentName:"p"},"fatal"),"). Note that all ffmpeg logs show up in the Frigate logs as ",Object(a.b)("inlineCode",{parentName:"p"},"ERROR")," level. This does not mean they are actually errors."),Object(a.b)("pre",null,Object(a.b)("code",Object(r.a)({parentName:"pre"},{className:"language-yaml"}),"ffmpeg:\n global_args: -hide_banner -loglevel info\n")),Object(a.b)("h2",{id:"on-connect-called"},'"On connect called"'),Object(a.b)("p",null,'If you see repeated "On connect called" messages in your config, check for another instance of frigate. This happens when multiple frigate containers are trying to connect to mqtt with the same client_id.'))}u.isMDXComponent=!0},97:function(e,t,n){"use strict";n.d(t,"a",(function(){return m})),n.d(t,"b",(function(){return f}));var r=n(0),o=n.n(r);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var s=o.a.createContext({}),u=function(e){var t=o.a.useContext(s),n=t;return e&&(n="function"==typeof e?e(t):c(c({},t),e)),n},m=function(e){var t=u(e.components);return o.a.createElement(s.Provider,{value:t},e.children)},p={inlineCode:"code",wrapper:function(e){var t=e.children;return o.a.createElement(o.a.Fragment,{},t)}},d=o.a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,a=e.originalType,i=e.parentName,s=l(e,["components","mdxType","originalType","parentName"]),m=u(n),d=r,f=m["".concat(i,".").concat(d)]||m[d]||p[d]||a;return n?o.a.createElement(f,c(c({ref:t},s),{},{components:n})):o.a.createElement(f,c({ref:t},s))}));function f(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var a=n.length,i=new Array(a);i[0]=d;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c.mdxType="string"==typeof e?e:r,i[1]=c;for(var s=2;s<a;s++)i[s]=n[s];return o.a.createElement.apply(null,i)}return o.a.createElement.apply(null,n)}d.displayName="MDXCreateElement"}}]); |