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

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

 

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

Reply
 
Thread Tools Search this Thread Display Modes
Old 6th September 2008, 06:07   #941  |  Link
gav1577
Registered User
 
gav1577's Avatar
 
Join Date: Sep 2004
Location: Wales UK
Posts: 228
Quote:
Originally Posted by skystrife View Post
I just did a quick test (same settings, different source) and the output was fine. Downloading your source and avs now.
Ok thanks BTW previous versions work fine with the source sample
gav1577 is offline   Reply With Quote
Old 6th September 2008, 06:13   #942  |  Link
gav1577
Registered User
 
gav1577's Avatar
 
Join Date: Sep 2004
Location: Wales UK
Posts: 228
Quote:
Originally Posted by skystrife View Post
I just did a quick test (same settings, different source) and the output was fine. Downloading your source and avs now.

EDIT: With your source something definitely borked. I don't know what.
If thats the case how come previous builds work fine ? source is cut from original blu ray. Do you have the same problem with older builds?

Last edited by gav1577; 6th September 2008 at 06:16.
gav1577 is offline   Reply With Quote
Old 6th September 2008, 06:17   #943  |  Link
kemuri-_9
Compiling Encoder
 
kemuri-_9's Avatar
 
Join Date: Jan 2007
Posts: 1,348
DirectShowSource() <--- is the devil, don't use it.
use neuron2's DGAVCIndex
__________________
custom x264 builds & patches | F@H | My Specs
kemuri-_9 is offline   Reply With Quote
Old 6th September 2008, 06:19   #944  |  Link
skystrife
Registered User
 
skystrife's Avatar
 
Join Date: Feb 2007
Posts: 176
Quote:
Originally Posted by kemuri-_9 View Post
DirectShowSource() <--- is the devil, don't use it.
use neuron2's DGAVCIndex
Well even then, if the avs is playing fine when I preview it in MPC it shouldn't be doing anything like this when I encode it, right?

(Also, in case my EDIT2 was missed, both Ranguvar and my builds are affected, so beware for bugs in both.)
skystrife is offline   Reply With Quote
Old 6th September 2008, 06:24   #945  |  Link
gav1577
Registered User
 
gav1577's Avatar
 
Join Date: Sep 2004
Location: Wales UK
Posts: 228
Quote:
Originally Posted by kemuri-_9 View Post
DirectShowSource() <--- is the devil, don't use it.
use neuron2's DGAVCIndex
same outcome from FFmpeg r14675 when muxed to mkv havent tried DGAVCIndex yet


Thanks for confirming skystrife

Last edited by gav1577; 6th September 2008 at 06:38.
gav1577 is offline   Reply With Quote
Old 6th September 2008, 06:37   #946  |  Link
skystrife
Registered User
 
skystrife's Avatar
 
Join Date: Feb 2007
Posts: 176
Vanilla r964 build has the issue here for me, so this is most likely not related to the patching. What setting exactly is fuxing the output though is beyond me, I'm slowly removing every setting and not getting anywhere.

Any ideas?
skystrife is offline   Reply With Quote
Old 6th September 2008, 06:39   #947  |  Link
gav1577
Registered User
 
gav1577's Avatar
 
Join Date: Sep 2004
Location: Wales UK
Posts: 228
Quote:
Originally Posted by skystrife View Post
Vanilla r964 build has the issue here for me, so this is most likely not related to the patching. What setting exactly is fuxing the output though is beyond me, I'm slowly removing every setting and not getting anywhere.

Any ideas?
Same here i tried everything i could think of before i posted
gav1577 is offline   Reply With Quote
Old 6th September 2008, 07:15   #948  |  Link
kemuri-_9
Compiling Encoder
 
kemuri-_9's Avatar
 
Join Date: Jan 2007
Posts: 1,348
well i tried working at it and in different players, the frames were definitely miscolored, so maybe one of the new updates had a regression where the chroma gets corrupted.

tried on something else and got similar massive corruption.

when reverting back to my r956 build, there were no problems.
__________________
custom x264 builds & patches | F@H | My Specs

Last edited by kemuri-_9; 6th September 2008 at 07:20.
kemuri-_9 is offline   Reply With Quote
Old 6th September 2008, 07:15   #949  |  Link
gigah72
Registered User
 
Join Date: Feb 2002
Location: OF/Germany
Posts: 111
Quote:
Originally Posted by gav1577 View Post
Im having serious visual problems with this build can some one confirm /reproduce ?

--pass 1 --bitrate 4500 --stats "C:\Documents and Settings\me\Desktop\123.stats" --level 4.1 --keyint 24 --min-keyint 2 --bframes 3 --direct auto --subme 1 --partitions none --ipratio 1.1 --pbratio 1.1 --vbv-bufsize 16500 --vbv-maxrate 16500 --qcomp 0.5 --me dia --threads auto --thread-input --sar 1:1 --progress --no-psnr --no-ssim --output NUL "C:\Documents and Settings\me\Desktop\123.avs" --mvrange 511 --aud --nal-hrd --sar 1:1

--pass 2 --bitrate 4500 --stats "C:\Documents and Settings\me\Desktop\123.stats" --level 4.1 --keyint 24 --min-keyint 2 --ref 3 --mixed-refs --bframes 3 --b-rdo --bime --weightb --direct auto --subme 6 --trellis 1 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --ipratio 1.1 --pbratio 1.1 --vbv-bufsize 16500 --vbv-maxrate 16500 --qcomp 0.5 --me umh --threads auto --thread-input --sar 1:1 --progress --no-psnr --no-ssim --output "C:\Documents and Settings\me\Desktop\123.mp4" "C:\Documents and Settings\me\Desktop\123.avs" --mvrange 511 --aud --nal-hrd --sar 1:1

megui profile HD AVCHD Source sample logs avs provided below Thanks
http://www.mediafire.com/?sharekey=3...db6fb9a8902bda

screen shot of output




now with 964 i get the same nice green with my mpeg2source sample and crf settings??
957 works fine.

EDIT:
coreavc in mpc decodes the broken scene, powerdvd in mpc just skipps over the broken scene...
maybe this does say something to someone?

EDIT2:
964 broken: http://www.mediafire.com/?i9h3tshdlcs
957 ok: http://www.mediafire.com/?1llhbmrsjdy

Last edited by gigah72; 6th September 2008 at 07:35.
gigah72 is offline   Reply With Quote
Old 6th September 2008, 07:37   #950  |  Link
kemuri-_9
Compiling Encoder
 
kemuri-_9's Avatar
 
Join Date: Jan 2007
Posts: 1,348
i went through git revisions one by one starting from r958 to find which one caused the problem...

revision 963 caused the problem, meaning from r962 to r963, the problematic code occurs.
__________________
custom x264 builds & patches | F@H | My Specs

Last edited by kemuri-_9; 6th September 2008 at 07:48. Reason: typoz
kemuri-_9 is offline   Reply With Quote
Old 6th September 2008, 07:45   #951  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,689
Quote:
Originally Posted by kemuri-_9 View Post
i went through git revisions one by one starting from r958 to find which one caused the problem...

revision 953 caused the problem, meaning from r952 to r953, the problematic code occurs.
Huh? That doesn't even make sense... r953? Are you sure you don't mean r963?

Anyways, this seems odd because I ran all of these patches through a huge slew of regression tests, and posted the patches in #x264 IRC, where another few people ran them through all of their own regression tests and confirmed that they worked flawlessly...

Last edited by Dark Shikari; 6th September 2008 at 07:48.
Dark Shikari is offline   Reply With Quote
Old 6th September 2008, 07:48   #952  |  Link
kemuri-_9
Compiling Encoder
 
kemuri-_9's Avatar
 
Join Date: Jan 2007
Posts: 1,348
yeah, typo on my part.... (i blame the fact that it is 2am)
cherry picking from 962 to 964 also has no problems.
__________________
custom x264 builds & patches | F@H | My Specs

Last edited by kemuri-_9; 6th September 2008 at 07:50.
kemuri-_9 is offline   Reply With Quote
Old 6th September 2008, 08:15   #953  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,689
Indeed, there was a subtle test case in which it failed (a very rare one which almost never crops up... almost) and thus slipped past our regression tests.

Thanks for the report, fixed in r965.
Dark Shikari is offline   Reply With Quote
Old 6th September 2008, 08:17   #954  |  Link
Soichiro
Registered User
 
Join Date: May 2007
Posts: 68
I can confirm that there's an issue in r963. Horrible blocking shows up in the encode, which I've run 3 times now. It's not there in the source, I'm 100% certain, and it's not an avs filter.

Actually, I guess I'm late since it's fixed now.
Soichiro is offline   Reply With Quote
Old 6th September 2008, 09:13   #955  |  Link
Ranguvar
Registered User
 
Ranguvar's Avatar
 
Join Date: Feb 2007
Location: ::1
Posts: 1,236
rang_x264_r965

Home

Direct download, Mirrors

Code:
x264 r965 from Git (patched, fprofiled).
Compiled by Ranguvar on September 6th, 2008, with GCC 4.3.2.
DON'T think that because I used march=athlon it restricts the CPUs you can use. 
It seems to improve performance (VERY slightly) for all CPUs.

Open this archive with the free, multi-platform tools 7-Zip or p7zip. Compressed with LZMA.
The src folder contains the patched source code.
The bin folder contains a binary executable, and a DLL for those apps that use them 
(NOT for AviDemux - get those from LoRd_MuldeR).

Git:                                git://git.videolan.org/x264.git
Info, and source tarballs:          http://www.videolan.org/developers/x264.html
Changelog:                          http://git.videolan.org/gitweb.cgi?p=x264.git          
Vanilla builds:                     http://x264.nl/
Discussion:                         http://forum.doom9.org/forumdisplay.php?f=77
                                    http://forum.doom9.org/showthread.php?t=130364


Applied patches (included, unchanged, in the patches folder):

patch -p1 -i ../x264diffs/x264_dll_alignment_fix.01.diff
patch -p1 -i ../x264diffs/x264_progress.indication_r957.diff
patch -p1 -i ../x264diffs/x264_hrd_pulldown.09_interlace.diff
patch -p1 -i ../x264diffs/x264_psy_rdo_0.6_r956.diff
patch -p1 -i ../x264diffs/x264_new_bframe_decision_04.7.diff


CLI used for build: ./configure --enable-shared --extra-cflags="-march=athlon -pipe"
                    make fprofiled VIDS="../enctests/deadline_cif.y4m"

Platform:   X86
System:     MINGW
asm:        yes
avis input: yes
mp4 output: yes
pthread:    yes
gtk:        no
debug:      no
gprof:      no
PIC:        no
shared:     yes
visualize:  no
Ranguvar is offline   Reply With Quote
Old 6th September 2008, 09:22   #956  |  Link
Comatose
Registered User
 
Join Date: Dec 2007
Posts: 639
Quote:
Originally Posted by Soichiro View Post
I can confirm that there's an issue in r963. Horrible blocking shows up in the encode, which I've run 3 times now. It's not there in the source, I'm 100% certain, and it's not an avs filter.

Actually, I guess I'm late since it's fixed now.
Yeah, umm, I've had two encodes go bad now =\ (r964)
Completely different source too, one anime and the other a 3D game D:

I shouldn't have downloaded a new compile D:
Comatose is offline   Reply With Quote
Old 6th September 2008, 09:29   #957  |  Link
Snowknight26
Registered User
 
Join Date: Aug 2007
Posts: 1,393
Ranguvar, would be nice if you included pthreadGC2.dll in your build.
Snowknight26 is offline   Reply With Quote
Old 6th September 2008, 09:31   #958  |  Link
Ranguvar
Registered User
 
Ranguvar's Avatar
 
Join Date: Feb 2007
Location: ::1
Posts: 1,236
I do. It's merged into the EXE. You don't need a separate one. If you just want it for something else, Google and download.
Ranguvar is offline   Reply With Quote
Old 6th September 2008, 10:19   #959  |  Link
techouse
Strictly Rhythm
 
techouse's Avatar
 
Join Date: Jul 2007
Location: Ljubljana, Slovenia
Posts: 166
Ranguvar:
I guess you got GCC-4.3.2 from TDM's website and have overwritten all your old files with the new ones from TDM's zip/tar.gz packages. The problem is that the gcc-4.3.2-tdm-1-core.tar.gz package includes pthreadGC2.dll and pthreadGCE2.dll in its /bin folder, libpthreadGCE2.a, libpthreadGC2-static.a and libpthread.a in its /lib folder and pthread.h, sched.h and semaphore.h in its /include folder. You probably copied over those files to your MinGW /bin, your MinGW /include and your MinGW /lib folder folder.
I suggest you remove all these files, get the latest pthread cvs (cvs -d server:anoncvs@sources.redhat.com:/cvs/pthreads-win32 checkout pthreads), compile (make clean GC-static) and install it (copy libpthreadGC2.a to your MinGW /lib folder and copy pthread.h, sched.h and semaphore.h to your MinGW /iclude folder). That way you will eliminate the need of x264.exe for an extra pthreadGC2.dll in C:\Windows\System32.
Trust me on this one, I had the same problem.

I also suggest you people update your GPAC libraries. Many have reported errors building it from CVS, however I have found a nasty trick that actually works:
1. download the old stable tarball from here http://downloads.sourceforge.net/gpa...4.4-rc2.tar.gz
2. once it is downloaded, extract it to your MSYS /home/username folder and cd into it (i.e. cd /home/username/gpac)
3. while inside the gpac folder get the latest GPAC CVS using the command cvs -z3 -dserver:anonymous@gpac.cvs.sourceforge.net:/cvsroot/gpac co -P gpac
4. run ./configure && make lib
5. copy /home/username/gpac/include/gpac to your MinGW /include folder

P.S.: If this doesn't work for you try it in your /home folder (i.e. /home/gpac).
__________________

Last edited by techouse; 6th September 2008 at 10:50.
techouse is offline   Reply With Quote
Old 6th September 2008, 10:20   #960  |  Link
chriszxl
Little red-cap
 
chriszxl's Avatar
 
Join Date: Mar 2008
Location: wanna on moon
Posts: 42
Quote:
Originally Posted by gigah72 View Post
now with 964 i get the same nice green with my mpeg2source sample and crf settings??
957 works fine.

EDIT:
coreavc in mpc decodes the broken scene, powerdvd in mpc just skipps over the broken scene...
maybe this does say something to someone?

EDIT2:
964 broken: http://www.mediafire.com/?i9h3tshdlcs
957 ok: http://www.mediafire.com/?1llhbmrsjdy
ya...me too...serious bug...
chriszxl is offline   Reply With Quote
Reply

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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

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

Forum Jump


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


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