LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-18-2018, 09:28 AM   #1
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,026
Blog Entries: 3

Rep: Reputation: 133Reputation: 133
Cool Library of scripts for Media Processing


Hi Folks,

I've created a little library of Bash scripts that use ffmpeg to process multimedia files which you can use and develop further.

Download from this link: https://drive.google.com/file/d/11Hw...ew?usp=sharing

The zip file contains a menu script, run it and then you can select the script to run from the options, the scripts them selves run at low priority.

To install, create a folder called bin your home directory, save the zup file in that folder and unzip the contents. Make sure bin is in your PATH, echo $PATH to check. Here's what you should see:
Code:
onk@XEON4 ~ $ echo $PATH
/home/onk/bin:/home/onk/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
onk@XEON4 ~ $ BashMenu.sh 

    ==============================
    Menusystem experiment
    ------------------------------
    Please enter your choice:

    List Scripts         (1)
    Movies to PNGs HD    (2)
    Resize 16:9 Image    (3)
    Resize  4:3 Image    (4)

    Cut Movie            (5)
    Random File Names    (6)
    Join Movies          (7)
    Movies to PNGs SD-WS (8)

    Movies to PNGs SD-FS (9)
    Re-Encode and join   (J)
    Re-Encode Only       (R)
    Crop Images          (C)

    Blur Images          (B)
    MP2 to mp3 Audio     (A)

           (Q)uit
    ------------------------------
Each script will prompt for input like this:

Selecting option B gives these prompts (anything in bold is a default value and will be used, it doesn't need to be entered
Code:
Blur Images
7101 (process ID) old priority 0, new priority 19
Files to process (name only): IAMAG
Files extension (jpg|png|...): 
Width(0): 20
Height(0): 10
Top Corner from left hand side(0): 10
Top corner from top(0): 30
If anybody has comments, feedback or needs help just reply to this thread.

Cheers folks and Merry Xmas
 
Old 11-28-2018, 02:36 PM   #2
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,263
Blog Entries: 24

Rep: Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194
Thanks for sharing your progress!

I would suggest that if you want to share your code with others, and intend to update and maintain it in response to feedback from other members, posting to your personal blog space here at LQ might be a better venue for you. It will allow you to post changes and updates and interact more directly with your code's users without potentially bumping into posting rules which apply to the forums.

You can find a link to your personal blog space from the sidebar of any page while logged in, and from your user account pages.

Good luck!
 
1 members found this post helpful.
Old 11-28-2018, 05:05 PM   #3
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,026

Original Poster
Blog Entries: 3

Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by astrogeek View Post
Thanks for sharing your progress!

I would suggest that if you want to share your code with others, and intend to update and maintain it in response to feedback from other members, posting to your personal blog space here at LQ might be a better venue for you. It will allow you to post changes and updates and interact more directly with your code's users without potentially bumping into posting rules which apply to the forums.

You can find a link to your personal blog space from the sidebar of any page while logged in, and from your user account pages.

Good luck!
Cheers Astro, I'm looking into it - watch this space.....
 
Old 11-30-2018, 01:49 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
i recommend git for this sort of stuff.
if you cannot self-host, try:
https://framagit.org/
https://notabug.org/
(only 2 examples of dozens of sites)
 
Old 11-30-2018, 08:59 AM   #5
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,026

Original Poster
Blog Entries: 3

Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by ondoho View Post
i recommend git for this sort of stuff.
if you cannot self-host, try:
https://framagit.org/
https://notabug.org/
(only 2 examples of dozens of sites)
Just took a quick peek, looks interesting, thanks for the tip
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Scientific Audio Processing, Part III - How to apply Advanced Mathematical Processing Effects on Audio files with Octave 4.0 on Ubuntu LXer Syndicated Linux News 0 06-22-2016 06:12 PM
LXer: Scientific Audio Processing, Part II - How to make basic Mathematical Signal Processing in Audio files using Ubuntu with Octave 4.0 LXer Syndicated Linux News 0 06-20-2016 11:51 AM
[SOLVED] Why does /media/cdrecorder pop up with "cd /media/ + tab" when I have /media/usb too? SharpyWarpy Fedora 6 11-22-2012 01:05 AM
Media, media, and oh yeah......media. Morbid SUSE / openSUSE 2 03-11-2007 08:50 PM
form processing scripts help? tuxfood Programming 1 05-11-2004 06:28 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration