How do I create an EDL (Edit Decision List) file using SMPlayer - mplayer

I'm trying to find out how to create a .edl (Edit Decision List) file using SMPlayer. I know how to do it using mplayer (i.e. mplayer -edlout file.edl). But I can't figure it out for SMPlayer.
All I could find is how to play a video using an .edl file:
http://smplayer.sourceforge.net/forum/viewtopic.php?f=2&t=271

Just figured it out. In Smplayer, got to preferences, click on "Advanced" then the "Options for Mplayer tab, and enter the command just like you would in mplayer. "-edlout .edl"
Next Go to the "advanced" tab and check "Run Mplayer in its own window."
Click apply, then Ok and restart smplayer. When you click on the mplayer window and the focus is on that window it should respond to the "i" key.

This doesnt appear to work on the following:
SMPlayer: Version: 0.8.0. Using Qt 4.8.3 (compiled with Qt 4.8.1)
MPlayer svn r34540 (Ubuntu), built with gcc-4.7
Xubuntu 12.10 - 3.5.0-45-generic
Preferences > Advanced > Options for MPlayer > Options
-edlout "/home/oliver/Superman2.edl"
and "Run Mplayer in its own window" enabled and focus on mplayer window when video is playing, pressing "i" does not create an EDL file.
Running mplayer from the CLI does however create an EDL file:
mplayer "/media/dlink2/TV/Superman II.mkv" -edlout "/home/oliver/TV/Superman.edl"

Related

how to pause Console window of Eclipse for Bosch XDK110

I just got the XDK110.
I run an example program using the Eclipse IDE.
I want to pause the continuous printf outputs in the Console window.
I don't have a Jlink debugger yet.
I assume the IDE comes with NO debug capability whatsoever, which is frustrating.
To pause, I click the COM button in the XDK Devices window.
To continue, click again.

Shortcut toggle between debug configuration

has anyout anyone found a way (shortcut or navigation) without using the mouse to select different configurations before starting the debugger.
Is it also possible, when debugging multiple configurations, to select them without using the mouse.
Thank you.
Part (to start debug) is done with 1.10.1
https://code.visualstudio.com/updates/v1_10#_debugging
Ability to select and start a launch using keyboard The option to
launch debug configurations using just the keyboard (no mouse gesture
necessary) was added, as per this request. It works similarly to
running tasks, with an ability to launch a debugging session from the
Command Palette. The keyword 'debug ' or the command Debug: Select and
Start Debugging from the Command Palette is used to select and launch
a configuration from launch.json.
You can register a custom keybinding for
command: workbench.action.debug.selectandstart
when: !inDebugMode

Are there any good ssh consoles for Eclipse?

I'm looking for a good ssh console plugin for Eclipse, and can't find much at all. Would anyone have some good leads on one?
If you don't like the ssh.shells or ssh.terminals subsystems in Eclipse RSE, try using the Terminal View instead.
Open up Window -> Show View -> Other (or press Shift+Alt+Q then Q)
Type Terminal in the search box
Select the Terminal view listed under the Terminal folder
You'll see a window that looks similar to RSE's ssh.terminals subsystem... but with some extra buttons on the top right.
How to use it:
To fix the scrolling issue (ie: for programs like top), click the Scroll Lock button at the right.
For extra Terminal window tabs, click the down arrow on the New Terminal Connection button
To change the current terminal window's settings, use the Settings button.
If you really like the annoying command input box at the bottom, you can toggle it on and off with the appropriate button.
Change the Background Color:
For some reason, the default setting is to use a terribly hard to see white background. To change this:
Go to Window -> Preferences
Type Terminal in the search box at the top left, or select Terminal on the left.
Check the box that says Invert terminal colors
You can also configure a larger terminal buffer or connection timeouts here
Click Apply
Now the terminal should have a black background! If you want a local terminal, you can enable ssh on your local machine, and connect to localhost.
In Eclipse 3.4.1, there is the Remote Systems Explorer perspective that allows you to create and connect to SSH terminals (here)
There are plugins that exist that allow you up open WinSCP or Putty from within Eclipse.
I would advise maybe doing a search for "putty eclipse plugin" or similar
You can also try the Terminal plug-in for Eclipse
This plug-in provides a fully-working, command-line terminal to
Eclipse 3.7 or later (yes, even 4.2!) It works on Linux and MacOS
only.
More info at: http://alexruiz.developerblogs.com/?p=2428

Custom command for Eclipse on current file

I would like to enhance Eclipse so that when I press a custom key combo--say Ctrl + Shift + E--then it will run a command on the current file (if my current buffer is foo.c then it will run `mycommand foo.c' in foo.c's directory).
Open the External Tools Configuration dialog from the Run menu. Create a new configuration with the following settings.
Location: c:\mycommand.exe (alter to your needs)
Working directory: ${container_loc}
Arguments: ${resource_loc}
Under Prefrences->General->Keys you can setup a shortcut for "Run last launched external tool".
This should solve your problem.
Also, make sure that your "resource" (foo.c) is selected. It happened to me that when testing the external tool and horizontally scrolling the output pane, the resource gets deselected. When you run the external tool again after probably having made changes to its configuration, Eclipse will pop up an error box about "empty variable" (e.g. ${resource_loc} ).

Open multiple Eclipse workspaces on the Mac

How can I open multiple Eclipse workspaces at the same time on the Mac?
On other platforms, I can just launch extra Eclipse instances, but the Mac will not let me open the same application twice. Is there a better way than keeping two copies of Eclipse?
This seems to be the supported native method in OS X:
cd /Applications/eclipse/
open -n Eclipse.app
Be sure to specify the ".app" version (directory); in OS X Mountain Lion erroneously using the symbolic link such as open -n eclipse, might get one GateKeeper stopping access:
"eclipse" can't be opened because it is from an unidentified developer.
Your security preferences allow installation of only apps from the Mac App Store and identified developers.
Even removing the extended attribute com.apple.quarantine does not fix that. Instead, simply using the ".app" version will rely on your previous consent, or prompt you once:
"Eclipse" is an application downloaded from the Internet. Are you sure you want to open it?
By far the best solution is the OSX Eclipse Launcher presented in http://torkild.resheim.no/2012/08/opening-multiple-eclipse-instances-on.html It can be downloaded in the Marketplace http://marketplace.eclipse.org/content/osx-eclipse-launcher#.UGWfRRjCaHk
I use it everyday and like it very much! To demonstrate the simplicity of usage just take a look at the following image:
EDIT: Milhous's answer seems to be the officially supported way to do this as of 10.5. Earlier version of OS X and even 10.5 and up should still work using the following instructions though.
Open the command line (Terminal)
Navigate to your Eclipse installation folder, for instance:
cd /Applications/eclipse/
cd /Developer/Eclipse/Eclipse.app/Contents/MacOS/eclipse
cd /Applications/eclipse/Eclipse.app/Contents/MacOS/eclipse
cd /Users/<usernamehere>/eclipse/jee-neon/Eclipse.app/Contents/MacOS
Launch Eclipse: ./eclipse &
This last command will launch eclipse and immediately background the process.
Rinse and repeat to open as many unique instances of Eclipse as you want.
Warning
You might have to change the Tomcat server ports in order to run your project in different/multiple Tomcat instances, see Tomcat Server Error - Port 8080 already in use
To make this you need to navigate to the Eclipse.app directory and use the following command:
open -n Eclipse.app
Actually a much better (GUI) solution is to copy the Eclipse.app to e.g. Eclipse2.app and you'll have two Eclipse icons in Dock as well as Eclipse2 in Spotlight. Repeat as necessary.
If the question is how to easily use Eclipse with multiple different workspaces, then you have to use a kludge because shortcuts in OS X do not provide a mechanism for passing command line arguments, for example the "--data" argument that Eclipse takes to specify the workspace. While there may be different reasons to create a duplicate copy of your Eclipse install, doing it for this purpose is, IMNSHO, lame (now you have to maintain multiple eclipse configurations, plugins, etc?).
In any case, here is a workaround. Create the following script in the (single) Eclipse directory (the directory that contains Eclipse.app), and give it a ".command" suffix (e.g. eclipse-workspace2.command) so that you can create an alias from it:
#!/bin/sh
# open, as suggested by Milhous
open -n $(dirname $0)/Eclipse.app --args -data /path/to/your/other/workspace
Now create an alias to that file on your desktop or wherever you want it.
You will probably have to repeat this process for each different workspace, but at least it will use the same Eclipse installation.
2018 Update since many answers are no longer valid
OS X Heigh Sierra (10.13) with Eclipse Oxygen
Go to wherever your Eclipse is installed. Right-click -> Show Package Contents -> Contents -> MacOS -> Double-click the executable called eclipse
A terminal window will open and a new instance of eclipse will start.
Note that if you close the terminal window, the new Eclipse instance will be closed also.
To make your life easier, you can drag the executable to your dock for easy access
Instead of copying Eclipse.app around, create an automator that runs the shell script above.
Run automator, create Application.
choose Utilities->Run shell script, and add in the above script (need full path to eclipse)
Then you can drag this to your Dock as a normal app.
Repeat for other workspaces.
You can even simply change the icon - https://discussions.apple.com/message/699288?messageID=699288&#699288
One another way is just to duplicate only the "Eclipse.app" file instead of making multiple copies of entire eclipse directory. Right-Click on the "Eclipse.app" file and click the duplicate option to create a duplicate.
If you're like me, you probably have terminal running most of the time as well.
You could just create an alias in /Users//.bash_profile like this
alias eclipse='open -n path_to_eclipse.app'
then all you have to do is just open the terminal and type eclipse.
Based on a previous answer that helped me, but different directory:
cd /Applications/Eclipse.app/Contents/MacOS
./eclipse &
Thanks
You can create an AppleScript file to open Eclipse with a given workspace. You can even save the AppleScript file as an Application, which is equivalent to creating an alias with arguments in Windows OS.
Open Script Editor and type the following:
do shell script "open '/path/to/your/Eclipse/installation' -n --args -data /path/to/your/workspace"
For instance:
do shell script "open '/Applications/Eclipse.app' -n --args -data /MyWorkspaces/Personal"
Press the Run button to check it's working.
This script can be saved as such, but I prefer to save it as an Application. That way I can customize the icon by copying the *.icns icon from the original Eclipse.app bundle to the script application bundle.
To open an App folder, use the "see contents" contextual menu option. It should look like this:
Where "main.scpt" is the AppleScript file and "applet.icns" is the icon from the original Eclipse bundle.
Launch terminal and run open -n /Applications/Eclipse.app for a new instance.
I found this solution a while back, can't remember where but it still seems to work well for me.
Create a copy of Eclipse.app for each workspace you want to work in (for this example ProjectB.app), then open ProjectB.app/Contents/MacOS/eclipse.ini and add these two lines at the beginning of the file:
-data
/Users/eric/Workspaces/projectb
... substituting where your workspace is located. When you launch ProjectB.app it will automatically start with that workspace instead of prompting for a location, and you should be able to run it at the same time as other Eclipse instances with no problem.
In Terminal simply paste below line and hit enter ..
/Applications/Eclipse.app/Contents/MacOS/eclipse ; exit;
If you want to open multiple workspaces and you are not a terminal guy, just locate the Unix executable file in your eclipse folder and click it.
The path to the said file is
Eclipse(folder) -> eclipse(right click) -> Show package
Contents -> Contents -> MacOs -> eclipse(unix executable file)
Clicking on this executable will open a separate instance of eclipse.
A more convenient way:
Create an executable script as mentioned above:
#!/bin/sh
cd /Applications/Adobe\ Flash\ Builder\ 4.6
open -n Adobe\ Flash\ Builder\ 4.6.app
In you current instance of Flashbuilder or Eclipse, add a new external tool configuration. This is the button next to the debug/run/profile buttons on your toolbar. In that dialog, click on "Program" and add a new one. Give it the name you want and in the "Location" field, put the path to the script from step 1:
/Users/username/bin/flashbuilder
You can stop at step 2, but I prefer adding a custom icon to the toolbar. I use a the Quick Launch plugin to do that:
http://sourceforge.net/projects/quicklaunch/files/
After adding the plugin, go to "Run"->"Organize Quick Lauches" and add the external tool config from step 2. Then you can configure the icon for it.
After you save that, you'll see the icon in your toolbar. Now you can just click it every time you want a new Flashbuilder/Eclipse instance.
You can run multiple instances of Eclipse by creating a pseudonym for Eclipse application in it's folder and using it for running new Eclipse instance
Lets try downloading this in your eclipse on Mac you will be able to open multiple eclipse at a time Link
Name : macOS Eclipse Launcher
Steps :
Go to eclipse Market place.
Search for "macOS Eclipse Launcher" and install.
It will restart .
Now under file menu check for open option > there you will find other projects to open also at same time .
Window -> New Window
This opens a new window and you can then open another project in it. You can use this as a workaround hopefully.
It actually allows you to work in same workspace.