(window.webpackJsonp=window.webpackJsonp||[]).push([[15],{171: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(){returni})),n.d(t,"metadata",(function(){returnc})),n.d(t,"toc",(function(){returnl})),n.d(t,"default",(function(){returnu}));varo=n(3),r=n(7),a=(n(0),n(98)),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'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:""mov,mp4,m4a,3gp,3g2,mj2 @ 0x5639eeb6e140 moov atom not found"",id:"movmp4m4a3gp3g2mj2--0x5639eeb6e140-moov-atom-not-found",children:[]},{value:""On connect called"",id:"on-connect-called",children:[]}],s={toc:l};functionu(e){vart=e.components,i=Object(r.a)(e,["components"]);returnObject(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(171).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,