09-23-2018 08:11 PM
I am trying to stitch my images from the command line interface. I managed to stitch one image (the G055000.JPG) with this command line :
FusionStudio_x64.exe --back C:\Users\Fiona\Desktop\gopro_fusion\100GBACK\GB055000.JPG --front C:\Users\Fiona\Desktop\gopro_fusion\100GFRNT\GF055000.JPG -o C:\Users\Fiona\Desktop\gopro_fusion\test_stitching_positive.jpg -p 0 --pc 1
As output, I get a stitched equirectangular projection named "test_stitching_positive.jpg" of the GB055000.JPG and GF055000.JPG selected in my command line : I managed to stitch one image.
However, I cannot find how to stitch the images for my whole folder (61 images)...
I have tried this :
C:\Program Files\GoPro\Fusion Studio 1.3>FusionStudio_x64.exe --front -d C:\Users\Fiona\Desktop\gopro_fusion\100GFRNT --firstFrame GF055000.JPG --lastFrame GF055060.JPG --back -d C:\Users\Fiona\Desktop\gopro_fusion\100GBACK --firstFrame GB055000.JPG --lastFrame GB055060.JPG -o -d C:\Users\Anais\Desktop\gopro_fusion -p 0 --pc 1
And I get this output :
C:\Program Files\GoPro\Fusion Studio 1.3>
default GST cache is set to ' "C:/Users/Fiona/AppData/Local/FusionStudio_x64/cache/fusionStudioCache-1.12.4.bin" '
[SuperbankCommandLineParser] "GoPro Fusion Studio v184.108.40.2060 (b8b265a0)"
[Utils] Could not parse time "GB055000.JPG"
[SuperbankCommandLineParser] The given firstFrame is invalid. Using default value.
[Utils] Could not parse time "GB0550060.JPG"
[SuperbankCommandLineParser] The given lastFrame is invalid. Using default value.
[SuperbankCommandLineParser] Output directory is not writable "C:/Program Files/GoPro/Fusion Studio 1.3"
I don't understand why the frames are invalid. I checked three times, the pictures are there and at the correct path. And I don't know how to make ANY output directory writable.
PS : I am executing all those commands from C:\Program Files\GoPro\Fusion Studio 1.3, where FusionStudio_x64.exe is located.
09-25-2018 10:30 AM
Thank you for the details you provided. It would be best to engage our Support team for a more personalized support on this concern. This way, the team can provide data directly to the Fusion team to determine what is causing the frames to be invalid, and walk you through the next steps. You can call or initiate a chat with the team through https://gopro.com/help/ContactUs . When you contact them, it would help to have samples ready.
Please keep us posted on how it works out.
10-06-2018 08:56 PM
I found a solution. What is said about the -d or directory paramater is not helpful at all. In my case for the videos this was the command line that worked.
FusionStudio_x64.exe -d C:\PythonStuff\TestChapters\ --width 3072 --videoCodec 1 --pc 1 --blending 0 --projection 0 --stabilization 2 --iq 0 -o C:\PythonStuff\TestChapters\OUT
You only need to specify the -d flag once. You don't need front image or back image or anything like that. Once you tell it to use the -d flag it will assume all paths your sepcify after are directories.
In your case I would imagine the correct command would be the following:
C:\Program Files\GoPro\Fusion Studio 1.3>FusionStudio_x64.exe -d C:\Users\Fiona\Desktop\gopro_fusion\ -o C:\Users\Anais\Desktop\gopro_fusion -p 0 --pc 1
No need to tell it the frames or anything like that as long as the 100GFRNT and 100GBACK is in that gopro_fusion folder then it should render everything in those folders. I'm pretty sad at the lack of docuementation on the command line arguements.
10-14-2018 04:14 AM
Wow, thanks! I didn't even know there was a CLI to this app! The GUI for Fusion Studio 1.3 keeps failling on me so a CLI interface seem very promising.
I suppose the documentation is not very exhaustive but how did you even found there was a CLI for this?
11-23-2018 04:52 AM
Any decent application on windows usually does because it is basically programmed in C++ and the GUI you are seeing does translate to some commands in the backend.