GTK GUI build from SVN gives Error[Solved]

Support for HandBrake on Linux, Solaris, and other Unix-like platforms
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
rajkhand
Posts: 7
Joined: Tue Aug 19, 2008 5:19 am

GTK GUI build from SVN gives Error[Solved]

Post by rajkhand »

I have build Handbrake and gtk gui from svn1624 the gtk gui is not able to MUX to a MP4 container the activity log is

[10:54:32] hb_init: checking cpu count
[10:54:32] hb_init: starting libhb thread
[10:54:32] thread b5f62b90 started ("libhb")
[10:54:52] hb_scan: path=/home/raj/Videos/00051.mpg, title_index=0
[10:54:52] scan: trying to open with libdvdread
[10:54:52] dvd: not a dvd - trying as a stream/file instead
[10:54:52] file is MPEG DVD Program Stream
[10:54:52] thread b56e6b90 started ("scan")
[10:54:53] add_audio_to_title: added AC3 audio stream 0x80bd
[10:54:55] scan: decoding previews for title 1
[10:54:55] scan: preview 1
[10:54:55] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=256000 Unknown (AC3) (2.0 ch)
[10:54:55] scan: preview 2
[10:54:55] scan: preview 3
[10:54:55] scan: preview 4
[10:54:55] scan: preview 5
[10:54:55] scan: preview 6
[10:54:55] scan: preview 7
[10:54:56] scan: preview 8
[10:54:56] scan: preview 9
[10:54:56] scan: preview 10
[10:54:56] scan: 10 previews, 720x576, 25.000 fps, autocrop = 0/0/0/0, aspect 1.78:1, PAR 64:45
[10:54:56] scan: title (0) job->width:720, job->height:400
[10:54:56] thread b56e6b90 exited ("scan")
[10:54:56] thread b56e6b90 joined ("scan")
[10:54:56] libhb: scan thread found 1 valid title(s)
[10:55:27] 2 job(s) to process
[10:55:27] starting job
[10:55:27] job configuration:
[10:55:27] * source
[10:55:27] + /home/raj/Videos/00051.mpg
[10:55:27] + title 1, chapter(s) 1 to 1
[10:55:27] * destination
[10:55:27] + /home/raj/Videos/00051.mp4
[10:55:27] + container: MPEG-4 (.mp4 and .m4v)
[10:55:27] + chapter markers
[10:55:27] * video track
[10:55:27] + decoder: mpeg2
[10:55:27] + bitrate 9800 kbps
[10:55:27] + frame rate: same as source (around 25.000 fps)
[10:55:27] + loose anamorphic
[10:55:27] + storage dimensions: 720 * 576 -> 720 * 576, crop 0/0/0/0
[10:55:27] + pixel aspect ratio: 64 / 45
[10:55:27] + display dimensions: 1024 * 576
[10:55:27] + encoder: x264
[10:55:27] + options: ref=2:bframes=2:subme=5:me=umh:ref=1:subme=1:me=dia:analyse=none:trellis=0:no-fast-pskip=0:8x8dct=0:weightb=0
[10:55:27] + bitrate: 1500 kbps, pass: 1
[10:55:27] dvd: not a dvd - trying as a stream/file instead
[10:55:27] reader: first SCR 144 scr_offset 15991
[10:55:27] thread b4920b90 started ("reader")
[10:55:27] thread b56e6b90 started ("work")
[10:55:27] thread b3ff4b90 started ("MPEG-2 decoder (libmpeg2)")
[10:55:27] mpeg2: "Chapter 0" (1) at frame 0 time 7200
[10:55:27] thread b37f3b90 started ("Renderer")
[10:55:27] encx264: encoding with stored aspect 64/45
[10:55:27] encx264: opening libx264 (pass 1)
x264 [info]: using SAR=64/45
x264 [info]: using cpu capabilities: MMX2
[10:55:27] thread b280ab90 started ("H.264/AVC encoder (libx264)")
[10:55:27] thread b1f08b90 started ("muxer")
[10:55:27] sync: expecting 518 video frames
[10:55:27] sync: first pts is 7200
[10:56:02] reader: done. 0 scr changes
[10:56:02] thread b4920b90 exited ("reader")
[10:56:04] sync: got 581 frames, 518 expected
[10:56:05] thread b1f08b90 exited ("muxer")
[10:56:05] thread b1f08b90 joined ("muxer")
[10:56:05] thread b3ff4b90 exited ("MPEG-2 decoder (libmpeg2)")
[10:56:05] thread b37f3b90 exited ("Renderer")
[10:56:05] thread b3ff4b90 joined ("MPEG-2 decoder (libmpeg2)")
[10:56:05] mpeg2 done: 582 frames
[10:56:05] thread b37f3b90 joined ("Renderer")
[10:56:05] render: lost time: 0 (0 frames)
[10:56:05] render: gained time: 0 (0 frames) (0 not accounted for)
[10:56:05] fifo_close: trashing 0 buffer(s)
[10:56:05] fifo_close: trashing 0 buffer(s)
[10:56:05] thread b280ab90 exited ("H.264/AVC encoder (libx264)")
[10:56:05] thread b280ab90 joined ("H.264/AVC encoder (libx264)")
x264 [info]: slice I:3 Avg QP:25.51 size: 42523 PSNR Mean Y:37.65 U:44.20 V:44.91 Avg:38.96 Global:37.65
x264 [info]: slice P:221 Avg QP:24.62 size: 12756 PSNR Mean Y:37.69 U:44.47 V:45.02 Avg:39.03 Global:38.66
x264 [info]: slice B:359 Avg QP:27.56 size: 3832 PSNR Mean Y:36.39 U:44.10 V:44.73 Avg:37.81 Global:37.45
x264 [info]: mb I I16..4: 19.9% 0.0% 80.1%
x264 [info]: mb P I16..4: 14.7% 0.0% 0.0% P16..4: 77.4% 0.0% 0.0% 0.0% 0.0% skip: 7.9%
x264 [info]: mb B I16..4: 1.0% 0.0% 0.0% B16..8: 27.5% 0.0% 0.0% direct:22.6% skip:48.9% L0:31.7% L1:47.1% BI:21.2%
x264 [info]: final ratefactor: 22.52
x264 [info]: SSIM Mean Y:0.9617171
x264 [info]: PSNR Mean Y:36.886 U:44.238 V:44.840 Avg:38.277 Global:37.870 kb/s:1482.82
[10:56:05] thread b4920b90 joined ("reader")
[10:56:05] fifo_close: trashing 0 buffer(s)
[10:56:05] fifo_close: trashing 1 buffer(s)
[10:56:05] fifo_close: trashing 0 buffer(s)
[10:56:05] fifo_close: trashing 0 buffer(s)
[10:56:05] fifo_close: trashing 0 buffer(s)
[10:56:05] Freed 1 buffers of size 1024
[10:56:05] Freed 32 buffers of size 2048
[10:56:05] Freed 29 buffers of size 1048576
[10:56:05] Allocated 30508032 bytes of buffers on this pass and Freed 30475264 bytes, 32768 bytes leaked
[10:56:05] starting job
[10:56:05] job configuration:
[10:56:05] * source
[10:56:05] + /home/raj/Videos/00051.mpg
[10:56:05] + title 1, chapter(s) 1 to 1
[10:56:05] * destination
[10:56:05] + /home/raj/Videos/00051.mp4
[10:56:05] + container: MPEG-4 (.mp4 and .m4v)
[10:56:05] + chapter markers
[10:56:05] * video track
[10:56:05] + decoder: mpeg2
[10:56:05] + bitrate 9800 kbps
[10:56:05] + frame rate: same as source (around 25.000 fps)
[10:56:05] + loose anamorphic
[10:56:05] + storage dimensions: 720 * 576 -> 720 * 576, crop 0/0/0/0
[10:56:05] + pixel aspect ratio: 64 / 45
[10:56:05] + display dimensions: 1024 * 576
[10:56:05] + encoder: x264
[10:56:05] + options: ref=2:bframes=2:subme=5:me=umh
[10:56:05] + bitrate: 1500 kbps, pass: 2
[10:56:05] * audio track 0
[10:56:05] + decoder: Unknown (AC3) (2.0 ch) (track 0, id 80bd)
[10:56:05] + bitrate: 256 kbps, samplerate: 48000 Hz
[10:56:05] + mixdown: Stereo
[10:56:05] + encoder: faac
[10:56:05] + bitrate: 160 kbps, samplerate: 48000 Hz
[10:56:05] dvd: not a dvd - trying as a stream/file instead
[10:56:05] reader: first SCR 144 scr_offset 15991
[10:56:05] thread b4920b90 started ("reader")
[10:56:05] thread b280ab90 started ("MPEG-2 decoder (libmpeg2)")
[10:56:05] mpeg2: "Chapter 0" (1) at frame 0 time 7200
[10:56:05] thread b37f3b90 started ("Renderer")
[10:56:05] encx264: encoding with stored aspect 64/45
[10:56:05] encx264: opening libx264 (pass 2)
x264 [info]: using SAR=64/45
x264 [info]: using cpu capabilities: MMX2
[10:56:05] thread b3ff4b90 started ("H.264/AVC encoder (libx264)")
No accelerated IMDCT transform found
[10:56:05] thread b1c05b90 started ("AC3 decoder")
[10:56:06] thread b092cb90 started ("AAC encoder (libfaac)")
[10:56:06] thread b012bb90 started ("muxer")
[10:56:06] sync: expecting 518 video frames
[10:56:06] sync: first pts is 7200
[10:56:06] sync: adding 80 ms of silence to audio 0 start 7200, next 0
MP4ERROR: MP4File::FindIntegerProperty: no such property - moov.iods.visualProfileLevelId
[10:56:06] muxmp4.c: MP4SetVideoProfileLevel failed!
MP4ERROR: FindTrakAtomIndex: Track id 1 doesn't exist
MP4ERROR: FindTrackIndex: Track id 1 doesn't exist
MP4ERROR: FindTrakAtomIndex: Track id 0 doesn't exist
MP4ERROR: FindTrackIndex: Track id 0 doesn't exist
[10:56:06] mux: file size, 148 bytes

[10:56:06] mux: track 0, 0 bytes, nan kbps
[10:56:06] mux: video bitrate error, +0 bytes
[10:56:06] mux: track 1, 0 bytes, nan kbps
[10:56:06] thread b012bb90 exited ("muxer")
[10:56:06] sync: got 8 frames, 518 expected
[10:56:06] thread b012bb90 joined ("muxer")
[10:56:06] reader: done. 0 scr changes
[10:56:06] thread b4920b90 exited ("reader")
[10:56:06] thread b1c05b90 exited ("AC3 decoder")
[10:56:06] thread b092cb90 exited ("AAC encoder (libfaac)")
[10:56:06] thread b37f3b90 exited ("Renderer")
[10:56:06] thread b280ab90 exited ("MPEG-2 decoder (libmpeg2)")
[10:56:06] thread b280ab90 joined ("MPEG-2 decoder (libmpeg2)")
[10:56:06] mpeg2 done: 11 frames
[10:56:06] thread b37f3b90 joined ("Renderer")
[10:56:06] render: lost time: 0 (0 frames)
[10:56:06] render: gained time: 0 (0 frames) (0 not accounted for)
[10:56:06] fifo_close: trashing 0 buffer(s)
[10:56:06] fifo_close: trashing 0 buffer(s)
[10:56:06] thread b3ff4b90 exited ("H.264/AVC encoder (libx264)")
[10:56:06] thread b3ff4b90 joined ("H.264/AVC encoder (libx264)")
x264 [info]: slice I:1 Avg QP:22.97 size: 73709 PSNR Mean Y:38.45 U:44.79 V:45.77 Avg:39.78 Global:39.78
x264 [info]: mb I I16..4: 16.3% 0.0% 83.7%
x264 [info]: SSIM Mean Y:0.9784346
x264 [info]: PSNR Mean Y:38.452 U:44.789 V:45.767 Avg:39.781 Global:39.781 kb/s:14741.80
[10:56:06] thread b1c05b90 joined ("AC3 decoder")
[10:56:06] thread b092cb90 joined ("AAC encoder (libfaac)")
[10:56:06] thread b4920b90 joined ("reader")
[10:56:06] fifo_close: trashing 217 buffer(s)
[10:56:06] fifo_close: trashing 2 buffer(s)
[10:56:06] fifo_close: trashing 0 buffer(s)
[10:56:06] fifo_close: trashing 7 buffer(s)
[10:56:06] fifo_close: trashing 1 buffer(s)
[10:56:06] fifo_close: trashing 8 buffer(s)
[10:56:06] fifo_close: trashing 9 buffer(s)
[10:56:06] fifo_close: trashing 0 buffer(s)
[10:56:06] fifo_close: trashing 0 buffer(s)
[10:56:06] Freed 32 buffers of size 2048
[10:56:06] Freed 12 buffers of size 16384
[10:56:06] Freed 11 buffers of size 1048576
[10:56:06] Allocated 11796480 bytes of buffers on this pass and Freed 11796480 bytes, 0 bytes leaked
[10:56:06] thread b56e6b90 exited ("work")
[10:56:06] thread b56e6b90 joined ("work")
[10:56:06] libhb: work result = 0


As u can see it does not give any error as such but always the output file is 148 bytes.

The funny thing is that if the container is MKV there is no error.

Also the HandBrake CLI does the work perfectly

raj@raj-desktop:~/Videos$ HandBrakeCLI -i 00051.mpg -o 00051a.mp4 -e x264 -b 2000 -B 192
HandBrake svn1624 (2008081101) - http://handbrake.fr/
1 CPU detected
Opening 00051.mpg...
Scanning title 1...
+ title 1:
+ vts 0, ttn 0, cells 0->0 (0 blocks)
+ duration: 00:00:19
+ size: 720x576, aspect: 1.78, 25.000 fps
+ autocrop: 0/0/0/0
+ chapters:
+ 1: cells 0->0, 0 blocks, duration 00:00:19
+ audio tracks:
+ 1, Unknown (AC3) (2.0 ch), 48000Hz, 256000bps
+ subtitle tracks:
x264 [info]: using cpu capabilities: MMX2
No accelerated IMDCT transform found
Encoding: task 1 of 1, 100.00 %x264 [info]: slice I:3 Avg QP:21.67 size: 46712 PSNR Mean Y:40.35 U:45.34 V:46.11 Avg:41.49 Global:40.29
x264 [info]: slice P:578 Avg QP:22.68 size: 9458 PSNR Mean Y:38.88 U:44.50 V:45.21 Avg:40.11 Global:39.65
x264 [info]: mb I I16..4: 14.2% 0.0% 85.8%
x264 [info]: mb P I16..4: 7.0% 0.0% 2.2% P16..4: 42.1% 32.3% 7.8% 0.0% 0.0% skip: 8.6%
x264 [info]: final ratefactor: 19.93
x264 [info]: SSIM Mean Y:0.9757331
x264 [info]: PSNR Mean Y:38.884 U:44.508 V:45.216 Avg:40.117 Global:39.649 kb/s:1930.03

Rip done!
HandBrake has exited.

Can someone please help me in resolving this error?

TIA
Raj
Last edited by rajkhand on Wed Aug 27, 2008 7:52 am, edited 1 time in total.
User avatar
JohnAStebbins
HandBrake Team
Posts: 5712
Joined: Sat Feb 09, 2008 7:21 pm

Re: GTK GUI build from SVN gives Error

Post by JohnAStebbins »

I'd say this is a pretty good indication of an error
MP4ERROR: MP4File::FindIntegerProperty: no such property - moov.iods.visualProfileLevelId
I've seen this before. It happened to me when the build erroneously linked to a copy of mpeg4ip that I had installed in /usr/local/lib. Since HandBrakeCLI works, it's probably a problem with ghb's link command.

It would help if me if you could give me the output of ldd on both ghb and HandBrakeCLI. e.g. mine looks like this:

Code: Select all

# ldd HandBrakeCLI 
	linux-vdso.so.1 =>  (0x00007fffcf7fe000)
	libz.so.1 => /lib64/libz.so.1 (0x0000003bd0800000)
	libbz2.so.1 => /lib64/libbz2.so.1 (0x0000003bdc000000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003bd0400000)
	libdl.so.2 => /lib64/libdl.so.2 (0x0000003bd0000000)
	libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x0000003bd6000000)
	libm.so.6 => /lib64/libm.so.6 (0x0000003bcfc00000)
	libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000003bd5c00000)
	libc.so.6 => /lib64/libc.so.6 (0x0000003bcf800000)
	/lib64/ld-linux-x86-64.so.2 (0x0000003bcf400000)
# ldd ghb
	linux-vdso.so.1 =>  (0x00007fff29dfe000)
	libgtk-x11-2.0.so.0 => /usr/lib64/libgtk-x11-2.0.so.0 (0x0000003b2ec00000)
	libgdk-x11-2.0.so.0 => /usr/lib64/libgdk-x11-2.0.so.0 (0x0000003b30800000)
	libatk-1.0.so.0 => /usr/lib64/libatk-1.0.so.0 (0x0000003b2f400000)
	libgdk_pixbuf-2.0.so.0 => /usr/lib64/libgdk_pixbuf-2.0.so.0 (0x0000003b30400000)
	libpangocairo-1.0.so.0 => /usr/lib64/libpangocairo-1.0.so.0 (0x0000003b2fc00000)
	libpango-1.0.so.0 => /usr/lib64/libpango-1.0.so.0 (0x0000003b30000000)
	libcairo.so.2 => /usr/lib64/libcairo.so.2 (0x0000003bd9400000)
	libgio-2.0.so.0 => /lib64/libgio-2.0.so.0 (0x0000003b32000000)
	libgobject-2.0.so.0 => /lib64/libgobject-2.0.so.0 (0x0000003b2e400000)
	libgmodule-2.0.so.0 => /lib64/libgmodule-2.0.so.0 (0x0000003b2e800000)
	libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x0000003b2dc00000)
	libhal-storage.so.1 => /usr/lib64/libhal-storage.so.1 (0x0000003bd5c00000)
	libhal.so.1 => /usr/lib64/libhal.so.1 (0x0000003bd8800000)
	libdbus-1.so.3 => /lib64/libdbus-1.so.3 (0x0000003bd7c00000)
	libdca.so.0 => /home/jstebbins/Source/HandBrake/contrib/lib/libdca.so.0 (0x000000000013a000)
	libdl.so.2 => /lib64/libdl.so.2 (0x0000003bd0000000)
	libz.so.1 => /lib64/libz.so.1 (0x0000003bd0800000)
	libbz2.so.1 => /lib64/libbz2.so.1 (0x0000003bdc000000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003bd0400000)
	libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x0000003bd6000000)
	libm.so.6 => /lib64/libm.so.6 (0x0000003bcfc00000)
	libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000000001f77000)
	libc.so.6 => /lib64/libc.so.6 (0x0000003bcf800000)
	libX11.so.6 => /usr/lib64/libX11.so.6 (0x0000003bd1c00000)
	libXcomposite.so.1 => /usr/lib64/libXcomposite.so.1 (0x0000003bd9000000)
	libXfixes.so.3 => /usr/lib64/libXfixes.so.3 (0x0000003bd4800000)
	libpng12.so.0 => /usr/lib64/libpng12.so.0 (0x0000003bd3c00000)
	libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x0000003bd4000000)
	libXext.so.6 => /usr/lib64/libXext.so.6 (0x0000003bd2c00000)
	libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x0000003bd4400000)
	libXinerama.so.1 => /usr/lib64/libXinerama.so.1 (0x0000003bd4c00000)
	libXi.so.6 => /usr/lib64/libXi.so.6 (0x0000003bd5000000)
	libXrandr.so.2 => /usr/lib64/libXrandr.so.2 (0x0000003bd5800000)
	libXcursor.so.1 => /usr/lib64/libXcursor.so.1 (0x0000003bd5400000)
	libpangoft2-1.0.so.0 => /usr/lib64/libpangoft2-1.0.so.0 (0x0000003b2f800000)
	libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x0000003bd3800000)
	libpixman-1.so.0 => /usr/lib64/libpixman-1.so.0 (0x0000003bdb400000)
	libselinux.so.1 => /lib64/libselinux.so.1 (0x0000003bd0c00000)
	libcap.so.2 => /lib64/libcap.so.2 (0x0000003bd7000000)
	/lib64/ld-linux-x86-64.so.2 (0x0000003bcf400000)
	libxcb-xlib.so.0 => /usr/lib64/libxcb-xlib.so.0 (0x0000003bd2000000)
	libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x0000003bd1800000)
	libexpat.so.1 => /lib64/libexpat.so.1 (0x0000003bd3000000)
	libXau.so.6 => /usr/lib64/libXau.so.6 (0x0000003bd2800000)
	libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x0000003bd2400000)
rajkhand
Posts: 7
Joined: Tue Aug 19, 2008 5:19 am

Re: GTK GUI build from SVN gives Error

Post by rajkhand »

raj@raj-desktop:~/HandBrake$ ldd HandBrakeCLI
linux-gate.so.1 => (0xb7f05000)
libz.so.1 => /usr/lib/libz.so.1 (0xb7eda000)
libbz2.so.1.0 => /lib/libbz2.so.1.0 (0xb7eca000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7eb2000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7eae000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7dbb000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7d96000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7d8a000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7c3b000)
/lib/ld-linux.so.2 (0xb7f06000)

raj@raj-desktop:~/HandBrake/gtk/src$ ldd ghb
linux-gate.so.1 => (0xb7f8b000)
libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb7bfe000)
libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb7b7a000)
libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb7b60000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb7b48000)
libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb7b3f000)
libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb7b01000)
libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb7a9f000)
libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0xb7a3e000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb7a02000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb79fe000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb794d000)
libhal-storage.so.1 => /usr/lib/libhal-storage.so.1 (0xb7942000)
libhal.so.1 => /usr/lib/libhal.so.1 (0xb7932000)
libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0xb78fc000)
libdca.so.0 => /home/raj/HandBrake/contrib/lib/libdca.so.0 (0xb78d7000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb78d3000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb77e0000)
libmp4v2.so.0 => /usr/local/lib/libmp4v2.so.0 (0xb772a000)
libz.so.1 => /usr/lib/libz.so.1 (0xb7715000)
libbz2.so.1.0 => /lib/libbz2.so.1.0 (0xb7705000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb76ed000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb76c8000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb76bd000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb756d000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb7486000)
libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0xb7483000)
libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb7480000)
libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb747b000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb7450000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb7442000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb743a000)
libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb7437000)
libXi.so.6 => /usr/lib/libXi.so.6 (0xb742f000)
libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb7429000)
libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb741f000)
libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb73f8000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7388000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb7365000)
libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0xb733c000)
libselinux.so.1 => /lib/libselinux.so.1 (0xb7322000)
libpcre.so.3 => /usr/lib/libpcre.so.3 (0xb72fb000)
/lib/ld-linux.so.2 (0xb7f8c000)
libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xb72f9000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb72e1000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb72bf000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb72bc000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb72b7000)
User avatar
JohnAStebbins
HandBrake Team
Posts: 5712
Joined: Sat Feb 09, 2008 7:21 pm

Re: GTK GUI build from SVN gives Error

Post by JohnAStebbins »

Yup, there it is.
libmp4v2.so.0 => /usr/local/lib/libmp4v2.so.0 (0xb772a000)
It'll take me a bit to figure out why that's happening. If you want to work around it, you can temporarily uninstall the copy of libmp4v2 that you have in /usr/local/lib. Then make clean and make in the gtk directory. Since handbrake statically links the contribs, you can reinstall your local copy of the lib after building ghb.
rajkhand
Posts: 7
Joined: Tue Aug 19, 2008 5:19 am

Re: GTK GUI build from SVN gives Error

Post by rajkhand »

Sorry to sound stupid but how to do that?

simply put the file libmp4v2.so.0 to some other directory then

make clean

make

sudo make install

is the above steps correct?
rajkhand
Posts: 7
Joined: Tue Aug 19, 2008 5:19 am

Re: GTK GUI build from SVN gives Error

Post by rajkhand »

the file is in usr/local/lib as well as in usr/lib
these are the 2 files

libmp4v2.so.0
libmp4v2.so.0.0.0

remove both from the above location?
User avatar
JohnAStebbins
HandBrake Team
Posts: 5712
Joined: Sat Feb 09, 2008 7:21 pm

Re: GTK GUI build from SVN gives Error

Post by JohnAStebbins »

I just checked in a fix. So you shouldn't need to uninstall the files now.

svn update, then rebuild everything. be sure to run autogen.sh in gtk again.
e.g. from HandBrake dir

svn update
make clean
make
cd gtk
./autogen.sh
make clean
make
rajkhand
Posts: 7
Joined: Tue Aug 19, 2008 5:19 am

Re: GTK GUI build from SVN gives Error

Post by rajkhand »

Thanks a lot for a great product!

I'll try as suggested. only one question

should I use make or jam?

again thanks

Raj
User avatar
JohnAStebbins
HandBrake Team
Posts: 5712
Joined: Sat Feb 09, 2008 7:21 pm

Re: GTK GUI build from SVN gives Error

Post by JohnAStebbins »

both jam and make work. but make does an extra step to update the version number. so when you have a problem and submit a log, we don't get mis-information about what version your using.
rajkhand
Posts: 7
Joined: Tue Aug 19, 2008 5:19 am

Re: GTK GUI build from SVN gives Error

Post by rajkhand »

I am getting error while compiling HandBrakeCLI. I cannot see which file failed to update from the terminal output.

Please help.

Code: Select all

anulepos_theora-granulepos_theora.o  ../lib/.libs/libtheora.a -L/home/raj/HandBrake/contrib/lib /home/raj/HandBrake/contrib/lib/libogg.a  
Making all in m4
make[4]: Nothing to be done for `all'.
make[4]: Nothing to be done for `all-am'.
Making install in lib
test -z "/home/raj/HandBrake/contrib/lib" || /bin/mkdir -p "/home/raj/HandBrake/contrib/lib"
 /bin/bash ../libtool --mode=install /usr/bin/install -c  'libtheoradec.la' '/home/raj/HandBrake/contrib/lib/libtheoradec.la'
/usr/bin/install -c .libs/libtheoradec.lai /home/raj/HandBrake/contrib/lib/libtheoradec.la
/usr/bin/install -c .libs/libtheoradec.a /home/raj/HandBrake/contrib/lib/libtheoradec.a
chmod 644 /home/raj/HandBrake/contrib/lib/libtheoradec.a
ranlib /home/raj/HandBrake/contrib/lib/libtheoradec.a
PATH="$PATH:/sbin" ldconfig -n /home/raj/HandBrake/contrib/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /home/raj/HandBrake/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 `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 /bin/bash ../libtool --mode=install /usr/bin/install -c  'libtheoraenc.la' '/home/raj/HandBrake/contrib/lib/libtheoraenc.la'
/usr/bin/install -c .libs/libtheoraenc.lai /home/raj/HandBrake/contrib/lib/libtheoraenc.la
/usr/bin/install -c .libs/libtheoraenc.a /home/raj/HandBrake/contrib/lib/libtheoraenc.a
chmod 644 /home/raj/HandBrake/contrib/lib/libtheoraenc.a
ranlib /home/raj/HandBrake/contrib/lib/libtheoraenc.a
PATH="$PATH:/sbin" ldconfig -n /home/raj/HandBrake/contrib/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /home/raj/HandBrake/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 `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 /bin/bash ../libtool --mode=install /usr/bin/install -c  'libtheora.la' '/home/raj/HandBrake/contrib/lib/libtheora.la'
/usr/bin/install -c .libs/libtheora.lai /home/raj/HandBrake/contrib/lib/libtheora.la
/usr/bin/install -c .libs/libtheora.a /home/raj/HandBrake/contrib/lib/libtheora.a
chmod 644 /home/raj/HandBrake/contrib/lib/libtheora.a
ranlib /home/raj/HandBrake/contrib/lib/libtheora.a
PATH="$PATH:/sbin" ldconfig -n /home/raj/HandBrake/contrib/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /home/raj/HandBrake/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 `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[4]: Nothing to be done for `install-data-am'.
Making install in include
Making install in theora
make[5]: Nothing to be done for `install-exec-am'.
test -z "/home/raj/HandBrake/contrib/include/theora" || /bin/mkdir -p "/home/raj/HandBrake/contrib/include/theora"
 /usr/bin/install -c -m 644 'theora.h' '/home/raj/HandBrake/contrib/include/theora/theora.h'
 /usr/bin/install -c -m 644 'theoradec.h' '/home/raj/HandBrake/contrib/include/theora/theoradec.h'
 /usr/bin/install -c -m 644 'theoraenc.h' '/home/raj/HandBrake/contrib/include/theora/theoraenc.h'
 /usr/bin/install -c -m 644 'codec.h' '/home/raj/HandBrake/contrib/include/theora/codec.h'
make[5]: Nothing to be done for `install-exec-am'.
make[5]: Nothing to be done for `install-data-am'.
Making install in doc
Making install in spec
make[5]: Nothing to be done for `install-exec-am'.
test -z "/home/raj/HandBrake/contrib/share/doc/libtheora-1.0beta3" || /bin/mkdir -p "/home/raj/HandBrake/contrib/share/doc/libtheora-1.0beta3"
make[5]: Nothing to be done for `install-exec-am'.
/bin/bash /home/raj/HandBrake/contrib/libtheora/install-sh -d /home/raj/HandBrake/contrib/share/doc/libtheora-1.0beta3
if test -d libtheora; then \
	  for dir in libtheora/*; do \
	    if test -d $dir; then \
	      b=`basename $dir`; \
	      /bin/bash /home/raj/HandBrake/contrib/libtheora/install-sh -d /home/raj/HandBrake/contrib/share/doc/libtheora-1.0beta3/$b; \
	      for f in $dir/*; do \
		/usr/bin/install -c -m 644 $f /home/raj/HandBrake/contrib/share/doc/libtheora-1.0beta3/$b; \
	      done \
	    fi \
	  done \
	fi
test -z "/home/raj/HandBrake/contrib/share/doc/libtheora-1.0beta3" || /bin/mkdir -p "/home/raj/HandBrake/contrib/share/doc/libtheora-1.0beta3"
 /usr/bin/install -c -m 644 'vp3-format.txt' '/home/raj/HandBrake/contrib/share/doc/libtheora-1.0beta3/vp3-format.txt'
 /usr/bin/install -c -m 644 'color.html' '/home/raj/HandBrake/contrib/share/doc/libtheora-1.0beta3/color.html'
 /usr/bin/install -c -m 644 'draft-ietf-avt-rtp-theora-00.xml' '/home/raj/HandBrake/contrib/share/doc/libtheora-1.0beta3/draft-ietf-avt-rtp-theora-00.xml'
 /usr/bin/install -c -m 644 'draft-ietf-avt-rtp-theora-00.txt' '/home/raj/HandBrake/contrib/share/doc/libtheora-1.0beta3/draft-ietf-avt-rtp-theora-00.txt'
 /usr/bin/install -c -m 644 'doxygen-build.stamp' '/home/raj/HandBrake/contrib/share/doc/libtheora-1.0beta3/doxygen-build.stamp'
Making install in tests
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
Making install in m4
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Nothing to be done for `install-exec-am'.
test -z "/home/raj/HandBrake/contrib/lib/pkgconfig" || /bin/mkdir -p "/home/raj/HandBrake/contrib/lib/pkgconfig"
 /usr/bin/install -c -m 644 'theora.pc' '/home/raj/HandBrake/contrib/lib/pkgconfig/theora.pc'
 /usr/bin/install -c -m 644 'theoradec.pc' '/home/raj/HandBrake/contrib/lib/pkgconfig/theoradec.pc'
 /usr/bin/install -c -m 644 'theoraenc.pc' '/home/raj/HandBrake/contrib/lib/pkgconfig/theoraenc.pc'
Wget ./x264.tar.gz 
--12:36:02--  http://download.m0k.org/handbrake/contrib/x264-r930-91d865c.tar.gz
           => `./x264.tar.gz'
Resolving download.m0k.org... 88.191.20.206
Connecting to download.m0k.org|88.191.20.206|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2,217,650 (2.1M) [application/octet-stream]

100%[====================================>] 2,217,650     95.90K/s    ETA 00:00

12:36:31 (76.93 KB/s) - `./x264.tar.gz' saved [2217650/2217650]

LibX264 ./lib/libx264.a 
patching file encoder/slicetype.c
Hunk #1 succeeded at 370 (offset -9 lines).
./version.sh: 2: git-rev-list: not found
Platform:   X86
System:     LINUX
asm:        yes
avis input: no
mp4 output: no
pthread:    yes
gtk:        no
debug:      no
gprof:      no
PIC:        no
shared:     no
visualize:  no

You can run 'make' or 'make fprofiled' now.
rm -f .depend
( echo -n "`dirname common/mc.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  common/mc.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname common/predict.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  common/predict.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname common/pixel.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  common/pixel.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname common/macroblock.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  common/macroblock.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname common/frame.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  common/frame.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname common/dct.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  common/dct.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname common/cpu.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  common/cpu.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname common/cabac.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  common/cabac.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname common/common.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  common/common.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname common/mdate.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  common/mdate.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname common/set.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  common/set.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname common/quant.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  common/quant.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname common/vlc.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  common/vlc.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname encoder/analyse.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  encoder/analyse.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname encoder/me.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  encoder/me.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname encoder/ratecontrol.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  encoder/ratecontrol.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname encoder/set.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  encoder/set.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname encoder/macroblock.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  encoder/macroblock.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname encoder/cabac.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  encoder/cabac.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname encoder/cavlc.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  encoder/cavlc.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname encoder/encoder.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  encoder/encoder.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname encoder/eval.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  encoder/eval.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname common/x86/mc-c.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  common/x86/mc-c.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname common/x86/predict-c.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  common/x86/predict-c.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname x264.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  x264.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname matroska.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  matroska.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname muxers.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  muxers.c -MM -g0 ) 1>> .depend;
gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer   -c -o common/mc.o common/mc.c
gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer   -c -o common/predict.o common/predict.c
gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer   -c -o common/pixel.o common/pixel.c
gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer   -c -o common/macroblock.o common/macroblock.c
gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer   -c -o common/frame.o common/frame.c
gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer   -c -o common/dct.o common/dct.c
gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer   -c -o common/cpu.o common/cpu.c
gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer   -c -o common/cabac.o common/cabac.c
gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer   -c -o common/common.o common/common.c
common/common.c: In function ‘x264_param_parse’:
common/common.c:249: warning: ‘saveptr’ may be used uninitialized in this function
gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer   -c -o common/mdate.o common/mdate.c
gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer   -c -o common/set.o common/set.c
gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer   -c -o common/quant.o common/quant.c
gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer   -c -o common/vlc.o common/vlc.c
gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer   -c -o encoder/analyse.o encoder/analyse.c
gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer   -c -o encoder/me.o encoder/me.c
gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer   -c -o encoder/ratecontrol.o encoder/ratecontrol.c
gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer   -c -o encoder/set.o encoder/set.c
gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer   -c -o encoder/macroblock.o encoder/macroblock.c
encoder/macroblock.c: In function ‘x264_macroblock_probe_skip’:
encoder/macroblock.c:624: warning: ‘mvp[0]’ may be used uninitialized in this function
encoder/macroblock.c:624: warning: ‘mvp[1]’ may be used uninitialized in this function
gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer   -c -o encoder/cabac.o encoder/cabac.c
gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer   -c -o encoder/cavlc.o encoder/cavlc.c
gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer   -c -o encoder/encoder.o encoder/encoder.c
gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer   -c -o encoder/eval.o encoder/eval.c
gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer   -c -o common/x86/mc-c.o common/x86/mc-c.c
gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer   -c -o common/x86/predict-c.o common/x86/predict-c.c
yasm -O2 -f elf -Icommon/x86/ -o common/x86/cabac-a.o common/x86/cabac-a.asm
yasm -O2 -f elf -Icommon/x86/ -o common/x86/dct-a.o common/x86/dct-a.asm
yasm -O2 -f elf -Icommon/x86/ -o common/x86/deblock-a.o common/x86/deblock-a.asm
yasm -O2 -f elf -Icommon/x86/ -o common/x86/mc-a.o common/x86/mc-a.asm
yasm -O2 -f elf -Icommon/x86/ -o common/x86/mc-a2.o common/x86/mc-a2.asm
yasm -O2 -f elf -Icommon/x86/ -o common/x86/pixel-a.o common/x86/pixel-a.asm
yasm -O2 -f elf -Icommon/x86/ -o common/x86/predict-a.o common/x86/predict-a.asm
yasm -O2 -f elf -Icommon/x86/ -o common/x86/quant-a.o common/x86/quant-a.asm
yasm -O2 -f elf -Icommon/x86/ -o common/x86/sad-a.o common/x86/sad-a.asm
yasm -O2 -f elf -Icommon/x86/ -o common/x86/cpu-32.o common/x86/cpu-32.asm
yasm -O2 -f elf -Icommon/x86/ -o common/x86/dct-32.o common/x86/dct-32.asm
yasm -O2 -f elf -Icommon/x86/ -o common/x86/pixel-32.o common/x86/pixel-32.asm
ar rc libx264.a common/mc.o common/predict.o common/pixel.o common/macroblock.o common/frame.o common/dct.o common/cpu.o common/cabac.o common/common.o common/mdate.o common/set.o common/quant.o common/vlc.o encoder/analyse.o encoder/me.o encoder/ratecontrol.o encoder/set.o encoder/macroblock.o encoder/cabac.o encoder/cavlc.o encoder/encoder.o encoder/eval.o common/x86/mc-c.o common/x86/predict-c.o common/x86/cabac-a.o common/x86/dct-a.o common/x86/deblock-a.o common/x86/mc-a.o common/x86/mc-a2.o common/x86/pixel-a.o common/x86/predict-a.o common/x86/quant-a.o common/x86/sad-a.o common/x86/cpu-32.o common/x86/dct-32.o common/x86/pixel-32.o
ranlib libx264.a
Wget ./xvidcore.tar.gz 
--12:37:36--  http://download.m0k.org/handbrake/contrib/xvidcore-1.1.3.tar.gz
           => `./xvidcore.tar.gz'
Resolving download.m0k.org... 88.191.20.206
Connecting to download.m0k.org|88.191.20.206|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 739,835 (722K) [application/octet-stream]

100%[====================================>] 739,835      196.05K/s    ETA 00:00

12:37:41 (181.80 KB/s) - `./xvidcore.tar.gz' saved [739835/739835]

LibXvidCore ./lib/libxvidcore.a 
patching file build/generic/configure
Hunk #1 succeeded at 4016 with fuzz 2.
patching file src/dct/x86_asm/fdct_sse2_skal.asm
configure: loading cache /home/raj/HandBrake/contrib/config.cache
checking build system type... (cached) i686-pc-linux-gnu
checking host system type... (cached) i686-pc-linux-gnu
checking target system type... (cached) i686-pc-linux-gnu
checking whether to use default CFLAGS... yes
checking for gcc... (cached) gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking for a BSD-compatible install... (cached) /usr/bin/install -c
checking for ranlib... (cached) ranlib
checking for whether to use assembly code... yes
checking for architecture type... ia32
checking how to run the C preprocessor... (cached) gcc -E
checking for egrep... (cached) grep -E
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for int *... yes
checking size of int *... 4
checking whether byte ordering is bigendian... (cached) no
checking for build extensions... .so .a .o
checking for platform specific LDFLAGS/CFLAGS... ok
checking for yasm... yes
checking for asm object format... elf
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
updating cache /home/raj/HandBrake/contrib/config.cache
configure: creating ./config.status
config.status: creating platform.inc
  D: =build
  C: ./decoder.c
  C: ./encoder.c
  C: ./xvid.c
  C: bitstream/bitstream.c
  C: bitstream/cbp.c
  C: bitstream/mbcoding.c
../../src/bitstream/mbcoding.c: In function ‘get_inter_block_h263’:
../../src/bitstream/mbcoding.c:1106: warning: ‘last’ may be used uninitialized in this function
../../src/bitstream/mbcoding.c: In function ‘get_intra_block’:
../../src/bitstream/mbcoding.c:1066: warning: ‘last’ may be used uninitialized in this function
../../src/bitstream/mbcoding.c: In function ‘get_inter_block_mpeg’:
../../src/bitstream/mbcoding.c:1141: warning: ‘last’ may be used uninitialized in this function
  C: dct/fdct.c
  C: dct/idct.c
  C: dct/simple_idct.c
  C: image/colorspace.c
  C: image/image.c
  C: image/interpolate8x8.c
  C: image/font.c
  C: image/postprocessing.c
  C: image/qpel.c
  C: image/reduced.c
  C: motion/estimation_bvop.c
  C: motion/estimation_common.c
  C: motion/estimation_gmc.c
  C: motion/estimation_pvop.c
  C: motion/estimation_rd_based.c
  C: motion/estimation_rd_based_bvop.c
  C: motion/gmc.c
  C: motion/motion_comp.c
  C: motion/vop_type_decision.c
  C: motion/sad.c
  C: prediction/mbprediction.c
  C: plugins/plugin_single.c
  C: plugins/plugin_2pass1.c
  C: plugins/plugin_2pass2.c
  C: plugins/plugin_lumimasking.c
  C: plugins/plugin_dump.c
  C: plugins/plugin_psnr.c
  C: quant/quant_h263.c
  C: quant/quant_matrix.c
  C: quant/quant_mpeg.c
  C: utils/emms.c
  C: utils/mbtransquant.c
  C: utils/mem_align.c
  C: utils/mem_transfer.c
  C: utils/timer.c
  A: bitstream/x86_asm/cbp_3dne.asm
  A: bitstream/x86_asm/cbp_mmx.asm
  A: bitstream/x86_asm/cbp_sse2.asm
  A: dct/x86_asm/fdct_mmx_ffmpeg.asm
  A: dct/x86_asm/fdct_mmx_skal.asm
  A: dct/x86_asm/fdct_sse2_skal.asm
  A: dct/x86_asm/idct_3dne.asm
  A: dct/x86_asm/idct_mmx.asm
  A: dct/x86_asm/idct_sse2_dmitry.asm
  A: dct/x86_asm/simple_idct_mmx.asm
  A: image/x86_asm/colorspace_rgb_mmx.asm
  A: image/x86_asm/colorspace_yuv_mmx.asm
  A: image/x86_asm/colorspace_yuyv_mmx.asm
  A: image/x86_asm/interpolate8x8_3dn.asm
  A: image/x86_asm/interpolate8x8_3dne.asm
  A: image/x86_asm/interpolate8x8_mmx.asm
  A: image/x86_asm/interpolate8x8_xmm.asm
  A: image/x86_asm/postprocessing_mmx.asm
  A: image/x86_asm/postprocessing_sse2.asm
  A: image/x86_asm/reduced_mmx.asm
  A: image/x86_asm/qpel_mmx.asm
  A: motion/x86_asm/sad_xmm.asm
  A: motion/x86_asm/sad_sse2.asm
  A: motion/x86_asm/sad_mmx.asm
  A: motion/x86_asm/sad_3dne.asm
  A: motion/x86_asm/sad_3dn.asm
  A: quant/x86_asm/quantize_h263_mmx.asm
  A: quant/x86_asm/quantize_h263_3dne.asm
  A: quant/x86_asm/quantize_mpeg_xmm.asm
  A: quant/x86_asm/quantize_mpeg_mmx.asm
  A: utils/x86_asm/mem_transfer_mmx.asm
  A: utils/x86_asm/mem_transfer_3dne.asm
  A: utils/x86_asm/interlacing_mmx.asm
  A: utils/x86_asm/cpuid.asm
  L: libxvidcore.a
...failed updating 1 target(s)...
...updated 17 target(s)...
make[1]: *** [.contrib] Error 1
make: *** [contrib/.contrib] Error 2
raj@raj-desktop:~/HandBrake$ 

rajkhand
Posts: 7
Joined: Tue Aug 19, 2008 5:19 am

Re: GTK GUI build from SVN gives Error [Solved]

Post by rajkhand »

I again ran make clean & make and the error disappeared

I was able to compile both the GUI and CLI and have tested both and both are working perfectly
HandBrake svn1647

Code: Select all

[16:18:12] hb_init: checking cpu count
[16:18:12] hb_init: starting libhb thread
[16:18:12] thread b6090b90 started ("libhb")
[16:18:41] hb_scan: path=/home/raj/Videos/00052.mpg, title_index=0
[16:18:41] scan: trying to open with libdvdread
[16:18:41] dvd: not a dvd - trying as a stream/file instead
[16:18:41] file is MPEG DVD Program Stream
[16:18:41] thread b5814b90 started ("scan")
[16:18:41] add_audio_to_title: added AC3 audio stream 0x80bd
[16:18:42] scan: decoding previews for title 1
[16:18:42] scan: preview 1
[16:18:42] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=256000 Unknown (AC3) (2.0 ch)
[16:18:42] scan: preview 2
[16:18:42] scan: preview 3
[16:18:42] scan: preview 4
[16:18:42] scan: preview 5
[16:18:42] scan: preview 6
[16:18:42] scan: preview 7
[16:18:42] scan: preview 8
[16:18:42] scan: preview 9
[16:18:42] scan: preview 10
[16:18:42] scan: 10 previews, 720x576, 25.000 fps, autocrop = 0/0/0/0, aspect 1.78:1, PAR 64:45
[16:18:42] scan: title (0) job->width:720, job->height:400
[16:18:42] thread b5814b90 exited ("scan")
[16:18:42] thread b5814b90 joined ("scan")
[16:18:42] libhb: scan thread found 1 valid title(s)
[16:20:01] 1 job(s) to process
[16:20:01] starting job
[16:20:01] job configuration:
[16:20:01]  * source
[16:20:01]    + /home/raj/Videos/00052.mpg
[16:20:01]    + title 1, chapter(s) 1 to 1
[16:20:01]  * destination
[16:20:01]    + /home/raj/Videos/00052.mp4
[16:20:01]    + container: MPEG-4 (.mp4 and .m4v)
[16:20:01]      + compatibility atom for iPod 5G
[16:20:01]      + chapter markers
[16:20:01]  * video track
[16:20:01]    + decoder: mpeg2
[16:20:01]      + bitrate 9800 kbps
[16:20:01]    + frame rate: same as source (around 25.000 fps)
[16:20:01]    + dimensions: 720 * 576 -> 480 * 272, crop 0/0/0/0
[16:20:01]    + filter
[16:20:01]      + Deinterlace (ffmpeg or yadif/mcdeint) (2:-1:-1:0:1)
[16:20:01]    + encoder: x264
[16:20:01]      + options: level=30:cabac=0:analyse=all:me=umh:subme=6:no-fast-pskip=1
[16:20:01]      + bitrate: 960 kbps, pass: 0
[16:20:01]  * audio track 0
[16:20:01]    + decoder: Unknown (AC3) (2.0 ch) (track 0, id 80bd)
[16:20:01]      + bitrate: 256 kbps, samplerate: 48000 Hz
[16:20:01]    + mixdown: Stereo
[16:20:01]    + encoder: faac
[16:20:01]      + bitrate: 128 kbps, samplerate: 48000 Hz
[16:20:01] dvd: not a dvd - trying as a stream/file instead
[16:20:01] reader: first SCR 144 scr_offset 15991
[16:20:01] thread b5814b90 started ("work")
[16:20:01] thread b4c55b90 started ("reader")
[16:20:01] thread b4329b90 started ("MPEG-2 decoder (libmpeg2)")
[16:20:01] Yadif Deinterlace thread started for segment 0
[16:20:01] thread b394bb90 started ("yadif_filter_segment")
[16:20:01] mpeg2: "Chapter  0" (1) at frame 0 time 7200
[16:20:01] thread b3049b90 started ("Renderer")
[16:20:01] encx264: opening libx264 (pass 0)
x264 [info]: using cpu capabilities: MMX2
[16:20:01] thread b26a0b90 started ("H.264/AVC encoder (libx264)")
No accelerated IMDCT transform found
[16:20:01] thread b1d9eb90 started ("AC3 decoder")
[16:20:01] thread b06c1b90 started ("AAC encoder (libfaac)")
[16:20:01] thread afcbeb90 started ("muxer")
[16:20:01] sync: expecting 502 video frames
[16:20:01] sync: first pts is 7200
[16:20:01] sync: adding 80 ms of silence to audio 0  start 7200, next 0
[16:20:01] About to add iPod atom
[16:20:01] sync: audio 0 time went backwards 0 ms, dropped 1 frames (next 8640, current 8640)
[16:20:46] reader: done. 0 scr changes
[16:20:46] thread b4c55b90 exited ("reader")
[16:20:48] sync: got 477 frames, 502 expected
[16:20:49] mux: file size, 2666265 bytes
[16:20:49] mux: track 0, 2348262 bytes, 982.54 kbps
[16:20:49] mux: video bitrate error, +53862 bytes
[16:20:49] mux: track 1, 310461 bytes, 129.90 kbps
[16:20:49] mux: overhead, 5.45 bytes per frame
[16:20:49] thread afcbeb90 exited ("muxer")
[16:20:49] thread afcbeb90 joined ("muxer")
[16:20:49] thread b3049b90 exited ("Renderer")
[16:20:49] thread b06c1b90 exited ("AAC encoder (libfaac)")
[16:20:49] thread b1d9eb90 exited ("AC3 decoder")
[16:20:49] thread b4329b90 exited ("MPEG-2 decoder (libmpeg2)")
[16:20:49] thread b4329b90 joined ("MPEG-2 decoder (libmpeg2)")
[16:20:49] mpeg2 done: 478 frames
[16:20:49] thread b3049b90 joined ("Renderer")
[16:20:49] render: lost time: 0 (0 frames)
[16:20:49] render: gained time: 0 (0 frames) (0 not accounted for)
[16:20:49] fifo_close: trashing 1 buffer(s)
[16:20:49] fifo_close: trashing 0 buffer(s)
[16:20:49] thread b26a0b90 exited ("H.264/AVC encoder (libx264)")
[16:20:49] thread b26a0b90 joined ("H.264/AVC encoder (libx264)")
x264 [info]: slice I:2     Avg QP:26.24  size: 26282  PSNR Mean Y:36.08 U:41.99 V:42.83 Avg:37.33 Global:36.49
x264 [info]: slice P:474   Avg QP:26.41  size:  4842  PSNR Mean Y:34.94 U:40.96 V:42.44 Avg:36.25 Global:36.19
x264 [info]: mb I  I16..4: 18.4%  0.0% 81.6%
x264 [info]: mb P  I16..4:  0.4%  0.0%  0.0%  P16..4: 58.5% 24.1%  6.2%  0.4%  0.2%    skip:10.1%
x264 [info]: final ratefactor: 22.30
x264 [info]: SSIM Mean Y:0.9599011
x264 [info]: PSNR Mean Y:34.943 U:40.962 V:42.438 Avg:36.258 Global:36.194 kb/s:986.46
[16:20:49] thread b1d9eb90 joined ("AC3 decoder")
[16:20:49] thread b06c1b90 joined ("AAC encoder (libfaac)")
[16:20:49] thread b4c55b90 joined ("reader")
[16:20:49] fifo_close: trashing 0 buffer(s)
[16:20:49] fifo_close: trashing 1 buffer(s)
[16:20:49] fifo_close: trashing 0 buffer(s)
[16:20:49] fifo_close: trashing 0 buffer(s)
[16:20:49] fifo_close: trashing 0 buffer(s)
[16:20:49] fifo_close: trashing 0 buffer(s)
[16:20:49] fifo_close: trashing 0 buffer(s)
[16:20:49] fifo_close: trashing 0 buffer(s)
[16:20:49] fifo_close: trashing 0 buffer(s)
[16:20:49] thread b394bb90 exited ("yadif_filter_segment")
[16:20:49] thread b394bb90 joined ("yadif_filter_segment")
[16:20:49] Freed 9 buffers of size 1024
[16:20:49] Freed 32 buffers of size 2048
[16:20:49] Freed 17 buffers of size 16384
[16:20:49] Freed 1 buffers of size 32768
[16:20:49] Freed 10 buffers of size 262144
[16:20:49] Freed 22 buffers of size 1048576
[16:20:49] Allocated 26108928 bytes of buffers on this pass and Freed 26076160 bytes, 32768 bytes leaked
[16:20:49] thread b5814b90 exited ("work")
[16:20:49] thread b5814b90 joined ("work")
[16:20:49] libhb: work result = 0
I am extremely thankful to you

regards
Raj
Post Reply