View Full Version : x2real 0.4 (build 3052/release) [YUY12]
akabob
21st February 2003, 14:39
x2real 0.4 (build 3052/release)
#bundled with Avisynth2.5 beta/Helix Producer Milestone 5
#added AVI mp3 audio sync option
#added optional shutdown when jobs completion done
#autocrop with even sizes only
#fix a crash when crop or preview if avisynth is not installed
#fix french translations only in advanced resize wizard
#fix a bug with DVD2AVI extracted files detector
http://www.lalternative.org/x2real
Sirber
22nd February 2003, 04:28
What's the big difference between Avisynth 2.5 and 2.x?
deXtoRious
22nd February 2003, 11:25
The only really significant difference is that Avisynth 2.5 supports YV12.
Sirber
22nd February 2003, 23:05
Does this program support 2 audio stream?
deXtoRious
22nd February 2003, 23:38
It's not a program, it's a frameserver.
Manao
22nd February 2003, 23:58
Does this program support 2 audio stream?
No, but YV12 is speeding up your encoding by 25 % with avoiding colorspace conversions ( with XviD, the speedup should be smaller with RV9, which is slower ). The only drawback is that you lose the ability to use the dust filter.
kilg0r3
24th February 2003, 20:55
@akabob
i am having problems with the following avisynth script.
----------------------
LoadPlugin("C:\Programme\Avs\Mpeg2Dec3.dll")
LoadPlugin("C:\Programme\Avs\Convolution3dYV12")
Cred1 = Mpeg2Source("Z:\Rip\Rip1\Source.d2v"). crop(160,272,512,272). trim(0,4600). LumaFilter(-255,0). Levels(0,1,5,0,0)
Cred2 = Mpeg2Source("Z:\Rip\Rip1\Source.d2v"). crop(160,272,512,272). trim(166637,0). Levels(0,1,5,0,0)
Movie = Mpeg2Source("Z:\Rip\Rip1\Source.d2v", cpu2="xxxxox"). crop(36,32,652,512). BicubicResize(512,272,0,0.6). convolution3d(0,5,8,5,8,2.8,0). LumaFilter(-2,1). trim(4601,166636)
Audio = WAVSource("z:\rip\rip1\Source.wav")
Film = Cred1 + Movie + Cred2
Film = AudioDub(Film,Audio)
Return Film
----------------------
Preview works fine in x2real and any player or vdubmod. Yet, when i start encoding, after a few seconds i get the following error:
unexpected file format. Z:\Rip\X2real\Store\10011528.avs may be a flat file. failed to initialize output.
akabob
26th February 2003, 12:53
This is an error of Helix producer.exe catched by x2real.
Try to encode your AVS using producer command line:
x2real\bin\real\producer.exe -ad {AUDIENCE-FILE} -vm sharp -i {AVS-SCRIPT} -o {OUTPUT-FILE}
You should get the same error.
@karl_lillevold: any idea ?
kilg0r3
26th February 2003, 14:36
one thing, clicking on NFO-button the popup dialog sais that there is no audio source.
that below, is what i get from producer.exe
Z:\>z:\rip\x2real\bin\real\producer.exe -ad z:\16963349.rpad -vm sharp -i z:\16963349.avs -o z:\333.rmvb
as you can see i moved the autogenerated files to z:\. it happens with a avisynth 2.0x and a 2.5 script.
Helix(TM) DNA Producer 9.1 Copyright (c) RealNetworks, Inc. 1995-2003. All rights reserved.
Error: Unexpected file format, z:\16963349.avs may be a flat file.
Error: Missing RIFF header. z:\16963349.avs is not a valid AVI file.
Error: Unable to initialize Destination
Error: Failed to initialize outputs
Done Errors: 4 Warnings: 0
i tried it with an autogenerated avs script; didn't work either. same error.
autogenerated avs script:
-------------------------
#x2real avisynth script. edit at your own risks!
LoadPlugin ("Z:\Rip\X2Real\bin\avisynth\mpeg2dec\mpeg2dec.dll")
m_stream=MPEG2Source("Z:\Rip\Rip1\Source.d2v")
m_audiofile=WAVSource("Z:\Rip\Rip1\Source.wav")
m_stream=AudioDub(m_stream,m_audiofile)
#deinterlace: LoadPlugin("Z:\Rip\X2Real\bin\avisynth\decomb406b6\Decomb.dll")
#deinterlace: m_stream=FieldDeinterlace(m_stream,blend=false)
m_stream=Crop(m_stream,32,32,656,512)
#filters
m_stream=BilinearResize(m_stream,512,280)
#trim: m_stream=Trim(m_stream,{STARTFRAME},{ENDFRAME})
return(m_stream)
autogenerated rpad file
-----------------------
<?xml version="1.0"?>
<audience>
<avgBitrate type="uint">939900</avgBitrate>
<maxBitrate type="uint">940000</maxBitrate>
<streams>
<videoStream>
<pluginName type="string">rn-videocodec-realvideo</pluginName>
<codecName type="string">rv9</codecName>
<encodingType type="string">vbrBitrate</encodingType>
<quality type="uint">92</quality>
<maxStartupLatency type="double">25</maxStartupLatency>
<maxFrameRate type="double">30</maxFrameRate>
<maxKeyFrameInterval type="double">10</maxKeyFrameInterval>
<enableLossProtection type="bool">false</enableLossProtection>
</videoStream>
<audioStream>
<pluginName type="string">rn-audiocodec-realaudio</pluginName>
<codecName type="string">cook</codecName>
<codecFlavor type="uint">25</codecFlavor>
<streamContext type="bag">
<presentationType type="string">audio-video</presentationType>
<audioMode type="string">music</audioMode>
</streamContext>
</audioStream>
</streams>
</audience>
karl_lillevold
26th February 2003, 22:42
I have tried to reproduce this problem, but everything works fine here, except I see the error message about the AVS file not being a valid AVI file. This is fine (albeit a little confusing, I will ask the producer team to change that), because then the DirectShow reader takes over, and the encoding completes without any more problems. It seems you are experiencing another error in creating the output file, which is what I have not been able to reproduce.
Any more details? Have you upgraded to DX9? I am still on DX8.1.
Specifically, I also tried to run
x2real\bin\real\producer.exe -ad {AUDIENCE-FILE} -vm sharp -i {AVS-SCRIPT} -o {OUTPUT-FILE} manually
and again, it worked, but with the AVI warning. Then encoding completed.
Can you run producer with options "-lc w,i,d,e" and see what the report says?
kilg0r3
26th February 2003, 23:07
Originally posted by karl_lillevold
Any more details? Have you upgraded to DX9? I am still on DX8.1.
yep. is it uninstalable?
Can you run producer with options "-lc w,i,d,e" and see what the report says?
karl, could you give me the whole command line. i don't know anything about encoding from the cml only used x2real so far.
karl_lillevold
26th February 2003, 23:16
Just do like you explained in a previous post:
"
Z:\>z:\rip\x2real\bin\real\producer.exe -ad z:\16963349.rpad -vm sharp -i z:\16963349.avs -o z:\333.rmvb
i moved the autogenerated files to z:\."
but add -lc w,i,d,e :
Z:\>z:\rip\x2real\bin\real\producer.exe -ad z:\16963349.rpad -vm sharp -i z:\16963349.avs -o z:\333.rmvb -lc w,i,d,e
that will output some more information.
DX9 can not be un-installed, I think, but don't worry about that yet.
kilg0r3
26th February 2003, 23:26
i have got a parallel installation of xp with dx8.1. gives the same error.
here the error message with the additional switches
---------------------------------------------------
E:\Dokumente und Einstellungen\Severus Snape>z:\rip\x2real\bin\real\producer.exe -ad z:\16963349.rpad -vm sharp -i z:\16963349.avs -o z:\333.rmvb -lc w,i,d,e
Helix(TM) DNA Producer 9.1 Copyright (c) RealNetworks, Inc. 1995-2003. All righ ts reserved.
Error: Unexpected file format, z:\16963349.avs may be a flat file.
Error: Missing RIFF header. z:\16963349.avs is not a valid AVI file.
Diagnostic: --------- Input File Properties from rn-avfile-directshow
Diagnostic: Input Filename: z:\16963349.avs
Diagnostic: File Size: 1KB
Diagnostic: Total Duration: 01:56:14.748
Diagnostic: Video Track
Diagnostic: Dimensions: 512 x 272
Diagnostic: Frame Rate: 25.000 FPS
Diagnostic: Format: YV12
Diagnostic: Duration: 01:56:14.748
Diagnostic: Audio Track
Diagnostic: Channels: Stereo
Diagnostic: Bit Depth: 16
Diagnostic: SampleRate: 44100 Hz
Diagnostic: Format: Uncompressed Audio
Diagnostic: Duration: 01:56:14.748
Diagnostic: --------- End Input File Properties
Error: Unable to initialize Destination
Error: Failed to initialize outputs
Done Errors: 4 Warnings: 0
karl_lillevold
27th February 2003, 23:35
It is possible to have producer print out more debugging info, by having an empty file called debug.txt in the producer application directory, combined with the options -lc w,i,d,e.
So, kilg0r3's case the actual error message causing the problem initializing output was "Error: Plugin name rn-file-realmedia is not unique". Since producer has renamed most of its DLLs recently (removing '3260') from the filename, when x2real was extracted on top of an old version, there were duplicated DLLs in the plugins (and codecs) folder, and producer would not know which one to load.
So the problem was resolved. Ideally, the producer team will consider making the error messages less confusing, and the x2real zip file should include a warning about extracting on top of an older version, just in case files happen to be removed, added, or renamed.
kilg0r3
28th February 2003, 09:00
Originally posted by karl_lillevold
Since producer has renamed most of its DLLs recently (removing '3260') from the filename, when x2real was extracted on top of an old version
as one should never do with any software and even less with beta software :stupid:[/b]
, there were duplicated DLLs in the plugins (and codecs) folder, and producer would not know which one to load.
So the problem was resolved. [/B]
Thanks to karl and to his patience and commitment.
Thanks again.
karl_lillevold
28th February 2003, 09:11
After having tried how this latest build works, I am pretty impressed with the improvements since the first version. It's very simple to use. I really like the YV12 support and rendering framerate display :) With my new Shuttle SB51G 2.4 GHz at home (DIY, finally, the old 500 MHz was just killing me slowly), I am getting around 24 fps. Not too bad! A couple of things on my wishlist though:
1) Max bitrate should really be about 2.2X the average bitrate, and not just 100 kbps above the average bitrate. This is what a sample .rpad file looks like:
<avgBitrate type="uint">839900</avgBitrate>
<maxBitrate type="uint">840000</maxBitrate>
In this case, maxBitrate should probably have been closer to 1847780, to be able to get good quality during those high action parts.
2) Manually edit producer command line (to enable anamorphic encoding, and other features, like producer's inverse telecine instead of one in AVISynth). Also, there will soon be a much improved resizer in producer, and it would be nice to be able to choose this over the AVISynth resizer.
3) A simple checkbox for Neutral Bicubic resize instead of Bilinear. Not terribly important, since I can edit the AVS file.
4) Credit encoding at fixed and low quality.
edit:
added 5) Run processes Below Normal priority. I have to change this manually to keep the system responsive during encoding.
Of these I would say 1) and 2) are the most important, especially 1).
Karl.
kilg0r3
28th February 2003, 19:56
Originally posted by karl_lillevold
1) Max bitrate should really be about 2.2X the average bitrate, and not just 100 kbps above the average bitrate. This is what a sample .rpad file looks like:
<avgBitrate type="uint">839900</avgBitrate>
<maxBitrate type="uint">840000</maxBitrate>
In this case, maxBitrate should probably have been closer to 1847780, to be able to get good quality during those high action parts.
now i know, why my files were allways undersized. The codec could not use the bits saved during the pure black sections:)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.