Page 1 of 5
How do I input OP Atom files to create OP1A
Posted: Tue May 05, 2020 7:16 pm
by Julica67
I am new to ffastrans and I am trying to re-wrap OP Atom files into OP1A. Tried with P2 (which has an op atom structure but no success)
Re: How do I input OP Atom files to create OP1A
Posted: Mon May 11, 2020 6:43 am
by admin
Hi Julica67,
Sorry about the delayed reply but thank you for using FFAStrans and welcome to the forum!
The "P2" monitor does this automatically but only for P2 file structures. So do you have problems with the P2 monitor in particular or are you looking at a generic method for re-wrapping to op1a?
-steinar
Re: How do I input OP Atom files to create OP1A
Posted: Mon May 11, 2020 1:30 pm
by Julica67
I am actually trying to get OP-Atom files (video and audio) grouped by UMID and rewrap/transcode to OP1A. I was trying the P2 structure as workaround.
Re: How do I input OP Atom files to create OP1A
Posted: Mon May 11, 2020 7:13 pm
by emcodem
Julica67 wrote: ↑Mon May 11, 2020 1:30 pm
I am actually trying to get OP-Atom files (video and audio) grouped by UMID and rewrap/transcode to OP1A. I was trying the P2 structure as workaround.
Hey @Julica67,
unfortunately it is still a little unclear what you attempt to do.
So, until now, i understand, you have no P2 but OP-Atom files, e.g. lots of audio and video files in a flat folder (which is a totally untypical structure except for ZDF Germany AFAIK).
Each pair of video/audio files represents one clip and "should" share one UMID, e.g. the file package UMID.
Let us start easy. Can download and play with the "CreateAAF Tool (second download link)":
viewtopic.php?f=5&t=892&hilit=aaf
and check if this tool finds and reports the correct audio files on commandline when you call it like:
createaaf.exe "opatom_video_file.mxf"
...dont mention the created aaf file, this is not of help. i just want to know if the tool is able to locate the correct audio clips to your video clip..
Re: How do I input OP Atom files to create OP1A
Posted: Mon May 11, 2020 9:27 pm
by Julica67
Hey emcodem,
I am trying to get OP-Atom wrapped MasterClips from a flat folder structure to wrap (with or without transcode) to MXF OP1A.
I run the aaftool and I see it was able to group the MasterClips from a folder based on their UMIDs as it is shown below:
F:\Work\Avid\Avid AAF>createaaf.exe --debug DEBUG "I:\Avid Media Files"
['I:\\Avid Media Files']
Detected directory from userinput:I:\Avid Media Files
Scanning for files in I:\Avid Media Files
Processing file A01.5EB6EBA1_2EE772EE7759EA.mxf
Processing file A02.5EB6EBA2_2EE772EE775C8A.mxf
Processing file SONYSVRN7F1982C269D175351_a1.mxf
Processing file SONYSVRN7F1982C269D175351_a2.mxf
Processing file SONYSVRN7F1982C269D175351_a3.mxf
Processing file SONYSVRN7F1982C269D175351_a4.mxf
Processing file SONYSVRN7F1982C269D175351_v1.mxf
Processing file V01.5EB6EBA0_2EE772EE77582V.mxf
Folderscan done, result:
{urn:smpte:umid:060a2b34.01010105.01010f10.13000000.2ee77550.89788505.9ffe0025.d3ae4bf3: {'slotcount': 3, 'files': ['I:\\Avid Media Files\\A01.5EB6EBA1_2EE772EE7759EA.mxf', 'I:\\Avid Media Files\\A02.5EB6EBA2_2EE772EE775C8A.mxf', 'I:\\Avid Media Files\\V01.5EB6EBA0_2EE772EE77582V.mxf']}, urn:smpte:umid:060a2b34.01010105.01010f20.13000000.31d3ccfe.1cda4bdf.a5b3964b.0ad1a32b: {'slotcount': 5, 'files': ['I:\\Avid Media Files\\SONYSVRN7F1982C269D175351_a1.mxf', 'I:\\Avid Media Files\\SONYSVRN7F1982C269D175351_a2.mxf', 'I:\\Avid Media Files\\SONYSVRN7F1982C269D175351_a3.mxf', 'I:\\Avid Media Files\\SONYSVRN7F1982C269D175351_a4.mxf', 'I:\\Avid Media Files\\SONYSVRN7F1982C269D175351_v1.mxf']}}
Calculated output directory: I:\Avid Media Files From file: I:\Avid Media Files\A01.5EB6EBA1_2EE772EE7759EA.mxf
Calculated output filename:A01.5EB6EBA1_2EE772EE7759EA.aaf
Creating I:\Avid Media Files\A01.5EB6EBA1_2EE772EE7759EA.aaf
Added I:\Avid Media Files\A01.5EB6EBA1_2EE772EE7759EA.mxf
Added I:\Avid Media Files\A02.5EB6EBA2_2EE772EE775C8A.mxf
Added I:\Avid Media Files\V01.5EB6EBA0_2EE772EE77582V.mxf
Created file: I:\Avid Media Files\A01.5EB6EBA1_2EE772EE7759EA.aaf
Calculated output filename:SONYSVRN7F1982C269D175351_a1.aaf
Creating I:\Avid Media Files\SONYSVRN7F1982C269D175351_a1.aaf
Added I:\Avid Media Files\SONYSVRN7F1982C269D175351_a1.mxf
Added I:\Avid Media Files\SONYSVRN7F1982C269D175351_a2.mxf
Added I:\Avid Media Files\SONYSVRN7F1982C269D175351_a3.mxf
Added I:\Avid Media Files\SONYSVRN7F1982C269D175351_a4.mxf
Added I:\Avid Media Files\SONYSVRN7F1982C269D175351_v1.mxf
Created file: I:\Avid Media Files\SONYSVRN7F1982C269D175351_a1.aaf
Re: How do I input OP Atom files to create OP1A
Posted: Tue May 12, 2020 8:32 am
by emcodem
ok, that clears up what you want to do. I'll talk to @momocampo who is our Avid guy here and see whats the easiest solution for you!
Re: How do I input OP Atom files to create OP1A
Posted: Tue May 12, 2020 9:27 am
by momocampo
Hello Julica67,
I will try to help you. Did you use an Avid for the example or could you use it to convert the atom to op1a? It may be useful to use your Avid software to convert your P2 files.
Otherwise, I think it will not be easy to convert atom to op1a without a big software like Vantage or Root6.
So, please, tell us if you just want to know how convert atom to op1a or if you have a specific purpose.
Thanks
Benjamin
Re: How do I input OP Atom files to create OP1A
Posted: Tue May 12, 2020 2:41 pm
by Julica67
Hi monocampo,
I think I need to clarify that the files are pure Avid OP-Atom files and NOT P2 (I tried P2 as a workaround knowing there are OP-Atom files). What I am trying to do is essentially to wrap the OP-Atom into OP1A (with or without transcoding).
Re: How do I input OP Atom files to create OP1A
Posted: Tue May 12, 2020 2:50 pm
by emcodem
ok, @Julica67
we have no existing functions to do what you like, but it is something that i'd like to support.
So i altered the createaaf tool for your usecase. Please download it again.
https://drive.google.com/open?id=12mMRc ... CZsQb-saef
Step 1 is to test if the new version outputs a list of all files that belong together.
Code: Select all
c:\path\to\createaaf.exe --locate 1 "FILENAME"
Where FILENAME is either one audio or video file of the opatom files.
If this works, use the createaaf tool in a command executor node,
Code: Select all
c:\path\to\createaaf.exe --locate 1 "%s_source%"
..and store the output of the command in a user_variable.
Next you need to use a populate vars processor which sets user variables for all files, e.g. if you expect a maximum of 8 audios, you set 9 variables there. The video file and each single audio. You must use the function $readarray to access the files that createaaf detected
e.g.
%s_v0% = $readarray("%s_found_file_array%",0)
%s_a1% = $readarray("%s_found_file_array%",1)
.
.
.
I dont yet have the time to finish this, but after you have all files in user_variables, you need to use again commandline processor to start the rewrapping process like this:
Code: Select all
cmd /C ""%s_ffmpeg%" -i "%s_v0%" -i "%s_a1%" -i "%s_a2%" -map 0 -map 1 -map 2 -codec copy "\\path\to\OUTPUT.MXF""
The challenge will be to add more or less -i and -map commands to your wrapping command.
Do you have many different audio configurations?
Re: How do I input OP Atom files to create OP1A
Posted: Tue May 12, 2020 9:31 pm
by momocampo
Hi,
Ohh very cunning as process my dear @Encodem
But can you tell us what will be the behivior if we populate 17 variables(1V + 16A) but the Atom files have only 1V and 8 audio tracks ?
We could try tomorrow maybe ?
Thanks.
B.