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

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

 

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

Reply
 
Thread Tools Display Modes
Old 12th December 2009, 15:09   #2821  |  Link
qyot27
...?
 
qyot27's Avatar
 
Join Date: Nov 2005
Location: Florida
Posts: 176
Quote:
Originally Posted by J_Darnley View Post
Well since cygwin and msys are unix-like, setting CC should work fine. Certainly using --cc when configuring ffmpeg gets it to use my gcc 4 which is installed in the same folder as 3.4.5
Downloaded TDM SJLJ GCC 4.4.1 core and g++ packages.*
Extracted them, and appended -4.4.1 to the end of each.
Put them in /bin.

cd x264
CC=gcc4.4.1 ./configure (or CC=gcc4, doesn't matter)
No working C compiler found.

Neither does it work if I unpack them without renaming to /gcc4 and add an entry to fstab that points there. Still no working C compiler. Like kemuri-_9 said, you have to constantly rename the gcc bin files back and forth for which one you want to use at the time, or use full pathnames (and CC= and --cross-prefix are not the solutions to that). I knew that already, which is why I said separate installations are the easiest to deal with. Then no renaming is necessary - just fire up your GCC 4.4.x-enabled installation, or your GCC 3.4.5-enabled one, which don't talk to each other at all and have a complete MSys each that's are all their own.

Cygwin and MSys may both be Unix-like, but MSys =/= Cygwin. If you want to explain how you got multiple GCC versions working under a single install of MSys without having to rename anything and only calling CC= or --cc=, then I'd be more than happy to hear it. But from where I'm standing (including wasting all of this morning trying to no avail), it's not possible.




*I even grabbed komisar's GCC 4.4.2 build and extracted it out to the empty /mingw directory and pointed it there - still no dice.
qyot27 is offline   Reply With Quote
Old 12th December 2009, 15:42   #2822  |  Link
J_Darnley
Registered User
 
J_Darnley's Avatar
 
Join Date: May 2006
Posts: 702
CC=gcc-sjlj ./configure works4me.
Is gcc actually called "gcc4.4.1.exe" or "gcc4.exe"?
I think I just extracted the 4.2.1 archives (from mingw) into the my mingw folder and they just worked. They already had the -sjlj suffix.
__________________
x264 log explained || x264 deblocking how-to
preset -> tune -> user set options -> fast first pass -> profile -> level
Doom10 - Of course it's better, it's one more.
J_Darnley is online now   Reply With Quote
Old 12th December 2009, 16:01   #2823  |  Link
kemuri-_9
Compiling Encoder
 
kemuri-_9's Avatar
 
Join Date: Jan 2007
Posts: 1,153
if you only download the different gcc and don't have the libs and include files in the new gcc's search path,
you can cheat by adding the library and include paths from your full installation to the commandline,

i.e.:
CC=gcc-blah ./configure --extra-cflags=-I/mingw/include --extra-ldflags=-L/mingw/lib

where there's a full installation at /mingw and the CC you give is only the compiler (no runtime and no headers in its search path)

you won't have to do this if you extract the gcc to the same prefix as your current installation (granted the executable names are different and won't overwrite anything)
__________________
custom x264 builds & patches | F@H | My Specs
kemuri-_9 is offline   Reply With Quote
Old 12th December 2009, 16:32   #2824  |  Link
qyot27
...?
 
qyot27's Avatar
 
Join Date: Nov 2005
Location: Florida
Posts: 176
Ok, thanks. Everything's working now the way it should. Now I just have to get 4.4.2 in there instead of 4.4.1.
qyot27 is offline   Reply With Quote
Old 13th December 2009, 19:36   #2825  |  Link
techouse
Strictly Rhythm
 
techouse's Avatar
 
Join Date: Jul 2007
Location: Ljubljana, Slovenia
Posts: 165
Another way to permanently change the default CC is via /etc/fstab
__________________
techouse is offline   Reply With Quote
Old 16th December 2009, 00:51   #2826  |  Link
[ReX]
Registered User
 
Join Date: Jul 2007
Posts: 70
My x264 r1376 builds.

GCC 4.5.0 (experimental) builds

Generic (fprofiled)
Patch used: x264_hrd_pd_interlace.16_r1369.diff

-march=core2 (fprofiled)
Patch used: x264_hrd_pd_interlace.16_r1369.diff


(NEW) GCC 3.4.6 build

Generic (fprofiled)
Patch used: x264_hrd_pd_interlace.16_r1369.diff


ICC 11.1.051 builds
Thanks to MasterNobody and XhmikosR.

Generic (fprofiled)
Patches used: x264_icc_r1373.diff and x264_hrd_pd_interlace.16_r1369.diff

/QaxSSSE3 /O3 (fprofiled)
Patches used: x264_icc_r1373.diff and x264_hrd_pd_interlace.16_r1369.diff

/QxSSSE3 /O3 (fprofiled)
Patches used: x264_icc_r1373.diff and x264_hrd_pd_interlace.16_r1369.diff

Last edited by [ReX]; 16th December 2009 at 15:50. Reason: GCC 3.4.6 build added
[ReX] is offline   Reply With Quote
Old 16th December 2009, 16:15   #2827  |  Link
techouse
Strictly Rhythm
 
techouse's Avatar
 
Join Date: Jul 2007
Location: Ljubljana, Slovenia
Posts: 165
x264_x86_r1376_vanilla_gcc_techouse
GCC 4.4.2 20091019 (x86.generic.Komisar), unpatched, generic, fprofiled

x264_x64_r1376_vanilla_gcc_techouse
GCC 4.4.2 20091019 (x86_64.generic.Komisar), unpatched, generic, fprofiled

---------------------------------------------------------

x264_x86_r1376_gcc_techouse | INFO
GCC 4.4.2 20091019 (x86.generic.Komisar), generic, fprofiled

x264_x64_r1376_gcc_techouse | INFO
GCC 4.4.2 20091019 (x86_64.generic.Komisar), generic, fprofiled

Patches used:

x264_hrd_pd_interlace.16_r1369.diff

---------------------------------------------------------

x264_x86_r1376_vanilla_icc_techouse
Intel C++ Compiler 11.1.051, almost unpatched, -QxSSSE3 -O3, fprofiled

x264_x64_r1376_vanilla_icc_techouse
Intel C++ Compiler 11.1.051, almost unpatched, -QxSSSE3 -O3, fprofiled

Patches used:

x264_icc_13_win.diff

---------------------------------------------------------

x264_x86_r1376_icc_techouse | INFO
Intel C++ Compiler 11.1.051, -QxSSSE3 -O3, fprofiled

x264_x64_r1376_icc_techouse | INFO
Intel C++ Compiler 11.1.051, -QxSSSE3 -O3, fprofiled

Patches used:

x264_icc_13_win.diff
x264_hrd_pd_interlace.16_r1369.diff
__________________
techouse is offline   Reply With Quote
Old 16th December 2009, 16:21   #2828  |  Link
techouse
Strictly Rhythm
 
techouse's Avatar
 
Join Date: Jul 2007
Location: Ljubljana, Slovenia
Posts: 165
Quote:
Originally Posted by kemuri-_9 View Post
if you only download the different gcc and don't have the libs and include files in the new gcc's search path,
you can cheat by adding the library and include paths from your full installation to the commandline,

i.e.:
CC=gcc-blah ./configure --extra-cflags=-I/mingw/include --extra-ldflags=-L/mingw/lib

where there's a full installation at /mingw and the CC you give is only the compiler (no runtime and no headers in its search path)

you won't have to do this if you extract the gcc to the same prefix as your current installation (granted the executable names are different and won't overwrite anything)
If you're doing more than 1 build with the same CC it's probably a good idea to export it before running configure and then use it as default.
__________________
techouse is offline   Reply With Quote
Old 25th December 2009, 09:13   #2829  |  Link
olapanekala
Registered User
 
olapanekala's Avatar
 
Join Date: Sep 2009
Location: Athens, Hellas
Posts: 32
Happy Holidays to everyone
olapanekala is offline   Reply With Quote
Old 25th December 2009, 15:09   #2830  |  Link
aegisofrime
Registered User
 
Join Date: Apr 2009
Posts: 177
My version of x264 (r1376) feels old Are the x264 developers planning a Christmas present for us?
aegisofrime is offline   Reply With Quote
Old 25th December 2009, 15:16   #2831  |  Link
Fr4nz
Registered User
 
Join Date: Feb 2003
Posts: 448
Probably they're on vacation like us...

Last edited by Fr4nz; 25th December 2009 at 15:25.
Fr4nz is offline   Reply With Quote
Old 25th December 2009, 15:24   #2832  |  Link
Sharc
Registered User
 
Join Date: May 2006
Posts: 1,271
Quote:
Originally Posted by aegisofrime View Post
My version of x264 (r1376) feels old Are the x264 developers planning a Christmas present for us?
What improvements / features are you waiting for?
Sharc is offline   Reply With Quote
Old 25th December 2009, 16:51   #2833  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Location: Claremont, CA
Posts: 7,934
Download this clip, open it in VLC or MPC-HC, and seek anywhere in the video. Oh and it has no keyframes.
__________________
I am no longer at Doom9. You will find me at x264's new home, doom10.org.
Dark Shikari is offline   Reply With Quote
Old 25th December 2009, 17:05   #2834  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Germany
Posts: 8,526
Interesting. What does "PIR" stand for please? And is there any loss in compression efficiency?
LoRd_MuldeR is offline   Reply With Quote
Old 25th December 2009, 17:11   #2835  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Location: Claremont, CA
Posts: 7,934
Quote:
Originally Posted by LoRd_MuldeR View Post
Interesting. What does "PIR" stand for please? And is there any loss in compression efficiency?
Periodic Intra Refresh. The loss exists, but it's not that large when compared to having a similar keyframe interval (e.g. keyint=35 for a PAL SD video.)

More importantly, combined with other changes, this allows:

1. Zero encoder, decoder, and buffer latency.
2. Error resilience up to 20-25% packet loss rates, using one-slice-per-packet.
3. No keyframes beyond the first, so constant or capped framesize are both possible.
4. Realtime HD encoding at zero latency.

In other words, x264 is now the greatest encoder in the world for realtime video applications, like videoconferencing, and anyone who uses anything else needs to have their head examined
__________________
I am no longer at Doom9. You will find me at x264's new home, doom10.org.
Dark Shikari is offline   Reply With Quote
Old 25th December 2009, 17:15   #2836  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Germany
Posts: 8,526
I see. But I guess we won't use that for "movie" encodes with (almost) unrestricted key-frame interval and no "zero latency" requirement, right?

BTW: The DivX H.264 Decoder crashes when seeking in that stream
LoRd_MuldeR is offline   Reply With Quote
Old 25th December 2009, 17:26   #2837  |  Link
TEB
Registered User
 
Join Date: Feb 2003
Posts: 248
Quote:
Originally Posted by Dark Shikari View Post
Periodic Intra Refresh. The loss exists, but it's not that large when compared to having a similar keyframe interval (e.g. keyint=35 for a PAL SD video.)

More importantly, combined with other changes, this allows:

1. Zero encoder, decoder, and buffer latency.
2. Error resilience up to 20-25% packet loss rates, using one-slice-per-packet.
3. No keyframes beyond the first, so constant or capped framesize are both possible.
4. Realtime HD encoding at zero latency.

In other words, x264 is now the greatest encoder in the world for realtime video applications, like videoconferencing, and anyone who uses anything else needs to have their head examined
Awesomely cewl, do u have any reccomendations for a HD-SDI input card that would work with x264 in a workflow that can spew out Multicast? I wanna show the guys at work how good quality X264 can do vs a HW encoder for RT HD coding , Now we just need to make a good RT workflow that will mux audio and put it into a container
TE

Last edited by TEB; 25th December 2009 at 17:29.
TEB is offline   Reply With Quote
Old 25th December 2009, 19:38   #2838  |  Link
Disabled
Registered User
 
Join Date: Aug 2004
Posts: 198
That looks and sounds awesome. That feature is part of the extended profile, is it? Would it be possible to refresh in different patterns than from top to bottom? Like in an interlaced pattern?
And do you know of any software using x264 for streaming? Like a videoconference app?
Disabled is offline   Reply With Quote
Old 25th December 2009, 19:40   #2839  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Location: Claremont, CA
Posts: 7,934
Quote:
Originally Posted by Disabled View Post
That looks and sounds awesome. That feature is part of the extended profile, is it?
No, it's an encoder-side feature unrelated to profile.
Quote:
Originally Posted by Disabled View Post
Would it be possible to refresh in different patterns than from top to bottom? Like in an interlaced pattern?
Only if we enabled constrained intra prediction. All patterns that don't use constrained intra prediction must work from the top left to the bottom right (in some variation).
Quote:
Originally Posted by Disabled View Post
And do you know of any software using x264 for streaming? Like a videoconference app?
There are at least three low-latency x264-using apps in development.
__________________
I am no longer at Doom9. You will find me at x264's new home, doom10.org.
Dark Shikari is offline   Reply With Quote
Old 26th December 2009, 06:52   #2840  |  Link
Blue_MiSfit
Don't interlace me...
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 4,280
Nice Merry Christmas, DS - and all the trolls on doom9

~MiSfit
__________________
Use x264. Seriously, use it right now.
Blue_MiSfit is offline   Reply With Quote
Reply

Tags
h.264, x264, x264 builds, x264 patches, x264 unofficial builds

Thread Tools
Display Modes

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

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

Forum Jump


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


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.