No recent version of AVBin for windows?

63 views
Skip to first unread message

Ryexander

unread,
Nov 21, 2011, 9:33:01 PM11/21/11
to pyglet-users
The version of AVBin that is compiled and available for windows is
listed as version 5 yet all the other os'sand indeed the project pages
lists the stable version as 7

whats up with this?

alex23

unread,
Nov 21, 2011, 10:31:34 PM11/21/11
to pyglet-users

Platform compilation doesn't happen by magic and no one has stepped up
to take on the task, most likely.

Are you volunteering?

Ryexander

unread,
Nov 21, 2011, 11:37:00 PM11/21/11
to pyglet-users
I do have mingw and vinsualstudio 2010. I'm also experienced with
SVN. but I have yet to get a build with make files working. I don't
seem to have make on my computer. I could certainly give building it a
shot if you can give me a few points on how to get the make commands
to work.

Ryexander

unread,
Nov 22, 2011, 1:12:17 AM11/22/11
to pyglet-users
ok, so installed make. and cygwin so I could run the build.sh file
I checked out the SVN revision for version 7 of AVbin (had to go by
the revision log because there is no tag for it) r43
Manually checked out r13661 of ffmpeg skipping libswscale (the
external link was dead as the svn has moved servers)
Manually checked out libswscale to the HEAD revision. (I couldn't
figure out what version libswscale was on when AVBin 7 was released)

I then ran the build.sh file with the win32 target this is what I got

C:\Users\Me\Desktop\AVBin>sh build.sh win32
/cygdrive/c/Users/Ben/Desktop/AVBin/ffmpeg /cygdrive/c/Users/Ben/
Desktop/AVBin
makefile:5: config.mak: No such file or directory
libavdevice/Makefile:1: libavdevice/../config.mak: No such file or
directory
libavformat/Makefile:5: libavformat/../config.mak: No such file or
directory
libavcodec/Makefile:5: libavcodec/../config.mak: No such file or
directory
libavutil/Makefile:1: libavutil/../config.mak: No such file or
directory
make: *** No rule to make target `libavutil/../config.mak'. Stop.
./configure: line 9: $'\r': command not found
./configure: line 12: $'\r': command not found
./configure: line 13: syntax error near unexpected token `$'{\r''
'/configure: line 13: `try_exec(){


I'm going to check out the AVbin HEAD in a separate folder and try to
build it. instead of version 7

Ryexander

unread,
Nov 22, 2011, 1:16:53 AM11/22/11
to pyglet-users
checking out the head and running build.sh gets this:

+++++++++++++++++++++++++++++++++++++++++++++++++++

$ ./build.sh win32
/cygdrive/c/Users/Me/Desktop/AVBinHead/ffmpeg /cygdrive/c/Users/Me/
Desktop/AVBinHead
makefile:1: config.mak: No such file or directory


libavdevice/Makefile:1: libavdevice/../config.mak: No such file or
directory

libavformat/Makefile:1: libavformat/../config.mak: No such file or
directory
libavcodec/Makefile:1: libavcodec/../config.mak: No such file or


directory
libavutil/Makefile:1: libavutil/../config.mak: No such file or
directory

> vhook/watermark.d
> vhook/null.d
> vhook/fish.d
> libavutil/utils.d
> libavutil/tree.d
> libavutil/string.d
> libavutil/sha1.d
> libavutil/rc4.d
> libavutil/rational.d
> libavutil/random.d
> libavutil/mem.d
> libavutil/md5.d
> libavutil/mathematics.d
> libavutil/lzo.d
> libavutil/log.d
> libavutil/lls.d
> libavutil/lfg.d
> libavutil/intfloat_readwrite.d
> libavutil/fifo.d
> libavutil/des.d
> libavutil/crc.d
> libavutil/base64.d
> libavutil/aes.d
> libavutil/adler32.d


make: *** No rule to make target `libavutil/../config.mak'. Stop.

gcc is unable to create an executable file.
C compiler test failed.
If you think configure made a mistake, make sure you are using the
latest
version from SVN. If the latest version fails, report the problem to
the
ffmpe...@mplayerhq.hu mailing list or IRC #ffmpeg on
irc.freenode.net.
Include the log file "config.err" produced by configure as this will
help
solving the problem.

Christoph Gohlke

unread,
Nov 22, 2011, 1:38:48 AM11/22/11
to pyglet...@googlegroups.com
Better use msys and mingw32 instead of cygwin. Worked for me.

Christoph

Alex Holkner

unread,
Nov 22, 2011, 2:44:07 AM11/22/11
to pyglet...@googlegroups.com
Versions 6 and 7 fixed Linux-specific problems only.

Alex.

> --
> You received this message because you are subscribed to the Google Groups "pyglet-users" group.
> To post to this group, send email to pyglet...@googlegroups.com.
> To unsubscribe from this group, send email to pyglet-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en.
>

Ryexander

unread,
Nov 22, 2011, 5:33:27 AM11/22/11
to pyglet-users
ah, so it was pointless to rebuild for windows makes sense.
in any case thanks to the advise to use Msys instead of cygwin it
built properly as far as I can tell. I really don;t have time to run
the test suit but I can provide the dll for someone who does.

I built this off the latest HEAD revision of the SVN (fresh checkout
of r62) for Win32

http://dl.dropbox.com/u/20709011/AVBin/avbin.dll

I hope it proves useful. I watch this list so if you need another
win32 buiild make a post and I'll bake one up.


On Nov 22, 12:44 am, Alex Holkner <alex.holk...@gmail.com> wrote:
> Versions 6 and 7 fixed Linux-specific problems only.
>
> Alex.
>

Nathan

unread,
Nov 24, 2011, 12:03:21 AM11/24/11
to pyglet...@googlegroups.com
Wow, I don't check my email for a day and look what I miss!

I volunteered to maintain the AVbin project as of about two weeks ago.
Trying to build for 6 platforms and deprecate one, while trying to
piece together several years-old code and see about updating the code
at the same time has been a lot to chew on. :-)

As I've started releasing the 8-beta revisions (what I've been calling
r62 from subversion) on some platforms, there has been at least one
big significant bug discovered. So I stopped trying to put together
builds for the other platforms and have started working to merge in
Micah Richert's changes from his custom AVbin he made 10 months ago
(much newer than the 2008-era code for 8-beta).

I'm glad to hear that it compiles on win32 without modification!
(That wasn't the case on wn64) I'm going to try to finish merging
Micah's code and put out a 8-beta2 release out for (hopefully) all 6
platforms. If I'm lucky, I'll get some free time to work on it over
the holidays.

~ Nathan

Christoph Gohlke

unread,
Nov 24, 2011, 5:18:50 PM11/24/11
to pyglet...@googlegroups.com
AVBin for win64 can be cross-compiled on Ubuntu 11.10 using the code
from svn trunk with two changes: 1) set compiler prefix and cc to
x86_64-w64-mingw32- instead of x86_64-pc-mingw32- 2) comment out or
update the MinGW runtime version check in ffmpeg/configure. Binaries are
at <http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyglet>

Christoph

>>>> To post to this group, send email topygle...@googlegroups.com.
>>>> To unsubscribe from this group, send email topyglet-user...@googlegroups.com.


>>>> For more options, visit this group athttp://groups.google.com/group/pyglet-users?hl=en.
>> --
>> You received this message because you are subscribed to the Google Groups "pyglet-users" group.

>> To post to this group, send email topygle...@googlegroups.com.
>> To unsubscribe from this group, send email topyglet-user...@googlegroups.com.

Nathan

unread,
Nov 24, 2011, 7:00:41 PM11/24/11
to pyglet...@googlegroups.com
Good to know, thanks!

~ Nathan

> To post to this group, send email to pyglet...@googlegroups.com.


> To unsubscribe from this group, send email to

> pyglet-users...@googlegroups.com.

Nathan

unread,
Dec 13, 2011, 10:41:46 PM12/13/11
to pyglet...@googlegroups.com
On Thu, Nov 24, 2011 at 3:18 PM, Christoph Gohlke <cjgo...@gmail.com> wrote:
> AVBin for win64 can be cross-compiled on Ubuntu 11.10 using the code from
> svn trunk with two changes: 1) set compiler prefix and cc to
> x86_64-w64-mingw32- instead of x86_64-pc-mingw32- 2) comment out or update
> the MinGW runtime version check in ffmpeg/configure. Binaries are at
> <http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyglet>
>
> Christoph

Hey, I just wanted to thank you again for this tip. I tried to get a
dev environment working on Windows 7 for days, and then when I went to
try cross-compiling on Ubuntu 11.10 like you suggested, I had
everything working in under an hour.

Thanks!

~ Nathan

anatoly techtonik

unread,
Dec 14, 2011, 3:52:47 AM12/14/11
to pyglet...@googlegroups.com
Great tip that is worthy to be recorded somewhere. =)

Nathan

unread,
Dec 14, 2011, 11:27:49 AM12/14/11
to pyglet...@googlegroups.com
On Wed, Dec 14, 2011 at 1:52 AM, anatoly techtonik <tech...@gmail.com> wrote:
> Great tip that is worthy to be recorded somewhere. =)

It's already in the README file.

~ Nathan

Reply all
Reply to author
Forward
0 new messages