User Tools

Site Tools


webinterface:webinterface

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
webinterface:webinterface [2024/05/21 15:17] – [Tipps and Tricks] emcodemwebinterface:webinterface [2026/04/03 21:34] (current) – [Main Menu] emcodem
Line 17: Line 17:
  
 Installing the Webinterface as a service is optional, you can also just execute "server.exe" for testing. \\ \\ Installing the Webinterface as a service is optional, you can also just execute "server.exe" for testing. \\ \\
- 
-Before installing the webinterface, make sure the **FFAStrans API is running** as described here: [[gui:installation|Installation]]. 
  
 __**Note:**__ It is recommended to extract the installation package in the same folder than FFAStrans folder. \\ __**Note:**__ It is recommended to extract the installation package in the same folder than FFAStrans folder. \\
Line 50: Line 48:
  
 ====Main Menu==== ====Main Menu====
-The Webinterface works only if : 
-  * **FFAStrans API is running** 
- 
  
 If your webserver(webinterface) runs on the same server as your main ffastrans server, open your web browser and type : **http://localhost:3002**  If your webserver(webinterface) runs on the same server as your main ffastrans server, open your web browser and type : **http://localhost:3002** 
Line 144: Line 139:
 </code> </code>
  
-=== Submit all selected files as array into one job for concat/stitch ===+==== Segment submission and processing ==== 
 + 
 +Currently since Webint 1.4.0.38, you need to use the player to set in/out points. 
 +Of course your workflow must add support for this special type of source. 
 + 
 +In case of segments, Webinterface will submit a special predefined variable called "o_source", this is a complex JSON object containing all the needed information.  
 + 
 + 
 +**Simple example:** 
 +In this case, we just showcase a minimal workflow, due to the nature of ffmpeg "concat" functionality it will only work correctly with I-Frame only source files. 
 + 
 +{{ :webinterface:emcodem_concat_1.4.3_ffmpeg_cuts_no_transcode.json |}} 
 + 
 + 
 + 
 +**More complex, frame accurate example:** 
 +This is a complex showcase where we use Avisynth to cut the segments frame accurately and after that, stitch all source files into one. 
 + 
 +{{ :webinterface:emcodem_concat_1.4.3_avisynth_cuts.json |}} 
 + 
 + 
 + 
 + 
 +==== Submit all selected files as array into one job for concat/stitch ====
  
 In FFAStrans workflow editor - workflow properties, you can enter a workflow description. Add the keyword webui_stitch. If this word is found in the workflow description, all selected files are submitted as json array into s_source variable and you can use e.g. the "Foreach" Processor to process all Files separately. In FFAStrans workflow editor - workflow properties, you can enter a workflow description. Add the keyword webui_stitch. If this word is found in the workflow description, all selected files are submitted as json array into s_source variable and you can use e.g. the "Foreach" Processor to process all Files separately.
Line 206: Line 224:
 <code>http://localhost:3002/webinterface/components/login.html?username=admin&password=Passw0rd</code> <code>http://localhost:3002/webinterface/components/login.html?username=admin&password=Passw0rd</code>
  
-== Jobstarter workflow control using URL Parameters since Version 1.4 ==+=== Jobstarter workflow control using URL Parameters since Version 1.4 ===
  
 [[webui_jobstarter]] [[webui_jobstarter]]
  
-== Override CSS globally ==+=== Override CSS globally ===
  
 [[webui_alternate_server]] [[webui_alternate_server]]
  
-== Retrieve username of logged in user who submitted a job from Webui ==+=== Retrieve username of logged in user who submitted a job from Webui ===
  
 If a job was submitted on WebUI Job Submitter page, this variable should carry the username of the logged in user: If a job was submitted on WebUI Job Submitter page, this variable should carry the username of the logged in user:
webinterface/webinterface.1716304621.txt.gz · Last modified: 2024/05/21 15:17 by emcodem

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki