Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Need automation help - Mint 13 + Audacity
New Posts  All Forums:Forum Nav:

Need automation help - Mint 13 + Audacity - Page 2

post #11 of 24
Quote:
Originally Posted by mushroomboy View Post

Ahhh that makes sense then as to you wanting it timed. I would personally set up a script for one of the normal programs to pull the audio stream off the browser instead of using audacity, dunno just how I would do it. Apparently mplayer works to dump streams from a URL?
Interesting, I got mplayer to output the audio from youtube to a wave on my desktop. This is neat, I haven't played around with mplayer like this before but it's youtube browsing is kinda nice. [errr] I did this by dumping mplayer's PCM stream, kinda nifty. There has to be a record program that would dump a specified pcm stream, or maybe dump the PCM directly off the mixer.

If you're setting up a script anyway then I think he's better off using stuff like flvstreamer rather than mplayer.
post #12 of 24
Quote:
Originally Posted by Plan9 View Post

If you're setting up a script anyway then I think he's better off using stuff like flvstreamer rather than mplayer.

Yeah, probably, I just did the program I know the most. I'm sure there are plugins that would rip audio from a browser too, I just think loading audacity would be a bit over the top.
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
post #13 of 24
Thread Starter 
Quote:
Originally Posted by Plan9 View Post

Quote:
Originally Posted by mushroomboy View Post

Ahhh that makes sense then as to you wanting it timed. I would personally set up a script for one of the normal programs to pull the audio stream off the browser instead of using audacity, dunno just how I would do it. Apparently mplayer works to dump streams from a URL?
Interesting, I got mplayer to output the audio from youtube to a wave on my desktop. This is neat, I haven't played around with mplayer like this before but it's youtube browsing is kinda nice. [errr] I did this by dumping mplayer's PCM stream, kinda nifty. There has to be a record program that would dump a specified pcm stream, or maybe dump the PCM directly off the mixer.

If you're setting up a script anyway then I think he's better off using stuff like flvstreamer rather than mplayer.

@both of you guys

Originally my plan was to have a separate VM to do this (and other VM's to do some other things) as I could just have a bunch of small VM's doing individual tasks. But seeing as I'm not fully setup for what I want to do yet I'm considering doing things differently. redface.gif

Anyways I'm still getting my audio with stereo mix and audacity (timer record) for now. I just want (free, I know there is pay-for software that can do exactly what I want) to setup a few things to be automated. I'm looking into how in depth I can get a batch script to work with some of these things. smile.gif
    
CPUMotherboardGraphicsRAM
INTEL ASUS XFX  SAMSUNG 
Hard DriveOptical DriveCoolingOS
WD/ST LG KUHLER WINDOWS 
MonitorKeyboardPowerCase
LG/SAMSUNG IBM MODEL M CORSAIR THERMALTAKE 
MouseMouse PadAudio
MS INTELLIMOUSE EXPLORER 3.0 REGULAR LARGE PAD ONBOARD but it USED TO BE A XONAR DG  
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
INTEL ASUS XFX  SAMSUNG 
Hard DriveOptical DriveCoolingOS
WD/ST LG KUHLER WINDOWS 
MonitorKeyboardPowerCase
LG/SAMSUNG IBM MODEL M CORSAIR THERMALTAKE 
MouseMouse PadAudio
MS INTELLIMOUSE EXPLORER 3.0 REGULAR LARGE PAD ONBOARD but it USED TO BE A XONAR DG  
  hide details  
Reply
post #14 of 24
Quote:
Originally Posted by GanjaSMK View Post

@both of you guys
Originally my plan was to have a separate VM to do this (and other VM's to do some other things) as I could just have a bunch of small VM's doing individual tasks. But seeing as I'm not fully setup for what I want to do yet I'm considering doing things differently. redface.gif
Anyways I'm still getting my audio with stereo mix and audacity (timer record) for now. I just want (free, I know there is pay-for software that can do exactly what I want) to setup a few things to be automated. I'm looking into how in depth I can get a batch script to work with some of these things. smile.gif

You could probably do this in Windows using VLC and Windows Tasks. It would certainly make more sense than having a separate VM for each application. But I wouldn't bank on getting much control out of batch programs. You'd probably need to delve into Powershell for the more complicated routines.

Personally though, I think this sort of thing is where Linux comes into its own.
post #15 of 24
Thread Starter 
Quote:
Originally Posted by Plan9 View Post

Quote:
Originally Posted by GanjaSMK View Post

@both of you guys
Originally my plan was to have a separate VM to do this (and other VM's to do some other things) as I could just have a bunch of small VM's doing individual tasks. But seeing as I'm not fully setup for what I want to do yet I'm considering doing things differently. redface.gif
Anyways I'm still getting my audio with stereo mix and audacity (timer record) for now. I just want (free, I know there is pay-for software that can do exactly what I want) to setup a few things to be automated. I'm looking into how in depth I can get a batch script to work with some of these things. smile.gif

You could probably do this in Windows using VLC and Windows Tasks. It would certainly make more sense than having a separate VM for each application. But I wouldn't bank on getting much control out of batch programs. You'd probably need to delve into Powershell for the more complicated routines.

Personally though, I think this sort of thing is where Linux comes into its own.

I have a few old things lying around and I just bought a GX520 for the RAM in it but now I'm thinking of using it to make a little Linux box. I'm not sure what I want to do. I have some Dell 5150's laying around and an old Athlon XP system laying around (2Ghz). So unsure of which direction I'm going to go just yet.

I'm not particularly a fan of VLC - I go with MPC instead for videos but if VLC has some integrated stuff for web streams and the like then I'll have to look into it. thinking.gif
    
CPUMotherboardGraphicsRAM
INTEL ASUS XFX  SAMSUNG 
Hard DriveOptical DriveCoolingOS
WD/ST LG KUHLER WINDOWS 
MonitorKeyboardPowerCase
LG/SAMSUNG IBM MODEL M CORSAIR THERMALTAKE 
MouseMouse PadAudio
MS INTELLIMOUSE EXPLORER 3.0 REGULAR LARGE PAD ONBOARD but it USED TO BE A XONAR DG  
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
INTEL ASUS XFX  SAMSUNG 
Hard DriveOptical DriveCoolingOS
WD/ST LG KUHLER WINDOWS 
MonitorKeyboardPowerCase
LG/SAMSUNG IBM MODEL M CORSAIR THERMALTAKE 
MouseMouse PadAudio
MS INTELLIMOUSE EXPLORER 3.0 REGULAR LARGE PAD ONBOARD but it USED TO BE A XONAR DG  
  hide details  
Reply
post #16 of 24
Quote:
Originally Posted by GanjaSMK View Post

I have a few old things lying around and I just bought a GX520 for the RAM in it but now I'm thinking of using it to make a little Linux box. I'm not sure what I want to do. I have some Dell 5150's laying around and an old Athlon XP system laying around (2Ghz). So unsure of which direction I'm going to go just yet.
I'm not particularly a fan of VLC - I go with MPC instead for videos but if VLC has some integrated stuff for web streams and the like then I'll have to look into it. thinking.gif

I'm not talking about using a media player to watch the streams, I'm talking about using VLC to record live streams. VLC is actually a pretty decent transcoder - once you get your head around the massively complicated command line arguments
post #17 of 24
Plan, why use VLC though when mplayer is command line? I know you can use vlc that way, just see mplayer as more cli centric as it's oriented to be so. You could also dump the video for mplayer if they do it in live chat, which I would find useful personally. Idk, I just find vlc a bit meh when it comes to programs of that nature. I'd much rather use mplayer1/2 in that sense. I looked at flvstreamer but going to say I'd still use mplayer, it's already installed so I wouldn't have to go grab other tools. =P

I just know mplayer works very well with all the features required so far, it plays youtube content and outputs the streams to raw formats if you want. It's also set up so you could launch it alone in cli or with a gui and do the same things. I guess personally I never liked vlc, it was one of those applications that I didn't really care about as mplayer was released first and did what I wanted.
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
post #18 of 24
Quote:
Originally Posted by mushroomboy View Post

Plan, why use VLC though when mplayer is command line? I know you can use vlc that way, just see mplayer as more cli centric as it's oriented to be so. You could also dump the video for mplayer if they do it in live chat, which I would find useful personally. Idk, I just find vlc a bit meh when it comes to programs of that nature. I'd much rather use mplayer1/2 in that sense.
VLC is command line driven too. In fact Media Tomb uses VLC for transcoding, as does get_iplayer. I know mplayer is used a lot for these sort of things as well though - but it's just a matter of what you're used to I guess.

Anyhow, I wasn't suggesting using VLC for Linux, I was suggesting using it if the OP decided to use Windows batch files instead.
Quote:
Originally Posted by mushroomboy View Post

I looked at flvstreamer but going to say I'd still use mplayer, it's already installed so I wouldn't have to go grab other tools.
flvstreamer I think would be better for grabbing the stream as it has a built in timer function that i didn't see in your mplayer arguments. But again, that's nothing that couldn't be scripted in if not natively supported. So it just goes back to my earlier point about using whatever you feel more comfortable with.
Quote:
Originally Posted by mushroomboy View Post

I guess personally I never liked vlc, it was one of those applications that I didn't really care about as mplayer was released first and did what I wanted.
to be honest mate, I really don't care why you prefer one over the other. They're all much the same at the end of the day so it really doesn't matter who uses what.
Edited by Plan9 - 8/29/12 at 4:40pm
post #19 of 24
Quote:
Originally Posted by Plan9 View Post

VLC is command line driven too. In fact Media Tomb uses VLC for transcoding, as does get_iplayer. However I wasn't suggesting using VLC for Linux, I was suggesting using it if the OP decided to use Windows batch files instead.

Yeah but mplayer does batch too? I was speaking universally, because vlc is traditionally a GUI media player where as mplayer has always (and always will be) a cli driven player. Not saying VLC is bad, and I'm aware they created cvlc, it's just not driven for the cli aspect as much as a player that's designed to be all cli. Media Tomb also uses ffmpeg if you set it up, I believe you can do either? idk, I stopped using MediaTomb after I couldn't get it to work with my Xbox. lol That and they share the same TV so I just thought it was redundant for me to set it up just cause I can. heh

[edit] Thinking about it (general): I guess what I mean is, you could use mplayer/flvstreamer (without video) to run a simple batch/script to grab the audio. then you should be able to use ffmpeg to convert that to your favourite mp3 format wink.gif and rename it to a new file. If you set the batch up correctly it could rename it to something-x or some numerical value, while first checking to see if the name already exists so you can archive. If you wanted to get real crazy, you could probably pull system time/date and just do it that way so you know each episode by when they were done. I'm sure you can do it in vlc too, I was just saying mplayer is strictly cli so it's a bit more designed for this type of idea. Not that you can't replace them, if you prefer one over the other that's all fine and dandy as I've said I just don't like VLC. Just in an script instance, I would assume mplayer is a bit more flexible. Idk that's just how I see it.

[edit2] Just saw you edited (Plan), yeah that timer in flvstreamer would be the tits for a project like this. mplayer itself is pretty raw when it comes to things, it's literally just a player. The crazy functions are generally built around it, a good example is XBMC. So your probably right, flvstreamer would be a great choice for this.

[clarification] I need to write my posts with more clarification, editing this one for that now. Cause I wasn't really talking directly at Plan about me not liking VLC, it was more a general warning that I'm going to be biased without actually saying I'm biased.
Edited by mushroomboy - 8/29/12 at 4:55pm
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
post #20 of 24
Quote:
Originally Posted by mushroomboy View Post

Yeah but mplayer does batch too?
I didn't say it didn't. And why must everything be a bloody argument with you rolleyes.gif
Quote:
Originally Posted by mushroomboy View Post

I was speaking universally, because vlc is traditionally a GUI media player where as mplayer has always (and always will be) a cli driven player. Not saying VLC is bad, and I'm aware they created cvlc, it's just not driven for the cli aspect as much as a player that's designed to be all cli.
VLC can and does run headless. Period.
Quote:
Originally Posted by mushroomboy View Post

Media Tomb also uses ffmpeg if you set it up, I believe you can do either?
Well obviously it would use ffmpeg if you set it up. Media Tomb uses anything if you set it up to do so rolleyes.gif. However in the default config (on Arch at least), MT uses VLC for transcoding.

[edit]

with these crazy edits, I have no idea who's replying to what now doh.gif

Anyhow, VLC / mplayer / whatever. It can be done in Windows, but I suspect he'd have to write a Powershell script to parse the webpages (that's going to be the tricky bit - not which media player to execute).
Edited by Plan9 - 8/29/12 at 5:02pm
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Need automation help - Mint 13 + Audacity