# Relative path to folder in project folder.

**URL:** <https://forums.unrealengine.com/t/relative-path-to-folder-in-project-folder/1159871>\
**Category:** Pipeline & Plugins\
**Tags:** movie, Render-Pipeline, unreal-engine, path, editor\
**Created:** [May 9, 2023, 8:08am UTC](https://forums.unrealengine.com/t/relative-path-to-folder-in-project-folder/1159871 "2023-05-09T08:08:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![arfakc](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arfakc/32/878443_2.png) [@arfakc](https://forums.unrealengine.com/u/arfakc)\
**Post date:** [May 9, 2023, 8:08am UTC](https://forums.unrealengine.com/t/relative-path-to-folder-in-project-folder/1159871/1 "2023-05-09T08:08:45Z")

</div>

Hello,

I would like to use ffmpeg plugin to render mpeg movies directly from Movie render Quee.  
All works fine , i set path of ffmpeg.exe in project settings.  
What i want is , i want to put ffmpeg folder inside project directory and set executable path with relative path rather then absolute path.  
As you can see in attached image , currently path is C:/Program Files/ffmpeg/bin/ffmpeg.exe  
i want something likethis  
{GameDirectory}/ffmpeg/bin/ffmpeg.exe

When new artist join the project , i dont need them to install ffmpeg and use it directly from the game project directory.  
Hope its clear.  
Thanks.

 ![Capture](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/5/9/35953587608ee9a439b6682da57669853219d0a2.png)

---

<div class="post-metadata">

**Author:** ![Cranigan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Cranigan](https://forums.unrealengine.com/u/Cranigan)\
**Post date:** [August 22, 2023, 1:03am UTC](https://forums.unrealengine.com/t/relative-path-to-folder-in-project-folder/1159871/2 "2023-08-22T01:03:30Z")

</div>

Any update on this by chance?

---

<div class="post-metadata">

**Author:** ![GregVFX](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GregVFX](https://forums.unrealengine.com/u/GregVFX)\
**Post date:** [March 18, 2025, 4:58pm UTC](https://forums.unrealengine.com/t/relative-path-to-folder-in-project-folder/1159871/3 "2025-03-18T16:58:41Z")

</div>

Did you ever find a solution to this? I’m having the same issue trying to use it in a packaged application.

---

<div class="post-metadata">

**Author:** ![arfakc](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arfakc/32/878443_2.png) [@arfakc](https://forums.unrealengine.com/u/arfakc)\
**Post date:** [September 12, 2025, 6:57pm UTC](https://forums.unrealengine.com/t/relative-path-to-folder-in-project-folder/1159871/4 "2025-09-12T18:57:19Z")

</div>

hey yes, i made a pluginfor that , just tell unreal to use specific path at startup

into init.py

import os  
thisfolder = os.path.split( os.path.abspath( **file** ) )[0].replace(‘\’, ‘/’)  
ffmpeg\_path = ‘{}/../bin’.format(thisfolder)  
ffmpeg\_path = os.path.abspath(ffmpeg\_path)  
os.environ[‘PATH’] = ‘{};{}’.format(os.environ[‘PATH’], ffmpeg\_path)  
print (os.environ[‘PATH’])
