Conversion of sequence by OIIO tools for ffmpeg
**Describe the bug**
Conversion of sequence by OIIO tools for ffmpeg doesn't work, it is overwritting the same file specified in oiio arguments and then fails on integration because other files in sequence doesn't exits/

**To Reproduce**
Steps to reproduce the behavior:

Render and publish sequence type that needs OIIO conversion (like cryptomatte). Integration will fail because of missing files as only one will be available.

```
oiiotool.exe --compression zip -i:ch=CryptoMesh.R,CryptoMesh.G,CryptoMesh.B,CryptoMesh.A /foo/bar_v001/Main/Main_Cryptomatte.1001.exr --ch R=CryptoMesh.R,G=CryptoMesh.G,B=CryptoMesh.B,A=CryptoMesh.A --frames 1001-1002 --sansattrib --eraseattrib /tmp/cryptomatte/manifest -o Main_Cryptomatte_node.1001.exr
```

should be something like

```
oiiotool.exe --compression zip -i:ch=CryptoMesh.R,CryptoMesh.G,CryptoMesh.B,CryptoMesh.A /foo/bar_v001/Main/Main_Cryptomatte.1001.exr --ch R=CryptoMesh.R,G=CryptoMesh.G,B=CryptoMesh.B,A=CryptoMesh.A --frames 1001-1002 --sansattrib --eraseattrib /tmp/cryptomatte/manifest -o Main_Cryptomatte_node.####.exr
```

diff --git a/openpype/lib/transcoding.py b/openpype/lib/transcoding.py
index 6bab6a8160..8e79aba0ae 100644
--- a/openpype/lib/transcoding.py
+++ b/openpype/lib/transcoding.py
@@ -478,8 +478,14 @@ def convert_for_ffmpeg(
             oiio_cmd.extend(["--eraseattrib", attr_name])
 
     # Add last argument - path to output
-    base_file_name = os.path.basename(first_input_path)
-    output_path = os.path.join(output_dir, base_file_name)
+    if is_sequence:
+        ext = os.path.splitext(first_input_path)[1]
+        base_filename = "tmp.%{:0>2}d{}".format(
+            len(str(input_frame_end)), ext
+        )
+    else:
+        base_filename = os.path.basename(first_input_path)
+    output_path = os.path.join(output_dir, base_filename)
     oiio_cmd.extend([
         "-o", output_path
     ])
['openpype/lib/transcoding.py']