Hi,
I want to check a file if it matches a certain resolution and then moves it to another location to proceed to the next step.
I am assuming that Command executor will be used.
What command can I use for this to work?
Thank you
CMD command to move file from one folder to another based on condition
Re: CMD command to move file from one folder to another based on condition
Hello John,
It is really easy to do.
Monitor folder> Conditional> Delivery
Set your conditional with %i_width% = 1920 (If you want only HD) and %i_height% = 1080.
These variables are in media properties selection.
You have to specify how to do if your files are not 1920x1080, otherwise nothing will do.
Cheers.
Benjamin
It is really easy to do.
Monitor folder> Conditional> Delivery
Set your conditional with %i_width% = 1920 (If you want only HD) and %i_height% = 1080.
These variables are in media properties selection.
You have to specify how to do if your files are not 1920x1080, otherwise nothing will do.
Cheers.
Benjamin
Re: CMD command to move file from one folder to another based on condition
Hi Benjamin,
Thank you for the information!
Is it possible to create a Quality Control check to see if the file passes a certain MXF format? I have the latest version of FFastrans, if that has any help.
Thank you.
Thank you for the information!
Is it possible to create a Quality Control check to see if the file passes a certain MXF format? I have the latest version of FFastrans, if that has any help.
Thank you.
Re: CMD command to move file from one folder to another based on condition
Hey John,
do you know what exactly you want to check? e.g. can you come up with a list of tests you'd like to perform?
cheers,
emcodem
do you know what exactly you want to check? e.g. can you come up with a list of tests you'd like to perform?
cheers,
emcodem
emcodem, wrapping since 2009 you got the rhyme?
Re: CMD command to move file from one folder to another based on condition
Hi emcodem,
This is the check I want in place:
File extension: .MXF
Container: MXF OP1a
Video Codec: MPEG2
Video Bitrate: 50 Mbps
Profile: 4:2:2
Resolution: 1920x1080
Standard: PAL
Field Order: Interlaced, Top Field First
Frame Rate: 25.00 fps
Audio Codec: BWF Audio
Audio Channels: 2
Audio Sample Rate: 48kHz
Aspect Ratio: 16:9
If it is possible how can I tell the file to move to success folder if it passes or move to the failed folder if it fails.
Thank you.
This is the check I want in place:
File extension: .MXF
Container: MXF OP1a
Video Codec: MPEG2
Video Bitrate: 50 Mbps
Profile: 4:2:2
Resolution: 1920x1080
Standard: PAL
Field Order: Interlaced, Top Field First
Frame Rate: 25.00 fps
Audio Codec: BWF Audio
Audio Channels: 2
Audio Sample Rate: 48kHz
Aspect Ratio: 16:9
If it is possible how can I tell the file to move to success folder if it passes or move to the failed folder if it fails.
Thank you.
Re: CMD command to move file from one folder to another based on condition
Hi John,
I think you have all that you want in the variables setting menu.
First, set your monitor folder to sort the extension file (set only *.mxf), others files will not process. Then, use a conditional node to set all your conditions to different variables.
At last use a deliver folder to finalize your workflow.
Just create a alternative action if one of condition isn't ok (send email for example) so create email node and set in "execute on error" (right clic on green square on the left side of node).
Hope you succeed
Benjamin
PS:I just not sure for the exact terms into conditional but you will find
I think you have all that you want in the variables setting menu.
First, set your monitor folder to sort the extension file (set only *.mxf), others files will not process. Then, use a conditional node to set all your conditions to different variables.
At last use a deliver folder to finalize your workflow.
Just create a alternative action if one of condition isn't ok (send email for example) so create email node and set in "execute on error" (right clic on green square on the left side of node).
Hope you succeed
Benjamin
PS:I just not sure for the exact terms into conditional but you will find
- Attachments
-
- CHECK.xml
- (9.3 KiB) Downloaded 511 times
Re: CMD command to move file from one folder to another based on condition
Hi,
Thank you for the help!
Also is there a way of checking if the file is completed or not? As in to see if there is an issue with the file before doing a transcode by FFAStrans.
Thank you
Thank you for the help!
Also is there a way of checking if the file is completed or not? As in to see if there is an issue with the file before doing a transcode by FFAStrans.
Thank you
Re: CMD command to move file from one folder to another based on condition
Hi,
What do you mean by "completed"? Finished to move? closed ?(for mxf file)
What do you mean by "completed"? Finished to move? closed ?(for mxf file)