Hello Steipal,
How are you doing?
Wanted to know how can I rename the output files, my workflow is as per the below.
1) I have created one monitor folder where i am dropping my source files.
2) I had used custom FFMPEG encoder to transcode the files. MP4 output with 5 different bit rate. (4.5Mbps, 2.5Mbps, 1.5Mbps, 800Kbps, 650Kbps)
3) I have created one delivery folder where I want all the files.
If I dropped one source file with name Test.mov I wanted in output folder 5 MP4 with different bit rate and wanted to rename them as per below.
1) Test_4.5Mbps.mp4
2) Test_2.5Mbps.mp4
3) Test_1.5Mbps.mp4
4) Test_800Kbps.mp4
5 Test_650Kbps.mp4
Please let me know if it possible?
I had tried to rename it in 5 separate folders, they got renamed properly but when I try to deliver them in one folder the first file got renamed to Test.mp4 and other 4 files got failed saying error file already exists.
Thanks
Vijay
Renaming Files
Re: Renaming Files
With the current version it is not possible to feed ONE "Folder"-delivery node with different variables. This will be possible in 0.7.0 which i hope will be ready early next year. For now you must set up 5 equal folder-destinations and add different suffix to each node.
-steipal
-steipal
Re: Renaming Files
I have managed to delivered in one folder using batch command.
I have used mover command as per below.
@echo off
SET Today=%Date:~10,4%%Date:~4,2%%Date:~7,2%
mkdir D:\FFAStarns_Test\Outbox\MP4-%Today%
move D:\FFAStarns_Test\Outbox\4.5\*.* D:\FFAStarns_Test\Outbox\Mp4-%Today%
move D:\FFAStarns_Test\Outbox\3\*.* D:\FFAStarns_Test\Outbox\Mp4-%Today%
move D:\FFAStarns_Test\Outbox\2\*.* D:\FFAStarns_Test\Outbox\Mp4-%Today%
move D:\FFAStarns_Test\Outbox\1.3\*.* D:\FFAStarns_Test\Outbox\Mp4-%Today%
move D:\FFAStarns_Test\Outbox\800\*.* D:\FFAStarns_Test\Outbox\Mp4-%Today%
SET Today=
It's working perfectly for me.
I have used mover command as per below.
@echo off
SET Today=%Date:~10,4%%Date:~4,2%%Date:~7,2%
mkdir D:\FFAStarns_Test\Outbox\MP4-%Today%
move D:\FFAStarns_Test\Outbox\4.5\*.* D:\FFAStarns_Test\Outbox\Mp4-%Today%
move D:\FFAStarns_Test\Outbox\3\*.* D:\FFAStarns_Test\Outbox\Mp4-%Today%
move D:\FFAStarns_Test\Outbox\2\*.* D:\FFAStarns_Test\Outbox\Mp4-%Today%
move D:\FFAStarns_Test\Outbox\1.3\*.* D:\FFAStarns_Test\Outbox\Mp4-%Today%
move D:\FFAStarns_Test\Outbox\800\*.* D:\FFAStarns_Test\Outbox\Mp4-%Today%
SET Today=
It's working perfectly for me.
- Attachments
-
- MP4.jpg (79.41 KiB) Viewed 10897 times
Re: Renaming Files
That's neat, vijm1972
However, your workflow seem a bit over complicated.
Have you tried setting you folder destination to f.ex: D:\FFAStarns_Test\Outbox\MP4-%MM%%YY%. Please look at the variables on how you can dynamically create new date/time-based names.
And also set suffix to:
_4.5Mbps
_2.5Mbps
_1.5Mbps
_800Kbps
_650Kbps
...on you 5 different folder destination. Unless I have misinterpreted your aim for the workflow I think this would be enough without adding the "Command Executor" at the end.
Either way, it's great that you found a good way of solving it that works for you:-)
-steipal
However, your workflow seem a bit over complicated.
Have you tried setting you folder destination to f.ex: D:\FFAStarns_Test\Outbox\MP4-%MM%%YY%. Please look at the variables on how you can dynamically create new date/time-based names.
And also set suffix to:
_4.5Mbps
_2.5Mbps
_1.5Mbps
_800Kbps
_650Kbps
...on you 5 different folder destination. Unless I have misinterpreted your aim for the workflow I think this would be enough without adding the "Command Executor" at the end.
Either way, it's great that you found a good way of solving it that works for you:-)
-steipal
Re: Renaming Files
Hi Steipal,
Need some more help/suggestion from you.
As per current workflow after transcoding 5 outputs batch file will create one folder called MP4-%MM%%YY% (MP4 Current Date) and move all the 5 versions to that particular folder.
But I wanted to process job as per below.
After transcodeing need to auto create one folder with the source file name and wanted to move all the 5 versions to that particular folder. Is that possible using batch command or any other way?
Thanks
Vijay
Need some more help/suggestion from you.
As per current workflow after transcoding 5 outputs batch file will create one folder called MP4-%MM%%YY% (MP4 Current Date) and move all the 5 versions to that particular folder.
But I wanted to process job as per below.
After transcodeing need to auto create one folder with the source file name and wanted to move all the 5 versions to that particular folder. Is that possible using batch command or any other way?
Thanks
Vijay
Re: Renaming Files
Is it the original name as picked up by your "Folder"-monitor you want to create? In that's case you need to look at the variables section for available variables.
-steipal
-steipal
Re: Renaming Files
Thanks for your help.
Without using any batch file now I can move to the folder with source file name using variables "%original_name%".
Source File name Test_1.mxf
Output Folder Name Test_1
Under that folder all 5 versions using suffix.
I have created workflow as per attached img.
Without using any batch file now I can move to the folder with source file name using variables "%original_name%".
Source File name Test_1.mxf
Output Folder Name Test_1
Under that folder all 5 versions using suffix.
I have created workflow as per attached img.
- Attachments
-
- MP4 Workflow with Folder.jpg (122.34 KiB) Viewed 10881 times