Skip to content

Commit a09aa34

Browse files
committed
Added matroska option to VideoEncoder example (altnerative to ffmpeg)
1 parent 40b2682 commit a09aa34

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed
Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
11
Encoded bitstream (either MJPEG, H264, or H265) from the device can also be **saved directly into .mp4 container**
22
with no computational overhead on the host computer. See `demo here <https://github.com/luxonis/depthai-experiments/tree/master/gen2-container-encoding>`__
3-
for more information.
3+
for more information.
4+
5+
**Matroska**
6+
7+
Besides ``ffmpeg`` and ``.mp4`` video container (which is patent encumbered), you could also use the ``mkvmerge``
8+
(see `MKVToolNix <https://mkvtoolnix.download/doc/mkvmerge.html>`__ for GUI usage) and ``.mkv`` video container
9+
to mux encoded stream into video file that is supported by all major video players
10+
(eg. `VLC <https://www.videolan.org/vlc/>`__)
11+
12+
.. code-block::
13+
14+
mkvmerge -o vid.mkv video.h265

0 commit comments

Comments
 (0)