Github path fixed; readme update; name changes

This commit is contained in:
H.G. Giorgis
2015-05-21 02:24:15 -04:00
parent 723bb8d889
commit 679ac711e3
5 changed files with 20 additions and 14 deletions
+7 -1
View File
@@ -5,18 +5,24 @@ Golang bindings for FFmpeg
goav comes with ABSOLUTELY NO WARRANTY.
## Installation
go get github.com/giorgisio/goav
export FFMPEG_ROOT=$HOME/ffmpeg
export CGO_LDFLAGS="-L$FFMPEG_ROOT/lib/ -lavcodec -lavformat -lavutil -lswscale -lswresample -lavdevice -lavfilter"
export CGO_CFLAGS="-I$FFMPEG_ROOT/include"
export LD_LIBRARY_PATH=$HOME/ffmpeg/lib
## Usage
`````go
import "github.com/giorgisio/gfg/avformat"
import "github.com/giorgisio/goav/avformat"
func main() {
+1 -1
View File
@@ -23,7 +23,7 @@ package avformat
//#include <libavdevice/avdevice.h>
import "C"
import (
"github.com/giorgisio/gfg/avcodec"
"github.com/giorgisio/goav/avcodec"
"unsafe"
)
+4 -4
View File
@@ -2,10 +2,10 @@ package main
import (
"fmt"
"github.com/giorgisio/gfg/avcodec"
"github.com/giorgisio/gfg/avformat"
"github.com/giorgisio/gfg/avutil"
"github.com/giorgisio/gfg/swscale"
"github.com/giorgisio/goav/avcodec"
"github.com/giorgisio/goav/avformat"
"github.com/giorgisio/goav/avutil"
"github.com/giorgisio/goav/swscale"
"log"
"os"
"unsafe"
+7 -7
View File
@@ -2,13 +2,13 @@ package main
import (
"fmt"
//"github.com/giorgisio/gfg/avcodec"
"github.com/giorgisio/gfg/avdevice" //Just for test
"github.com/giorgisio/gfg/avfilter" //Just for test
"github.com/giorgisio/gfg/avformat"
//"github.com/giorgisio/gfg/avutil"
"github.com/giorgisio/gfg/swresample" //Just for test
//"github.com/giorgisio/gfg/swscale"
//"github.com/giorgisio/goav/avcodec"
"github.com/giorgisio/goav/avdevice" //Just for test
"github.com/giorgisio/goav/avfilter" //Just for test
"github.com/giorgisio/goav/avformat"
//"github.com/giorgisio/goav/avutil"
"github.com/giorgisio/goav/swresample" //Just for test
//"github.com/giorgisio/goav/swscale"
)
func main() {
+1 -1
View File
@@ -1,4 +1,4 @@
package gfg
package goav
/*
Use of this source code is governed by a MIT license that can be found in the LICENSE file.