# Compressing and replacing captured .mkv

**URL:** <https://talk.atomisystems.com/t/compressing-and-replacing-captured-mkv/5082>\
**Category:** Support Questions\
**Created:** [April 5, 2021, 4:57am UTC](https://talk.atomisystems.com/t/compressing-and-replacing-captured-mkv/5082 "2021-04-05T04:57:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shri](https://talk.atomisystems.com/letter_avatar_proxy/v4/letter/s/e19adc/32.png) [@Shri](https://talk.atomisystems.com/u/Shri)\
**Post date:** [April 5, 2021, 4:57am UTC](https://talk.atomisystems.com/t/compressing-and-replacing-captured-mkv/5082/1 "2021-04-05T04:57:25Z")

</div>

**Problem:** We have a captured file of size 414mb. We have already edited the capture with many cuts, speed adjustments etc. The output size is about 120mb. Video duration after edit is about 20 minutes.

Now, the problem is since we have many cuts in the file, HTML5 output played in any browser does not give good user experience. When user navigates randomly on the timeline, browser takes time to display the video file available at that time duration. Resources folder shows 113 .mp4 files. So, switching from one file to another is the difficulty for browser. Pasted timeline on one of the slide.

 ![image](https://talk.atomisystems.com/uploads/default/original/2X/2/2ef48a870e45d84444854eeebddc89f1b79a0a19.png)

**Please suggest solutions on following points:**

- How to compress .mkv (which is 400mb+ in this case)
- If we compress .mkv from external software, is it possible to replace the source? Since AP generates resources such as Source\_2\_2.
- How to control the output file by not really compressing the video compression less than 60.

**Benchmark at our end:** 30+ minutes video output generated in the past on other machine using same capture resolution is about 90mb. For current video we anticipate the size not more than 75mb.

ActivePresenter version: captured on 8.3.1 and edited on 8.3.2 (both are different machines)

OS: WIN10 on both machines

---

<div class="post-metadata">

**Author:** ![thunt](https://talk.atomisystems.com/user_avatar/talk.atomisystems.com/thunt/32/5195_2.png) [@thunt](https://talk.atomisystems.com/u/thunt)\
**Post date:** [April 5, 2021, 10:12am UTC](https://talk.atomisystems.com/t/compressing-and-replacing-captured-mkv/5082/2 "2021-04-05T10:12:34Z")

</div>

Hi Shri,

The **Join Audio/Video Objects** feature can help you to solve the HTML5 output problem.  
Please refer to the Join Multiple Videos part in this article for detail: [How to Split and Join Audio/Video in ActivePresenter 8 -](https://atomisystems.com/tutorials/ap8/split-and-join-videos-activepresenter-8/)

Suggest solutions for your points:

> [@Shri](#):
>
> - How to compress .mkv (which is 400mb+ in this case)
> - If we compress .mkv from external software, is it possible to replace the source? Since AP generates resources such as Source\_2\_2.

Yes, you can compress .mkv from external software but you have to keep the file name unchanged.

> [@Shri](#):
>
> How to control the output file by not really compressing the video compression less than 60.

The current version only has the Quality option, unfortunately.

> [@Shri](#):
>
> **Benchmark at our end:** 30+ minutes video output generated in the past on other machine using same capture resolution is about 90mb. For current video we anticipate the size not more than 75mb.

Can you please send your project and its external data folder (named PROJECT\_FILE\_files) via [support@atomisystems.com](mailto:support@atomisystems.com) so we can take a look?

Regards,

---

<div class="post-metadata">

**Author:** ![Shri](https://talk.atomisystems.com/letter_avatar_proxy/v4/letter/s/e19adc/32.png) [@Shri](https://talk.atomisystems.com/u/Shri)\
**Post date:** [April 6, 2021, 10:09am UTC](https://talk.atomisystems.com/t/compressing-and-replacing-captured-mkv/5082/3 "2021-04-06T10:09:02Z")

</div>

Thanks for prompt reply.

> [@thunt](#):
>
> The **Join Audio/Video Objects** feature can help you to solve the HTML5 output problem.  
> Please refer to the Join Multiple Videos part in this article for detail: [How to Split and Join Videos in ActivePresenter 8 - Atomi Systems, Inc.](https://atomisystems.com/tutorials/ap8/split-and-join-videos-activepresenter-8/)

Will check this and update here. Thanks for this workaround!

> [@thunt](#):
>
> Yes, you can compress .mkv from external software but you have to keep the file name unchanged.

If I have to use compressed .mkv after the file is edited, how can AP file use it? I don’t know how does it work because source is already imported and many cuts are applied on source layer.

> [@thunt](#):
>
> Can you please send your project and its external data folder (named PROJECT\_FILE\_files) via [support@atomisystems.com](mailto:support@atomisystems.com) so we can take a look?

I don’t think sharing a file would be possible due to IP issue. Will reach out to you in case this method doesn’t work.

regards,  
Shri

---

<div class="post-metadata">

**Author:** ![thunt](https://talk.atomisystems.com/user_avatar/talk.atomisystems.com/thunt/32/5195_2.png) [@thunt](https://talk.atomisystems.com/u/thunt)\
**Post date:** [April 6, 2021, 10:39am UTC](https://talk.atomisystems.com/t/compressing-and-replacing-captured-mkv/5082/4 "2021-04-06T10:39:24Z")

</div>

Hi,

After the file is edited, it creates logical resources linked to the resource file. This will be processed when exporting, so you can replace the resource file.  
Or you can right-click the resources \> Export and then import them again.

Regards,

---

<div class="post-metadata">

**Author:** ![Shri](https://talk.atomisystems.com/letter_avatar_proxy/v4/letter/s/e19adc/32.png) [@Shri](https://talk.atomisystems.com/u/Shri)\
**Post date:** [April 6, 2021, 10:45am UTC](https://talk.atomisystems.com/t/compressing-and-replacing-captured-mkv/5082/5 "2021-04-06T10:45:02Z")

</div>

I have 116 sources in a 20 min video. Any better solution?

Replacing single .mkv (first file) is okay but how to replace cut parts with file names ending with \_2 (image below).

 ![image](https://talk.atomisystems.com/uploads/default/original/2X/a/af1cdf65fba14d48a0e9be85f51e55b42889cb6a.png)

---

<div class="post-metadata">

**Author:** ![ToanLS](https://talk.atomisystems.com/letter_avatar_proxy/v4/letter/t/46a35a/32.png) [@ToanLS](https://talk.atomisystems.com/u/ToanLS)\
**Post date:** [April 6, 2021, 11:05am UTC](https://talk.atomisystems.com/t/compressing-and-replacing-captured-mkv/5082/6 "2021-04-06T11:05:14Z")

</div>

Hi Shri,

You need to compress only the .mkv file.  
The process is as follows:

1. Close your project.
2. Look for the mkv file in your project external data folder (which has the name in the form projectFileName\_files)
3. Backup the mkv file to another location, compress and replace the file in the data folder.
4. Open your project and check if it works properly.

Regards
