From owner-freebsd-questions@FreeBSD.ORG Wed Dec 12 05:50:20 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C7F82C7C for ; Wed, 12 Dec 2012 05:50:20 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 81AA78FC08 for ; Wed, 12 Dec 2012 05:50:20 +0000 (UTC) Received: from r56.edvax.de (port-92-195-51-39.dynamic.qsc.de [92.195.51.39]) by mx01.qsc.de (Postfix) with ESMTP id A574A3CAC9; Wed, 12 Dec 2012 06:50:19 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id qBC5oLHP001948; Wed, 12 Dec 2012 06:50:21 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Wed, 12 Dec 2012 06:50:21 +0100 From: Polytropon To: Gary Kline Subject: Re: how to get audio from youtube? Message-Id: <20121212065021.96aae3db.freebsd@edvax.de> In-Reply-To: <20121212041705.GA30122@ethic.thought.org> References: <20121212041705.GA30122@ethic.thought.org> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Dec 2012 05:50:20 -0000 On Tue, 11 Dec 2012 20:17:05 -0800, Gary Kline wrote: > > is there a way I can get the audio off u-toob? Depends. The FreeBSD solution: 1. Use youtube-dl (it's in ports) to download the file. 2. Use ffmpeg -i to get the audio converted to MP3. This process can be scripted if you require batch operation. If you are fine with the native audio component, you could just use "mplayer -dumpaudio && mv stream.dump ", but that's not always optimal for further use (and depends on FLV vs. MP4 file format). Alternative: There are web services that allow you to paste a YT URI and then download it in MP3 format. Such a service is http://www.youtube-mp3.org - but there are several others. But please be advised that it's illegal to listen to MP3 in the USA. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...