theophoric / gmf

Automatically exported from code.google.com/p/gmf
0 stars 0 forks source link

Cannot install with go 1 #4

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.go get  code.google.com/p/gmf/gmf

What is the expected output? What do you see instead?

It does not compile because of embedded C types:

# code.google.com/p/gmf/gmf
avcodec.go:50:2: cannot embed C type
avformat.go:20:3: cannot embed C type
avformat.go:24:3: cannot embed C type

What version of the product are you using? On what operating system?

It should be the latest version. Ubuntu x64.

Please provide any additional information below.

Should your library work on appengine?

Original issue reported on code.google.com by feric...@gmail.com on 11 Apr 2012 at 1:24

GoogleCodeExporter commented 8 years ago
it's more complicated than that, you can bypass those errors just adding a name 
to the C field embedded on avcodec.go and avformat.go, but the main problem is 
that gmf uses deprecated funcionts (FFMPEG API 0.6 I belive) and will not 
complile on latests revisions of ffmpeg, you will get errors on deprecated 
functions and the new ones uses distincts arguments so you can no just change 
the name. This needs someone who really understands FFMPEG. Anyways you can try 
with older versions of ffmpeg, eventualy it will compile as I've had it working 
for a while.

Original comment by epriv2...@gmail.com on 14 Apr 2012 at 11:44

GoogleCodeExporter commented 8 years ago
Thank you for your answer. It is clear now.

Original comment by feric...@gmail.com on 15 Apr 2012 at 9:32

GoogleCodeExporter commented 8 years ago
has this project been abandoned? i'd really love to see this compiling against 
newer versions of Go and FFmpeg

Original comment by alakr...@gmail.com on 16 Aug 2012 at 1:43

GoogleCodeExporter commented 8 years ago
+1, It currently breaks with the standard libav package of ubuntu 12.10, it 
would be awesome if it would work out of the box with the latest libav/FFMPEG 
api

Original comment by ziahamza...@gmail.com on 7 Sep 2012 at 8:58

GoogleCodeExporter commented 8 years ago
I was able to compile it.
Here https://github.com/3d0c/gmf is a patched version.

Original comment by alex.s.c...@gmail.com on 3 Apr 2013 at 9:22