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. |
![]() |
#61 | Link | ||
Totally Clueless
Join Date: Nov 2010
Location: Edinburgh, UK
Posts: 31
|
Quote:
Quote:
It would be great if the same feature ended up in x264 as it would mean I can be 100% sure i'm doing the right thing, x264bd is just a consolidation of info on the web, for my use. Bring on the day I can remove it can have a --profile bluray option on x264 that checks everything (framerate, resolution, interlacing etc) will be correct. And if someone is relying on it, then I'll just modify the options to match the new guide... when someone writes one ![]() Last edited by doobry; 7th April 2011 at 17:02. |
||
![]() |
![]() |
![]() |
#62 | Link |
Totally Clueless
Join Date: Nov 2010
Location: Edinburgh, UK
Posts: 31
|
Did a little benchmarking, real time in seconds, run 3 times each.
Code:
avs2pipe 0.0.3: avs2pipe26_vs 54.23 54.06 54.01 avs2pipe26_gcc 51.83 52.60 52.10 avs2pipe_vs 54.35 54.27 54.26 avs2pipe_gcc 51.86 52.10 51.97 avs2pipe 0.0.4 alpha: avs2pipe26_vs 32.99 32.73 32.84 avs2pipe26_gcc 32.85 32.72 32.82 avs2pipe_vs 32.81 32.84 32.95 avs2pipe_gcc 32.80 32.73 32.76 avs2yuv 0.24: downloaded 45.91 46.43 46.11 vs2010 express 54.20 54.44 54.00 Test Was: Windows 7 x64, Quad Core AMD, AviSynth 2.6 Alpha 2 32374 frames 720x576 YUV420 video from PAL DVD FFMpegSource for m2v file FFMpegSource for ac3 file (Not Processed) Output piped to NUL MSYS bash time used to time execution MSYS md5sum used once to check output identical Thing that really surprised me was that opening the avs2yuv project in Visual Studio 2010 Express and compiling it reduced it speed from around 46sec to 54sec... Is the Express compiler really that bad? Last edited by doobry; 7th April 2011 at 22:13. |
![]() |
![]() |
![]() |
#63 | Link |
typo lover
Join Date: May 2009
Posts: 595
|
Hi.
I fiddled with the code of this tool for about one month. (The purpose is to make it to more wieldy thing for me, and learning C language.) binary deleted source code https://github.com/chikuzen/avs2pipemod Differences with original * Display total elapsed time. * contents of 'info' * New option 'benchmark'. * 'y4mp', 'y4mt', 'y4mb' and 'rawvideo' options instead of 'video'. * Add SAR info to yuv4mpeg2 stream header. * FieldBased input will be corrected to framebased on yuv4mpeg2 output mode. * Colorspace conversion that takes colormatrix and interlace into consideration. * 'rawaudio' option. * Convert bit depth function in audio output mode. * Only the compilation with mingw/msys is supported.
__________________
my repositories Last edited by Chikuzen; 9th May 2011 at 15:27. |
![]() |
![]() |
![]() |
#64 | Link |
Registered User
Join Date: Aug 2008
Location: The Land Of Dracula (Romania - EU)
Posts: 934
|
thanks a lot...
_
__________________
if you ask a question and somebody give you the correct answer don't forget to leave a "thank you" note... Visit The Land Of Dracula (Romania - EU)! |
![]() |
![]() |
![]() |
#65 | Link |
typo lover
Join Date: May 2009
Posts: 595
|
updated.
avs2pipemod-20110510.zip *Fix incorrect output of 'x264bd', and some modified. EDIT Sorry, I found a bug in '-audio' and '-rawaudio'. Please Download again if you are using avs2pipemod-20110509.zip
__________________
my repositories Last edited by Chikuzen; 10th May 2011 at 15:27. |
![]() |
![]() |
![]() |
#68 | Link |
typo lover
Join Date: May 2009
Posts: 595
|
update
avs2pipemod-20110703.zip add new options '-wav' and '-extwav', and remove '-audio'. '-wav' outputs audio with normal riff-wave header. '-extwav' outputs audio with wave extensible header containing channel-mask.
__________________
my repositories Last edited by Chikuzen; 3rd July 2011 at 10:17. Reason: fix typo |
![]() |
![]() |
![]() |
#71 | Link | |
typo lover
Join Date: May 2009
Posts: 595
|
Quote:
![]() However, I changed it again because what you said was justifiable. avs2pipemod-20110703-2.zip Code:
@@ -720,6 +720,7 @@ void parse_opts(int argc, char **argv, params *params) struct option long_opts[] = { {"wav", optional_argument, NULL, 'w'}, {"extwav", optional_argument, NULL, 'e'}, + {"audio", optional_argument, NULL, 'e'}, {"rawaudio", optional_argument, NULL, 'a'}, {"y4mp", optional_argument, NULL, 'p'}, {"y4mt", optional_argument, NULL, 't'},
__________________
my repositories Last edited by Chikuzen; 4th July 2011 at 03:31. |
|
![]() |
![]() |
![]() |
#73 | Link |
Registered User
Join Date: Mar 2004
Posts: 889
|
Is this build multithread-enabled? I have a AMD 1090T X6 and tried:
avs2pip26mod.exe -y4mp some-720p-with-multithread.avs | x264.exe .... --output video.h264 --stdin y4m - x264.exe .... --output video.h264 some-720p-with-multithread.avs The first command can only keep one core busy (~16-17%) and the second one can make it ~99%. |
![]() |
![]() |
![]() |
#74 | Link | |
typo lover
Join Date: May 2009
Posts: 595
|
Quote:
__________________
my repositories Last edited by Chikuzen; 2nd August 2011 at 19:13. |
|
![]() |
![]() |
![]() |
#75 | Link | |
Registered User
Join Date: Jan 2008
Posts: 185
|
Quote:
So why is one execution multithreaded and the other not? One possibility is that you are using 64-bit x264. Avs2pipe is 32-bit. So if you have, a non-multithreaded 32-bit version 2.6 avisynth.dll installed, but a 64-bit multithreaded avisynth.dll (that is quite possible--the 32-bit and 64-bit system look for the same dll file, but in different paths), then you'd see just what you observe. |
|
![]() |
![]() |
![]() |
#76 | Link | |
Avisynth language lover
Join Date: Dec 2007
Location: Spain
Posts: 3,437
|
Quote:
avs2pipe, on the other hand, is not 'MT-aware' so does not call Distributor(), resulting in single threaded running. (which is why you have to add it yourself.) Note that for applications using Avisynth via the VfW interface (eg VirtualDub), this is not an issue since in MT Avisynth this path automatically invokes Distributor(). |
|
![]() |
![]() |
![]() |
#77 | Link |
typo lover
Join Date: May 2009
Posts: 595
|
Why do you want 64bit version ?
There are always avs2yuv and wavi for x64.
__________________
my repositories |
![]() |
![]() |
![]() |
#78 | Link |
typo lover
Join Date: May 2009
Posts: 595
|
then, use wavi.
http://forum.doom9.org/showpost.php?...02&postcount=4
__________________
my repositories Last edited by Chikuzen; 18th September 2011 at 07:23. |
![]() |
![]() |
![]() |
#79 | Link | |
typo lover
Join Date: May 2009
Posts: 595
|
Quote:
Code:
wavi input.avs output.wav Code:
wavi input.avs output.wav /x Code:
avs2yuv input.avs -raw - | x264 - --demuxer raw ... However, there is no avisynth.lib for x64. Thus, it is necessary to rewrite many codes.
__________________
my repositories |
|
![]() |
![]() |
![]() |
#80 | Link |
typo lover
Join Date: May 2009
Posts: 595
|
wavi is a program that use vfw interface like VirtualDub/avs2avi/etc...
If wavi cannot treat avs as avi, you will have failed in installation of avisynth.
__________________
my repositories |
![]() |
![]() |
![]() |
Tags |
avs2pipe |
Thread Tools | Search this Thread |
Display Modes | |
|
|