Linux Shell Scripts
|
! Note !
The scripts here may be touched up or
revised occasionally, if/when I re-visit this page.
Sections Below:
INTRO
CLIP
CROP
CONVERT(to mp4)
CHANGE-AUDIO-VOLUME
EXTRACT-AUDIO
MORE-INFO
BOTTOM-of-PAGE
INTRODUCTION : Around 2010, I migrated my files (email, web browser bookmarks, documents, photos, etc.) from a Microsoft Windows personal computer to a home-built computer using Linux (Ubuntu 9.10, 'Karmic Koala'). For almost 10 years (to about 2019), I used the Linux-version of the 'ffmpeg' command to do various kinds of processing of 'media' (video and audio) files. The kinds of processing that I performed at various times were
Some 'ffmpeg' scripts developed with There are a lot of 'VIDEOtools' (based on the 'ffmpeg' command) in an feNautilusScripts system at 'www.freedomenv.com'. Those scripts are based on using them in a GUI file manager (originally, Gnome2-Nautilus - later MATE-Caja) in which
These 'ffmpeg' scripts developed with The scripts ON THIS PAGE are oriented toward a different method of use --- in a Linux terminal window --- processing one file at a time. The procedure is
Version used in developing these ffmpeg-scripts: Back in the 2010 to 2019 period, I used an 'ffmpeg' version that was available when Ubuntu 9.10 ('Karmic Koala') was released, in October of 2009. The scripts below were tested using ffmpeg version '3.4.6', which was available after Ubuntu-MATE 18.04 was released, in April of 2018. Judging from the ffmpeg downloads page and/or the ffmpeg old-downloads page, the '3.4.6' version was released around 2020. More specifically, a github page shows that the source code of '3.4.6' may have been released around March 2019. A videohelp.com version-history page gives an idea of the many changes to ffmpeg (from version 0.3, before 2010, to present) --- via ffmpeg 'release notes'. Release 0.5 of ffmpeg was released around March 2009, according to an lwn.net article. That may have been the relase of ffmpeg that I used on Ubuntu 9.10 for almost a decade (about 2010 to 2019). How the scripts are presented, below: The scripts are presented in two ways below:
You can see the comments, in the movie editing scripts below, for some details about the parameters being used in the 'ffmpeg'command in the scripts. And you can see the exact way that the input and output files are being specified in those commands. If you want to download any of these scripts for use, you can right-click on the '.txt' file link and choose an option such as 'Save Link Target As ...' in the popup menu that appears from your web browser. After downloading one of these scripts, you can remove the '.txt' suffix from the file name and leave the '.sh' suffix. Remember to change the permissions on the script file to make the file 'executable'. You can use a command like 'chown 755 filename'. OR, in a GUI file-manager like MATE-Caja, you can right-click on the '.sh' filename and choose the 'Properties' option from the menu that pops up. Then open the 'Permissions' panel and click the checkbutton titled 'Allow executing file as program'. |
'ffmpeg' CLIP SCRIPT:
CLIP script link: Alternative display of the CLIP script: CLIP: |
'ffmpeg' CROP SCRIPT:
CROP script link: Alternative display of the CROP script: CROP: |
'ffmpeg' CONVERT-to-mp4 SCRIPT:
CONVERT script link: Alternative display of the CONVERT-to-mp4 script: CONVERT: |
'ffmpeg' CHG-AUDIO-VOLUME SCRIPT:
AUDIO-VOL script link: Alternative display of the CHG-AUDIO-VOLUME script: AUDIO-VOL: |
'ffmpeg' EXTRACT-AUDIO-to-mp3 SCRIPT:
AUDIO-EXTRACT script link: Alternative display of the AUDIO-EXTRACT-to-mp3 script: AUDIO-EXTRACT: |
Bottom of this To return to a previously visited web page location, click on the Back button of your web browser a sufficient number of times. OR, use the History-list option of your web browser. OR ...
< Go to start of Code samples, above. >
Page history:
Page was created 2021 Jun 23.
|