Search found 8 matches
- Wed Aug 25, 2021 8:05 pm
- Forum: Multimedia
- Topic: Dual video player
- Replies: 2
- Views: 14618
Re: Dual video player
Thanks, that worked and thanks for the note about the code tags. I think I've only posted here once before. Very helpful community though:D To answer your question, the script I posted was in the "Play" button. There is script in the scrubber to seek through videos when scrubbing. All good now, than...
- Wed Aug 25, 2021 3:24 pm
- Forum: Multimedia
- Topic: Dual video player
- Replies: 2
- Views: 14618
Dual video player
I'm working on a dual video player so video and a screen recording can be played at the same time, picture in picture or side by side. I've hidden the player controls and have a controller that controls both players simultaneously. My problem is finding a way to update the scrubber (slider) as the v...
- Fri Mar 13, 2020 1:46 pm
- Forum: Talking LiveCode
- Topic: Pass arguments to a process
- Replies: 14
- Views: 22447
Re: Pass arguments to a process
Yeah baby! It works.
Thanks you so much. This was a huge hurdle.
Thanks you so much. This was a huge hurdle.
- Thu Mar 12, 2020 8:17 pm
- Forum: Talking LiveCode
- Topic: Pass arguments to a process
- Replies: 14
- Views: 22447
Re: Pass arguments to a process
Different error:
/bin/sh: line 1: syntax error near unexpected token `&'
/bin/sh: line 1: ` & tCommand & '
/bin/sh: line 1: syntax error near unexpected token `&'
/bin/sh: line 1: ` & tCommand & '
- Thu Mar 12, 2020 7:14 pm
- Forum: Talking LiveCode
- Topic: Pass arguments to a process
- Replies: 14
- Views: 22447
Re: Pass arguments to a process
Okay, so this works: put shell("/Applications/VLCdotapp/Contents/MacOS/VLC '/Users/me/Pictures/Media Browser/file' --rate=1 --video-filter=scene -Idummy --vout=dummy --aout=dummy --start-time=10 --stop-time=11 --scene-format=jpg --scene-ratio=24 --scene-prefix=snap --scene-path='/Users/me/Desktop' v...
- Wed Mar 11, 2020 5:35 pm
- Forum: Talking LiveCode
- Topic: Pass arguments to a process
- Replies: 14
- Views: 22447
Re: Pass arguments to a process
The following is generally valid on MacOS and probably on Windows and linux too. As long as you use full pathes everything that works in terminal will work with LC's shell: Terminal: /Applications/VLCdotapp/Contents/MacOS/VLC <args> LC: put shell("/Applications/VLCdotapp/Contents/MacOS/VLC <args>")...
- Wed Mar 11, 2020 5:29 pm
- Forum: Talking LiveCode
- Topic: Pass arguments to a process
- Replies: 14
- Views: 22447
Re: Pass arguments to a process
dspidell, how much experience do you have with inter-process communication? I'm asking because there are several ways to go about it, and which one is best for you will depend on your experience. Probably the best way to explore the range of options for communicating with a program while it's runni...
- Mon Mar 09, 2020 8:12 pm
- Forum: Talking LiveCode
- Topic: Pass arguments to a process
- Replies: 14
- Views: 22447
Pass arguments to a process
Is it possible to pass arguments to a process? For example, in Terminal I can run VLC and pass arguments to create a thumbnail from a video file without opening the VLC interface. The command looks like: vlc "myPath/MyVideo" --rate=1 --video-filter=scene -Idummy --vout=dummy --aout=dummy --start-tim...