Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > Video stream recording
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 03-03-2017, 08:33 AM
SonOfErin SonOfErin is offline
Junior Member
 
Join Date: Mar 2017
Location: Southern Worcester County, MA USA
Posts: 1
SonOfErin is on a distinguished road
Default

BASH scripting youtube-dl


I'm tired of typing in
Code:
youtube-dl -x --audio-stream (xxx)
and pasting the URL for the video I want to (download the audio from) in. I have typo'd all kinds of things before the paste-in step, and I really want to get past that, too. I want to write a script (or a function to shoehorn into .bash_aliases) that would make it easier and eliminate the chance for typos.

Two things I'd like to include in such a script or function:
* The option to download in .m4a as well as .wav and .mp3 (using the youtube-dl code for that format in video X or Y)
* The option to keep the original video (-k option in youtube-dl)

Does anyone here know youtube-dl and bash scripting enough to help me out? I'd rather not go to an all-Linux forum to post about this.

SOE
Reply With Quote
Reply Post New Thread
Tags: , , , ,



Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 08:07 PM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons