View Full Version : StaxRip x86 (development for x86 has been stopped)
stax76
23rd March 2008, 11:13
Another question: What's your opinion about sound processing via Avisynth like in MeGUI?
I didn't investigated it.
are there already any features, which are completely needed by the .NET 3.5?
I use a feature called 'extension methods' all over the place
Warrex
23rd March 2008, 11:58
Hi Stax,
how about adding m2ts and/or Blu-Ray output support using tsMuxer?
Btw. You made me really happy when adding automatic subtitle ripping! Good work! :)
MuLTiTaSK
23rd March 2008, 17:36
when i open a file to process DGIndex just opens and does nothing i have to process the file manually with DGIndex then open the .d2v in StaxRip
anybody else having trouble with the updated DGIndex?
arrirc
23rd March 2008, 19:35
Hello Stax
Updated to your latest beta version. As I selected all the vob files to merge, the DgiIndex opened but then even after 26 mins I could not find the job being completed. the staxrip log window did not close itself (as happened with your stable version).
I believe this is the log:
------------------------------------------------------------
Preparing
------------------------------------------------------------
Preparer: Extract audio and index MPEG-2 using DGIndex
"D:\Applications\2. Video Tools\StaxRip\Settings\Applications\DGIndex\DGIndex.exe" -IF[E:\FISTFUL_OF_DOLLARS_CE\VIDEO_TS\VTS_03_1.VOB,E:\FISTFUL_OF_DOLLARS_CE\VIDEO_TS\VTS_03_2.VOB,E:\FISTFUL_OF_DOLLARS_CE\VIDEO_TS\VTS_03_3.VOB,E:\FISTFUL_OF_DOLLARS_CE\VIDEO_TS\VTS_03_4.VOB,E:\FISTFUL_OF_DOLLARS_CE\VIDEO_TS\VTS_03_5.VOB,E:\FISTFUL_OF_DOLLARS_CE\VIDEO_TS\VTS_03_6.VOB,E:\FISTFUL_OF_DOLLARS_CE\VIDEO_TS\VTS_03_7.VOB] -IA=2 -FO=0 -YR=1 -TN=1 -OM=2 -DRC=2 -DSD=0 -DSA=0 -OF=[E:\FISTFUL_OF_DOLLARS_CE\VIDEO_TS\VTS_03_1] -exit
Start: 11:29:45 PM
End: 11:56:09 PM
Duration: 00:26:23
I hope this log will help you to understand. there is another log named VTS_03_01_vsrip, if you require that, I shall post that here too.
:(
stax76
23rd March 2008, 20:12
how about adding m2ts and/or Blu-Ray output support using tsMuxer?
I don't have HD hardware and much likely will soon reduce time spent with StaxRip, so it's likely not gonna happen soon.
when i open a file to process DGIndex just opens and does nothing i have to process the file manually with DGIndex then open the .d2v in StaxRip
anybody else having trouble with the updated DGIndex?
Yes, it's broke, will have to contact neuron2, somebody had problems with the latest stable so I've updated but forgot to test if it actually works, didn't expect it's completely broke.
arrirc
23rd March 2008, 20:31
Hmmm, so I believe my issue is related to the same reason.
So should we revert back to your last stable built or an updated DGIndex in on the way?
Keep up the great work stax....:)
stax76
23rd March 2008, 21:57
Please just use the another StaxRip beta (http://www.planetdvb.net/non_drupal/staxrip/StaxRip_unofficial.exe), parts of the main menu were broke as well. Generally is better to uninstall applications instead installing a new version on top off an old version. For StaxRip you can install new versions on top of old versions, if that wasn't a good idea, I would change the installer to force uninstalling, it's also save to move StaxRip's location to another place but the fact that there is a 7-Zip distribution for stable releases makes this already clear.
Guest
23rd March 2008, 23:51
RC3 is not broken.
You are generating incorrect CLI syntax.
You need an = sign after -IF, e.g.:
-IF=[file.vob]
Earlier versions may have parsed past that error, but the latest one requires the = sign in order to avoid catching filenames as options, e.g., "catch-me-if-you-can.vob" previously triggered a new -IF option.
stax76
24th March 2008, 00:21
Thanks, any chance allowing comma and unicode in filenames?
Guest
24th March 2008, 00:29
Thanks, any chance allowing comma and unicode in filenames? If I add a new UNIX-style CLI syntax I can fix the comma issue. Is that what you want? Otherwise, we have discussed this before and there's no easy way without replacing the old syntax. I could support both.
Unicode. Is it hard? :confused:
stax76
24th March 2008, 01:59
If I add a new UNIX-style CLI syntax I can fix the comma issue.
unix style is a bitch to parse, the easiest way to parse is to iterate on the arguments provided by the OS. Your syntax is almost suitable for this pragmatic approach. Just get rid of the brackets, you don't need them as the OS returns the following as single argument:
-IF="file 1","file 2"
it's common practice though that you don't use a switch for input files, this is trivial to parse as well, just check if a unknown argument is a valid input file.
would look this then:
DGIndex "file 1" "file 2" -IA=2 -OF="d:\My Project" -exit
Unicode. Is it hard?
I think it could be hard but I'm not sure, once I had a bug report and IIRC the problem was DGIndex couldn't handle the file because it had unicode chars in the filename.
Guest
24th March 2008, 02:10
If I change it at all, it will be UNIX style. Don't worry about the parsing; that's my responsibility. It could look like this:
DGIndex -ia 2 -exit -i "file 1" "file 2" -o "d:\My Project"
If you've had only one request for Unicode, I'd have trouble getting it high on the priority list.
stax76
24th March 2008, 03:51
There was a crash, I've added then a message box telling: you cannot open files containing unicode in filename because some applications don't support it.
If you don't get much requests because of that then it's probably not a big issue. If you want I can forward requests. The message box would tell then: Please ask for unicode support there...
Here is a unicode string DGIndex does not open: Česká
I've tested many applications on it and DGIndex is the only one that failed.
arrirc
25th March 2008, 16:20
Stax, one doubt...
As X264.exe starts, I always find in task Manager that the priority of this .exe file is set to Low by default. is it possible to set it Normal by default?
If not, please consider adding it in your latest beta version.
stax76
25th March 2008, 16:22
what's wrong with low?
http://planetdvb.net/non_drupal/forum_images/greenshot_2008-03-25_16-24-06.png
arrirc
25th March 2008, 16:57
Well I use Intel C2D processor and the OS is XP Pro SP2.
What I found out is that if the Priority is set to Normal, the encoding time decreases substantially...
Thanks for showing me the way...:)
Deinorius
25th March 2008, 19:44
Then there has to be something wrong with your OS. Maybe something is running too, which needs a lot of CPU power. Search for it, there should be no (big) difference in encoding time.
Especially if you're using a DualCore CPU with many filters and without MT-Avisynth, it should have no effect, because the DualCore CPU isn't be used with the full performance. Look into your Task Manager.
arrirc
26th March 2008, 04:26
without MT-Avisynth
What is MT AviSynth?
buzzqw
26th March 2008, 08:25
Multi Thread AviSynth (optimized for multicore cpu)
there is a special build that will work on most filters...
try a search
BHH
LRN
26th March 2008, 10:08
Sopranos had each episode in a separate PGC, I ripped them with a script automating DVDDecrypter
You could also try PGCDemux. I think it even has command line support...Used it only once though, so maybe i'm wrong.
neuron2, Unicode isn't hard. You are a seasoned C coder, so the best way is to use wcs* family of functions instead of str*, change char to wchar_t, include <wchar.h>, change all "main"s to "wmain"s, and "WinMain"s to "wWinMain"s, and force-use -W-family of windows functions (i.e. CreateWindowsExW instead of CreateWindowsExA; CreateWindowsEx is a placeholder for either -W or -A function, depends on MSVC project settings). Of course you could also try to change that only in places where filename is involved, and use normal chars in every other place, converting from one encoding to another when necessary (there's both CRunTime and WinAPI functions for that, MultiByteToWideChar and wcstombs IIRC).
Stax, you should try new DGAVCDec/DGAVCIndex. It's wonderful!
Multi Thread AviSynth (optimized for multicore cpu)
x264.exe has AviSynth script running in separate thread by default. Unless you have FAST x264 encoding settings and SLOW AviSynth script, using MT AVS won't help. IMHO.
burfadel
26th March 2008, 10:52
The priority is setting the allocation of CPU cycles. Staxrip is set low (or idle) by default so you can do other stuff on the computer without slowing it down. In fact, at idle you can play games like Far Cry for example, and encode in the background without it impeding on the game! Setting priority to normal means that essentially equal prioritisation is given to Staxrip and the programme you are currently trying to use (there is priority separation etc etc but this is essentially what happens). That means the programme you are using has to wait because Staxrip is taking the cycles you need to complete the other task.
Having it set to low or idle essentially means that the encoder (x264 for example) will use the spare cpu cycles available on the system, and not steal them from other processes. If no other programme is running it can quite happily still use the full power of your CPU (depending on the filters used).
If setting priority to normal increases the performance of the encoding (even slightly) it means there is another process taking CPU cycles all the time that probably shouldn't be. Open task manager, click on processes, then click on 'cpu' which will sort the processor usage in ascending/descending order. This will show the current cpu usage of the encoder and also whatever else is using those cpu cycles that make the encoder not run as well as it should at idle!
If you intend using your machine when encoding, I would recommend leaving it at low or idle, otherwise computer use will be impeded. If you are running a cpu prioritisation programme I would suggest removing it - they cause more problems then benefit and it terms of actually paying for one its blatent robbery. You can change priority and affinity (which cpu/core the programme utilises) under the task manager by right hand clicking!
arrirc
26th March 2008, 15:26
Multi Thread AviSynth (optimized for multicore cpu)
there is a special build that will work on most filters...
try a search
BHH
I did, and it seems that it is not yet supported officially by AviSynth developers (unless I read from old sources :))
buzzqw
26th March 2008, 15:40
yep.. avisynth 2.60 will integrate it (iirc)
BHH
Poopoo
29th March 2008, 21:50
Hi Stax,
Any idea when you will release the new version with the bugfixes after v1.0.0.3 with the option to use the latest x264 and it's AQ options ?
Thanks !
stax76
30th March 2008, 09:44
Any idea when you will release the new version with the bugfixes after v1.0.0.3 with the option to use the latest x264 and it's AQ options ?
For fixes please use the beta, it should be much more stable than the last one. Regarding aq, it's not in the docs of the builds at http://x264.nl so what's the current state? I don't want to switch builds so often because chances are then higher to catch a bad build. It's not a limitation since it's possible to use other builds and custom switches which become more convenient lately.
StaxRip beta (http://www.planetdvb.net/non_drupal/staxrip/StaxRip_unofficial.exe)
Changelog:
1.0.0.? (2008-??-??)
The range of the resize slider is finally adjusted automatically according the source image size
Improved assistant tips
TomsMoComp motion compensating deinterlace filter added
Improved Vista UAC handling
The mode in the dialog to open source files was changed to use large command buttons instead of a small list box
The profile 'Misc/No Encoding' was replaced with 'Misc/x264 pass through (to remux)' and 'Misc/AVI pass through (to remux)'. This profiles should only be used to remux previously processed jobs, it simply skips video encoding
Fixed PAR detection for HD sources
New option to use NicAudio as alternative cutting method for mp2 and ac3
The x264 fixed size and constant quality profiles are now based on the HQ-Slow profile
DGMPEGDEC was updated and MP4Box was downgraded since the used versions had some issues
Fixed assistant complaining the image size isn't mod 16 even when it is
The crop and preview dialog have improved startup dimensions for HD sources
With auto resize disabled StaxRip will now auto adjust the height according to the aspect ratio
New option to limit the aspect ratio to a defined value to auto crop the width instead
Fixed a bug with three pass encoding
Fixed crash caused by applications like TrueCrypt creating virtual hard drives
The preview can now show the display aspect ratio for anamorphic sources
The preview has now a menu/shortcut to toggle between display aspect ratio and
script aspect ratio when the source is anamorphic.
The video and the window position of the crop and in the preview dialog is now
remembered. The page in the x264 dialog is remembered
The external preview menu/shortcut in the preview dialog use now KMPlayer or MPC
when found passing the current video position as command line argument
Added setting to use double-click instead of single-click for the tray icon,
the default remains single-click
When the process window is hidden in the tray, all applications will now be
started hidden and the active window won't become inactive any longer
Added button to the processing dialog showing a menu to disable jobs. This menu
is also available as tray context menu since a couple of versions. All buttons
have images
The MKV and MP4 container settings have a option to add additional command line
switches
The x264 dialog has a feature to manage custom switches more convenient
Added options to define a maximum value of the width and height to be
overcropped
Automatic VobSub is now always performed if the option is enabled, before it was
only performed when a container with VobSub support (mkv) was loaded before
opening a source while (because extraction happens after loading a source file)
Hard to believe but nobody noticed that changing encoding settings from quality
mode to multi pass and back didn't change the encoder menu that displays the
options to run a comp check etc.
Since in StaxRip the muxer is part of the encoder loading another encoder
brought always new muxer settings resulting in current muxer settings being
lost. From now on the old muxer settings will be reused in case the new encoder
stream is supported by the old muxer
Improved verifications to prevent users from problems and improved diagnostics
to help users better with errors
Most command line applications are executed hidden showing the output on the log dialog
and writing the the output to the logfile
type1encryption
30th March 2008, 11:57
stax, wouldn't it be a nice idea if my favourite encoding tool allowed the user to alter the crf-setting for the compressibility check in x264-2Pass?
stax76
30th March 2008, 15:37
@type1encryption
Please describe a scenario to emphasize the usefulness of the feature.
type1encryption
31st March 2008, 11:10
With vaq automatically activated, crf18 @ quality 80+ is not necessary any more. With crf18 @ quality 40-75, I really can't predict the output. Now I'd prefer to do a comp-check with crf20 and set a Bitrate that would be equal to quality 80+.
Besides, if I choose xvid as encoder, I can edit the settings.
stax76
31st March 2008, 11:24
sounds reasonable, might take me a few days
wunschkind
31st March 2008, 16:53
hi,
i´ve downloaded the newest beta today and have problems with dgindex not working here (it stops) (i try to open a ts file through my network).
what can i do?
is there a version which works?
thank you and bye
wunschkind
stax76
31st March 2008, 17:22
@wunschkind
Had this happen too, thought it was related to closing the dgindex stats window, you can try dgindex 1.4.9 or projectx.
1.4.9 was replaced because somebody had problems with a certain source.
wunschkind
31st March 2008, 18:20
hi stax,
after copying the files from the network machine to my local machine i can use staxrip and dgindex ...
i´m getting some strange popups after the installation of the new beta: staxrip says that the avisynth plugin directory is in a unfortunate location (but it´s under programs\staxrip\)
then staxrip tries to copy the directory ...staxrip\settings\applications\avisynth plugins to
staxrip\settings\applications\avisynth plugins (the same ...) and fails
clicking on OK staxrip says that it changed the avisynth directory. "while running with admin rights, the location can be changed in the setting" (i´m admin)
what do you think?
wunschkind
stax76
31st March 2008, 18:31
@wunschkind
The settings dir is within the programs dir, I'll have to make changes to make this impossible to happen. To workaround meanwhile, please close StaxRip, move the settings dir somewhere else, run StaxRip, it'll ask now for the location of the settings, point it to the new location.
wunschkind
31st March 2008, 18:41
ok thank you stax .... now it works (i really love staxrip ... using it for years now :))
have a nice evening
wunschkind
stax76
1st April 2008, 16:21
alter the crf-setting for the compressibility check in x264-2Pass?
there is a new option now: unofficial build (http://www.planetdvb.net/non_drupal/staxrip/StaxRip_unofficial.exe)
http://planetdvb.net/non_drupal/forum_images/greenshot_2008-04-01_17-17-18.png
pdadi
1st April 2008, 18:24
Hi, I am ripping DVDs to 2 cds using xvid codec.
Since my size is fixed after the initial analysis I am trying lower
the resolution to imrprove the bitrate. But bitrate won't change.
I never run compression check.
Is bitrate is locked irrespective of changes in resolution.
Btw I am using latest staxrip build.
Thanks for any info.
type1encryption
2nd April 2008, 18:11
<<<<<there is a new option now: unofficial build
Many thanks stax, I hope I'm not the only one to use this new feature.
Poopoo
3rd April 2008, 01:13
Hi stax,
I see you post new unofficials on different forums and multiple times. How do we know, and where can we get the latest unofficial please ? Any perhaps what changed and what was fixed ?
MuLTiTaSK
3rd April 2008, 02:03
is there a way to open source files without the wizard in the lastest beta?
Flexy
3rd April 2008, 02:41
"staxrip doesnt support reading files from DVD" <--- doesnt make any sense.
Southstorm
3rd April 2008, 03:07
@ Flexy
Are you refering to an error message? If so, this is correct, Staxrip cannot read from a DVD, you need to rip the files to your hard drive first.
stax76
3rd April 2008, 06:13
I see you post new unofficials on different forums and multiple times. How do we know, and where can we get the latest unofficial please ?
When I've time and am not in the mids of coding something breaking the code, I upload requested changes often within a hour after they was requested. In order to make this easy I have a small application that automates everything, build the code, build the installer, upload everything to the server, copy the url to the clipboard, changing the website (version number for the auto update etc.). Releasing a stable StaxRip version with source code is a matter of one button click.
The url for unofficial builds is always the same. Sometimes these builds are more stable than official builds, sometimes less. The current unofficial build is fairly stable, the next one will have a couple of new features which always come with a lot refactoring so it'll be less stable.
I have a script to post images to forums, I just make a screenshot with greenshot pressing Alt+Print, it saves a image on the desktop, I right-click the image and select upload, it uploads the image and copies the url including forum markup to the clipboard.
http://planetdvb.net/non_drupal/forum_images/greenshot_2008-04-03_06-42-05.png
Public Class MainClass
<STAThread()> _
Public Shared Sub Main()
Application.EnableVisualStyles()
Try
Using wc As New Net.WebClient
Dim target = "://planetdvb.net/non_drupal/forum_images/"
wc.Credentials = New Net.NetworkCredential("********", "********")
Dim s = ""
For Each i In EnvironmentHelp.GetArgs
s += "" + "http" + target + i.Path.Name + "" + CrLf
wc.UploadFile(New Uri("ftp" + target + i.Path.Name), i)
Next
Clipboard.SetText(s)
End Using
Catch ex As Exception
Msg.Show(ex.ToString)
End Try
End Sub
End Class
is there a way to open source files without the wizard in the lastest beta?
Only from the shell (cmdl, d&d), if it's too much of a pain I can bring the text box shortcut back making a setting to activate the shortcut. I had to change it because some user might not notice the 'wizard' and thus not notice the batch features.
"staxrip doesnt support reading files from DVD" <--- doesnt make any sense.
from the support page:
describe a scenario to emphasize the usefulness of the feature and if possible provide help, information and resources that might be useful to implement the feature. The better the support I get the more features I can add.
This applies not only to StaxRip but to any software, not every request makes sense so I have to understand first what exactly you are trying to achieve.
MuLTiTaSK
3rd April 2008, 08:46
Only from the shell (cmdl, d&d), if it's too much of a pain I can bring the text box shortcut back making a setting to activate the shortcut. I had to change it because some user might not notice the 'wizard' and thus not notice the batch features.
a setting to activate the old way would be great stax
stax76
3rd April 2008, 09:27
a setting to activate the old way would be great stax
No problem, I liked the shortcut too, you can use a unofficial build (http://www.planetdvb.net/non_drupal/staxrip/StaxRip_unofficial.exe) which has a setting to reenable it.
The build has a lot code changed but not thoroughly tested so please take care, especially the 2 latest entries (at the top) in the changelog.
MuLTiTaSK
3rd April 2008, 09:42
No problem, I liked the shortcut too, you can use a unofficial build (http://www.planetdvb.net/non_drupal/staxrip/StaxRip_unofficial.exe) which has a setting to reenable it.
The build has a lot code changed but not thoroughly tested so please take care, especially the 2 latest entries (at the top) in the changelog.
thank you so much stax
is there a way to stop this from popping up?
http://img338.imageshack.us/img338/4871/20080403043631dg6.png
stax76
3rd April 2008, 11:05
is there a way to stop this from popping up?
please try this: http://www.planetdvb.net/non_drupal/staxrip/StaxRip_unofficial.exe
MuLTiTaSK
3rd April 2008, 13:00
please try this: http://www.planetdvb.net/non_drupal/staxrip/StaxRip_unofficial.exe
wow your good stax you really are a genious it's unbelivable what one man can accomplish all by himself StaxRip is like fine wine thank you very much buddy
vote for stax:)
MuLTiTaSK
3rd April 2008, 13:12
stax i found a little cosmetic bug in a very important place
http://img360.imageshack.us/img360/3348/20080403080757oa6.png
when you click on it it still sends you to the right place but some people might get confused i dont want that
MuLTiTaSK
3rd April 2008, 13:28
lastest x264 build on x264.nl has info for AQ parameters in --help
maybe you could add them to the command line presets or in the gui?
--aq-mode <integer> How AQ distributes bits [2]
- 0: Disabled
- 1: Avoid moving bits between frames
- 2: Move bits between frames
--aq-strength <float> Reduces blocking and blurring in flat and textured areas. [1.0]
- 0.5: weak AQ
- 1.5: strong AQ
Flexy
3rd April 2008, 13:49
>>>
>>
"staxrip doesnt support reading files from DVD" <--- doesnt make any sense."
>>
from the support page:
describe a scenario to emphasize the usefulness of the feature and if possible provide help, information and resources that might be useful to implement the feature. The better the support I get the more features I can add.
This applies not only to StaxRip but to any software, not every request makes sense so I have to understand first what exactly you are trying to achieve.
>>>
stax, from the videohelp software description:
"With StaxRip you can easily convert your DVD's ..."
As well as emphasis on the word "RIP" :)
[I am talking not about ripping tho, but just reading normal VOBs off a non-encrypted DVD.]
How can you state "With StaxRip you can easily convert your DVDs.." if i am not even able to read/access a simple VOB off a DVD?
If staxrip now (for some bizarre reason) requires me to first copy all the VOBs to HD and only is able to read them from HD...this totally eludes me and i dont understand the sense of this at all!
Add: For clarification: I tried to read-in some VOBs and convert a DVD to Xvid/H264, some really, really basic task. But i got this error message that staxrip cannot read right off DVD <---?!?!!?
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.