# How to export IPG Movie (.mp4) in each test variation from Test Manager

**URL:** <https://forums.ipg-automotive.com/t/how-to-export-ipg-movie-mp4-in-each-test-variation-from-test-manager/735>\
**Category:** Coding & Integration\
**Tags:** movienx, adas, carmaker\
**Created:** [24 November 2023 08:38 UTC](https://forums.ipg-automotive.com/t/how-to-export-ipg-movie-mp4-in-each-test-variation-from-test-manager/735 "2023-11-24T08:38:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![KaustubhIsadkar](https://forums.ipg-automotive.com/letter_avatar_proxy/v4/letter/k/898d66/32.png) [@KaustubhIsadkar](https://forums.ipg-automotive.com/u/KaustubhIsadkar)\
**Post date:** [24 November 2023 08:38 UTC](https://forums.ipg-automotive.com/t/how-to-export-ipg-movie-mp4-in-each-test-variation-from-test-manager/735/1 "2023-11-24T08:38:38Z")

</div>

I am having 30 variations in test manager, but I want to export IPG Movie (.mp4) after each variation and save as particular Variation Name. so there should be total 30 (.mp4) files after test run through test manager. How Can I do it?

---

<div class="post-metadata">

**Author:** ![bogomil.shtarkalev](https://forums.ipg-automotive.com/letter_avatar_proxy/v4/letter/b/8dc957/32.png) [@bogomil.shtarkalev](https://forums.ipg-automotive.com/u/bogomil.shtarkalev)\
**Post date:** [27 November 2023 09:40 UTC](https://forums.ipg-automotive.com/t/how-to-export-ipg-movie-mp4-in-each-test-variation-from-test-manager/735/2 "2023-11-27T09:40:02Z")

</div>

Hello,  
You can do this through a ScriptControl command in Test Manager that post-processes the test run. Here is an example command that exports a single clip to a pre-defined file:

Movie export window test.mp4 0 -width 1280 -height 960 -async

More information on this command can be found in the Programmer’s Guide for CarMaker

 ![image](https://forums.ipg-automotive.com/uploads/default/original/1X/1ef98a65e8a29f44bb40143525d12b789efbda94.png)

---

<div class="post-metadata">

**Author:** ![KaustubhIsadkar](https://forums.ipg-automotive.com/letter_avatar_proxy/v4/letter/k/898d66/32.png) [@KaustubhIsadkar](https://forums.ipg-automotive.com/u/KaustubhIsadkar)\
**Post date:** [29 November 2023 05:38 UTC](https://forums.ipg-automotive.com/t/how-to-export-ipg-movie-mp4-in-each-test-variation-from-test-manager/735/3 "2023-11-29T05:38:25Z")

</div>

> [@bogomil.shtarkalev](#):
>
> can do this through a ScriptControl command in Test Manager that post-processes the test run. Here is an example command that exports a single clip to a pre-defined file:
> 
> Movie export window test.mp4 0 -width 1280 -height 960 -async

Hello @bogomil.shtarkalev ,  
Thanks for the help. We tried it but However it is exporting the IPG Movie only for the last variation not for all variations. What to do for exporting an IPG movie for all variations?

---

<div class="post-metadata">

**Author:** ![bogomil.shtarkalev](https://forums.ipg-automotive.com/letter_avatar_proxy/v4/letter/b/8dc957/32.png) [@bogomil.shtarkalev](https://forums.ipg-automotive.com/u/bogomil.shtarkalev)\
**Post date:** [30 November 2023 09:08 UTC](https://forums.ipg-automotive.com/t/how-to-export-ipg-movie-mp4-in-each-test-variation-from-test-manager/735/4 "2023-11-30T09:08:44Z")

</div>

Hello,

I believe there is a way in TestManager to attach a script to every single run. You can put this command in a .tcl file and add it to the runner.

Don’t run this manually or through ScriptControl, that of course just takes the last run data and exports a movie.
