LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-05-2019, 04:46 AM   #1
brilyant
LQ Newbie
 
Registered: Mar 2006
Posts: 9

Rep: Reputation: 3
Software control of audio playout process


I want to play an audio file with software such as mplayer, and control the output level from another program that detects external events.
Is there a way to identify the playout process, and inject the control characters into it? I have a feeling it can be done with pipes or something, but I can't pin down how it might work.
 
Old 08-05-2019, 06:44 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 12,774
Blog Entries: 9

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
I seem to remember vaguely that mplayer has such features, maybe "slave"?
In any case you should read
Code:
man mplayer
I also recommend trying mpv instead of mplayer. It also has some functionality to be controlled externally.
Code:
man mpv
 
Old 08-05-2019, 01:18 PM   #3
brilyant
LQ Newbie
 
Registered: Mar 2006
Posts: 9

Original Poster
Rep: Reputation: 3
Thank you for that. I hadn't spotted the word "slave", and it holds great promise.
I think this thread can be closed.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Process management and process control cll975dll General 1 09-04-2009 04:37 PM
Finding the Process ID of a Process While Initiating the Process senthilmuthiah Linux - Newbie 7 04-02-2009 11:37 AM
tc traffic control tc traffic control Linux QoS control tool(noob help) inv|s|ble Linux - General 1 07-26-2007 12:12 PM
LXer: SKY PerfecTV! Goes HD With Harris H-Class(TM) D-Series(TM) Playout Automation Application LXer Syndicated Linux News 0 07-02-2006 01:54 PM
Process Table-Process Control Block sarahmencer Linux - General 1 01-09-2006 10:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:01 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration