# 60p-30p slow motion?

**URL:** <https://community.transloadit.com/t/60p-30p-slow-motion/15529>\
**Category:** Transloadit\
**Created:** [December 31, 2020, 4:33pm UTC](https://community.transloadit.com/t/60p-30p-slow-motion/15529 "2020-12-31T16:33:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cutch22](https://avatars.discourse-cdn.com/v4/letter/c/ad7895/32.png) [@cutch22](https://community.transloadit.com/u/cutch22)\
**Post date:** [December 31, 2020, 4:33pm UTC](https://community.transloadit.com/t/60p-30p-slow-motion/15529/1 "2020-12-31T16:33:07Z")

</div>

Hi there, newbie here. Is there a way to upload 60P and get back 30P at 50% speed slow mo?

---

<div class="post-metadata">

**Author:** ![WardenScotland](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/wardenscotland/32/323_2.png) [@WardenScotland](https://community.transloadit.com/u/WardenScotland)\
**Post date:** [January 1, 2021, 8:02pm UTC](https://community.transloadit.com/t/60p-30p-slow-motion/15529/2 "2021-01-01T20:02:49Z")

</div>

Hello, so by using our /video/encode Robot’s ffmpeg parameter, you can alter both audio and video streams’ playback speed. To change your files video stream, you need to use the `"setpts"` (presentation timestamp) filter and for the audio stream using the `"atempo"` flag.

This method uses both audio and video stream manipulation to set your preset value to “empty” to avoid a clashing error.

The below template step will convert your input file to 50% playback speed.

```auto
"manipulate_playback_speed": {
      "use": ":original",
      "robot": "/video/encode",
      "result": true,
      "preset": "empty",
      "ffmpeg_stack": "v3.3.3",
      "rotate": false,
      "ffmpeg": {
        "filter_complex": "[0:v]setpts=2.0*PTS[v];[0:a]atempo=0.5[a]",
        "map": [
          "[v]",
          "[a]"
        ]
      }
    }

```
