Skip to content

Commit 56c2e86

Browse files
20250612 - tweaks
1 parent 8858f4e commit 56c2e86

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

video-editing.Rmd

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ NOTE: This script will only work if you open the Lab Drive directly from the Des
5353
*You cannot open it from the Quick Access menu in File Explorer.*
5454

5555
An alternative approach is to use [ffmpeg](https://ffmpeg.org) (https://unix.stackexchange.com/a/437044; archived at: https://perma.cc/DWR8-4LST).
56-
After installing [ffmpeg](https://ffmpeg.org), use the following syntax in Command Prompt (`cmd.exe`) when in the target directory (use `cd DIRECTORY` to navigate to the target directory):
56+
To perform this approach, [ffmpeg](https://ffmpeg.org) must be installed on the computer.
57+
After installing [ffmpeg](https://ffmpeg.org), make sure the videos are on a local drive on the computer (i.e., not on the lab drive).
58+
Then, use the following syntax in Command Prompt (`cmd.exe`) when in the target directory (use `cd DIRECTORY` to navigate to the target directory):
5759

5860
```bash
5961
ffmpeg -i left.mp4 -i right.mp4 -filter_complex hstack output.mp4
@@ -71,7 +73,8 @@ To combine two videos from a visit with interrupted recordings, follow these ste
7173
1. Drag the second video from the File Explorer Window straight into the Avidemux window, dropping it over the first video—you should see the video duration increase when it is added, indicating it is appending to the end of the previous video
7274
1. Save the new video in the TC's folder as TCID_Wave_LV1 (`\\lc-rs-store24.hpc.uiowa.edu\lss_itpetersen\Lab\Studies\School Readiness Study\Videos\Lab Visit 1\`)
7375

74-
An alternative approach is to use [ffmpeg](https://ffmpeg.org) (https://ma.ttias.be/use-ffmpeg-combine-multiple-videos/; archived at: https://perma.cc/F9P9-KS4D):
76+
An alternative approach is to use [ffmpeg](https://ffmpeg.org) (https://ma.ttias.be/use-ffmpeg-combine-multiple-videos/; archived at: https://perma.cc/F9P9-KS4D).
77+
To perform this approach, [ffmpeg](https://ffmpeg.org) must be installed on the computer.
7578

7679
First, after installing [ffmpeg](https://ffmpeg.org), use Command Prompt (`cmd.exe`) to create a text file named `files.txt` in the same directory as the videos you want to combine (use `cd DIRECTORY` to navigate to the target directory) with the following syntax:
7780

0 commit comments

Comments
 (0)