Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: YouTube Downloads - Which Software?

  1. #11
    Join Date
    Jan 2007
    Location
    Yorkshire, UK
    Posts
    4,585

    Default

    Thanks Guys, i've downloaded the one Tony recommended and it works a treat.

    Here's a little video on holography, it's one of the files I wanted to download (& have now succeeded ).

    https://www.youtube.com/watch?v=tjWz...b0TwpwTw5lcVEg

    Also, I just love Steve Earl & Copperhead Road
    Quote: "There is a theory which states that if ever, for any reason, anyone discovers what exactly the Universe is for and why it is here it will instantly disappear and be replaced by something even more bizarre and inexplicable. There is another that states that this has already happened.”... Douglas Adams 1952 - 2001

  2. #12
    Join Date
    Oct 2010
    Location
    Wiltshire, UK
    Posts
    579

    Default

    Quote Originally Posted by Jem View Post
    Thanks Guys, i've downloaded the one Tony recommended and it works a treat.
    Not as daft as I look, fortunately

    Glad its sorted, Its a program my brother pointed me to.
    Squat that bug,

    One day I'll finish my build.
    https://www.facebook.com/Azteclasers?fref=ts

  3. #13
    Join Date
    Sep 2009
    Location
    Brno, CZ / Povazska Bystrica, SK
    Posts
    491

    Default

    it's necessary to have list in CSV file with youtube url, author and the title but then it can download more files

    Code:
    #!/usr/local/bin/bash
    # download script for youtube
    
    infile=$1
    
    cat $infile | while read line
    do
    url=`echo $line | cut -f1 -d";"`
    echo "Downloading: $url"
    /usr/local/bin/youtube-dl $url
    done
    
    for file in `ls *.flv *.mp4 *.webm`
    do
    code=`echo $file | cut -c1-11`
    input=`cat $infile | grep $code`
    author=`echo $input | cut -f2 -d";"`
    title=`echo $input | cut -f3 -d";"`
    
    echo "Processing: $file"
    echo "Author: $author"
    echo "Title: $title"
    
    /usr/local/bin/ffmpeg -i $file -metadata "author=${author}" -metadata "title=${title}" -ab 192k -acodec libmp3lame "${author} - ${title}".mp3
    echo $?
    echo "mp3 generated..."
    done
    
    rm *.flv *.mp4 *.webm

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •