Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264

Reply
 
Thread Tools Search this Thread Display Modes
Old 28th September 2008, 04:01   #1  |  Link
MySchizoBuddy
Registered User
 
Join Date: Oct 2005
Posts: 50
x264 GTK gui on Mac OSX

trying to compile the x264 version 20080926 with gtk gui using the following configure script

Code:
./configure --prefix=/opt/local --enable-shared --enable-gtk --enable-pic --extra-cflags="-I/opt/local/install -I/usr/X11R6/include" --extra-ldflags="-L/opt/local/lib -L/usr/X11R6/lib"
i get this error
Code:
  T: fr.mo
..................... done.
msgmerge: `fr.po': No such file or directory
make[1]: *** [fr.mo] Error 1
the file is in gtk/fr.po so it does exist

Also how do i create a standalone binary for x264 and the gtk gui that i can post online.

Last edited by MySchizoBuddy; 28th September 2008 at 06:02.
MySchizoBuddy is offline   Reply With Quote
Old 28th September 2008, 04:04   #2  |  Link
MySchizoBuddy
Registered User
 
Join Date: Oct 2005
Posts: 50
can we also get build in mac support in the configure script
like this
Code:
  darwin*)
    SYS="MACOSX"
	# Support for Fink Packages
	if test -d /sw/bin ; then
	 prefix="/sw"
	 CFLAGS="-I/sw/include $CFLAGS"
	 LDFLAGS="-L/sw/lib $LDFLAGS"
	elif
	# Support for Macports	
	 test -d /opt/local/bin ; then
	 prefix="/opt/local" 
	 CFLAGS="-I/opt/local/include $CFLAGS"
	 LDFLAGS="-L/opt/local/lib $LDFLAGS"
	fi	
    CFLAGS="$CFLAGS -falign-loops=16"
    LDFLAGS="$LDFLAGS -lm -lmx"
	# Mac OS X Leopard libGL.dylib linker interaction bug fix, see 
	# http://developer.apple.com/qa/qa2007/qa1567.html 
	MACOSX_VERSION=`uname -r | sed 's/^\(.\).*/\1/'` 
	if test x"$MACOSX_VERSION" = "x9" ; then 
		DYLIB_FILE="-dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib" 
		LDFLAGS="$LDFLAGS $DYLIB_FILE" 
	fi
    ;;

Last edited by MySchizoBuddy; 2nd October 2008 at 05:30.
MySchizoBuddy is offline   Reply With Quote
Old 30th September 2008, 20:05   #3  |  Link
MySchizoBuddy
Registered User
 
Join Date: Oct 2005
Posts: 50
Am I allowed to submit patches for macs or no
MySchizoBuddy is offline   Reply With Quote
Old 30th September 2008, 20:10   #4  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,666
Quote:
Originally Posted by MySchizoBuddy View Post
Am I allowed to submit patches for macs or no
Yes, there's a mailing list for this purpose.
Dark Shikari is offline   Reply With Quote
Old 30th September 2008, 22:32   #5  |  Link
ACoolie
Registered User
 
Join Date: Mar 2008
Posts: 30
building x264 w/o GTK support on Intel and PPC Macs works fine for me. Does this patch affect non-gtk builds?
ACoolie is offline   Reply With Quote
Old 1st October 2008, 12:30   #6  |  Link
buzzqw
HDConvertToX author
 
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,552
on linux (debian sid 64bit) the gtk works ok

BHH
__________________
HDConvertToX: your tool for BD backup
MultiX264: The quick gui for x264
AutoMen: The Mencoder GUI
AutoWebM: supporting WebM/VP8
buzzqw is offline   Reply With Quote
Old 2nd October 2008, 03:13   #7  |  Link
MySchizoBuddy
Registered User
 
Join Date: Oct 2005
Posts: 50
this patch is for gtk as well as mp4 support. without the correct cflags it cannot find gpac/isomedia.h used to build mp4 support. it assumes you are using fink or macports

avcourse you have to have compiled gpac first to enable mp4 support.

i have to comment out the .po .mo stuff from gtk/makefile. it now compiles with a nice gtk gui on macs.
MySchizoBuddy is offline   Reply With Quote
Reply

Tags
gtk, mac, x264

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 21:21.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.