Switch yt over to using FFmpeg's internal AAC encoder (the other
encoder will be going away). From Brad. OK sthen@.
This commit is contained in:
parent
0afbd74914
commit
a563217645
@ -1,8 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.39 2011/03/08 20:11:43 martynas Exp $
|
||||
# $OpenBSD: Makefile,v 1.40 2011/05/30 20:28:54 martynas Exp $
|
||||
|
||||
COMMENT= fetch youtube and google videos
|
||||
COMMENT= fetch YouTube and Google videos
|
||||
|
||||
PKGNAME= yt-16
|
||||
PKGNAME= yt-17
|
||||
CATEGORIES= net www
|
||||
DISTFILES=
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!${LOCALBASE}/bin/lua
|
||||
-- $OpenBSD: yt.lua,v 1.30 2011/03/08 20:11:43 martynas Exp $
|
||||
-- $OpenBSD: yt.lua,v 1.31 2011/05/30 20:28:54 martynas Exp $
|
||||
-- Fetch videos from YouTube.com/Videos.Google.com, and convert to MPEG.
|
||||
-- Written by Pedro Martelletto and Martynas Venckus. Public domain.
|
||||
-- Example: lua yt.lua http://www.youtube.com/watch?v=c5uoo1Kl_uA
|
||||
@ -15,7 +15,7 @@ fetch = "ftp <arguments> -o <file> <url>"
|
||||
arguments = ""
|
||||
|
||||
-- Set this to a command capable of converting from FLV to MPEG.
|
||||
convert = "ffmpeg -y -i <flv> -b 1000k -f mp4 -vcodec mpeg4 -acodec libfaac -ab 128k <mp4> 1>/dev/null 2>&1"
|
||||
convert = "ffmpeg -y -i <flv> -b 1000k -f mp4 -vcodec mpeg4 -acodec aac -ab 128k -strict experimental <mp4> 1>/dev/null 2>&1"
|
||||
|
||||
-- Set this to the base location where to fetch YouTube videos from.
|
||||
base_url = "http://www.youtube.com/get_video_info"
|
||||
|
Loading…
Reference in New Issue
Block a user