Page 2 of 3

Re: Two mono audio streams to one stereo audio stream

Posted: Thu Apr 06, 2017 6:13 pm
by admin
Both method I described works perfectly when I'm testing. Either you create two command executors that move each file or you concatenate the two commands just like you would do in dos like my last example.

Currently ffastrans does not react on folders alone. What is the user scenario?

-steinar

Re: Two mono audio streams to one stereo audio stream

Posted: Fri Apr 07, 2017 4:19 am
by vijm1972
We have received source files in folders, as per below example.

Folder Name:
Test

File Name:
Test_StL.wav
Test_StR.wav

Wanted to process those files using folders. We have more than 800 folders which we need to process using same workflow. That's why we are trying to automate it as much as possible.

Will try the moving option again and let you know.

Thanks,
Vijay

Re: Two mono audio streams to one stereo audio stream

Posted: Fri Apr 07, 2017 5:47 am
by vijm1972
I am able to move the files now, error in %s_my_user_var%_StL.wav, also wanted to know if I can move both the source files to one folder with source file name?

Thanks,
Vijay

Re: Two mono audio streams to one stereo audio stream

Posted: Fri Apr 07, 2017 7:12 am
by admin
Yes you can move both source filed to one folder with the source name. With the "Command executor"-node you can do pretty much whatever you want but you need some basic knowledge on running dos commands and on how to use variables in FFAStrans.

You can "monitor" folders by monitoring files with the "Recurse"-option checked. So lets say you monitor "d:\media"...
Use %s_original_path~n% to retrieve the folder name(s) of the original file. Replacing n with 1 gives you the folder name that holds the files. F.ex.if you pick up the file "d:\media\something\strange\SUPERCOOL\Test_StL.wav", using %s_original_path~1% would return "SUPERCOOL". With the same logic, %s_original_path~2% would return "strange".

You can create folders in the "Comman executor"-node by using the md (makedir) command. This is dos, has nothing to do with FFAStrans but you utilize the variables in FFAStrans to dynamically construct your command line.

Hope this helps :-)

-steinar

Re: Two mono audio streams to one stereo audio stream

Posted: Tue Apr 11, 2017 12:18 pm
by vijm1972
Hi Steinar,

Please suggest on below error.

Mono_To_Stereo|2017/04/11 16:00:54|2017/04/11 16:01:58|\\tnc1\IDS_ITUNES\TERN\Mono_To_Stereo\Inbox\TE00001124_01_0001_A0_HD_HD_D_PV02_A_DEU.StL.wav|Process exited with error code: 1 (The system cannot find the file specified.)|0

Files processed successfully but source files can't move to completed folder. If source files are not there how come output file processed?
I attached logs of both the files (Error file and sucessfully processed file)
WorkflowError.rar
(7.15 KiB) Downloaded 546 times

Thanks,
Vijay

Re: Two mono audio streams to one stereo audio stream

Posted: Tue Apr 11, 2017 2:03 pm
by admin
Your file naming is not consistent.

What you process:
\\tnc1\IDS_ITUNES\TERN\Mono_To_Stereo\Inbox\TE00001124_01_0001_A0_HD_HD_D_PV02_A_DEU.StL.wav
\\tnc1\IDS_ITUNES\TERN\Mono_To_Stereo\Inbox\TE00001124_01_0001_A0_HD_HD_D_PV02_A_DEU.StR.wav

What you try to move:
\\tnc1\IDS_ITUNES\TERN\Mono_To_Stereo\Inbox\TE00001124_01_0001_A0_HD_HD_D_PV02_A_DEU_StL.wav
\\tnc1\IDS_ITUNES\TERN\Mono_To_Stereo\Inbox\TE00001124_01_0001_A0_HD_HD_D_PV02_A_DEU_StR.wav


-steinar

Re: Two mono audio streams to one stereo audio stream

Posted: Wed Apr 12, 2017 7:28 am
by vijm1972
Thanks for your support.

Re: Two mono audio streams to one stereo audio stream

Posted: Tue Apr 18, 2017 12:15 pm
by vijm1972
Hi Steinar,

I am receiving below message while processing jobs on 0.8.0.2 version.

Message1.JPG
Message1.JPG (17.21 KiB) Viewed 14707 times
Once I click on OK, job start processing.

Please find attached workflow I am using, after completion of jobs I am getting two notification in status monitor window. Please find below screenshot for your reference.

20170321143743.rar
(1.48 KiB) Downloaded 559 times
Please suggest if there is any changes require in workflow.

Status Monitor.JPG
Status Monitor.JPG (34.16 KiB) Viewed 14707 times
Can you please check and suggest.

Regards,
Vijay

Re: Two mono audio streams to one stereo audio stream

Posted: Tue Apr 18, 2017 4:44 pm
by admin
Oh that's a bad one! :oops:
I've updated to 0.8.0.3. Please upgrade.

Thanks for reporting! :-)

-steinar

Re: Two mono audio streams to one stereo audio stream

Posted: Thu Nov 29, 2018 1:32 pm
by paulgriffiths
admin wrote: Tue Apr 04, 2017 9:29 pm You can construct a new name by f.ex. setting %s_my_user_var% to $trimr("%s_original_name%", 2). %s_my_user_var% is now set to "Test". *_L" is stripped away.

On the destination folder node check the "Drop original name" option and insert your variable %s_my_user_var% in the "Prefix" field. Now your output should be "Test.wav" if you input file was "Test_L.wav".

-steinar
Hi, I can't get this to work in v0.9.3, the custom ffmpeg doesn't get populated with a path to the file so errors with no video or audio. If I try and make a directory named after the user variable using the command executor this errors with error 1 so again the path is not being passed over. Any ideas?

thanks,

Paul