blakeblackshear.frigate/9d9f8394.671331e8.js
2021-02-22 13:21:51 +00:00

1 line
6.7 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{169:function(e,t,n){"use strict";n.r(t),t.default=n.p+"assets/images/mismatched-resolution-fb44a2e826443636c41af90780dfeb16.jpg"},85: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 o=n(3),r=n(7),a=(n(0),n(96)),i={id:"troubleshooting",title:"Troubleshooting and FAQ"},c={unversionedId:"troubleshooting",id:"troubleshooting",isDocsHomePage:!1,title:"Troubleshooting and FAQ",description:"How can I get sound or audio in my clips and recordings?",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:"How can I get sound or audio in my clips and recordings?",id:"how-can-i-get-sound-or-audio-in-my-clips-and-recordings",children:[]},{value:"My mjpeg stream or snapshots look green and crazy",id:"my-mjpeg-stream-or-snapshots-look-green-and-crazy",children:[]},{value:"I have clips and snapshots in my clips folder, but I can&#39;t view them in the Web UI.",id:"i-have-clips-and-snapshots-in-my-clips-folder-but-i-cant-view-them-in-the-web-ui",children:[]},{value:"&quot;mov,mp4,m4a,3gp,3g2,mj2 @ 0x5639eeb6e140 moov atom not found&quot;",id:"movmp4m4a3gp3g2mj2--0x5639eeb6e140-moov-atom-not-found",children:[]},{value:"&quot;On connect called&quot;",id:"on-connect-called",children:[]}],s={toc:l};function u(e){var t=e.components,i=Object(r.a)(e,["components"]);return Object(a.b)("wrapper",Object(o.a)({},s,i,{components:t,mdxType:"MDXLayout"}),Object(a.b)("h3",{id:"how-can-i-get-sound-or-audio-in-my-clips-and-recordings"},"How can I get sound or audio in my clips and recordings?"),Object(a.b)("p",null,"By default, Frigate removes audio from clips and recordings to reduce the likelihood of failing for invalid data. If you would like to include audio, you need to override the output args to remove ",Object(a.b)("inlineCode",{parentName:"p"},"-an")," for where you want to include audio. The recommended audio codec is ",Object(a.b)("inlineCode",{parentName:"p"},"aac"),". Not all audio codecs are supported by RTMP, so you may need to re-encode your audio with ",Object(a.b)("inlineCode",{parentName:"p"},"-c:a aac"),". The default ffmpeg args are shown ",Object(a.b)("a",Object(o.a)({parentName:"p"},{href:"/frigate/configuration/index#ffmpeg"}),"here"),"."),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(169).default})),Object(a.b)("h3",{id:"i-have-clips-and-snapshots-in-my-clips-folder-but-i-cant-view-them-in-the-web-ui"},"I have clips and snapshots in my clips folder, but I can't view them in the Web UI."),Object(a.b)("p",null,"This is usually caused one of two things:"),Object(a.b)("ul",null,Object(a.b)("li",{parentName:"ul"},"The permissions on the parent folder don't have execute and nginx returns a 403 error you can see in the browser logs",Object(a.b)("ul",{parentName:"li"},Object(a.b)("li",{parentName:"ul"},"In this case, try mounting a volume to ",Object(a.b)("inlineCode",{parentName:"li"},"/media/frigate")," inside the container instead of ",Object(a.b)("inlineCode",{parentName:"li"},"/media/frigate/clips"),"."))),Object(a.b)("li",{parentName:"ul"},"Your cameras do not send h264 encoded video and the mp4 files are not playable in the browser")),Object(a.b)("h3",{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)("h3",{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},96:function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return b}));var o=n(0),r=n.n(o);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 o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}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,o,r=function(e,t){if(null==e)return{};var n,o,r={},a=Object.keys(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var s=r.a.createContext({}),u=function(e){var t=r.a.useContext(s),n=t;return e&&(n="function"==typeof e?e(t):c(c({},t),e)),n},d=function(e){var t=u(e.components);return r.a.createElement(s.Provider,{value:t},e.children)},p={inlineCode:"code",wrapper:function(e){var t=e.children;return r.a.createElement(r.a.Fragment,{},t)}},m=r.a.forwardRef((function(e,t){var n=e.components,o=e.mdxType,a=e.originalType,i=e.parentName,s=l(e,["components","mdxType","originalType","parentName"]),d=u(n),m=o,b=d["".concat(i,".").concat(m)]||d[m]||p[m]||a;return n?r.a.createElement(b,c(c({ref:t},s),{},{components:n})):r.a.createElement(b,c({ref:t},s))}));function b(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=n.length,i=new Array(a);i[0]=m;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c.mdxType="string"==typeof e?e:o,i[1]=c;for(var s=2;s<a;s++)i[s]=n[s];return r.a.createElement.apply(null,i)}return r.a.createElement.apply(null,n)}m.displayName="MDXCreateElement"}}]);