View Full Version : StaxRip x86 (development for x86 has been stopped)
stax76
11th November 2005, 23:45
Before you post to this thread please ensure:
You have read and accepted the rules of this forum (http://forum.doom9.org/forum-rules.htm)
You have read and accepted the Newbies announcement (http://forum.doom9.org/announcement.php?f=6)
You have used the Search this Thread (http://forum.doom9.org/showthread.php?t=102652&nojs=1#goto_threadsearch) feature to ensure your topic isn't already covered
You've read Doom9's sticky on how to file a good bug report (http://forum.doom9.org/showthread.php?t=96137)
You don't use forum attachments but rather send diagnostic files per email using StaxRip's built-in 'Send Bug Report' feature which can be found in StaxRip's main menu under 'Help'
What is StaxRip?
With StaxRip you can easily convert your DVD's, DVB captures and many other formats into MPEG-4 with codecs like x264, XviD and DivX. As a open source application StaxRip is completely free.
What features are supported?
Open Source Freeware
Easy to use
Versatile and customizable
Modern and clean user interface with full HighDPI support
Help system including, online help (assistant), context sensitive help, forum support
Rich cutting/trim facilities for tasks like removing ads
Job and batch processing
Download
www.stax76.bplaced.net (http://www.stax76.bplaced.net)
unskinnyboy
11th November 2005, 23:53
Thanks, been waiting for this. Will check it out. :)
Sirber
11th November 2005, 23:57
DVD rip? I'm a noob :D
stax76
12th November 2005, 00:19
Thanks, been waiting for this. Will check it out. :)
hope it was worthwhile :)
DVD rip? I'm a noob
me too ;)
Sirber
12th November 2005, 01:37
I ment, what is the ultimate goal of your ultimate encoding tool? ;)
guada 2
12th November 2005, 01:39
Hello stax,
I have a small problem of "working".
Apparently your program doesn't function. in spite of NET... 2.0
Would it come from my pc?
Can you confirm it please?
Randall
12th November 2005, 02:47
hey neat front end, I'll take a look. I love gordian knot but I wish that they would support mp4 as a container.
stax76
12th November 2005, 03:05
I ment, what is the ultimate goal of your ultimate encoding tool? ;)
Fit all my encoding needs and all the needs of users with a similar sense of software and encoding. Currently it might not be ideal for a super n00b or super geek but I'm working on it. What is your goal with RealAnime? :)
I have a small problem of "working".
Apparently your program doesn't function. in spite of NET... 2.0
Would it come from my pc?
Can you confirm it please?
Do you know what PC it is, that is hardware and software. I was hoping it would run on all 32 bit Windows 2000 or XP machines with .NET 2.0.
hey neat front end, I'll take a look. I love gordian knot but I wish that they would support mp4 as a container.
StaxRip supports MP4 as well as an extendible framework to easily add new codecs and containers. MP4 however is really in an alpha state, I'm hoping to get much feedback about new features such as mp4 and x264.
bratao
12th November 2005, 03:24
very good, i see this program to the only alternative for newbies in the world !
work good, but I canīt input Avi with this program..
And the Preferences windows are too bugged..
If i have time i will read your code
Keep up the good work..
stax76
12th November 2005, 03:35
work good, but I canīt input Avi with this program..
Under filters in the main dialog right-click to show the context menu and select AVISource, do this before you open your source file. What kind of AVI file is it?
And the Preferences windows are too bugged..
If i have time i will read your code
What exactly doesn't work? I hope you don't mean my neat settings TreeView. :)
bratao
12th November 2005, 04:06
Stax, yeah i discovery later...
im saying this
http://img391.imageshack.us/img391/1953/imagem9pe.th.jpg (http://img391.imageshack.us/my.php?image=imagem9pe.jpg)
Win 2003, with .net 2.0 Final here
bratao
12th November 2005, 04:32
Man, can you tell me where is the code that when you open Mpg files its go to ProjectX and after to Dg ???
Iīm playing with your code, because i want to do a similar thing to Avi, demux their audio, or simply do it direct in besweet
Sirber
12th November 2005, 06:11
What is your goal with RealAnime? :)Batch encode anime content with the latest technology unavalible. :rolleyes:
stax76
12th November 2005, 07:51
@bratao
That screenshot looks scary, it's related to my custom control that draws a tab page like gradient background on themed systems. Fortunately it's reproducable on my XP system so there will be fix shortly. The label background is transparent regardless if themes are enabled and for some reason that screws it.
Regarding the code iirc it's a virtual class called Preparer with CommandLinePreparer currently being the only implementation. Maybe you can make sort of a batch file and add that to the preparers in the options. If you tell me what kind of AVI it is, from where you got it or send me a short clip maybe I can add a preparer to the default settings to handle your file.
stax76
12th November 2005, 12:48
new version available:
0.9.0.4 (2005-11-12)
fix: fixed screwed dialog drawing on systems with no theme
bratao
12th November 2005, 21:28
stax,
Can you update the source ??
Im planing some features, like Auto-open demux and open Avi..
cheer..
bratao
13th November 2005, 03:00
There my early version..
Change log:
-Added Avi2wav in the program
-Better Avi handle
-Automatic Avi demux(separate audio and video)
-Better audio selection, only one track, and that we have demuxed <- This really need a good improve, checkout later..
In my mental stage its a produtive hour.., i complety off my body, even this BAsic code scream my mind.. Tomorrow i will be better
Binary (http://paginas.terra.com.br/informatica/bbruno/StaxRip bratao edition.rar)
Source (http://paginas.terra.com.br/informatica/bbruno/StaxRip Bratao Source.rar)
P.S:This version already correct the paint error on non themed systems
unskinnyboy
13th November 2005, 03:16
Why don't you two guys discuss and work together? Rather than releasing separate versions? This is duplication of work and also confusing for the users.
FSB-SPY
13th November 2005, 05:47
Would be nice: No Java requirement.
Would be nicer: No .NET 2.0 requirement. At the least, people should start doing what nuhi over at nliteos.com did with nLite; packing a tiny (compared to the install size of .NET 2.0 (over 140mbs) archive with the required library files so the program works without installing .NET onto your system.
Also, a progress bar of sometype (with an ETA too, perhaps?) would be most appreciated! :)
Edit: Took out the original feature request... was already implemented. Oops!
stax76
13th November 2005, 09:51
Why don't you two guys discuss and work together? Rather than releasing separate versions? This is duplication of work and also confusing for the users.
I'm working on this code since 4 years, at some point I might have to consider making it a real open source project working with svn. Two days after the release it is to early too plan such a big step.
There would also be the possibility to add a plugin system but doing this right takes much expertise and effort. DVX had such a system but it was very poorly designed. Additionally to a complex plugin system I would have to write a lot wrapper code for all things that should be pluggable (e.g. adaper pattern because of serialization). There is other problems besides complexity (which already scares me a lot) e.g. such systems are build with a techique called reflection and often additionally xml which are both core concepts in .NET but both add a performance ovehead.
Would be nice: No Java requirement.
I knew it was coming ;), Java is asked for if ProjectX is needed which is a the default value of the default project. You can customize the default project (Options/Preparer, File/Save Default Project). I have to change this because I know how scary Java and .NET can be.
Would be nicer: No .NET 2.0 requirement. At the least, people should start doing what nuhi over at nliteos.com did with nLite; packing a tiny (compared to the install size of .NET 2.0 (over 140mbs) archive with the required library files so the program works without installing .NET onto your system.
Did you try VB .NET Express 2005, for me VB .NET is the only reasonable tool and I've seen and worked with quite a few. Get it here (http://msdn.microsoft.com/vstudio/express/vb/default.aspx), it's free!
@bratao
Download doesn't work, I've noticed the path contains blanks which might be the reason.
easyfab
13th November 2005, 11:51
Hello stax Thanks for your tool,
Could you tell me how to set 2 pass x264?
Because in options I select "perform first pass" and " perform second pass"
But what should i do in configuration? If i select mode 1 pass -> only 2x stats
And if i select 2 pass -> it did'nt work ( no stats generated).
On other request : could it be possible to resize more than 720 * XXX (source size).
stax76
13th November 2005, 12:21
Could you tell me how to set 2 pass x264?
The default setings should just do 2 pass, x264 support is poorly tested though.
But what should i do in configuration? If i select mode 1 pass -> only 2x stats
And if i select 2 pass -> it did'nt work ( no stats generated).
Did you understand the concept this dialog is based on? The "intermediate" thing described in the help. I hope it's not flawed, so far I don't have any feedback about it.
On other request : could it be possible to resize more than 720 * XXX (source size).
Entering manually should work, I have to find a solution for the slider, what range would be needed?
FFWD
13th November 2005, 13:22
Stax, I wasn't able to get your e-mail, so I'm posting it here.
On your site : "StaxRip requires the .NET Framework Version 2.0 to be installed. There aren't any stable versions yet. You can test however unstable prerelease alpha versions."
The NET Framework version 2.0 redistributable packages are stable/final :
http://msdn.microsoft.com/netframework/downloads/updates/default.aspx
BTW : I get a PageNotFound when I click on 'StaxRip /' (right frame)
http://www.planetdvb.net/pmwiki/pmwiki.php?n=StaxRip
bond
13th November 2005, 13:38
StaxRip supports MP4 as well as an extendible framework to easily add new codecs and containers. MP4 however is really in an alpha state, I'm hoping to get much feedback about new features such as mp4 and x264.how does staxrip handle .mp4? via mp4box or?
stax76
13th November 2005, 13:51
On your site : "StaxRip requires the .NET Framework Version 2.0 to be installed. There aren't any stable versions yet. You can test however unstable prerelease alpha versions."
It meant StaxRip, I've changed the text, thanks.
BTW : I get a PageNotFound when I click on 'StaxRip /' (right frame)
http://www.planetdvb.net/pmwiki/pmwiki.php?n=StaxRip
Thanks, I've should have used this as main page, still can do so and redirect the old page. Normally I would go for Dreamweaver and Fireworks doing a website but I'm not good in webdesign and wiki is a handy solution, I hope nobody abuse it otherwise I've to add some security.
how does staxrip handle .mp4? via mp4box or?
Yes, currently I got a very basic MP4Box muxer, additionally the command line muxer might be useful. I've build a framework to make it easy adding more encoding and muxing backends.
bond
13th November 2005, 14:06
Yes, currently I got a very basic MP4Box muxer, additionally the command line muxer might be useful. I've build a framework to make it easy adding more encoding and muxing backends.what does "a very basic mp4box muxer" mean? do you use the tool with the name "mp4box" from the gpac project?
stax76
13th November 2005, 14:27
what does "a very basic mp4box muxer" mean? do you use the tool with the name "mp4box" from the gpac project?
iirc I got it from here: http://www.aziendeassociate.it/cd.asp?dir=/gpac/dev
Is there a better website, version? I'm still using XviD and MKV so sorry if I'm not up to date. I hope getting a lot feedback on x264 and MP4 so I can improve those features.
bond
13th November 2005, 14:31
iirc I got it from here: http://www.aziendeassociate.it/cd.asp?dir=/gpac/dev
Is there a better website, version? I'm still using XviD and MKV so sorry if I'm not up to date. I hope getting a lot feedback on x264 and MP4 so I can improve those features.nope, its normally the latest compile
i will try to have a look at staxrip ;)
stax76
14th November 2005, 15:58
new version available:
0.9.0.5 (2005-11-14)
fix: Command Line Encoder was always using x264 as command
@bratao
I've changed my release script to include source as well meaning from now on source code and binaries come always in sync as it supposed to be.
Can you please, explain me what is wrong with the audio handling and how you use avi2wav, it wraps audio always in riff wav, do you demux only real wav, if not, how is audio processed further. Another problem is it outputs multible audio files for multibles source files, which should be tricky with simple command line preparers, a command line preparer would have to use sort of scripting or a dedicated preparer must be derived.
FSB-SPY
15th November 2005, 07:02
stax, is there a way to enable the "turbo" mode that Sharktooth uses in his HQ-Insane profile for MeGUI? I've successfully used the latest revision of his x264 builds, with your program. I went with the command line option and simply dropped in the switches produced by Sharktooth's HQ-Insane profile within MeGUI. Here is the code I am using in StaxRip for reference:
--bitrate %video_bitrate% --ref 16 --mixed-refs --bframes 3 --b-pyramid --filter -2,-1 --subme 7 --b-rdo --weightb --trellis 2 --analyse all --8x8dct --me umh --progress --no-psnr --output "%encoder_out_file%" "%source_dir%%target_name%.avs"
Ticking and un-ticking the turbo option in MeGUI yielded no additional switches, so I am guessing it's a hardcoded function that's being used within MeGUI itself?
The difference in the frames per second of encoding is quite huge: went down from 10 frames, to 2. Hence my reason for requesting this, hopefully painless, addition to your work-in-progress.
P.S. Off topic, but just in case if you needed it; I also am using a custom profile for AAC encoding. I went with the streaming profile and here is the code for that:
-core( -input "%input%" -output "%output%" ) -azid( -s stereo -c normal -L -3db ) -bsn( -2ch -vbr_streaming -codecquality_fast -aacprofile_he ) -ota( -d 17 -g max )
Note: The delay on the end is something I have to manually alter with each encode, but right now it's not a big deal... still just testing!
stax76
15th November 2005, 12:12
Ticking and un-ticking the turbo option in MeGUI yielded no additional switches, so I am guessing it's a hardcoded function that's being used within MeGUI itself?
No, you were in automated mode, you didn't see changes in the command line because you saw the second pass command line, switch to another mode and you'll see what switches turbo removes. StaxRip don't need this since it has the "All Passes" mode what is a fundamentally different concept, I hope it wasn't a bad idea, so far there is no feedback about this feature, how it works is described in the help. The big question is how popular is turbo because if it's popular I should change my default values.
Note: The delay on the end is something I have to manually alter with each encode, but right now it's not a big deal... still just testing!
Next version will have a delay macro.
stax76
15th November 2005, 17:45
new version available:
0.9.0.6 (2005-11-15)
new: Mixed references for the x264 encoder
fix: Added audio delay macro to command line audio encoder and reseted all audio related settings
bratao
15th November 2005, 21:25
@bratao
I've changed my release script to include source as well meaning from now on source code and binaries come always in sync as it supposed to be.
Can you please, explain me what is wrong with the audio handling and how you use avi2wav, it wraps audio always in riff wav, do you demux only real wav, if not, how is audio processed further. Another problem is it outputs multible audio files for multibles source files, which should be tricky with simple command line preparers, a command line preparer would have to use sort of scripting or a dedicated preparer must be derived.
Sorry, i dont get the question..
but, i say what i get
1- The audio handle, for example i open a video for encodin,but i have many files in same folder (mp3, wav), so the staxrip for me always open 2 complety different audio files for the video.
I change the code for a more smart and anti-newbie way, it only open one file and the extention that we create(for the Mpg files it open mpa and for avi it open wav)
2-(i dont undertstand this question)- The beseet cant open the direct the avi sound, the avi2wav(use the comand line:avi2wavcmd inputfile.avi outfile.wav) demux the raw sound to a format that besweet can read and encode.
This its added in the preparation code, if extention is AVi its run.
And this is the changes:
In Mainform.vb
For Each iExt As String In New String() {".mp3", ".ac3", ".mp2", ".mpa", ".wav"}
to
For Each iExt As String In New String() {".mpa", ".wav"}
And commented the If p.Audio1.File
In ApplicationSettings.vb
src.Fiters.Add(New AviSynthFilter("Source", "AVISource", "AVISource(%source_files_comma%,audio=false)", "Opens AVI files.", True))
to
src.Fiters.Add(New AviSynthFilter("Source", "DirectShow", "DirectShowSource(""%source_file%"")", "Opens All files, that DirectShow can handle.", True))
In Package.vb
Public Class Avi2WavPackage
Inherits Package
Public Sub New()
Name = "AviToWav"
Filename = "avi2wavcmd.exe"
Version = "1.0"
Website = "http://agrgic.tripod.com/avi2wav/"
Description = "Used to separe the sound from avi"
DownloadFilename = "avi2wavcmd.exe"
VersionDate = New DateTime(2005, 10, 1)
TreeFolder = "Video Processing"
End Sub
Public Overrides Function IsRequired() As Boolean
For Each i As Preparer In p.Preparers
If i.Name.Contains("Avi2wav") Then
Return True
End If
Next
Return False
End Function
End Class
in Preparer.vb
Dim avi2wav As New CommanLinePreparer
avi2wav.Name = "Avi2wav"
avi2wav.Input = New List(Of String)(New String() {"avi"})
avi2wav.VideoOutput = New List(Of String)(New String() {"avi"})
avi2wav.AudioOutput = New List(Of String)(New String() {"wav"})
avi2wav.File = "%application:AviToWav%"
avi2wav.Arguments = "%source_files_blank% %source_dir%%source_name%.wav"
ret.Add(avi2wav)
In Stax rip types.vb
Public Shared Avi2Wav As New Avi2WavPackage 'Bruno
.......
AddPackage(Avi2Wav)
Im putting in my tree ,"Templates" to x264 configuration (Fast, normal, best and insane)
juskixxx
16th November 2005, 12:03
So far best tool for SD/HD video conversion to xvid/x264 /w mp4 output support.
Great job guys....Thanks alot!
Bratao...yes (sourcename.(mpa/wav/mp2)) autoselect for audio would be nice :)
And if stax or you could add bits per pixel calculation box like in GK....would be helpful
Yet another request....resize slider for HR encoding ain't enough....1280x*, 960x* is enough....i use 960x544 for 1080p material....
Keep working....and thanks again!
FSB-SPY
17th November 2005, 14:25
Is anyone else having audio sync issues?
I am simply using one of the audio profiles within the program (HE-AAC 80 KBit/s), and using crop, deinterlace, IVTC, and finally a bicubic resize filters on the actual video. Since I'm doing an IVTC, I am getting the wanted 23.98fps for my video. However, I noticed that once MP4Box is ran, it was importing the stream at 25.00fps?
Is this the reason for the audio problem?
Here is the info from the log file on the muxing:
---------- Muxing ----------
Multiplexer: MP4 - MP4Box
Multiplexer Type: MP4Box Multiplexer
Video Source: E:\Work\Rip\VTS_03_1_EncoderOutput.264
Audio Source 1: E:\Work\Rip\VTS_03_1 T01 3_2ch 448Kbps DELAY 17ms_AudioOutput.mp4
Target File: E:\Work\Rip\VTS_03_1.mp4
Arguments: -nodrop -add "E:\Work\Rip\VTS_03_1_EncoderOutput.264#video" -add "E:\Work\Rip\VTS_03_1 T01 3_2ch 448Kbps DELAY 17ms_AudioOutput.mp4" -new "E:\Work\Rip\VTS_03_1.mp4"
I am attaching a picture because the portion in question gets omitted from the log file.
On an un-related note, is my filter combination correct in terms of getting the best quality? I do not know the correct order and figured that this is why my video isn't looking so hot either. My current order as I said was: MPEG2Source, Crop, FieldDeinterlace, Telecine/Decimate, and Resize(Bicubic). Or maybe the order does not matter and it's all about resolution and bitrate?
Thanks! :)
stax76
17th November 2005, 17:57
@bratao
Thanks, I'll see what can be integrated.
And if stax or you could add bits per pixel calculation box like in GK....would be helpful
I hardly can put this in the main dialog because too many stuff in there is scary for the average user, plus there is not enough room. Maybe another solution can be found.
Yet another request....resize slider for HR encoding ain't enough....1280x*, 960x* is enough....i use 960x544 for 1080p material....
Thanks, got to work on it.
However, I noticed that once MP4Box is ran, it was importing the stream at 25.00fps?
I'm in a PAL country, maybe proper framerate has to be passed to MP4Box, I'll have to work on MP4Box support as well, there were also some feature requests.
JoeBG
21st November 2005, 15:54
I'm in a PAL country, maybe proper framerate has to be passed to MP4Box, I'll have to work on MP4Box support as well, there were also some feature requests.
-add "E:\Work\Rip\VTS_03_1_EncoderOutput.264:rate=23.98
would be the command. without "rate" mp4box imports with 25 as a standart.
@ Stax
Yes, there are some feature requests:
- name
- lang
would be most important - thank you :)
FSB-SPY
21st November 2005, 16:44
-add "E:\Work\Rip\VTS_03_1_EncoderOutput.264:rate=23.98
would be the command. without "rate" mp4box imports with 25 as a standart.
@ Stax
Yes, there are some feature requests:
- name
- lang
would be most important - thank you :)
Got it. At first I didn't realize why, but then I did mp4box -h import. The command was "FPS", not "RATE." ;)
Thank you!
-add "E:\Work\Rip\VTS_03_1_EncoderOutput.264:FPS=23.98
JoeBG
21st November 2005, 17:11
Got it. At first I didn't realize why, but then I did mp4box -h import. The command was "FPS", not "RATE." ;)
Thank you!
-add "E:\Work\Rip\VTS_03_1_EncoderOutput.264:FPS=23.98
rate was mp4creator, sometimes itīs confusing ;)
FSB-SPY
21st November 2005, 17:25
It was still a bit off, and from the looks of things, I am guessing it's due to the half-second default setting of the "interleaving" command? I could not get it to work, however. Did not know where to add the command "-inter 0" to.
bond
21st November 2005, 18:44
It was still a bit off, and from the looks of things, I am guessing it's due to the half-second default setting of the "interleaving" command? I could not get it to work, however. Did not know where to add the command "-inter 0" to.interleaving is there for a reason, dont turn it off
what do you mean with "it was still a bit off"?
FSB-SPY
21st November 2005, 20:43
The sync was off.
JoeBG
23rd November 2005, 07:01
-add "E:\Work\Rip\VTS_03_1_EncoderOutput.264:rate=23.98
would be the command. without "rate" mp4box imports with 25 as a standart.
@ Stax
Yes, there are some feature requests:
- name
- lang
would be most important - thank you :)
For testing use this mp4box (http://kurtnoise.free.fr/mp4tools/MP4Box_20051108.zip)
stax76
24th November 2005, 20:21
new version available:
0.9.0.7 (2005-11-24)
new: The minimal and maximal value of the resolution resize slider in the main dialog can be customized in the settings. The default value is 720, for HDTV a value up to 1920 is possible.
new: Setup wizard like dialog allowing to config basic default project options. The dialog pops up on the very first startup and when the default project is reseted.
new: AVI2WAV which extracts any audio format to a pseudo wav file (original format e.g. MP3 but with riff wav header and wav file extension. BeSweet supports such files. AVI2WAV is also available with the download feature.
new: DirectShowSource AviSynth filter.
new: trellis and me for x264.
new: Added to x264 options if and how the target file size should be adjusted after the compressibility check.
new: MP4Box from 2005-11-08.
fix: Source code didn't compile out of the box because the Stax library wasn't included.
change: <span style="font-family:Arial,Helvetica,sans-serif;">Auto detection of audio files is now restricted in that audio files must begin with the file name of the video source file.</span>
change: AviSynth 2.5.6a is now required and available with the download feature.
change: Theming code had to be changed which I could not test if it works under Windows 2000.
change: Many critical internal changes to the complex x264 dialog were done and only few test were made.
Regarding MP4, some complete command line examples would be very helpful.
bratao
25th November 2005, 02:06
Thank you Stax, for puting the avi stuff..
Iīm doing now some Dvd features and anti-newbie x264 configuration(Fastest ,fast ,normal, good, best and Insane)
bratao
25th November 2005, 02:58
Stax,
About the mp4box , it auto make a 25fps if you not tell.
In Muxer.vb
cl.Append(" -fps""" + p.SourceFramerate.ToString)
Would fix that
yaz
25th November 2005, 09:42
i'd love to taste this beauty but ... i'm quite unwilling to install sp2 just for that. is there any other way to install net2 final onto winxp wout letting that beast free. (my latest 2 beta is refused by SR)
thx
y
JoeBG
25th November 2005, 15:57
new version available:
Regarding MP4, some complete command line examples would be very helpful.
Here my normal batchfile for all my movies
stax76
25th November 2005, 16:17
Iīm doing now some Dvd features
what features would that be, I was thinking doing some DVD related stuff as well including mkv with vobsub support
i'd love to taste this beauty but ... i'm quite unwilling to install sp2 just for that. is there any other way to install net2 final onto winxp wout letting that beast free. (my latest 2 beta is refused by SR)
probably it will ask for SP2 as well. Generally I think it's not a bad idea to install it. I hope it don't cause trouble on your system. Some time ago SP2 caused arbitrary crashes on my system but meanwhile my system is totally different and the problems are all gone.
Here my normal batchfile for all my movies
thanks, support for this is coming probably rather sooner than late.
bond
25th November 2005, 17:19
Regarding MP4, some complete command line examples would be very helpful.what do you want to do?
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.