[Commited] [Core] SSA burn-in support
Forum rules
*******************************
Please be aware we are now using GitHub for issue tracking and feature requests.
- This section of the forum is now closed to new topics.
*******************************
*******************************
Please be aware we are now using GitHub for issue tracking and feature requests.
- This section of the forum is now closed to new topics.
*******************************
Re: [Patch] [Core] SSA burn-in support
Thanks to some good help from KonaB1end, even more environmental dependencies have been eliminated (this time related to freetype) and now builds on the native architecture. Tested by dynaflash and KonaB1end on OS X.
Changes related to environmental dependencies:
(1) modified FONTCONFIG's module.defs to use build's freetype-config and set dependency
Additional changes by KonaB1end:
(2) added mp4v2 disable precomp so debug builds work again
(3) changed EXTERNAL_JOBS = 1
Change #3 means that Xcode will not do parallel builds by default anymore.
The issue with fontconfig disliking cross-compile environments remains. As such, I'd like someone to see if this patch builds for Windows - which I think always builds in a cross-compile environment.
Updated patch: http://handbrake.fr/pastebin/pastebin.php?show=1604
Changes related to environmental dependencies:
(1) modified FONTCONFIG's module.defs to use build's freetype-config and set dependency
Additional changes by KonaB1end:
(2) added mp4v2 disable precomp so debug builds work again
(3) changed EXTERNAL_JOBS = 1
Change #3 means that Xcode will not do parallel builds by default anymore.
The issue with fontconfig disliking cross-compile environments remains. As such, I'd like someone to see if this patch builds for Windows - which I think always builds in a cross-compile environment.
Updated patch: http://handbrake.fr/pastebin/pastebin.php?show=1604
Re: [Patch] [Core] SSA burn-in support
Yup, it does.which I think always builds in a cross-compile environment.
Code: Select all
/bin/sh ../libtool --tag=CC --mode=compile /Opt/gcc-4.4.0-mingw32/bin/i386-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python2.6 -I../include -I../include -I../python -DWIN32 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -DLIBXML_STATIC -c -o libxml.lo `test -f './libxml.c' || echo './'`./libxml.c
libtool: compile: /Opt/gcc-4.4.0-mingw32/bin/i386-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python2.6 -I../include -I../include -I../python -DWIN32 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -DLIBXML_STATIC -c ./libxml.c -o libxml.o
In file included from /usr/include/python2.6/Python.h:58,
from ./libxml.c:14:
/usr/include/python2.6/pyport.h:261:24: error: sys/select.h: No such file or directory
In file included from /usr/include/python2.6/Python.h:86,
from ./libxml.c:14:
/usr/include/python2.6/intobject.h:45: warning: ISO C90 does not support 'long long'
In file included from /usr/include/python2.6/Python.h:88,
from ./libxml.c:14:
/usr/include/python2.6/longobject.h:47: warning: ISO C90 does not support 'long long'
/usr/include/python2.6/longobject.h:48: warning: ISO C90 does not support 'long long'
/usr/include/python2.6/longobject.h:49: warning: ISO C90 does not support 'long long'
/usr/include/python2.6/longobject.h:50: warning: ISO C90 does not support 'long long'
/usr/include/python2.6/longobject.h:51: warning: ISO C90 does not support 'long long'
./libxml.c: In function 'libxml_xmlValidCtxtGenericErrorFuncHandler':
./libxml.c:1748: warning: unused parameter 'severity'
./libxml.c: In function 'libxml_xmlValidCtxtGenericWarningFuncHandler':
./libxml.c:1775: warning: unused parameter 'severity'
./libxml.c: At top level:
./libxml.c:2677: warning: no previous prototype for 'libxml_xmlNodeRemoveNsDef'
./libxml.c: In function 'libxml_serializeNode':
./libxml.c:2765: warning: unused variable 'len'
make[4]: *** [libxml.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [contrib/libxml2/.stamp.build] Error 2
Re: [Patch] [Core] SSA burn-in support
Fixed the cross-compile issue. And with that, this becomes a final patch candidate. If this builds correctly on mingw (which is a slightly unusual cross-compile environment), this should be ready to go in.
Patch:
http://handbrake.fr/pastebin/pastebin.php?show=1610
Description:
Patch:
http://handbrake.fr/pastebin/pastebin.php?show=1610
Description:
Code: Select all
SSA burn-in support with libass.
New contrib modules: libass, fontconfig, libxml2, freetype.
Contributed by davidfstr.
Additional changes by KonaB1end:
Added mp4v2 disable precomp, so debug builds work again.
Changed EXTERNAL_JOBS = 1, so Xcode no longer does parallel builds by default.
Re: [Patch] [Core] SSA burn-in support
Forgot to make that a direct request: Could I get another developer with mingw builds working to test this new patch?If this builds correctly on mingw
Re: [Patch] [Core] SSA burn-in support
Sure, I'll look into it tonight
Re: [Patch] [Core] SSA burn-in support
No go I'm afraid:
Code: Select all
/Opt/gcc-4.4.0-mingw32/bin/i386-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I./include -DHAVE_WIN32_THREADS -D_REENTRANT -DWIN32 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -DLIBXML_STATIC -c gjobread.c
/bin/sh ../libtool --tag=CC --mode=link /Opt/gcc-4.4.0-mingw32/bin/i386-mingw32-gcc -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -DLIBXML_STATIC -o gjobread.exe gjobread.o ../libxml2.la -lm -lws2_32
libtool: link: /Opt/gcc-4.4.0-mingw32/bin/i386-mingw32-gcc -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -DLIBXML_STATIC -o gjobread.exe gjobread.o ../.libs/libxml2.a -lws2_32
Making all in xstc
make[3]: Nothing to be done for `all'.
Making all in python
Making all in .
/usr/bin/python ./generator.py .
Found 1605 functions in libxml2-api.xml
Found 55 functions in libxml2-python-api.xml
Generated 886 wrapper functions, 558 failed, 216 skipped
Missing type converters:
xmlRelaxNGValidityErrorFunc *:2 xmlXPathObjectPtr:22 const htmlEntityDesc *:2 xmlOutputMatchCallback:1 xmlElementContentPtr *:1 xmlStructuredErrorFunc:5 xmlSchematronValidCtxtPtr:3 xmlParserInputBufferCreateFilenameFunc:2 xmlSchemaValType:2 size_t:1 xmlEnumerationPtr:5 xmlSchemaWildcardPtr:1 xmlXIncludeCtxtPtr:4 xmlRelaxNGValidityErrorFunc:2 xmlSAXHandler *:4 ...:1 xmlShellReadlineFunc:1 xmlDict *:1 xmlAutomataPtr:19 unsigned long:1 xmlParserInputPtr:17 xmlCatalogAllow:2 xmlExpNodePtr:3 xmlElementContent *:1 xmlCharEncodingOutputFunc:1 xmlDictPtr:10 xmlTextWriterPtr:77 const htmlElemDesc *:1 xmlChRangeGroup *:1 xmlIDPtr:1 xmlSchemaValPtr:13 xmlInputMatchCallback:1 xmlElementTablePtr:2 xmlChar **:16 xmlXPathCompExprPtr:6 xmlTextReaderErrorFunc:1 xmlExternalEntityLoader:2 xmlNotationTablePtr:2 xmlXPathVariableLookupFunc:1 xmlParserNodeInfoPtr:1 xmlExpCtxtPtr:14 xmlPatternPtr:8 xmlC14NIsVisibleCallback:1 xmlDeregisterNodeFunc:2 va_list:1 xmlSchemaTypePtr:9 htmlStatus:1 xmlRegisterNodeFunc:2 xmlAttributeType:2 xmlRefPtr:1 xmlCharEncodingHandler *:4 xmlNotationPtr:3 xmlSaveCtxtPtr:8 xmlRegExecCallbacks:1 xmlNsPtr *:1 xmlLocationSetPtr:6 xmlSchemaSAXPlugPtr:1 xmlModulePtr:4 xmlEnumerationPtr *:2 xmlShellCtxtPtr:10 xlinkNodeDetectFunc:2 xmlRefTablePtr:1 xmlStreamCtxtPtr:6 xmlSchemaValidityErrorFunc *:2 xmlAttributeTablePtr:2 xmlSchematronParserCtxtPtr:5 xmlCatalogPrefer:1 xmlParserNodeInfoSeqPtr:3 xmlSchematronPtr:2 xmlNodePtr *:2 xmlInputReadCallback:7 char **:5 xmlCharEncoding:13 xmlRegExecCtxtPtr:5 xmlElementContentType:2 void *:87 xmlTextReaderErrorFunc *:1 xmlSAXHandlerPtr *:1 xmlEntityReferenceFunc:1 xmlDocPtr *:1 xmlBufferAllocationScheme:3 xmlSchemaValidityErrorFunc:2 xmlDOMWrapCtxtPtr:6 xmlOutputWriteCallback:2 xmlSchemaFacetPtr:7 xlinkHandlerPtr:2 xmlXPathFuncLookupFunc:1 htmlElemDesc *:3 xmlCharEncodingHandlerPtr:7 xmlCharEncodingInputFunc:1 xmlFeature:1 const xmlParserNodeInfo *:1 xmlNodeSetPtr:32 xmlEntitiesTablePtr:3 xmlIDTablePtr:1 xmlXPathFunction:4 xmlOutputBufferCreateFilenameFunc:2 xmlElementContentPtr:8 xmlElementTypeVal:1 xlinkType:1 xmlGenericErrorFunc *:1
touch gen_prog
/bin/sh ../libtool --tag=CC --mode=compile /Opt/gcc-4.4.0-mingw32/bin/i386-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python2.6 -I../include -I../include -I../python -DWIN32 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -DLIBXML_STATIC -c -o libxml.lo `test -f './libxml.c' || echo './'`./libxml.c
libtool: compile: /Opt/gcc-4.4.0-mingw32/bin/i386-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python2.6 -I../include -I../include -I../python -DWIN32 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -DLIBXML_STATIC -c ./libxml.c -o libxml.o
In file included from /usr/include/python2.6/Python.h:58,
from ./libxml.c:14:
/usr/include/python2.6/pyport.h:261:24: error: sys/select.h: No such file or directory
In file included from /usr/include/python2.6/Python.h:86,
from ./libxml.c:14:
/usr/include/python2.6/intobject.h:45: warning: ISO C90 does not support 'long long'
In file included from /usr/include/python2.6/Python.h:88,
from ./libxml.c:14:
/usr/include/python2.6/longobject.h:47: warning: ISO C90 does not support 'long long'
/usr/include/python2.6/longobject.h:48: warning: ISO C90 does not support 'long long'
/usr/include/python2.6/longobject.h:49: warning: ISO C90 does not support 'long long'
/usr/include/python2.6/longobject.h:50: warning: ISO C90 does not support 'long long'
/usr/include/python2.6/longobject.h:51: warning: ISO C90 does not support 'long long'
./libxml.c: In function 'libxml_xmlValidCtxtGenericErrorFuncHandler':
./libxml.c:1748: warning: unused parameter 'severity'
./libxml.c: In function 'libxml_xmlValidCtxtGenericWarningFuncHandler':
./libxml.c:1775: warning: unused parameter 'severity'
./libxml.c: At top level:
./libxml.c:2677: warning: no previous prototype for 'libxml_xmlNodeRemoveNsDef'
./libxml.c: In function 'libxml_serializeNode':
./libxml.c:2765: warning: unused variable 'len'
make[4]: *** [libxml.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [contrib/libxml2/.stamp.build] Error 2
SM:build Scott$
Re: [Patch] [Core] SSA burn-in support
This could be a rather difficult problem./usr/include/python2.6/pyport.h:261:24: error: sys/select.h: No such file or directory
In file included from /usr/include/python2.6/Python.h:86,
from ./libxml.c:14:
http://readlist.com/lists/lists.sourcef ... /3845.html
Re: [Patch] [Core] SSA burn-in support
IF it's just Select() that we are needing for this.
Code: Select all
#ifndef __SYS_SELECT_H__
#define __SYS_SELECT_H__ 1
#include <winsock2.h>
#endif
Re: [Patch] [Core] SSA burn-in support
If I read what you linked to correctly, the Winsock select() is completely different than the POSIX select(), so importing the Winsock version wouldn't actually work at runtime.
This will probably require some libxml-on-mingw searching to see if it's even supported. Using pango instead of libxml2 may be an alternative since fontconfig requires one or the other. (In fact it defaults to pango, but I added libxml2 because that's what VLC was using.)
Since it looks like mingw-specific debugging is required here, I guess I'll have to bite the bullet and try to get a mingw environment actually setup correctly.
Probably won't have time to look at this for several more days.
This will probably require some libxml-on-mingw searching to see if it's even supported. Using pango instead of libxml2 may be an alternative since fontconfig requires one or the other. (In fact it defaults to pango, but I added libxml2 because that's what VLC was using.)
Since it looks like mingw-specific debugging is required here, I guess I'll have to bite the bullet and try to get a mingw environment actually setup correctly.
Probably won't have time to look at this for several more days.
Re: [Patch] [Core] SSA burn-in support
So to repro this myself, I've had to attempt to setup my own MinGW environment.
I have consulted the instructions at https://trac.handbrake.fr/wiki/CompileOnWindows and done the following:
* Install MinGW 1.0.1-rc1:
** Download from: http://sourceforge.net/downloads/mingw/ ... ld%20Tool/
** Use shell script to install support for the C, C++, and Obj-C languages.
*** (Most USA mirrors used by the script were bogus, so I used the first mirror provided - in Japan I think.)
** Modified my shell's PATH to point at the installed tools.
* Checkout latest svn. At the time, this was r3506.
* ./configure --cross=i386-mingw32 --launch-jobs=1 --launch
Build failure. Full log here: http://handbrake.fr/pastebin/pastebin.php?show=1615
Point of error is the following:
This suggests that MinGW's version of gcc does not support the -iquote option, which is used when building libfaad2. Suggestions?
I have consulted the instructions at https://trac.handbrake.fr/wiki/CompileOnWindows and done the following:
* Install MinGW 1.0.1-rc1:
** Download from: http://sourceforge.net/downloads/mingw/ ... ld%20Tool/
** Use shell script to install support for the C, C++, and Obj-C languages.
*** (Most USA mirrors used by the script were bogus, so I used the first mirror provided - in Japan I think.)
** Modified my shell's PATH to point at the installed tools.
* Checkout latest svn. At the time, this was r3506.
* ./configure --cross=i386-mingw32 --launch-jobs=1 --launch
Build failure. Full log here: http://handbrake.fr/pastebin/pastebin.php?show=1615
Point of error is the following:
Code: Select all
/Users/davidf/bin/mingw/mingw32/bin/i386-mingw32-gcc -DHAVE_CONFIG_H -I. -I. -I.. -iquote ../include -c bits.c -o bits.o
i386-mingw32-gcc: ../include: linker input file unused because linking not done
cc1: error: unrecognized command line option "-iquote"
cc1: ../include: No such file or directory
make[3]: *** [bits.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [contrib/faad2/.stamp.build] Error 2
time end: Fri Sep 3 19:35:23 2010
duration: 1 minute, 18 seconds (78.10s)
result: FAILURE (code 2)
Re: [Patch] [Core] SSA burn-in support
s55: In the meantime I have disabled the Python bindings in libxml2, which looks like it caused the compile error you were seeing.
New patch: http://handbrake.fr/pastebin/pastebin.php?show=1616
Try:
* make libxml.xclean
* make libxml
New patch: http://handbrake.fr/pastebin/pastebin.php?show=1616
Try:
* make libxml.xclean
* make libxml
Re: [Patch] [Core] SSA burn-in support
Got a crash in decssaWork
Code: Select all
Process: HandBrakeCLI [1028]
Path: /Volumes/Exia/Developer/HandBrake/build/HandBrakeCLI
Identifier: HandBrakeCLI
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: bash [993]
Date/Time: 2010-09-04 09:21:28.665 +0200
OS Version: Mac OS X 10.6.5 (10H531)
Report Version: 6
Interval Since Last Report: 35802 sec
Crashes Since Last Report: 2
Per-App Crashes Since Last Report: 1
Anonymous UUID: 7076FBBA-B2A4-400B-8FC9-E3DE70A933A0
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000028
Crashed Thread: 13
Thread 0: Dispatch queue: com.apple.main-thread
0 libSystem.B.dylib 0x00007fff8804afca __semwait_signal + 10
1 libSystem.B.dylib 0x00007fff8804ae59 nanosleep + 148
2 libSystem.B.dylib 0x00007fff8804adc3 usleep + 57
3 HandBrakeCLI 0x000000010001857c main + 6580
4 HandBrakeCLI 0x0000000100016498 start + 52
Thread 1: Dispatch queue: com.apple.libdispatch-manager
0 libSystem.B.dylib 0x00007fff8802916a kevent + 10
1 libSystem.B.dylib 0x00007fff8802b03d _dispatch_mgr_invoke + 154
2 libSystem.B.dylib 0x00007fff8802ad14 _dispatch_queue_invoke + 185
3 libSystem.B.dylib 0x00007fff8802a83e _dispatch_worker_thread2 + 252
4 libSystem.B.dylib 0x00007fff8802a168 _pthread_wqthread + 353
5 libSystem.B.dylib 0x00007fff8802a005 start_wqthread + 13
Thread 2:
0 libSystem.B.dylib 0x00007fff8804afca __semwait_signal + 10
1 libSystem.B.dylib 0x00007fff8804ae59 nanosleep + 148
2 libSystem.B.dylib 0x00007fff8804adc3 usleep + 57
3 HandBrakeCLI 0x00000001007ffb54 thread_func + 180
4 HandBrakeCLI 0x00000001008086ac hb_thread_func + 60
5 libSystem.B.dylib 0x00007fff88049536 _pthread_start + 331
6 libSystem.B.dylib 0x00007fff880493e9 thread_start + 13
Thread 3:
0 libSystem.B.dylib 0x00007fff8804afca __semwait_signal + 10
1 libSystem.B.dylib 0x00007fff8804ede1 _pthread_cond_wait + 1286
2 HandBrakeCLI 0x000000010080882c hb_cond_timedwait + 172
3 HandBrakeCLI 0x00000001007fd688 hb_fifo_get_wait + 136
4 HandBrakeCLI 0x0000000100816b5b work_func + 1771
5 HandBrakeCLI 0x00000001008086ac hb_thread_func + 60
6 libSystem.B.dylib 0x00007fff88049536 _pthread_start + 331
7 libSystem.B.dylib 0x00007fff880493e9 thread_start + 13
Thread 4:
0 libSystem.B.dylib 0x00007fff8804afca __semwait_signal + 10
1 libSystem.B.dylib 0x00007fff8804ede1 _pthread_cond_wait + 1286
2 HandBrakeCLI 0x000000010080882c hb_cond_timedwait + 172
3 HandBrakeCLI 0x00000001007fd56b hb_fifo_full_wait + 59
4 HandBrakeCLI 0x0000000100809379 ReaderFunc + 2425
5 HandBrakeCLI 0x00000001008086ac hb_thread_func + 60
6 libSystem.B.dylib 0x00007fff88049536 _pthread_start + 331
7 libSystem.B.dylib 0x00007fff880493e9 thread_start + 13
Thread 5:
0 libSystem.B.dylib 0x00007fff8804afca __semwait_signal + 10
1 libSystem.B.dylib 0x00007fff8804ede1 _pthread_cond_wait + 1286
2 HandBrakeCLI 0x000000010080882c hb_cond_timedwait + 172
3 HandBrakeCLI 0x00000001007fd688 hb_fifo_get_wait + 136
4 HandBrakeCLI 0x000000010081602d work_loop + 61
5 HandBrakeCLI 0x00000001008086ac hb_thread_func + 60
6 libSystem.B.dylib 0x00007fff88049536 _pthread_start + 331
7 libSystem.B.dylib 0x00007fff880493e9 thread_start + 13
Thread 6:
0 HandBrakeCLI 0x00000001002f5403 put_h264_qpel8or16_hv_lowpass_ssse3 + 1859
1 HandBrakeCLI 0x0000000100338f09 put_h264_qpel16_mc23_ssse3 + 105
2 HandBrakeCLI 0x000000010010fe17 mc_dir_part + 439
3 HandBrakeCLI 0x0000000100116d72 hl_motion + 6914
4 HandBrakeCLI 0x000000010011884e hl_decode_mb_simple + 2254
5 HandBrakeCLI 0x000000010011a95f decode_slice + 1551
6 HandBrakeCLI 0x000000010011b62d decode_nal_units + 2957
7 HandBrakeCLI 0x000000010011b88f decode_frame + 319
8 HandBrakeCLI 0x00000001002769ed avcodec_decode_video2 + 157
9 HandBrakeCLI 0x00000001007d65bd decodeFrame + 109
10 HandBrakeCLI 0x00000001007d7638 decavcodecviWork + 584
11 HandBrakeCLI 0x000000010081605c work_loop + 108
12 HandBrakeCLI 0x00000001008086ac hb_thread_func + 60
13 libSystem.B.dylib 0x00007fff88049536 _pthread_start + 331
14 libSystem.B.dylib 0x00007fff880493e9 thread_start + 13
Thread 7:
0 HandBrakeCLI 0x00000001005af15d hScale_MMX2 + 125
1 HandBrakeCLI 0x00000001005b4331 swScale_MMX2 + 3265
2 HandBrakeCLI 0x00000001005b3643 sws_scale + 2083
3 HandBrakeCLI 0x000000010080ab34 renderWork + 1940
4 HandBrakeCLI 0x000000010081605c work_loop + 108
5 HandBrakeCLI 0x00000001008086ac hb_thread_func + 60
6 libSystem.B.dylib 0x00007fff88049536 _pthread_start + 331
7 libSystem.B.dylib 0x00007fff880493e9 thread_start + 13
Thread 8:
0 libSystem.B.dylib 0x00007fff8804afca __semwait_signal + 10
1 libSystem.B.dylib 0x00007fff8804ede1 _pthread_cond_wait + 1286
2 HandBrakeCLI 0x000000010068460b x264_threadpool_thread + 91
3 libSystem.B.dylib 0x00007fff88049536 _pthread_start + 331
4 libSystem.B.dylib 0x00007fff880493e9 thread_start + 13
Thread 9:
0 HandBrakeCLI 0x0000000100644ef0 x264_macroblock_size_cavlc + 0
1 HandBrakeCLI 0x0000000100649928 x264_rd_cost_mb + 728
2 HandBrakeCLI 0x000000010064f52d x264_mb_analyse_p_rd + 765
3 HandBrakeCLI 0x000000010065266f x264_macroblock_analyse + 12319
4 HandBrakeCLI 0x000000010067f1d1 x264_slice_write + 4193
5 HandBrakeCLI 0x000000010068109b x264_slices_write + 107
6 HandBrakeCLI 0x0000000100684644 x264_threadpool_thread + 148
7 libSystem.B.dylib 0x00007fff88049536 _pthread_start + 331
8 libSystem.B.dylib 0x00007fff880493e9 thread_start + 13
Thread 10:
0 libSystem.B.dylib 0x00007fff8804afca __semwait_signal + 10
1 libSystem.B.dylib 0x00007fff8804ede1 _pthread_cond_wait + 1286
2 HandBrakeCLI 0x000000010061dbeb x264_frame_cond_wait + 75
3 HandBrakeCLI 0x000000010064fa61 x264_macroblock_analyse + 1041
4 HandBrakeCLI 0x000000010067f1d1 x264_slice_write + 4193
5 HandBrakeCLI 0x000000010068109b x264_slices_write + 107
6 HandBrakeCLI 0x0000000100684644 x264_threadpool_thread + 148
7 libSystem.B.dylib 0x00007fff88049536 _pthread_start + 331
8 libSystem.B.dylib 0x00007fff880493e9 thread_start + 13
Thread 11:
0 libSystem.B.dylib 0x00007fff8804afca __semwait_signal + 10
1 libSystem.B.dylib 0x00007fff8804ede1 _pthread_cond_wait + 1286
2 HandBrakeCLI 0x0000000100684194 x264_lookahead_thread + 164
3 libSystem.B.dylib 0x00007fff88049536 _pthread_start + 331
4 libSystem.B.dylib 0x00007fff880493e9 thread_start + 13
Thread 12:
0 libSystem.B.dylib 0x00007fff8804afca __semwait_signal + 10
1 libSystem.B.dylib 0x00007fff8804ede1 _pthread_cond_wait + 1286
2 HandBrakeCLI 0x0000000100684594 x264_threadpool_wait + 196
3 HandBrakeCLI 0x000000010067d424 x264_encoder_frame_end + 868
4 HandBrakeCLI 0x0000000100682240 x264_encoder_encode + 4368
5 HandBrakeCLI 0x00000001007fd04a encx264Work + 586
6 HandBrakeCLI 0x000000010081605c work_loop + 108
7 HandBrakeCLI 0x00000001008086ac hb_thread_func + 60
8 libSystem.B.dylib 0x00007fff88049536 _pthread_start + 331
9 libSystem.B.dylib 0x00007fff880493e9 thread_start + 13
Thread 13 Crashed:
0 HandBrakeCLI 0x00000001007e62c3 decssaWork + 1715
1 HandBrakeCLI 0x000000010081605c work_loop + 108
2 HandBrakeCLI 0x00000001008086ac hb_thread_func + 60
3 libSystem.B.dylib 0x00007fff88049536 _pthread_start + 331
4 libSystem.B.dylib 0x00007fff880493e9 thread_start + 13
Thread 14:
0 libSystem.B.dylib 0x00007fff8804afca __semwait_signal + 10
1 libSystem.B.dylib 0x00007fff8804ede1 _pthread_cond_wait + 1286
2 HandBrakeCLI 0x000000010080882c hb_cond_timedwait + 172
3 HandBrakeCLI 0x00000001007fd688 hb_fifo_get_wait + 136
4 HandBrakeCLI 0x000000010081602d work_loop + 61
5 HandBrakeCLI 0x00000001008086ac hb_thread_func + 60
6 libSystem.B.dylib 0x00007fff88049536 _pthread_start + 331
7 libSystem.B.dylib 0x00007fff880493e9 thread_start + 13
Thread 15:
0 libSystem.B.dylib 0x00007fff8804afca __semwait_signal + 10
1 libSystem.B.dylib 0x00007fff8804ede1 _pthread_cond_wait + 1286
2 HandBrakeCLI 0x000000010080882c hb_cond_timedwait + 172
3 HandBrakeCLI 0x00000001007fd688 hb_fifo_get_wait + 136
4 HandBrakeCLI 0x000000010081602d work_loop + 61
5 HandBrakeCLI 0x00000001008086ac hb_thread_func + 60
6 libSystem.B.dylib 0x00007fff88049536 _pthread_start + 331
7 libSystem.B.dylib 0x00007fff880493e9 thread_start + 13
Thread 16:
0 libSystem.B.dylib 0x00007fff8804afca __semwait_signal + 10
1 libSystem.B.dylib 0x00007fff8804ede1 _pthread_cond_wait + 1286
2 HandBrakeCLI 0x000000010080882c hb_cond_timedwait + 172
3 HandBrakeCLI 0x00000001007fd56b hb_fifo_full_wait + 59
4 HandBrakeCLI 0x00000001008160c7 work_loop + 215
5 HandBrakeCLI 0x00000001008086ac hb_thread_func + 60
6 libSystem.B.dylib 0x00007fff88049536 _pthread_start + 331
7 libSystem.B.dylib 0x00007fff880493e9 thread_start + 13
Thread 17:
0 libSystem.B.dylib 0x00007fff8804afca __semwait_signal + 10
1 libSystem.B.dylib 0x00007fff8804ede1 _pthread_cond_wait + 1286
2 HandBrakeCLI 0x000000010080882c hb_cond_timedwait + 172
3 HandBrakeCLI 0x00000001007fd688 hb_fifo_get_wait + 136
4 HandBrakeCLI 0x000000010080316d mux_loop + 61
5 HandBrakeCLI 0x00000001008086ac hb_thread_func + 60
6 libSystem.B.dylib 0x00007fff88049536 _pthread_start + 331
7 libSystem.B.dylib 0x00007fff880493e9 thread_start + 13
Thread 13 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000101682200 rcx: 0x00007fff70ee8630 rdx: 0x00000000007261a4
rdi: 0x00000001014f9400 rsi: 0x0000000000000002 rbp: 0x0000000104f53ea0 rsp: 0x0000000104f53cc0
r8: 0x0000000000000001 r9: 0x000000010204a950 r10: 0x00000001020470b0 r11: 0x0000000000000003
r12: 0x0000000000000000 r13: 0x000000000000003a r14: 0x0000000101678970 r15: 0x0000000101625ff0
rip: 0x00000001007e62c3 rfl: 0x0000000000010246 cr2: 0x0000000000000028
Binary Images:
0x100000000 - 0x100bfefef +HandBrakeCLI ??? (???) <00518EC3-3D35-161A-A103-F041A7A0DCFC> /Volumes/Exia/Developer/HandBrake/build/HandBrakeCLI
0x7fff5fc00000 - 0x7fff5fc3bdef dyld 132.1 (???) <B536F2F1-9DF1-3B6C-1C2C-9075EA219A06> /usr/lib/dyld
0x7fff8003a000 - 0x7fff8010cfe7 com.apple.CFNetwork 454.11.3 (454.11.3) <D4BE90E0-6CBC-EF19-1B9F-849B0EA31C93> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x7fff815a4000 - 0x7fff81762fff libicucore.A.dylib 40.0.0 (compatibility 1.0.0) <781E7B63-2AD0-E9BA-927C-4521DB616D02> /usr/lib/libicucore.A.dylib
0x7fff81763000 - 0x7fff81774ff7 libz.1.dylib 1.2.3 (compatibility 1.0.0) <FB5EE53A-0534-0FFA-B2ED-486609433717> /usr/lib/libz.1.dylib
0x7fff81b3f000 - 0x7fff81b55fef libbsm.0.dylib ??? (???) <42D3023A-A1F7-4121-6417-FCC6B51B3E90> /usr/lib/libbsm.0.dylib
0x7fff81be0000 - 0x7fff81d06fff com.apple.audio.toolbox.AudioToolbox 1.6.5 (1.6.5) <C2195603-7A45-7A88-BCF9-DD8738C1BF52> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x7fff81d07000 - 0x7fff81d0dff7 com.apple.DiskArbitration 2.3 (2.3) <857F6E43-1EF4-7D53-351B-10DE0A8F992A> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x7fff81d0e000 - 0x7fff82518fe7 libBLAS.dylib 219.0.0 (compatibility 1.0.0) <FC941ECB-71D0-FAE3-DCBF-C5A619E594B8> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x7fff829a0000 - 0x7fff82b15ff7 com.apple.CoreFoundation 6.6.4 (550.40) <A5821B7A-B3E0-687C-1238-2995A5D90C67> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff82b56000 - 0x7fff82c0ffff libsqlite3.dylib 9.6.0 (compatibility 9.0.0) <2C5ED312-E646-9ADE-73A9-6199A2A43150> /usr/lib/libsqlite3.dylib
0x7fff82c45000 - 0x7fff82c70ff7 libxslt.1.dylib 3.24.0 (compatibility 3.0.0) <87A0B228-B24A-C426-C3FB-B40D7258DD49> /usr/lib/libxslt.1.dylib
0x7fff8336f000 - 0x7fff83397fff com.apple.DictionaryServices 1.1.2 (1.1.2) <E9269069-93FA-2B71-F9BA-FDDD23C4A65E> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
0x7fff83621000 - 0x7fff836c1fff com.apple.LaunchServices 362.1 (362.1) <2740103A-6C71-D99F-8C6F-FA264546AD8F> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x7fff83afc000 - 0x7fff83afdff7 com.apple.audio.units.AudioUnit 1.6.5 (1.6.5) <62C900D3-E02B-710A-6F78-325B9EF1A64D> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x7fff83d2d000 - 0x7fff83d3bff7 libkxld.dylib ??? (???) <ED287D41-69E4-163F-5B0B-878DC7112027> /usr/lib/system/libkxld.dylib
0x7fff83d3c000 - 0x7fff8417ffef libLAPACK.dylib 219.0.0 (compatibility 1.0.0) <0CC61C98-FF51-67B3-F3D8-C5E430C201A9> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
0x7fff84337000 - 0x7fff84372fff com.apple.AE 496.4 (496.4) <CBEDB6A1-FD85-F842-4EB8-CC289FAE0F24> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x7fff84373000 - 0x7fff843f2fe7 com.apple.audio.CoreAudio 3.2.4 (3.2.4) <B99D9256-2789-414C-1951-8226690F1F43> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x7fff84ac3000 - 0x7fff84ac7ff7 libmathCommon.A.dylib 315.0.0 (compatibility 1.0.0) <95718673-FEEE-B6ED-B127-BCDBDB60D4E5> /usr/lib/system/libmathCommon.A.dylib
0x7fff85150000 - 0x7fff85206fff libobjc.A.dylib 227.0.0 (compatibility 1.0.0) <F206BE6D-8777-AE6C-B367-7BEA76C14241> /usr/lib/libobjc.A.dylib
0x7fff8550e000 - 0x7fff85794fef com.apple.security 6.1.1 (37594) <95B5F377-1E44-A762-FD54-242919D3ADBB> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x7fff85995000 - 0x7fff85cc9fff com.apple.CoreServices.CarbonCore 861.16 (861.20) <5E16A139-6810-266A-36A1-9A7911BC65BA> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x7fff860ec000 - 0x7fff860fbfff com.apple.NetFS 3.2.1 (3.2.1) <0357C371-2E2D-069C-08FB-1180512B8516> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
0x7fff86196000 - 0x7fff8628eff7 libiconv.2.dylib 7.0.0 (compatibility 7.0.0) <7E4ADB5A-CC77-DCFD-3E54-2F35A2C8D95A> /usr/lib/libiconv.2.dylib
0x7fff867b6000 - 0x7fff867b6ff7 com.apple.CoreServices 44 (44) <DC7400FB-851E-7B8A-5BF6-6F50094302FB> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x7fff87b5d000 - 0x7fff87b9efff com.apple.SystemConfiguration 1.10.5 (1.10.2) <FB39F09C-57BB-D8CC-348D-93E00C602F7D> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x7fff87b9f000 - 0x7fff87be9ff7 com.apple.Metadata 10.6.3 (507.10) <B64B1B8B-7507-B004-FAF3-45EFF5F8720C> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0x7fff87bea000 - 0x7fff87beaff7 com.apple.vecLib 3.6 (vecLib 3.6) <96FB6BAD-5568-C4E0-6FA7-02791A58B584> /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x7fff87da7000 - 0x7fff87e11fe7 libvMisc.dylib 268.0.1 (compatibility 1.0.0) <514D400C-50A5-C196-83AA-1035DDC8FBBE> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
0x7fff87fb3000 - 0x7fff87ffbff7 libvDSP.dylib 268.0.1 (compatibility 1.0.0) <98FC4457-F405-0262-00F7-56119CA107B6> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
0x7fff8800f000 - 0x7fff881d0fff libSystem.B.dylib 125.2.1 (compatibility 1.0.0) <F65BCCE0-40FA-F3C1-BA0D-B119BB5933CD> /usr/lib/libSystem.B.dylib
0x7fff8824f000 - 0x7fff88366fef libxml2.2.dylib 10.3.0 (compatibility 10.0.0) <EE067D7E-15B3-F043-6FBD-10BA31FE76C7> /usr/lib/libxml2.2.dylib
0x7fff88490000 - 0x7fff884f0fe7 com.apple.framework.IOKit 2.0 (???) <8C737944-6823-A3F9-87FB-54DC08418242> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x7fff88682000 - 0x7fff886fffef libstdc++.6.dylib 7.9.0 (compatibility 7.0.0) <35ECA411-2C08-FD7D-11B1-1B7A04921A5C> /usr/lib/libstdc++.6.dylib
0x7fff8890d000 - 0x7fff88959fff libauto.dylib ??? (???) <F7221B46-DC4F-3153-CE61-7F52C8C293CF> /usr/lib/libauto.dylib
0x7fff8895b000 - 0x7fff88967fff libbz2.1.0.dylib 1.0.5 (compatibility 1.0.0) <5FFC8295-2DF7-B54C-3766-756842C53731> /usr/lib/libbz2.1.0.dylib
0x7fff88c78000 - 0x7fff88d35ff7 com.apple.CoreServices.OSServices 357 (357) <718F0719-DC9F-E392-7C64-9D7DFE3D02E2> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x7fff89095000 - 0x7fff89125fff com.apple.SearchKit 1.3.0 (1.3.0) <4175DC31-1506-228A-08FD-C704AC9DF642> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x7fffffe00000 - 0x7fffffe01fff libSystem.B.dylib ??? (???) <F65BCCE0-40FA-F3C1-BA0D-B119BB5933CD> /usr/lib/libSystem.B.dylib
Model: MacBookPro3,1, BootROM MBP31.0070.B07, 2 processors, Intel Core 2 Duo, 2.2 GHz, 4 GB, SMC 1.16f11
Graphics: NVIDIA GeForce 8600M GT, GeForce 8600M GT, PCIe, 128 MB
Memory Module: global_name
AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x87), Atheros 5416: 2.1.14.5
Bluetooth: Version 2.3.8f2, 2 service, 12 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en1
PCI Card: pci168c,24, sppci_othernetwork, PCI Slot 5
Serial ATA Device: FUJITSU MHW2120BH, 111,79 GB
Parallel ATA Device: [Censored]-R UJ-857E
USB Device: Bluetooth USB Host Controller, 0x05ac (Apple Inc.), 0x8205, 0x1a100000
USB Device: GiO, 0x0c60 (Apogee Electronics Corp), 0x0004, 0x1a200000
USB Device: Built-in iSight, 0x05ac (Apple Inc.), 0x8502, 0xfd400000
USB Device: Hub, 0x05ac (Apple Inc.), 0x9130, 0xfd100000
USB Device: Keyboard Hub, 0x05ac (Apple Inc.), 0x1006, 0xfd110000
USB Device: USB Gaming Mouse, 0x046d (Logitech Inc.), 0xc049, 0xfd111000
USB Device: Apple Keyboard, 0x05ac (Apple Inc.), 0x0221, 0xfd112000
USB Device: Apple Cinema Display, 0x05ac (Apple Inc.), 0x9222, 0xfd120000
USB Device: Apple Internal Keyboard / Trackpad, 0x05ac (Apple Inc.), 0x021b, 0x5d200000
USB Device: IR Receiver, 0x05ac (Apple Inc.), 0x8242, 0x5d100000
FireWire Device: My Book, WD, Up to 800 Mb/sec
Re: [Patch] [Core] SSA burn-in support
Code: Select all
INSTALL ffpresets/libx264-ultrafast_firstpass.ffpreset
INSTALL ffpresets/libx264-veryfast.ffpreset
INSTALL ffpresets/libx264-veryfast_firstpass.ffpreset
INSTALL ffpresets/libx264-veryslow.ffpreset
INSTALL ffpresets/libx264-veryslow_firstpass.ffpreset
INSTALL doc/ffprobe.1
touch contrib/ffmpeg/.stamp.install
set -e; cd ./contrib/fontconfig/fontconfig-2.8.0/; CC="/Opt/gcc-4.4.0-mingw32/bin/i386-mingw32-gcc -arch " CFLAGS="" CXX=/Opt/gcc-4.4.0-mingw32/bin/i386-mingw32-g++ CXXFLAGS="" CPPFLAGS="" LDFLAGS="" ./configure --host=i386-mingw32 --prefix=/Users/Scott/Projects/trunk/build/contrib/ --disable-dependency-tracking --disable-shared --enable-static --enable-libxml2 --with-freetype-config=/Users/Scott/Projects/trunk/build/contrib/bin/freetype-config LIBXML2_LIBS="-L/Users/Scott/Projects/trunk/build/contrib/lib -lxml2" LIBXML2_CFLAGS="-I/Users/Scott/Projects/trunk/build/contrib/include/libxml2" --with-arch=
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for i386-mingw32-strip... i386-mingw32-strip
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for i386-mingw32-gcc... /Opt/gcc-4.4.0-mingw32/bin/i386-mingw32-gcc -arch
checking for C compiler default output file name...
configure: error: in `/Users/Scott/Projects/trunk/build/contrib/fontconfig/fontconfig-2.8.0':
configure: error: C compiler cannot create executables
See `config.log' for more details.
make: *** [contrib/fontconfig/.stamp.configure] Error 77
Last edited by davidfstr on Sat Sep 04, 2010 6:35 pm, edited 1 time in total.
Reason: Converted to code block.
Reason: Converted to code block.
Re: [Patch] [Core] SSA burn-in support
* Activity log? (So I know what kind of input you're using)Ritsuka wrote:Got a crash in decssaWork
* Since you had the crash in the CLI, could you try a repro under gdb, which would probably give you the line number of the crash? Right now all I have is the byte offset of the crash within decssawork.
I was afraid that mingw might not like the -arch parameter for fontconfig. Should have this fixed later today.s55 wrote:checking for i386-mingw32-gcc... /Opt/gcc-4.4.0-mingw32/bin/i386-mingw32-gcc -arch
Re: [Patch] [Core] SSA burn-in support
s55: Here's the updated version which should build fontconfig correctly now.
Patch: http://handbrake.fr/pastebin/pastebin.php?show=1621
Try:
* make fontconfig.xclean
* make fontconfig
s55: Sorry to keep using you as a human compiler, but until I get MinGW up and running, it's about the best I can do. *hint hint*
Patch: http://handbrake.fr/pastebin/pastebin.php?show=1621
Try:
* make fontconfig.xclean
* make fontconfig
s55: Sorry to keep using you as a human compiler, but until I get MinGW up and running, it's about the best I can do. *hint hint*
Re: [Patch] [Core] SSA burn-in support
fwiw, I never got MinGW/Msys working on windows. I eventually gave up on it and simply compiled my own toolchain for mac.
If you've got an Intel Mac around, I can send you the toolchain I compiled?
If you've got an Intel Mac around, I can send you the toolchain I compiled?
Re: [Patch] [Core] SSA burn-in support
Code: Select all
INSTALL ffpresets/libx264-veryfast_firstpass.ffpreset
INSTALL ffpresets/libx264-veryslow.ffpreset
INSTALL ffpresets/libx264-veryslow_firstpass.ffpreset
INSTALL doc/ffprobe.1
touch contrib/ffmpeg/.stamp.install
make -C ./contrib/fontconfig/fontconfig-2.8.0/ clean
Making clean in test
test -z "" || rm -f
rm -rf .libs _libs
rm -f *.lo
Making clean in doc
test -z "" || rm -f
rm -rf .libs _libs
rm -f edit-sgml
rm -f *.o
rm -f *.lo
Making clean in conf.d
rm -rf .libs _libs
rm -f *.lo
Making clean in fc-scan
rm -f fc-scan.exe
rm -f fc-scan
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
Making clean in fc-query
rm -f fc-query.exe
rm -f fc-query
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
Making clean in fc-match
rm -f fc-match.exe
rm -f fc-match
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
Making clean in fc-list
rm -f fc-list.exe
rm -f fc-list
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
Making clean in fc-cat
rm -f fc-cat.exe
rm -f fc-cat
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
Making clean in fc-cache
rm -f fc-cache.exe
rm -f fc-cache
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
Making clean in src
test -z "fcalias.h fcaliastail.h fcftalias.h fcftaliastail.h" || rm -f fcalias.h fcaliastail.h fcftalias.h fcftaliastail.h
test -z "libfontconfig.la" || rm -f libfontconfig.la
rm -f "./so_locations"
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
Making clean in fc-arch
test -z "fcarch.h fcalias.h fcaliastail.h" || rm -f fcarch.h fcalias.h fcaliastail.h
rm -rf .libs _libs
rm -f fc-arch
rm -f *.o
rm -f *.lo
Making clean in fc-glyphname
test -z "fcglyphname.h fcalias.h fcaliastail.h" || rm -f fcglyphname.h fcalias.h fcaliastail.h
rm -rf .libs _libs
rm -f fc-glyphname
rm -f *.o
rm -f *.lo
Making clean in fc-lang
test -z "fclang.h fcalias.h fcaliastail.h" || rm -f fclang.h fcalias.h fcaliastail.h
rm -rf .libs _libs
rm -f fc-lang
rm -f *.o
rm -f *.lo
Making clean in fc-case
test -z "fccase.h fcalias.h fcaliastail.h" || rm -f fccase.h fcalias.h fcaliastail.h
rm -rf .libs _libs
rm -f fc-case
rm -f *.o
rm -f *.lo
Making clean in fontconfig
rm -rf .libs _libs
rm -f *.lo
Making clean in .
test -z "fonts.conf" || rm -f fonts.conf
rm -rf .libs _libs
rm -f *.lo
/bin/rm -f ./contrib/fontconfig/.stamp.build
make -C ./contrib/fontconfig/fontconfig-2.8.0/
make all-recursive
Making all in fontconfig
make[3]: Nothing to be done for `all'.
Making all in fc-case
touch fcalias.h fcaliastail.h
make all-am
CC fc-case.o
gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I.. -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -c fc-case.c
CCLD fc-case
GEN fccase.h
Making all in fc-lang
touch fcalias.h fcaliastail.h
CC fc-lang.o
gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I.. -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -c fc-lang.c
fc-lang.c: In function ‘scan’:
fc-lang.c:152: warning: assignment discards qualifiers from pointer target type
fc-lang.c:180: warning: assignment discards qualifiers from pointer target type
fc-lang.c: In function ‘compare’:
fc-lang.c:235: warning: pointer targets in passing argument 1 of ‘FcStrCmpIgnoreCase’ differ in signedness
fc-lang.c:235: warning: pointer targets in passing argument 2 of ‘FcStrCmpIgnoreCase’ differ in signedness
CCLD fc-lang
GEN fclang.h
make all-am
make[4]: Nothing to be done for `all-am'.
Making all in fc-glyphname
touch fcalias.h fcaliastail.h
CC fc-glyphname.o
gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I.. -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -c fc-glyphname.c
CCLD fc-glyphname
GEN fcglyphname.h
make all-am
make[4]: Nothing to be done for `all-am'.
Making all in fc-arch
touch fcalias.h fcaliastail.h
CC fc-arch.o
gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I.. -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -c fc-arch.c
CCLD fc-arch
GEN fcarch.h
Usage: ./fc-arch <architecture>|auto < fcarch.tmpl.h > fcarch.h
/bin/sh: line 1: 95848 Segmentation fault ./fc-arch < ../fc-arch/fcarch.tmpl.h > fcarch.h.tmp
make[3]: *** [fcarch.h] Error 139
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [contrib/fontconfig/.stamp.build] Error 2
Re: [Patch] [Core] SSA burn-in support
A seg fault in a contrib's build process? WTF?
Oh I think I know why. I bet configure wasn't expecting a '--with-arch=' (empty) parameter. <sigh>
More build script hacking...
Oh I think I know why. I bet configure wasn't expecting a '--with-arch=' (empty) parameter. <sigh>
More build script hacking...
Works. I got a shiny new MBP today.s55 wrote:If you've got an Intel Mac around, I can send you the toolchain I compiled?
Re: [Patch] [Core] SSA burn-in support
Since under MinGW, I don't get a $(FONTCONFIG.GCC.archs) variable, I am statically guessing the architecture as i386 when running under MinGW. Do we support 64-bit builds under MinGW?
New Patch: http://handbrake.fr/pastebin/pastebin.php?show=1623
Try:
* make fontconfigure.xclean
* make fontconfigure
New Patch: http://handbrake.fr/pastebin/pastebin.php?show=1623
Try:
* make fontconfigure.xclean
* make fontconfigure
Re: [Patch] [Core] SSA burn-in support
Not yet, but we'd like to. A couple of things don't build properly under the 64bit mingw enviroment.Do we support 64-bit builds under MinGW?
I'll test the patch later tonight.
Re: [Patch] [Core] SSA burn-in support
Code: Select all
STALL ffpresets/libx264-ultrafast_firstpass.ffpreset
INSTALL ffpresets/libx264-veryfast.ffpreset
INSTALL ffpresets/libx264-veryfast_firstpass.ffpreset
INSTALL ffpresets/libx264-veryslow.ffpreset
INSTALL ffpresets/libx264-veryslow_firstpass.ffpreset
INSTALL doc/ffprobe.1
touch contrib/ffmpeg/.stamp.install
make -j 1 -C ./contrib/fontconfig/fontconfig-2.8.0/ install
Making install in fontconfig
make[3]: Nothing to be done for `install-exec-am'.
test -z "/Users/Scott/Projects/trunk/build/contrib/include/fontconfig" || .././install-sh -c -d "/Users/Scott/Projects/trunk/build/contrib/include/fontconfig"
/usr/bin/install -c -m 644 fontconfig.h fcfreetype.h fcprivate.h '/Users/Scott/Projects/trunk/build/contrib/include/fontconfig'
Making install in fc-case
make install-am
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
Making install in fc-lang
make install-am
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
Making install in fc-glyphname
make install-am
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
Making install in fc-arch
make install-am
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
Making install in src
make install-am
test -z "/Users/Scott/Projects/trunk/build/contrib/lib" || .././install-sh -c -d "/Users/Scott/Projects/trunk/build/contrib/lib"
/bin/sh ../libtool --mode=install /usr/bin/install -c libfontconfig.la '/Users/Scott/Projects/trunk/build/contrib/lib'
libtool: install: /usr/bin/install -c .libs/libfontconfig.lai /Users/Scott/Projects/trunk/build/contrib/lib/libfontconfig.la
libtool: install: /usr/bin/install -c .libs/libfontconfig.a /Users/Scott/Projects/trunk/build/contrib/lib/libfontconfig.a
libtool: install: chmod 644 /Users/Scott/Projects/trunk/build/contrib/lib/libfontconfig.a
libtool: install: i386-mingw32-ranlib /Users/Scott/Projects/trunk/build/contrib/lib/libfontconfig.a
----------------------------------------------------------------------
Libraries have been installed in:
/Users/Scott/Projects/trunk/build/contrib/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-LLIBDIR' linker flag
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/usr/bin/install -c .libs/libfontconfig.dll.a /Users/Scott/Projects/trunk/build/contrib/lib
install: .libs/libfontconfig.dll.a: No such file or directory
make[4]: *** [install-libtool-import-lib] Error 71
make[3]: *** [install-am] Error 2
make[2]: *** [install] Error 2
make[1]: *** [install-recursive] Error 1
make: *** [contrib/fontconfig/.stamp.install] Error 2
SM:build Scott$ make
make -j 1 -C ./contrib/fontconfig/fontconfig-2.8.0/ install
Making install in fontconfig
make[3]: Nothing to be done for `install-exec-am'.
test -z "/Users/Scott/Projects/trunk/build/contrib/include/fontconfig" || .././install-sh -c -d "/Users/Scott/Projects/trunk/build/contrib/include/fontconfig"
/usr/bin/install -c -m 644 fontconfig.h fcfreetype.h fcprivate.h '/Users/Scott/Projects/trunk/build/contrib/include/fontconfig'
Making install in fc-case
make install-am
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
Making install in fc-lang
make install-am
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
Making install in fc-glyphname
make install-am
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
Making install in fc-arch
make install-am
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
Making install in src
make install-am
test -z "/Users/Scott/Projects/trunk/build/contrib/lib" || .././install-sh -c -d "/Users/Scott/Projects/trunk/build/contrib/lib"
/bin/sh ../libtool --mode=install /usr/bin/install -c libfontconfig.la '/Users/Scott/Projects/trunk/build/contrib/lib'
libtool: install: /usr/bin/install -c .libs/libfontconfig.lai /Users/Scott/Projects/trunk/build/contrib/lib/libfontconfig.la
libtool: install: /usr/bin/install -c .libs/libfontconfig.a /Users/Scott/Projects/trunk/build/contrib/lib/libfontconfig.a
libtool: install: chmod 644 /Users/Scott/Projects/trunk/build/contrib/lib/libfontconfig.a
libtool: install: i386-mingw32-ranlib /Users/Scott/Projects/trunk/build/contrib/lib/libfontconfig.a
----------------------------------------------------------------------
Libraries have been installed in:
/Users/Scott/Projects/trunk/build/contrib/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-LLIBDIR' linker flag
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/usr/bin/install -c .libs/libfontconfig.dll.a /Users/Scott/Projects/trunk/build/contrib/lib
install: .libs/libfontconfig.dll.a: No such file or directory
make[4]: *** [install-libtool-import-lib] Error 71
make[3]: *** [install-am] Error 2
make[2]: *** [install] Error 2
make[1]: *** [install-recursive] Error 1
make: *** [contrib/fontconfig/.stamp.install] Error 2
Re: [Patch] [Core] SSA burn-in support
Apparently generating a 'libfontconfig.a' isn't enough for MinGW. Looks like I need to get a 'libfontconfig.dll.a' somehow. I seem to remember some magic elsewhere in the build system that is doing this for other contribs. Will look at it tomorrow.
Re: [Patch] [Core] SSA burn-in support
Fixed everything. Compiles natively (x86_64). Cross-compiles (i386). Compiles to MinGW. Even compiles to PPC.
Patch:
http://handbrake.fr/pastebin/pastebin.php?show=1634
Suggested commit message:
Patch:
http://handbrake.fr/pastebin/pastebin.php?show=1634
Suggested commit message:
Code: Select all
SSA burn-in support with libass.
New contrib modules: libass, fontconfig, libxml2, freetype.
Contributed by davidfstr.
Additional changes by KonaB1end:
Added mp4v2 disable precomp, so debug builds work again.
Changed EXTERNAL_JOBS = 1, so Xcode no longer does parallel builds by default.
Re: [Patch] [Core] SSA burn-in support
Compiles fine here now on i386 mingw32
Re: [Patch] [Core] SSA burn-in support
libxml2, fontconfig, freetype seem to have compiled fine. Have all the .a libraries for them
I did get a warning from libtool on libass. "libtool: link: warning: undefined symbols not allowed in x86_64-w64-mingw32 shared libraries". Do have the .a library build though. Not sure if this is anything to worry about
I did get a warning from libtool on libass. "libtool: link: warning: undefined symbols not allowed in x86_64-w64-mingw32 shared libraries". Do have the .a library build though. Not sure if this is anything to worry about