---
title: TensorBoardX Video
---

The [moveiepy_tensorboardx.py](https://github.com/clearml/clearml/blob/master/examples/frameworks/tensorboardx/moviepy_tensorboardx.py)
example demonstrates the integration of ClearML into code, which creates a TensorBoardX `SummaryWriter` object to log 
video data. 

When the script runs, it creates a task named `pytorch with video tensorboardX` in 
the `examples` project. 

## Debug Samples

ClearML automatically captures the video data that is added to the `SummaryWriter` object, using the `add_video` method. 
The video appears in the task's **DEBUG SAMPLES** tab.

![Debug Samples](../../../img/examples_tensorboardx_debug.png#light-mode-only)
![Debug Samples](../../../img/examples_tensorboardx_debug_dark.png#dark-mode-only)