Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Commit

Permalink
Update doc example error #8
Browse files Browse the repository at this point in the history
  • Loading branch information
techyian committed Apr 26, 2017
1 parent 8df718f commit 3b29260
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
18 changes: 9 additions & 9 deletions docfx/articles/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ static void Main(string[] args)
await cam.TakePicture(cam.Camera.StillPort);
}
}
});
}
```
Expand Down Expand Up @@ -84,7 +84,7 @@ static void Main(string[] args)
await cam.TakePictureTimeout(cam.Camera.StillPort, DateTime.Now.AddMinutes(5));
}
}
});
}
```
Expand Down Expand Up @@ -130,7 +130,7 @@ static void Main(string[] args)
}
}
});
}
```
Expand Down Expand Up @@ -163,7 +163,7 @@ static void Main(string[] args)
await cam.TakeVideo(cam.Camera.VideoPort, DateTime.Now.AddMinutes(1));
}
}
});
}
```
Expand Down Expand Up @@ -195,7 +195,7 @@ static void Main(string[] args)
await cam.TakeVideo(cam.Camera.VideoPort, DateTime.Now.AddMinutes(1), new Split { Mode = TimelapseMode.Second, Value = 30 });
}
}
});
}
```
Expand Down Expand Up @@ -241,7 +241,7 @@ static void Main(string[] args)
}
}
});
}
```
Expand Down Expand Up @@ -279,7 +279,7 @@ static void Main(string[] args)
*/
await cam.TakeVideo(cam.Camera.VideoPort, DateTime.Now.AddMinutes(5));
}
}
});
}
```
Expand All @@ -305,7 +305,7 @@ static void Main(string[] args)
await cam.TakeVideo(cam.Camera.VideoPort, DateTime.Now.AddMinutes(1));
}
}
});
}
```
Expand Down Expand Up @@ -338,7 +338,7 @@ static void Main(string[] args)
imgCaptureHandler.ImagesToVideo("/home/pi/videos", 2);
}
}
});
}
```
18 changes: 9 additions & 9 deletions docs/articles/examples.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ <h3 id="simple-jpeg-capture">Simple JPEG capture</h3>
await cam.TakePicture(cam.Camera.StillPort);

}
}
});
}
</code></pre><h3 id="timelapse-mode">Timelapse mode</h3>
<pre><code>
Expand Down Expand Up @@ -138,7 +138,7 @@ <h3 id="simple-jpeg-capture">Simple JPEG capture</h3>
await cam.TakePictureTimeout(cam.Camera.StillPort, DateTime.Now.AddMinutes(5));

}
}
});
}
</code></pre><h3 id="change-encoding-type">Change encoding type</h3>
<pre><code>
Expand Down Expand Up @@ -177,7 +177,7 @@ <h3 id="simple-jpeg-capture">Simple JPEG capture</h3>

}

}
});
}
</code></pre><h2 id="video-recording">Video recording</h2>
<h3 id="simple-video-recording">Simple video recording</h3>
Expand All @@ -202,7 +202,7 @@ <h3 id="simple-video-recording">Simple video recording</h3>
await cam.TakeVideo(cam.Camera.VideoPort, DateTime.Now.AddMinutes(1));

}
}
});
}
</code></pre><h3 id="segmented-recording-mode">Segmented recording mode</h3>
<pre><code>
Expand All @@ -229,7 +229,7 @@ <h3 id="simple-video-recording">Simple video recording</h3>
await cam.TakeVideo(cam.Camera.VideoPort, DateTime.Now.AddMinutes(1), new Split { Mode = TimelapseMode.Second, Value = 30 });

}
}
});
}
</code></pre><h3 id="change-encoding-type-1">Change encoding type</h3>
<pre><code>
Expand Down Expand Up @@ -269,7 +269,7 @@ <h3 id="simple-video-recording">Simple video recording</h3>

}

}
});
}
</code></pre><h2 id="ffmpeg-specific">FFmpeg specific</h2>
<p>For FFmpeg methods, you will need to install the latest version of FFmpeg from source - do not install from the Raspbian repositories as they don&#39;t have H.264 support.</p>
Expand Down Expand Up @@ -299,7 +299,7 @@ <h3 id="rtmp-streaming">RTMP streaming</h3>
*/
await cam.TakeVideo(cam.Camera.VideoPort, DateTime.Now.AddMinutes(5));
}
}
});
}
</code></pre><h3 id="raw-video-convert">Raw video convert</h3>
<pre><code>
Expand All @@ -319,7 +319,7 @@ <h3 id="rtmp-streaming">RTMP streaming</h3>

await cam.TakeVideo(cam.Camera.VideoPort, DateTime.Now.AddMinutes(1));
}
}
});
}
</code></pre><h3 id="images-to-video">Images to video</h3>
<pre><code>
Expand All @@ -346,7 +346,7 @@ <h3 id="rtmp-streaming">RTMP streaming</h3>
imgCaptureHandler.ImagesToVideo(&quot;/home/pi/videos&quot;, 2);

}
}
});
}
</code></pre>
</article>
Expand Down

0 comments on commit 3b29260

Please sign in to comment.