View Full Version : StaxRip x86 (development for x86 has been stopped)


Pages : 1 [2] 3 4 5

ch@@boom
20th April 2006, 19:04
hye staxy

not sure if this was asked before, i went through ~last 15 pages (for printer) searching for quality

is it possible to override the quality setting, because I have one DVD where I have to move the mark way to the right to keep the aspect ratio, but then the quality drops to ~60%

thx

stax76
20th April 2006, 19:38
is it possible to override the quality setting, because I have one DVD where I have to move the mark way to the right to keep the aspect ratio, but then the quality drops to ~60%

It's a encoder option since this is encoder specific and can vary between codecs and codec settings. If it's just one DVD and not something you need always you can just click next, most assistant messages can be ignored this way (some can be disabled completely in the options) though generally the assistant is your friend.

Warrex
21st April 2006, 00:48
So far there is no batch dialog but are there applications that do much better?


Well, some are better in some respects and worse in others. Gordian Knot has adding while encoding but I do not really like the structure of it although it has my beloved tab concept. Just let me describe what I think are most important things to have in this regard...


Most important features for advanced batch processing (well, to me):


Mass adding/preparation of sources: This HAS to be drag&drop capable as the sources will come from many different directories (I often use a search function from a file manager and then I drag the files from its list box). When .TS/.Vob files etc. are dropped to the batch window (dialog) they should be prepared and added to the jobs list using the default settings of the currently active template. This will guaranty the shortest possible workflow for many encodes of the same length and quality (like the episodes of a TV series). There should be a switch in that window which (when on) will tell StaxRip to regard the files added with one drop as only one project/job. This is important for split .ts files or multiple .vob files of the same movie.

Individual fine tuning: Every added job from step one should be editable in a complete manner (filter setup, etc.) if needed.

Job control: Reordering und deleting jobs should be possible (StaxRip already allows this).

Adding while encoding: Adding new jobs should be possible while already encoding. You already said that is very hard to include but I think it should be part of this wish list nevertheless.


This is all for now but I will keep thinking about it. :rolleyes:

PS: The Windows Explorer windows which are opened on the completion of a job are spamming my desktop. :scared: Any way to turn this off?

weaver4
21st April 2006, 13:51
I got the latest version yesterday. Now after I input VOB files it ask me if I want to save the project, I can say yes or cancel and it always gives me an error that it cannot open the d2v file because it is in use by another process.

I have pretty much tried everything, including installing StaxRip again. Any hints?

sterlina
23rd April 2006, 09:22
open [Edit Menu] from [Tools]
add a new menu item (it is shown as "???") and select it
choose "command", a menu drop down

... then hit ALT+TAB to switch to another application, ALT+TAB again to come back to StaxRip, an error appairs
I can't reproduce it, please send the diagnostic files or just post the content of the files exception.txt. Which command did you choose?

I'm just noticing I'm using two different terms for the same thing, Command and Action which is confusing of cource, got to change this.

I haven't choose any command, just opens the drops down menu of commands. I've tryed on an other PC, "clean install" of StaxRip and get same result

Exception0.txt

System.NullReferenceException: Object reference not set to an instance of an object.
at Stax.UI.CustomMenuEditor.cbMethod_SelectedIndexChanged(Object sender, EventArgs e)
at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ComboBox.WmReflectCommand(Message& m)
at System.Windows.Forms.ComboBox.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Exception1.txtSystem.Exception: Exception of type 'System.Exception' was thrown.
at StaxRip.GlobalClass.SendBugReport(Exception e)

mulrich
23rd April 2006, 12:05
It seems DivX 6.2.2 is out.

siddharthagandhi
23rd April 2006, 13:55
What does that have to do with StaxRip support?

sterlina
23rd April 2006, 22:48
Hi Stax, I notice that video frames can be cropped only by multiples of 4 pixels, but avisynth can support from 1. Is there any setting that can be changed to allow it?




@siddharthagandhi
I think mulrich is talking about "applications" in StaxRip, DivX reported version is 6.2.1


@mulrich
DivX 6.2.2 has been released yesterday (http://forum.doom9.org/showthread.php?p=817113#post817113), sure Stax will implement it but give him some time... if you are so in a hurry, you can install 6.2.2 without StaxRip, the program will probably complains that it is a "wrong version", but you can disable the alert and use 6.2.2

LRN
24th April 2006, 05:27
Hi Stax, I notice that video frames can be cropped only by multiples of 4 pixels, but avisynth can support from 1. Is there any setting that can be changed to allow it?
It's encoder-specific. Some encoders don't support not-4x framesizes.

sterlina
24th April 2006, 16:45
Hi Stax, I notice that video frames can be cropped only by multiples of 4 pixels, but avisynth can support from 1. Is there any setting that can be changed to allow it?
It's encoder-specific. Some encoders don't support not-4x framesizes.

yes, but cutting is done before resizing, so allowing a more fine cut would be good, the _check_ of frame size should be done after all filters are applied not on single filter.

DaXearo
24th April 2006, 20:07
First of all great tool! Congratz!
But I have a problem when encoding into 5.1 AAC sound... (from AC3 source); it seems that the channels are mixed up because the 'center channel' (the talking :) ) is being played through my front right speaker etc.
How can I fix this?
I play my files using ffdshow... (tried several builds, but same problem)
I've made some rips in the past using 5.1 and I had no problems with it. (with older Staxrip builds)
It's not a 'settings' problem I think because I formatted since.

Thanks for the help!

wdmalik
24th April 2006, 20:19
A Request:
Can u show the "detailed" audio rip log in the Movie log file ..

DaXearo
24th April 2006, 20:29
A Request:
Can u show the "detailed" audio rip log in the Movie log file ..

Staxrip is still encoding the video right now... So can't show you a log yet.
It seems that the front center speaker became the front right speaker, the front right became back right etc. The channels have been moved by 1.

wdmalik
24th April 2006, 20:42
Staxrip is still encoding the video right now... So can't show you a log yet.
It seems that the front center speaker became the front right speaker, the front right became back right etc. The channels have been moved by 1.

Well it does convert AC3 audio to MP3 etc etc .. right ...
so all i need is a display of the whole process in log file ...
actually i usuall don't go with the default audio conversion parameters, so i would like a detailed audio output in the log file

wdmalik
24th April 2006, 20:50
and one more thing .. i saw a more latest versin of xvid around ..
i think it was of 26 FEB, any plans to include that in any latest release

stax76
24th April 2006, 21:21
@Warrex

I likely make some more improvements regarding batch encoding.

The Windows Explorer windows which are opened on the completion of a job are spamming my desktop. Any way to turn this off?

It opens source and target dir, shouldn't that always be of interest?

I got the latest version yesterday. Now after I input VOB files it ask me if I want to save the project, I can say yes or cancel and it always gives me an error that it cannot open the d2v file because it is in use by another process.

I have pretty much tried everything, including installing StaxRip again. Any hints?

Sorry but I don't know what the reason could be.


I haven't choose any command, just opens the drops down menu of commands. I've tryed on an other PC, "clean install" of StaxRip and get same result

I've replaced the drop down which caused the crash with a menu so now there is context help for the commands in form of tooltips.

http://www.planetdvb.net/staxrip/StaxRip_Hotfix.zip

It seems DivX 6.2.2 is out.

Thanks, I hope it's also included in the play bundle.

yes, but cutting is done before resizing, so allowing a more fine cut would be good, the _check_ of frame size should be done after all filters are applied not on single filter.

Still it's just to easy to get into trouble, YV12 which are most sources have some restriction, right? Lot's of AviSynth filters require mod 4, I remember VFW issues though I don't recall which colorspaces and decompressors it was. If I would allow it I would allow lot's of people running into trouble because it's hardly possible to detect when it will work and when it won't and people fall just too easiliy into that kind of traps.

But I have a problem when encoding into 5.1 AAC sound... (from AC3 source); it seems that the channels are mixed up because the 'center channel' (the talking ) is being played through my front right speaker etc.
How can I fix this?

You can search the forum, if it wasn't answered before, you can post your command line and your dll versions and hope dimzon or somebody else who knows this will help you, I'm clueless about this stuff. The topics I had found stated the channel mapping would be OK regardless of Nero version.

and one more thing .. i saw a more latest versin of xvid around ..
i think it was of 26 FEB, any plans to include that in any latest release

Is it stable, popular, recommend, who compiled it?

sterlina
25th April 2006, 00:00
Still it's just to easy to get into trouble, YV12 which are most sources have some restriction, right? Lot's of AviSynth filters require mod 4, I remember VFW issues though I don't recall which colorspaces and decompressors it was. If I would allow it I would allow lot's of people running into trouble because it's hardly possible to detect when it will work and when it won't and people fall just too easiliy into that kind of traps.

mmh... what about an option like "crop automatically pixels mod _n_" in settings, with people that can change _n_ if they need (and they know what they are doing)? Actually if I'm only the one that needs it, I can deal with VirtualDub, don't worry :)


bug report:
I was trying

[edit menu]
[new item] (but it works for all items, even old ones)
[command]:Perform/Execute Command Line
open command line editor
copy into the command line the macro %application:<name>%
CRASH!


Exception0.txt
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at StaxRip.Macro.Solve(String value)
at StaxRip.UniversalEditorControl.tbEdit_TextChanged(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnTextChanged(EventArgs e)
at System.Windows.Forms.TextBoxBase.OnTextChanged(EventArgs e)
at System.Windows.Forms.TextBoxBase.WmReflectCommand(Message& m)
at System.Windows.Forms.TextBoxBase.WndProc(Message& m)
at System.Windows.Forms.TextBox.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Exception1.txt
System.Exception: Exception of type 'System.Exception' was thrown.
at StaxRip.GlobalClass.SendBugReport(Exception e)


:sterlina-bugtracker:



edit: forgot to say :thanks: for corretting old bug!!

stax76
25th April 2006, 15:11
@sterlina

There is a new option 'Advanced/Dangerous/Save Cropping'. The bug is fixed, good bug report. :thanks:

http://www.planetdvb.net/staxrip/StaxRip_Hotfix.zip

DaXearo
25th April 2006, 19:53
Well it does convert AC3 audio to MP3 etc etc .. right ...
so all i need is a display of the whole process in log file ...
actually i usuall don't go with the default audio conversion parameters, so i would like a detailed audio output in the log file

This is the log of the audio part of Staxrip:


---------- Audio Encoding ----------

Command Line: "C:\Documents and Settings\Administrator\Desktop\StaxRip\Applications\BeSweet\BeSweet.exe" -core( -input "D:\DVD_VIDEO\VIDEO_TS\VTS_01_1 01 en-English 3_2ch 448Kbps DELAY 0ms.ac3" -output "D:\DVD_VIDEO\VIDEO_TS\VTS_01_1 01 en-English 3_2ch 448Kbps DELAY 0ms_AudioOutput.aac" ) -azid( -c normal ) -ota( -d 0 -g max ) -dimzon( -dllname bse_Nero7WA.dll -6chnew -vbr_streaming -codecquality_high -aacprofile_he )

---------- Audio Encoding Statistics ----------

Start time: 07:50:27
End time: 08:44:40
Duration: 00:54:13
Speed: 47 fps
Size: 147.9 MB
Bitrate: 201.73 kbps
Video Bitrate: 760 -> 750

LRN
26th April 2006, 09:55
Stax, maybe you should think about introducing few different "layouts": "basic layout" (current StaxRip layout, or maybe even simpler), "advanced layout" (with all options ever requested), "pro layout" (with ALL (almost) possible options, requested or not, that can be changed). This includes encoder options GUIs, dialogs, etc.
It's hard, but this will solve all "i won't do this because this feature were requested only by you alone" issues.
At least, remember this idea for future SaxRip v2.0 ;)

Warrex
26th April 2006, 10:29
The Windows Explorer windows which are opened on the completion of a job are spamming my desktop. Any way to turn this off?

It opens source and target dir, shouldn't that always be of interest?

No, because:

1. I will not always check out the encoded files at once. I often batch-encode many smaller files and then start working on some Office stuff for example. Windows that are opened without request are just annoying then.

2. I never use the windows explorer. Using it is a complete waste of time (and functionality) compared to programs like Total Commander IMHO.

Gehenna
26th April 2006, 13:46
Stax,

I kinda second Warrex on this "Opening of source & Target" pop ups,It would be nice to be able to select or deselect "Target" & "Source" pop up after encode.

Also cleaning up(removing) (all) non essential files from the source after encoding will help the Noob Factor Usage..ie folders like temporary files & the .avs ,demuxed audio & video + *_EncoderOutput. (This might just be me though,i sometimes just throw everything in one folder),then i just gotta pickout the finished encoded and delete the rest.

Cheers

stax76
26th April 2006, 16:33
I kinda second Warrex on this "Opening of source & Target" pop ups,It would be nice to be able to select or deselect "Target" & "Source" pop up after encode.

http://www.planetdvb.net/staxrip/StaxRip_Hotfix.zip

Also cleaning up(removing) (all) non essential files from the source after encoding will help the Noob Factor Usage..ie folders like temporary files & the .avs ,demuxed audio & video + *_EncoderOutput. (This might just be me though,i sometimes just throw everything in one folder),then i just gotta pickout the finished encoded and delete the rest.

Since it gets requested so often I should start to think about it. It's a difficult topic. Meanwhile maybe telling how I work helps. I'll make a directory for every source, I've defined a default target directory so my target files go always out of the source directory and when I'm done with encoding I delete the complete directory.

Stax, maybe you should think about introducing few different "layouts": "basic layout" (current StaxRip layout, or maybe even simpler), "advanced layout" (with all options ever requested), "pro layout" (with ALL (almost) possible options, requested or not, that can be changed). This includes encoder options GUIs, dialogs, etc.
It's hard, but this will solve all "i won't do this because this feature were requested only by you alone" issues.
At least, remember this idea for future SaxRip v2.0

Good idea as stated before but too much work.

SeeMoreDigital
26th April 2006, 18:10
Hi Stax,

I've been meaning to mention this...

Whenever I try to manually enter a new value into the "Video Bitrate" or "Size" box, I've noticed the backspace key jumps over and leaves the last remaining digit in the box, instead of removing all the digits. Can these boxes be amended to work in the same way the "Resize" boxes do?

http://img142.imageshack.us/img142/3084/staxrip4fl.png

Also, why does the "Video Bitrate" value I've entered in the box change whenever I fiddle about with the "Audio" (or "Container") parameters?


Cheers

LRN
27th April 2006, 11:46
Also, why does the "Video Bitrate" value I've entered in the box change whenever I fiddle about with the "Audio" (or "Container") parameters?
Because video bitrate is calculated this way:
VideoBitrate = (FileSize - FilmLength*AudioBitrate - ContainerOverhead)/FilmLength. I.e. changing File Size, Audio Bitrate or Container (type and options) will change VideoBitrate. I thik...

sterlina
28th April 2006, 09:03
@sterlina
There is a new option 'Advanced/Dangerous/Save Cropping'.

cool! but... I can't find where it is, do I have to edit menu for it?

Gehenna
28th April 2006, 09:21
@sterlina

View / Project Options / Advanced / Dangerous = Save Cropping option

EDIT: Make sure you are using the LATEST build from Stax [4 posts up]

stax76
28th April 2006, 13:22
@SeeMoreDigital

Good request, thanks. You can use a hotfix (http://www.planetdvb.net/staxrip/StaxRip_Hotfix.zip)already if you like to.

This build is for batch and x264 people worth a try btw., check out the changelog.

sterlina
28th April 2006, 18:20
@sterlina

View / Project Options / Advanced / Dangerous = Save Cropping option

EDIT: Make sure you are using the LATEST build from Stax [4 posts up]

whoa! have completely forgotten about "project options", tanks!


now that I've seen it... BUG REPORT


open View / Project Options / Advanced
on the right windows there is a list of items (general-advanced automation-filters-assistant-dangerous)
normally they are all collapsed, but it is possible to open them with a click on the cross
BUG: if more than one is opened, when clicking on one of the options all the others will collapse, it shouldn't

stax76
28th April 2006, 19:30
Thanks, I'll fix it. Please let me know if you find more glitches.

wdmalik
28th April 2006, 21:38
0.9.2.5 (2006-01-18)
new: Forced Film is automatically applied if NTSC sources are > 95% film

are you sure this is still working, FPS should be decreased from 29.9 fps to 23.9 fps when forced film is selected ... but the DGINDEX output window still shows 29.9 fps ...

stax76
28th April 2006, 21:43
but the DGINDEX output window still shows 29.9 fps ...

That is normal.

wdmalik
28th April 2006, 21:50
and secondly staxrip is not respecting my choice of resolution, i will gretly appreciate it if u change it back,

SeeMoreDigital
28th April 2006, 21:56
@SeeMoreDigital

Good request, thanks. You can use a hotfix (http://www.planetdvb.net/staxrip/StaxRip_Hotfix.zip)already if you like to.

This build is for batch and x264 people worth a try btw., check out the changelog.Thanks mate...

That works more logically now ;)

You may be interested to know Kurtnoise13 has compiled a build of MP4box which currently supports the importation of one VOBsub subtitle stream within the MP4 container....

Maybe you'll be able to make use of it ;)


Cheers

stax76
29th April 2006, 00:50
and secondly staxrip is not respecting my choice of resolution, i will gretly appreciate it if u change it back,

Please elaborate, in case you mean the image size changes after opening a source, that's because of the option 'Auto resize image size: 195000'.

You may be interested to know Kurtnoise13 has compiled a build of MP4box which currently supports the importation of one VOBsub subtitle stream within the MP4 container....

Thanks, I'll follow the topic and add support for it when it turns out to be mature.

zaphod_beeblebrox
29th April 2006, 00:59
ripping my boxed sets to divx or xvid depending on advice, what are the best settings, Ive used simple divx and have found it has a few lackings, wish to try staxrip now.
thanks in advance
John

Sharktooth
29th April 2006, 14:02
rule 12 applies:
Do not ask what's best...

also :readrule: :readguid: :search:

swaaye
29th April 2006, 19:34
Stax,

I've noticed that the LAME parameters aren't working correctly. It seems that the presets, like "--preset fast standard" or "--preset fast medium" do work. But, the more custom parameters such as "-V 5 --vbr-new" don't. With that setting it will actually use what looks like "-V4". In fact, it will use "-V4" (or whatever it is using) even with other options too, like "-V 6 --vbr-new".

stax76
29th April 2006, 19:54
StaxRip had this problem but due to some feedback the problem was solved. According to the BeSweet docs '-V 5 --vbr-new' should work like it would work using lame.exe but it don't, what works instead is what StaxRip is using: '-v --vbr-new -V 5'.

sterlina
29th April 2006, 20:05
hi stax!
is it possible to use FAAC for encoding AAC instead of Nero?

stax76
29th April 2006, 20:08
is it possible to use FAAC for encoding AAC instead of Nero?

No profile for that is included but you should be able to create one. Doing this maybe you want to share your experience.

SeeMoreDigital
29th April 2006, 20:10
hi stax!
is it possible to use FAAC for encoding AAC instead of Nero?Indeed... Such an option would be cool, given I don't have anything "Nero" installed :)

swaaye
29th April 2006, 20:15
StaxRip had this problem but due to some feedback the problem was solved. According to the BeSweet docs '-V 5 --vbr-new' should work like it would work using lame.exe but it don't, what works instead is what StaxRip is using: '-v --vbr-new -V 5'.

Yeah, I forgot to mention that I was already using that -v fix. Without that it will just encode to 128kbps CBR. With -v I get what I described above.

sterlina
29th April 2006, 21:04
No profile for that is included but you should be able to create one. Doing this maybe you want to share your experience.

ok, I'll try to make something that can be embedded into StaxRip

wdmalik
30th April 2006, 13:50
Please elaborate, in case you mean the image size changes after opening a source, that's because of the option 'Auto resize image size: 195000'.


What I mean is that it always choose the resolution for which quality is either 40% or greater than this just before the encoding starts, i want it to encode on my choice of resolution irrespective of the quality %age for that,

stax76
30th April 2006, 14:23
What I mean is that it always choose the resolution for which quality is either 40% or greater than this just before the encoding starts

It changes the resolution after the source file is opened and after the comp. check and both of can be customized in the options under 'Automation'.

@all

How about using WinAmp instead of FAAC? It shouldn't be too hard to customize StaxRip for that, maybe I or somebody else can make a little guide, at some time I probably should integrate it, my to do list is atm. completely empty anyway (which is a cool thing).

SeeMoreDigital
30th April 2006, 14:54
How about using WinAmp instead of FAAC? It shouldn't be too hard to customize StaxRip for that, maybe I or somebody else can make a little guide, at some time I probably should integrate it, my to do list is atm. completely empty anyway (which is a cool thing).I'm just taking my first steps with BeLight 0.22 Beta9... Much like Stax it uses BeSweet.exe together with various dll's, including bse_FAAC.dll ;)

EDIT: Just been using AACplus v2 to generate some 6Ch AAC streams at 128Kbps... They sound amazing :)


Cheers

swaaye
30th April 2006, 22:00
Stax,

check this out regarding lame and besweet http://forum.doom9.org/showthread.php?p=806465#post806465

stax76
1st May 2006, 09:58
Stax,

check this out regarding lame and besweet http://forum.doom9.org/showthread.php?p=806465#post806465

Sounds good, I've changed it, thanks swaaye.

stax76
1st May 2006, 11:40
@Doom9

StaxRip so far was never in your news so I'm proposing this build.

0.9.9.2 (2006-05-01)



The x264 dialog has been reorganized.
The x264 switch '--bime' was added as 'B-Frames/Bidirectional ME'.
The x264 switch '--no-fast-pskip' was added as 'Analysis/No Fast P Skip'.
The x264 switch '--direct' was added as 'B-Frames/Direct Mode'.
Updated x264 to revision 516 using sharktooth's build.
DivX was updated to version 6.2.2.
Opening a audio source file that has a filename containing the language will cause StaxRip to pick up the language from the filename so it's no longer necessary to set the language manually.
Opening a source file while another source file is already open will show a dialog to select a template from. Previously just a warn message appeared asking to load a template first.
The options dialog has several new options allowing to disable certain assistant instructions. For now the following reminders can be disabled: crop, filters, cut and comp. check.
When StaxRip shows a dialog for the very first time it will automatically show the help of the dialog. It's now possible to disable this behavior in the settings.
For HDTV the image size is ofter larger then the monitor screen size, in that case StaxRip shows the crop dialog maximized fitting exactly the monintor size.
The command 'Perform/Clear Jobs' was added allowing to clear the job list.
The command 'Correct/ImageSize' was added. It changes the image size to the cropped image size in case no resize filter is used. This command is always performed after the crop dialog closes.
The command 'Correct/Crop Mod' was added. It crops until crop width and height is a multiple of 4 or in case no resize filter is used 16. This command is always performed after the crop dialog closes.
The command 'Perform/Add Job' was added allowing to add a job to the job list.
The command 'Perform/Run Jobs' was added allowing to start encoding the jobs.
The quality percent value that is used in conjunction with the compressibility check defaults now to 60% for XviD and DivX and 50% for x264. StaxRip will offer to reset all video encoder settings.
StaxRip no longer uses a default project but allows to specify which template to load at startup.
The main window supports now tooltips showed with a right-click or by using the 'What's this?' menu item (command: 'Help/What's This?'). StaxRip will offer to reset the main menu to make this menu item show up.
The automatic correction of crop values uses now two sides.
The crop dialog shows now mod values and labels in the status bar.
The menu editor uses now a menu instead of a drop down to select a command. The advantage of a menu is a hierarchical presentation and tooltip context help.
Added project option 'Advanced/Dangerous/Save Cropping' to disable forcing save mod values for cropping.
Updated the guides regarding multipass vs quality mode.
The size menu in the main window has new default values allowing to set the size/bitrate based on a quality of 40/50/60/70/80% which can be useful for codecs with multipass better tuned then quality mode. StaxRip will offer to reset this setting.
The audio settings for the PlayStation Portable were improved. StaxRip will offer to reset audio related settings.
The profile menus support now a tree structure based on slash signs ('/') in the profile name. StaxRip forces to reset audio and video encoder profiles to have new profile names.
The open files dialog supports now Drag &amp; Drop to add files.
Open the target directory after the encoding was removed because windows explorer might crash for unknown reasons.
The dialog for opening source files has various new options for batch processing.
The PayPal donation link was broke due to changes from PayPal.
The 'More Guides' help document was updated with a italian guide.

Warrex
2nd May 2006, 10:21
Bug Report:


Go to "Project Options"/"Advanced"
Open the groups "General", "Advanced Automation" and "Filters used internally"
Opening "Assistant" or "Dangerous" will now cause StaxRip to set the first option of the respective groups without clicking on the checkbox


Edit: When openening "Dangerous" and all other groups are open it will also change the last option of "Assistant": "Remind to do compressibilty check"

SeeMoreDigital
2nd May 2006, 10:25
Hi Stax,

Just in-case you missed it, Squid_80 has just announced: -

source: ftp://squid80.no-ip.com/xvid_encraw_src.zip
new build that should handle compressed (and raw colorspaces other than yv12) avi input files: ftp://squid80.no-ip.com/xvid_encraw.zip

(Also fixes the bug I mentioned above which no-one took any notice of.)


Cheers mate :)

stax76
2nd May 2006, 11:14
@Warrex

Fourth glitch now caused by opening multiple nodes. :o

http://www.planetdvb.net/staxrip/StaxRip_Hotfix.zip

@SeeMoreDigital

Server is down, my motivation making a little GUI (based on the TreeView) depends on how well it is documented. Some goes for including profiles of type 'Command Line Encoder', if somebody provides me with the command lines for some Command Line Encoder profiles then it would not be a big task to at least add Command Line Encoder profiles. Creating a new Command Line Encoder profile works by clicking 'Add' in the 'Encoder Profiles' dialog and selecting 'Misc/Command Line Example', the new profile can then be renamed
('Rename') and edited ('Edit').

DaXearo
2nd May 2006, 20:13
I've got a problem while playing Staxrip encodes (avi, mkv,...) in Media Player Classic; mpc opens multiple audio filters (like 2 or 3 times the AC3 decoder etc.) while playing back the file. It must be a bug in the muxing procedure in Staxrip.
When I re-mux the video & audio in vdubmod, the file plays fine.
I don't think it's a mpc bug, because non-Staxrip encodes play back fine.

Thanks!

stax76
2nd May 2006, 20:45
Your problem is probably MPC picks up external files that have the same name. It's a good feature but only if you know that it is a feature and not a bug, it confuses people regularly.

Warrex
4th May 2006, 15:35
@ Stax

I use DivxMux as Muxer in StaxRip. Is there a problem with audio delays? The audio delay of the AC3 file StaxRip has to mux is 1523ms.

StaxRip uses this command line (from logfile): "c:\Programme\StaxRip\Applications\DivXMux\DivXMux.exe" -v "C:\XYZ\VIDEO_TS\VTS_01_1_EncoderOutput.avi" -a (Audio -de;01) "C:\XYZ\VIDEO_TS\VTS_01_1 02 de-German 2_0ch 192Kbps DELAY 1523ms.ac3" -o "C:\XYZ\VIDEO_TS\VTS_01_1.divx"

DivxMux requires this syntax for muxing audio streams:
-a [(strn data)] [#<track>] [o<offset>] <filename>

Wouldn't it be correct to use this command line:
"c:\Programme\StaxRip\Applications\DivXMux\DivXMux.exe" -v "C:\Divx-Source\XYZ\VIDEO_TS\VTS_01_1_EncoderOutput.avi" -a (Audio -de;01) o1523 "C:\Divx-Source\XYZ\VIDEO_TS\VTS_01_1 02 de-German 2_0ch 192Kbps DELAY 1523ms.ac3" -o "C:\Divx-Source\XYZ\VIDEO_TS\VTS_01_1.divx"



So either StaxRip

does not handle delays at all
it detects that the audio delay is beyond DivxMux' -1000 to 1000ms range (just found out about it) and then does not use "o1533" (a warning would be nice in this case)


Which is correct?

Edit:
Just tested StaxRip with a file that has a delay of 570ms. StaxRip then also does not use "o570" to forward the value to DivxMux.

Btw: Why doesn't StaxRip use "[#<track>]"?

ricardo.santos
4th May 2006, 17:27
Hi Stax

In my opinion your program has the most "understanble GUI" for converting dvds with x264 codec.

can you tell me which profile(x264) should i use to backup my dvds so that i can watch them on the new blu-ray and hd-dvd players?

thanks

stax76
4th May 2006, 19:03
@Warrex

Maybe I missed that for that muxer, did you try mkv? I'll make a code review.

@ricardo.santos

I'm happy to hear you find it most understandable.

The latest build made this much easier as only two profiles are on top level of the menu for each codec, using either the profile 'Constant Quality' or 'Exact File Size' should be fine. 'Constant Quality' vs 'Exact File Size' is explained in the 'DVD Guide' of the help, those profiles are derived from Sharktooth's common encoding highprofile and should be fine for common usage.

ricardo.santos
4th May 2006, 19:59
cant install avisynth 2.5.6a required now by StaxRip

see thread here:

http://forum.doom9.org/showthread.php?t=109272&highlight=install+avisynth+administrator

thanks

Warrex
4th May 2006, 20:26
@Warrex

Maybe I missed that for that muxer, did you try mkv? I'll make a code review.


Mkv is not an option for me. I am aiming for best compatibility with my standalones. Using Divx' own muxer and renaming to .avi (some older players do not recognize .divx) has been perfectly reliable.

Something about it is in your source code - maybe its just not working correctly with delays greater than 2 digits.

stax76
4th May 2006, 21:18
@ricardo.santos

I can't help here, please help the AviSynth team to fix it.

Mkv is not an option for me. I am aiming for best compatibility with my standalones. Using Divx' own muxer and renaming to .avi (some older players do not recognize .divx) has been perfectly reliable.

Sure but trying it helps to spot the problem giving me more details about the bug though it might be obvious once I take a look.

ricardo.santos
4th May 2006, 21:49
@ricardo.santos

I can't help here, please help the AviSynth team to fix it.



How? im useless at coding!

stax76
5th May 2006, 17:36
Just report the bug :)

dvd_maniac
5th May 2006, 18:17
I am encoding TV Mpeg-2 recordings into X264 using the latest Staxrip and I have a question. I usually do not set the resolution until after the compressability check, but I just noticed that the Dos window that does the check has the initial resolution in it. Should I be changing the resolution to my desired resolution before doing the check? Does it in fact check the compressability of the resolution I have it set to?

stax76
5th May 2006, 19:19
The comp. check is mostly to find the resolution, the image size influences the compressibility so you should make a good guess or in your case set the desired image size before doing the comp. check.

stax76
5th May 2006, 21:26
Just tested StaxRip with a file that has a delay of 570ms. StaxRip then also does not use "o570" to forward the value to DivxMux.

It works here. Whenever a audio source file with file name containing delay is opened StaxRip detects the delay which can be seen in the config dialog of the track. A muxing audio profile signals the muxer to handle delay and the DMF muxer handles it just fine.

Do you have a delay in the config dialog? What is your filename? Obviously the delay in the filename must have format StaxRip knows and obviously if StaxRip don't the format the delay can't be detected and the config dialog shows 0 then for the delay.

Warrex
6th May 2006, 10:31
I encoded the first file with the 4 digit delay and took the command line from the log file. For the second 3 digit delay file I actually only used "Show command line" in the "Divx Container Configuration" dialog.

This is the command line StaxRip wants to process:

"c:\Programme\StaxRip\Applications\DivXMux\DivXMux.exe" -v "C:\Divx-Source\XYZ2\VIDEO_TS\VTS_01_1_EncoderOutput.avi" -a (Audio -de;01) "C:\Divx-Source\XYZ2\VIDEO_TS\VTS_01_1 02 de-German 2_0ch 192Kbps DELAY 570ms.ac3" -o "C:\Divx-Source\XYZ2\VIDEO_TS\VTS_01_1.divx

As you can see the audio file has its delay in the filename.

I use the latest Hotfix of StaxRip...

stax76
6th May 2006, 10:55
Do you have a delay in the config dialog of the track after opening that file? There should be a delay and the command line preview in the muxer dialog should show the delay will be passed to the muxer. I have absolutely no clue what is the problem here.

Edit: I think I know what is the problem, I didn't review the code yet and don't remember much detail but it seems StaxRip won't read the delay for muxing profiles, that's reasonable for muxing profiles since it's better to expect the delay was already fixed while reencoding but it can't be expected for AC3 files so you got to enter it manually, I'll fix it and likely will have to force the reset of all audio related settings another time but that seem to be necesarry very often anyway (e.g. once I add the new Nero encoder).

Warrex
6th May 2006, 11:11
Edit.../Audio Mux Options also shows a delay of zero...

Did not know that you can edit the delay somewhere... So I can at least change it manually. If I do set it manually to 570 StaxRip also puts it (o570) into the command line (Divx Container Configuration dialog).

So for some reason StaxRip fails to get the delay from the filename. What I do is the following:

I open the .d2v file StaxRip has created. StaxRip then automatically loads the .ac3 file without getting the delay from it. As you probably already saw from the naming structure the .ac3 file was also created or rather renamed by StaxRip - not by me.

Edit:
Ah, just saw your edit! Ok, then I will do it manually. I wonder why I did not stumble on this earlier...

stax76
6th May 2006, 11:18
So for some reason StaxRip fails to get the delay from the filename.

See the edited post above.

laserfan
6th May 2006, 14:29
When opening an MPEG2 file, StaxRip performs a demux operation and then invokes DGindex with a commandline that includes FO=0 (field operation, honor pulldown iirc). I have some odd ts captures that require I use "Force Film" in DGindex (for most others the FO=0 is just fine).

I know how to change this DGindex commandline, but it's kind of a PIA to go-in and change it and then change it back again whenever I need to change the -FO argument.

Wondering stax if you could think about another way to do this. Ok, as I type this I'm thinking myself that I can add another operation type for MPEG2 files and give it a name I can remember--that would be easier than actually editing the command line every time. So I have a decent workaround, but I guess I'll let this post stand--maybe someone else has the same issue as I do w/Field Operation.

stax76
6th May 2006, 17:37
Wondering stax if you could think about another way to do this.


No sorry I'm clueless about that stuff.

laserfan
6th May 2006, 21:31
No sorry I'm clueless about that stuff.Hmmm, maybe I wasn't clear enough. Right now IIUC your program looks at the file suffix e.g. .mpg or .ts to determine how to proceed, and the commands to use. I was just thinking there might be an interim step of some sort on Open i.e. "Which setup do you want to use".

Not a big deal I guess--obviously I'm "thinking out loud" here.

krisq
7th May 2006, 02:11
something is wrong with templates. i've made a one with quicktime import plugin (qtinput "%source_file%") and set it as startup template. when I choose .mov nothing happens, no length, no ar, no source or target path is shown. I mean, it looks like the file is correctly loaded because when I click on 'next' the file gets encoded. it just doesn't show any info about that file. I tried to save template with Directshowsource but exactly the same thing happens. i'm using 0.9.9.2. version 0.9.91 and previous were working fine.

stax76
7th May 2006, 09:53
@laserfan

It might be possible to invoke a script that shows a message box and invokes DGIndex instead of invoking DGIndex directly. There might be other solutions but like I said I'm clueless about the topic so I can't help much. Too make it clearer, I don't help with things I don't understand at least good enough to know what I'm doing is good, I mean field processing when NTSC is involved. Maybe you can send me a sample and tell me how and why you process it with DGndex manually.

@krisq

Please send a sample and needed filters.

krisq
7th May 2006, 12:31
Hi Stax.
These are my settings that doesn't work for me with any file (avi, mov, etc.).
Template is with Directshowsource so I don't have to give you any additional files.
my settings and startup template (http://s2.gimehost.com/v/3696896/settings.zip.html)
If you want more info I'll gladly provide it :)

stax76
7th May 2006, 12:43
I need a sample clip and quicktime dshow decoding filters. The defaults are supposed to work because MPEG-2 source excepts d2v and if it aint't d2v StaxRip will automatically use DirectShowSource instead (or AVISource if it's AVI), for dshow audio decoding the preparer needs to know the file extension which can be defined in the options.

krisq
7th May 2006, 13:19
Ok, watch it and you'll understand what i'm talking about.
bug.avi 1.2mb (http://s2.gimehost.com/v/5532696/bug.avi.html)

laserfan
7th May 2006, 15:21
...I don't help with things I don't understand at least good enough to know what I'm doing is good, I mean field processing when NTSC is involved. Maybe you can send me a sample and tell me how and why you process it with DGndex manually...Hi stax, I hear you. Funny though, I thought *I* was the noobie when it came to invoking DGindex!!! ;)

My (extraordinarily limited and possibly even incorrect) understanding of DGindex is that the -FO=0 argument that StaxRip incorporates (which "honors pulldown flags" in MPEG2 files) is suitable for most material, and that -FO=1 (Force Film i.e. doesn't need or use the pulldown flags to work when film is encoded for video) is a special case. So I found a special case where I have to use -FO=1, at least I can't figure out any other way to get the conversion to work properly otherwise.

But no worries, I will use the workaround I posted earlier for these shows.

mulrich
7th May 2006, 22:59
@Warrex:

You know, AVI has always supported DivX streams...why don't you just set container to AVI instead of using that evil DivX container?

Warrex
8th May 2006, 09:36
@Warrex:

You know, AVI has always supported DivX streams...why don't you just set container to AVI instead of using that evil DivX container?

1. That "evil" Divx Container is nothing is nothing but an .avi container. Apart from the filename extension it should be compatible with all applications that support .avi.

2. The added features of the .divx format are stored in parts of the avi container that will not be read by applications that do not support them. Likewise these feature should not cause problems. However if you edit an .avi (.divx) file with these features and save it the added special features should be lost (not 100% sure about this).

3. Different applications mux audio und video slightly differently which means that the resulting files might be more or less compatible. Since Divx, Inc. created the Divx profiles and certifies Divx players they should know best how to mux files the most compatible way.

The bottom line is: Using DivxMux means that you use Divx, Inc. own muxer. This will give you the possibility of enhanced features and might also lead to better compatibility of your encodes without causing any problems (well, I never had one).

Edit: You might also want to read these posts by Divx Team members on the topic:
http://forum.doom9.org/showpost.php?p=602370&postcount=59
http://forum.doom9.org/showpost.php?p=674037&postcount=93

defaulk9
9th May 2006, 17:20
Stax,
You may have fixed this already (I'm a version or two behind at the moment). But currently there does not seem to be a check for available disk space, or even a good mechanism for failing upon reaching that point. I had this happen to me and it took forever to figure out why StaxRip just quit. Of course it can't even write the error to the log because there isn't enough disk space.

I was using the command line x264 encode btw.

pablak
10th May 2006, 15:49
I do some conversion from rmvb ---> avi and i get avi with audio out of sync.
Doing some tests for looking why that happened I have discovered that problem is in video.

I found tutorial for conversion rmvb to avi with VirtualDubMod
and proper Avisynth script:

DirectShowSource ("filename", fps=25, convertfps=true)

fps parameter can be also 23,976 or 29,976.

Is any possibility to set this parameter automatically or manually in staxrip?

link to tutorial:
http://www.jakeludington.com/dv_hacks/20051210_how_to_convert_rmvb.html

krisq
10th May 2006, 19:50
Is any possibility to set this parameter automatically or manually in staxrip?


right click on Directshowsource and 'Edit'.

nohead
11th May 2006, 07:25
Bitrate: 75.02 kbps
Video Bitrate: 314 -> 271

This is probably a noob question concerning besweet, but I can't find an answer. I try to encode with a custom audio profile HE-AAC 32 kbps (based on the default profile he-aac vbr 50-70 kbps). How come the audio came out with 75 kbps and my video bitrate suffers because of that? Anyway to correct this situation? Thanks

Gehenna
11th May 2006, 08:22
@nohead

Two ways of reducing the actual bitrate i can think of:
VBR Internet

Edit or create a new profile for the AAC-HE VBR 50-70kbps,and change:
2ch -vbr_streaming
to
2ch -vbr_internet


This should lower the bitrate a touch,else use CBR as opposed to VBR:

CBR 64

Edit or create a new profile for the AAC-HE VBR 50-70kbps,and change:
2ch -vbr_streaming
to
2ch -cbr 64 for a fixed bitrate

pablak
11th May 2006, 13:31
right click on Directshowsource and 'Edit'.


Right. I tried this out and works .

Another problem is choose proper fps
23.976, 25 or 29,976 which depense of source video.

StaxRip, when file is loaded, shows fps from script not real fps which man can check with Mediainfo.

laserfan
11th May 2006, 13:41
Lately my Jobs list isn't getting processed properly, and I wonder where/how this info is used by StaxRip?

My most recent example: I process an HD Transport Stream (1080i) to a .d2v file, then desire to make two separate .rip jobs from it, first an HD conversion (720p) and then an SD conversion, saving each to the Jobs list. But then only the SD .rip is processed, and it is processed TWICE and the HD is not processed at all. Might it have something to do with how StaxRip parses my filenames ie. that they are too long or something? Here are the names I used:

Boston Legal 225 - Squid Pro Quo HD.rip
Boston Legal 225 - Squid Pro Quo.rip

Yesterday I attempted to run Jobs in the above order, but the 2nd one was run first, and then it appears it was run AGAIN, and when Stax was done the HD hadn't been run at all.

Where to look to troubleshoot this? Thanks!

krisq
11th May 2006, 19:25
Right. I tried this out and works .

Another problem is choose proper fps
23.976, 25 or 29,976 which depense of source video.

StaxRip, when file is loaded, shows fps from script not real fps which man can check with Mediainfo.

do this

DirectShowSource ("filename", fps=%source_rate%, convertfps=true)

pablak
11th May 2006, 20:31
do this

DirectShowSource ("filename", fps=%source_rate%, convertfps=true)

:thanks:
I'm not Avisynth script expert :o
:thanks:

I've do that and error occured during loading file into Staxrip.
Audio was demuxed properly.

stax76
12th May 2006, 08:45
Sorry about the delay, I hope I've a couple of hours time sunday.

b9AcE
12th May 2006, 16:25
As per stax's request here (http://forum.doom9.org/showthread.php?p=826684#post826684) I will explain what I meant.

It is really a matter of me not having Internet connection available where I do the encoding (yes weird, but some computers still are not connected).
When I use other GUIs (like MeGUI) I just prepare everything by manually downloading everything I need of the latest version and then keeping track of changelogs and such to keep track of new requirements.
The problem I got with StaxRip was that it kept asking me for programs I had not used before, so I did not have them available.

If there just would have been some way of knowing which programs it would need to have before I ran StaxRip I could have brought them along too.
So the solution would probably have been either a list on the webpage with "these are the programs we use in the latest version" or like a "StaxRip-Standalone_package.zip" which would have included all the required installers alongside with the latest version.

The way I solved it was to install StaxRip on another computer, tell it to download each component and then bring it all with me.
I would not like to have to do this with every new release though... ;)

I understand that this is probably not a common problem and basically "my own fault", so I don't expect anyone to do anything about it but... ...you asked. :sly:

LRN
12th May 2006, 22:33
-dimzon( -dllname bse_Nero7WA.dll ... ) probuces buggy ouput. There's 50% chance to get corrupted AAC file (muxed movie looses all sound at some point and will remain silenced until i reopen it) and 30% chance to get invalid AAC file (won't mux at all). I observed this only for HE-AAC; LC-AACs produced by this library is fine as far as i can tell.
-bsn(...) works fine as always.

EDIT----
No, not fine :( bsn performs incorrect channel mapping for 5.1 AACs. -azid ( -o ... ) doesnt' works. Looks like i have to continue to tinker with bse_Nero7WA...

siddharthagandhi
13th May 2006, 18:31
I have encountered a problem. I exported from Nero Vision a DV file Type 2....and even though I have ffdshow installed and the file plays in media player, when i do avisource, directshowsource, or any source, the file is unable to be opened, and the codec (dvds or something like that) is not found (thats the error message).

What do I do?

laserfan
13th May 2006, 19:11
I Added an "Extract audio and index MPEG-2 using DGindex" preparer, edit it, and Rename it and all looks good, but my new option does not survive an Exit from StaxRip--it's gone the next time I launch the program.

Bug? What could I be doing wrong?

Could use some help or ideas, as for the other Jobs problem noted a few posts ago.

Kupotek
13th May 2006, 20:18
Used Stax before and loved it, but this time I'm running into some problems.

I used DVD Shrink to rip a DVD to VOB files so i can backup this rare release DVD i own.

Stax only wants to convert it to MKV not AVI, so I said OK, i guess i have to convert VOB > MKV > AVI.

I started the process, went thru the steps carefully, and when BeSweet runs to begin the encoding, I see these CRC errors:

E7: CRC Error..
Stream Error : Sync found after 1117 bytes

So far I only see 5 of the errors and no more since, so I suppose it's okay.

Should I be concerned with this or just leave it running?
Thankyou.

sterlina
14th May 2006, 09:14
Hi Stax!
I wonder if StaxRip support (or you are planning to support) .srt subtitles or just VobSub ones



Stax only wants to convert it to MKV not AVI, so I said OK, i guess i have to convert VOB > MKV > AVI.
ehu... what settings are you using? StaxRip can convert from VOB to AVI


@b9AcE
you can try to overwrite old StaxRip with the new one when Stax release a new version

Gehenna
14th May 2006, 10:08
Stax only wants to convert it to MKV not AVI, so I said OK, i guess i have to convert VOB > MKV > AVI.

Works fine here.

What encoder are you choosing?





I Added an "Extract audio and index MPEG-2 using DGindex" preparer, edit it, and Rename it and all looks good, but my new option does not survive an Exit from StaxRip--it's gone the next time I launch the program.

You need to `Save Project as Template` ,then the setting will stick to the appropriate template you choose to load up.

LRN
14th May 2006, 10:16
I wonder if StaxRip support (or you are planning to support) .srt subtitles or just VobSub ones
StaxRip supports .srt subtitles. At least in .mp4 containers. This depends on muxer (Mp4Box in this case), not on StaxRip itself.

weaver4
14th May 2006, 13:21
What is the "Anamorpic" checkbox for?

stax76
14th May 2006, 14:42
What is the "Anamorpic" checkbox for?

It's a basic topic (http://www.seemoredigital.net/03_Video_Info.html) though in StaxStrip you don't have to care.

but my new option does not survive an Exit from StaxRip--it's gone the next time I launch the program.

Options in the 'Project Options' dialog are saved in projects. There is a help topic called 'Projects' which explaines projects.

you can try to overwrite old StaxRip with the new one when Stax release a new version

That is a simple and secure solution, it's also possible to replace the entire dir assuming settings dir etc. are located outside of the startup dir, the dirs can be defined in the settings.

I wonder if StaxRip support (or you are planning to support) .srt subtitles or just VobSub ones

Such things take much time, ain't vobsub a option?

Stax only wants to convert it to MKV not AVI, so I said OK, i guess i have to convert VOB > MKV > AVI.

AVI is not supported for x264. Ain't mkv or mp4 a option for you?

I have encountered a problem. I exported from Nero Vision a DV file Type 2....and even though I have ffdshow installed and the file plays in media player, when i do avisource, directshowsource, or any source, the file is unable to be opened, and the codec (dvds or something like that) is not found (thats the error message).

For AVISource are you sure you have a VFW decompressor?

Start Menu/Programs/ffdshow/VFW codec configuration/decoder tab/DV

-dimzon( -dllname bse_Nero7WA.dll ... ) probuces buggy ouput. There's 50% chance to get corrupted AAC file (muxed movie looses all sound at some point and will remain silenced until i reopen it) and 30% chance to get invalid AAC file (won't mux at all). I observed this only for HE-AAC; LC-AACs produced by this library is fine as far as i can tell.
-bsn(...) works fine as always.

EDIT----
No, not fine bsn performs incorrect channel mapping for 5.1 AACs. -azid ( -o ... ) doesnt' works. Looks like i have to continue to tinker with bse_Nero7WA...

It's already safe to say that AAC is the most painful and troublesome feature, I don't have a solution yet.

DirectShowSource ("filename", fps=%source_rate%, convertfps=true)

Can't work because the source parameters are detected with the source filter in the first place.

@laserfan

Can you reproduce it with a sample clip? No problems here.


Is any possibility to set this parameter automatically or manually in staxrip?

No, normally it's not needed but sometimes it seemes.


You may have fixed this already (I'm a version or two behind at the moment). But currently there does not seem to be a check for available disk space.

I can add a check but only a very simple one.

Ok, watch it and you'll understand what i'm talking about.

That looks like 'Batch Mode' is enabled. Did you enable it and when you did so did you know what 'Batch Mode' is?

krisq
14th May 2006, 15:46
That looks like 'Batch Mode' is enabled. Did you enable it and when you did so did you know what 'Batch Mode' is?

damn, i will bow to you :D
but shouldn't it show at least a filename or something? (usual info would be great :))
i mean, anything that will give you a hint that the file is correctly loaded?


Thanks Stax :thanks:

siddharthagandhi
14th May 2006, 23:39
Hey Stax did you see my problem?

"I have encountered a problem. I exported from Nero Vision a DV file Type 2....and even though I have ffdshow installed and the file plays in media player, when i do avisource, directshowsource, or any source, the file is unable to be opened, and the codec (dvds or something like that) is not found (thats the error message).

What do I do?"

stax76
15th May 2006, 00:05
Hey Stax did you see my problem?

"I have encountered a problem. I exported from Nero Vision a DV file Type 2....and even though I have ffdshow installed and the file plays in media player, when i do avisource, directshowsource, or any source, the file is unable to be opened, and the codec (dvds or something like that) is not found (thats the error message).

What do I do?"

I had answered:


For AVISource are you sure you have a VFW decompressor?

Start Menu/Programs/ffdshow/VFW codec configuration/decoder tab/DV

siddharthagandhi
15th May 2006, 01:48
Oh...I didn't see that...dunno why...?

but yes i do have the right decompressor...

and its the same problem with directshowsource

stax76
15th May 2006, 07:41
If the filter of category 'Source' can handle the file then StaxRip can handle the file, it's as simple as that, can you send me a sample clip?

weaver4
15th May 2006, 14:09
Quote:
Originally Posted by weaver4
What is the "Anamorpic" checkbox for?

It's a basic topic though in StaxStrip you don't have to care.

Yeah, I know what Anamorpic is. But in StaxRip you have a "Anmorpic" checkbox. When would I check this? What would I look at to determine when to check it? If with StaxRip I doesn't care, why is it there?

BTW: Great Program!

Thanks,

laserfan
15th May 2006, 15:06
Lately my Jobs list isn't getting processed properly...only the SD .rip is processed, and it is processed TWICE and the HD is not processed at all...Where to look to troubleshoot this? Thanks!stax you asked for "a sample clip" but there is nothing that would help in that!?

Can you tell me, when I add .rip jobs to the Jobs list, where does StaxRip store their names and the order they should be processed?

If you point me to how/where this works maybe I can find the problem myself.

LRN
15th May 2006, 15:22
What would I look at to determine when to check it? If your image in Preview looks squeezed, then you shound uncheck Anamorphic. Usually, most widescreen movies is anamorphic. Anyway, you shouldn't care because StaxRip will determine this automatically.

wdmalik
18th May 2006, 20:10
Does staxrip automatically determines whether the source needs deinterlacing or not .. ?

Gehenna
18th May 2006, 21:02
Does staxrip automatically determines whether the source needs deinterlacing or not .. ?

not...

sterlina
19th May 2006, 20:17
I wonder if StaxRip support (or you are planning to support) .srt subtitles or just VobSub ones
Such things take much time, ain't vobsub a option?

Of course it is. But when I can, I prefere to leave as much place as possible for audio/video ;) don't worry, I know how to use mkvtoolnix for muxing

wdmalik
19th May 2006, 20:44
not...

you mean no right .. ?

Gehenna
19th May 2006, 21:12
Does staxrip automatically determines whether the source needs deinterlacing or not .. ?

No deinterlacing detection at the moment.

Stax has looked at this in the past:

[1st April 2006]
Reading some guides, Decomb is pretty good documented, there is a guide at Doom9 and there is www.100fps.com. I'll probably try it a second time using another approach, instead of porting berrinam's C# code to VB which I did using InstantVB I'll use it directly and include it as downloadable package.

anne_so78
20th May 2006, 20:58
Hey stax, any plans to incorporate the new highly improved free Nero AAC encoder?

LRN
21st May 2006, 11:07
It's already safe to say that AAC is the most painful and troublesome feature, I don't have a solution yet.
I have. Change vbr_streaming -> vbr_normal.

SeeMoreDigital
21st May 2006, 11:21
Hey stax, any plans to incorporate the new highly improved free Nero AAC encoder?Personally speaking, I would prefer it if StaxRip incorporated Coding Technologies multi-channel capable AAC-LC/HE encoder...

I've been using it with BeLight to convert 6Ch AC3 directly to 6Ch AAC-HE (ie: without the WAV conversion stage) and it produces excellent sounding encodes ;)


Cheers

LRN
21st May 2006, 12:45
Also, i recently uncovered GREAT feature in mp4box. You could run "mp4box.exe -ttxt filename.srt" to convert filename.srt -> filename.ttxt. It's cool, because then you could change default fontname (now you need not to correct l->I or I->l (in Serif I <> l) since you can just use Arial where I = l), fontsize (no more Large Italic Subtitles and normal subtitles in one file!), font (and background) color.
While theoretically StaxRip can preprocess subtitles (feed srt to mp4box, change values in resulting ttxt and feed it to mp4box again when muxing), I think my programming skills is good enough to implement ttxt-output directly in SubRip. I will report my progress in a week or two (quite busy right now).

vladlp
22nd May 2006, 11:57
Hello Stax!
Just small error with AddJob command. I added it to main menu and after I press it comes message “Please follow the assistant.”

I a little analyze the code, the rezones for it is next:
In mainform.vb

Public Sub AddJob( _

If Not g.MainForm.lTip.Text = Strings.AssistantReadyMessage Then
Msg.Show("Please follow the assistant.", MsgIcon.Warning)
Exit Sub
End If
You check g.MainForm.lTip.Text = Strings.AssistantReadyMessage, but after I press AddJob g.MainForm.lTip.Text has value “Adds a job to the job list.”

And small feature requires :)
Probably you are thinking about improving JobList dialog. Just say change it form simple listbox to some kind of grid control with project name and properties of this job like bitrates, size, etc. in columns with quick edit possibility.

stax76
22nd May 2006, 12:57
You check g.MainForm.lTip.Text = Strings.AssistantReadyMessage, but after I press AddJob g.MainForm.lTip.Text has value “Adds a job to the job list.”

I fix it, thanks.

And small feature requires
Probably you are thinking about improving JobList dialog. Just say change it form simple listbox to some kind of grid control with project name and properties of this job like bitrates, size, etc. in columns with quick edit possibility.

I don't have much plans other than minor changes and the new Nero audio encoder before I release version 1.0.0.0 which will happen shortly. After that I want pause StaxRip, maybe I maintain the support and minor things.

That feature is not doable with my design because of the same reason of other job related limitations I've explained before. A project can only be encoded and modified when it is loaded in the GUI.

I'm working however on a fork of StaxRip, I've posted a preview already and will post a much improved build soon hoping to find people joining the project.

@SeeMoreDigital

Bratao has posted a modified StaxRip build where you can find examples how to customize StaxRip for the WinAmp encoder, I won't add a default project however since Nero is the primary encoder and adding another encoder is not as easy as it may look. The new Nero encoder will be supported soon, customizing StaxRip for the new Nero encoder can already be done with dimzon's bsn replacement.

Hey stax, any plans to incorporate the new highly improved free Nero AAC encoder?

Yes as explained above.

bob0r
22nd May 2006, 13:52
StaxRip 0.9.9.2 added to x264.nl under gui:.
(Files are mirrored, so don't worry about any data usage)

Keep up the great work!

Gargantula
22nd May 2006, 20:09
I noticed that with StaxRip 0.9.9.2 that when I chose the Noise smooth, it doesn't remind me to install the Flux Smooth plugin and said that it isn't required for the project. I got an error in the preview since it was trying to call this function, It worked for the Extreme option and I was asked to download Undot and deen.

I downloaded FluxSmooth anyways and it works now, but to make it user friendly the reminder should come up.

This filter barely helped the problem I have with diagonal lines across the image. Look at attachment.

In addition, what did you mean by you are working on a fork of StaxRip? Another new name program based on StaxRip? I love this program and it's only getting better! I think everybody here appreciates the work you put into this program, I know I sure do!

Gargantula
24th May 2006, 02:55
With this project in the attachment, I get a an error that says "Video compression error: The source image format is not acceptable. (error code -2)" when I try to run a compressibility check. When I lower the video image size to 640 x 480 I don't get the error.

THe video is divisible by 16. I put a 1.333 Aspect Ratio instead of the ITU-R BT.601 standard since TVs are made as 1.333.

LRN
28th May 2006, 10:27
Denoise won't fix diagonal lines, IMHO. This noise is too strong (or too structured...)

foxyshadis
28th May 2006, 11:06
This is a job for DeFreq. ;)
http://www.avisynth.org/fizick/defreq/defreq.html
vchoman's FanFilter is also a possibility.

stax76
28th May 2006, 18:51
When I lower the video image size to 640 x 480 I don't get the error.

THe video is divisible by 16.

Sounds odd.

it doesn't remind me to install the Flux Smooth plugin and said that it isn't required for the project.

fixed

@bob0r

Thanks for hosting and supporting StaxRip.

@all

I don't work much on StaxRip these days and probably won't do much any time soon. I try however to maintain the support and thus uploaded a new hotfix build (http://www.planetdvb.net/staxrip/StaxRip_Hotfix.zip).

*AAC uses now the new encoder by Nero.
*Default codecs changed to x264 and AAC.
*The 'Quality' value (--crf) of the x264 profile 'Constant Quality' was changed from 20 to 22.
*Starting encoding has now to be started with the job dialog. Pressing 'Next' creates a job and opens the job dialog so the only thing left to do is pressing 'Start' in the job dialog.
*The delay wasn't detected for muxing profiles and thus wasn't detected for AC3.
*FluxSmooth wasn't detected as requirement.
*The 'Add Job' command couln't be used from the menu.

SeeMoreDigital
28th May 2006, 19:21
@all

I don't work much on StaxRip these days and probably won't do much any time soon. What a shame....

I was kinda hoping you would incorporate XviD's EncRAW into StaxRip, as and when direct-to-MP4 encoding is implemented.

Given that MPEG-4 AVC (x264) with AAC audio can be directly encoded into MP4, being able to generate MPEG-4 SP/ASP with AAC audio directly into MP4 sure would complete the "freeware" MPEG-4/MP4 encoding tools side of things quite nicely - No reason why Nero (Recode2) should have it all their own way!


Cheers

weaver4
28th May 2006, 20:10
I don't work much on StaxRip these days and probably won't do much any time soon. I try however to maintain the support and thus uploaded a new hotfix build.

SMD -- With no more work being done on StaxRip, Avi.net, AutoGK, Fair Use Wizard and MPEG Mediator where does that leave us?

stax76
28th May 2006, 20:13
What about StaxRip's generic CLI encoder?

Warrex
28th May 2006, 21:06
I don't work much on StaxRip these days and probably won't do much any time soon.

Makes me sad to hear that. :thanks: for all the time you put into StaxRip! However good to hear that you will maintain what has been achieved so far. Are you still going to release 1.0 soon?

Edit:

*Starting encoding has now to be started with the job dialog. Pressing 'Next' creates a job and opens the job dialog so the only thing left to do is pressing 'Start' in the job dialog.

Very good!

Gehenna
29th May 2006, 09:58
I don't work much on StaxRip these days and probably won't do much any time soon.

oh well.. :(

I see no reason to change from Staxrip from the forceable future ,it does pretty much everything i want at the mo.. Nice Job Stax.


I even took a cursory glance at MeGUI.. Tried to figure out how i could cut video(as in staxrip),then realized their is no support to cut video in megui:rolleyes:

PS..Although it would be nice to have:
1. Sound in the preview window
2. Preview Window was re-sizeable (something between standard and full-screen)
3. A deinterlacing analyzer (but i guess i could use megui for that purpose)

laserfan
29th May 2006, 15:01
...I see no reason to change from Staxrip from the forceable future ,it does pretty much everything i want at the mo.. Nice Job Stax.

...it would be nice to have...A deinterlacing analyzer (but i guess i could use megui for that purpose)I share your sentiment about Stax...it is amazingly flexible and does virtually everything I've wanted to do with it, so far at least.

As for the analyzer, I have tried MeGui's a couple of times and it has steered me wrong both times. I think the best (only?) way to analyze video is to step thru it in Vdubmod (using only the SeparateFields filter) and determine for one's self what to do with it. :scared: ;)

LRN
29th May 2006, 18:51
I never encountered any DVD wich required deinterlacion different from default "Deinterlacion" filter. Automatic interlacion detection is good...but since you should spend some time on job preparing (bitrate and resolution changes, container options) it's not critical to open preview window and look for some high-movement scenes to decide to use deinterlacion or not to use...IMHO

laserfan
29th May 2006, 19:48
I never encountered any DVD wich required deinterlacion different from default "Deinterlacion" filter.I actually don't use StaxRip for DVD conversions at all. Instead I use it to convert digital TV captures, which can come in dizzying (to me) varieties of interlacing, frame duplication, and telecine. :eek:

Gehenna
1st June 2006, 10:54
Stax,

Is their an easy way of grabbing the directory name and using it as the target file name..?

Im currently converting my B5 collection,im extracting the episodes into a structure like this:

D:\Babylon5\Season2\02x18 - Confessions and Lamentations\

Could i get staxrip to grab the directory name where the files reside and use it as my target name:

D:\02x18 - Confessions and Lamentations.mkv

Otherwise i end up with a title like D:\VTS_01_PGC_02_1.mkv,which means i have to copy and paste from the source directory.

This is currently my CLI Muxer:
mkvmerge.exe -o "%target_file%" --track-name 0:Video "%encoder_out_file%" --language 0:eng --track-name "0:English" "%audio_file1%" --title "%target_file%"

I have tried %source_dir% and %source_file%,but they pick up the whole directory structure.

Its kinda lazy of me,but thought i would ask on the off chance anyways.



Thanks Stax

EDIT: If i use CLI of mkvmerge,how do i use --chapters , what %goes here% so the OGG Chapter file is imported?

daverc
1st June 2006, 11:44
I dont know, but this one can do almost every renaming operation.

http://hp.vector.co.jp/authors/VA014830/english/FlexRena/

Foobar has also a mass renaming function that can translate directory names into file names.

LRN
1st June 2006, 11:58
Download the sources and add new identifier - %source_last_dir% or something like that.

Gawwad
2nd June 2006, 00:02
@all

I don't work much on StaxRip these days and probably won't do much any time soon. I try however to maintain the support and thus uploaded a new hotfix build (http://www.planetdvb.net/staxrip/StaxRip_Hotfix.zip).

http://www.asmilies.com/smiliespic/sad/051.gif (http://www.asmilies.com)

LRN
2nd June 2006, 15:10
stax, please, add '.ttxt' extension as valid extension for subtitle-files for mp4 container.

Also, new SubRip v1.50 beta 3a by me (with support for experimental '.ttxt' output) could be grabbed on http://zuggy.wz.cz/

7zeal
3rd June 2006, 15:01
I tried to add a HD wmv (1280x720) to staxrip 0.9.9.2;
After VirtualDubMod ran to extract the wav, it started throwing out errors about directshow or sth, not being able to read the movie. Then the source editbox suddenly becomes [...path\mymovie].mp4, changing from wmv (the avs script will have the input changed as well). At this point no compressibility test / encoding can be done anymore.
Tried changing back the extension in the editbox to wmv, tried modifying the avs script, changing the extension to wmv there too.
Nothing worked, still "cannot read source" or something like that.
Reinstalled 0.9.9.0 replacing the files, left the x264 version to Shartooth's 516 (ignoring the unknown version warning) and now it works like a charm.
(Btw, this wmv worked before perfectly with 0.9.9.0 and it's default x264 (467 if i remember well) ).

What's wrong with it ?:)
(And btw, since when x264's HQ-Insane does only 2 passes instead of 3 ?
Using the new 516 x264 encoder, and after installing StaxRip 0.9.9.0 back, it still shows "2-pass" in the Codec Configuration box.

Thanks in advance,
Dan

LRN
3rd June 2006, 17:01
7zeal, investigation showed that 3 passes often produce less quality output than 2 passes, there's really no point in 3 passes, so that's not very big loose :)
I don't think x264 is related to your wmv problem. I think it's all the VirtualDubMod's fault

cdrinfo
4th June 2006, 10:05
Any chance to add Microsoft VC1 encoders?

LRN
4th June 2006, 10:45
I doubt it. StaxRip is MPEG-4 encoding frontend. VC1 isn't from MPEG-4 family. And is there any free commandline/dll muxers, encoders for VC1?

Stax would say:"You can try to add it yourself and then post necessary commandlines and switches here so i could add it too"

swaaye
4th June 2006, 21:37
I'm dual booting into Windows x64 now and I was going to do some encodes. It looks like StaxRip looks at the C: folders for all of the dlls though so I'm not sure it will work. My x64 install is on D:.

This seems like it might fit into the category of a bug?

nohead
6th June 2006, 04:10
It looks like StaxRip looks at the C: folders for all of the dlls though so I'm not sure it will work.

I have my Windows installed at the F: and StaxRip works fine for me...

~bT~
7th June 2006, 21:08
Can anybody tell me which filter I need where? This is my set up currently.
MPEG2Source("D:\DVD\************\VTS_01_1.d2v")
Crop(6,50,-6,-50)
FieldDeinterlace()
BicubicResize(656,288,0,0.5)
Tweak(bright=10, cont=1.1)
UnDot.Deen()

Should UnDot.Deen be before Tweak?
Thanks in advance.

Deinorius
9th June 2006, 09:56
Stax, it would be recommended to implement FRFun (http://forum.doom9.org/showthread.php?t=110200&highlight=frfun) into the filter list of StaxRip. You can adjust it as a slower HQ Filter.
It's worth it. :)

Gehenna
9th June 2006, 16:17
@Deinorius

Like most things in Staxrip,its pretty easy to add filters manually.

I kinda like Stax`s approach,im not overwhelmed by a myriad of different filters to "Tinker" with.. which is great from a Noob point of view.... and when you feel you need an extra filter,its very simple to add it & create a template.

Less is More ..So 2 speak :)
just my 0.02$

@bEnGaLi tHuG
Can anybody tell me which filter I need where? This is my set up currently.
MPEG2Source("D:\DVD\************\VTS_01_1.d2v")
Crop(6,50,-6,-50)
FieldDeinterlace()
BicubicResize(656,288,0,0.5)
Tweak(bright=10, cont=1.1)
UnDot.Deen()

Should UnDot.Deen be before Tweak?
Thanks in advance.

Maybe you should ask this in the Avisynth part of the forum,its not really Staxrip specific

~bT~
9th June 2006, 21:16
Maybe you should ask this in the Avisynth part of the forum,its not really Staxrip specific
Sorry, it was a feature of StaxRip so I thought I'd post here...

LRN
10th June 2006, 13:33
-vbr 0.4 for AAC ~225 kbps is a bad choice, -vbr 0.3 is much better. Who's in charge of those encoding profiles? dimzon?

Deinorius
12th June 2006, 11:18
@Deinorius

Like most things in Staxrip,its pretty easy to add filters manually. That's true. I still integrated many many filters and audio codec settings into StaxRip, but it would be nice to implement it into the standard list.

Deinorius
16th June 2006, 11:21
I'm still missing SSA Support for MKV Container. I have no idea of programming, but it can't be so difficult to integrate it, right?

So for the reason Stax will not programm for the time. Is there anybody who would do it instead of him? Well, of course after asking Stax. :D

LRN
16th June 2006, 11:42
It's not difficult at all. But requires some basic experience with .NET (wich i don't posess)

Still, you could mux your movies manually: perform all necessary encodings as usual (you could even mux everytnihg down in mkv without subtitles), open muxer options dialog and copy commandline (see Tools button). Then change this commandline.
Find something like "--language 0:eng -s 0 "c:\...\subs.idx"" and change it to something like "--sub-charset 0:UTF-8 "subs.ssa"" (my experience with mkvmerge is limited to reading the mans, but you got the idea, right?)
Then execute this command in c:/Program files/mkvtoolnix/ (or where mkvmerge.exe is located)

Deinorius
18th June 2006, 00:53
Of course I can do it this way. But it's still better, if it will be supported by the program from beginning, isn't it? ;)
I'm muxing the files manually as well. That's not the problem, but it would need less time. But I don't want to critisize anybody.

docanime
28th June 2006, 07:48
Any thoughts of including I-frame / Key-frame support for the preview window? THat is allow users to jump to the next or previous I-frame? It seems if I edit a TS stream, the audio doesn't sync unless I cut it at a I-frame.

Just curious...

DA

laserfan
28th June 2006, 15:03
It seems if I edit a TS stream, the audio doesn't sync unless I cut it at a I-frame.I've never used stax as an editor, preferring instead to use VideoReDo Plus ($50 but a must-have program for editing Transport Streams). It allows cuts at non-I-frames, and then re-encodes frames as needed to produce useable GOPs (with audio sync of course).

wdmalik
28th June 2006, 18:56
what does create job and run job do ?

rufus007
28th June 2006, 20:20
Stax - please is it possible to add into staxrip setup for using virtualdub's internal filters (at least temporal smoother)? I mean add this possibility into xvid encoding setup (for example) - only switch (at least :) ) that causes adding:
VirtualDub.video.filters.Clear();
VirtualDub.video.filters.Add("temporal smoother");
VirtualDub.video.filters.instance[0].Config(3);

and changing:
VirtualDub.video.SetMode(1);
to
VirtualDub.video.SetMode(3);

or is it possible to allow changing virtualdub's job script through menu (superb)?

Big thanx and sorry for my english

LRN
29th June 2006, 12:40
Filters->Profiles->Collection->+
Name: Temporal smoother
Script: LoadVirtualDubPlugin(string filename, string filtername, int preroll)

loads a plugin written for VirtualDub. "filename" is the name of the .vdf file. After calling this function, the filter will be known as "filtername" in AviSynth. VirtualDub filters only support RGB32. Some filters' output depends on previous frames; for those, preroll should be set to at least the number of frames the filter needs to pre-process to fill its buffers and/or update its internal variables.

rufus007
29th June 2006, 17:30
Filters->Profiles->Collection->+
Name: Temporal smoother
Script: LoadVirtualDubPlugin(string filename, string filtername, int preroll)

loads a plugin written for VirtualDub. "filename" is the name of the .vdf file. After calling this function, the filter will be known as "filtername" in AviSynth. VirtualDub filters only support RGB32. Some filters' output depends on previous frames; for those, preroll should be set to at least the number of frames the filter needs to pre-process to fill its buffers and/or update its internal variables.

thanx for your answer - however Temporal smoother is 'internal' virtualdub filter, it doesn't exist in .vdf
LoadVirtualDubPlugin function is suitable only for 'external' filters in .vdf

so I hope that stax will be cooperatible...

Deinorius
29th June 2006, 18:00
Why do you want this filter? Aren't there enough good Avisynth filters?

rufus007
29th June 2006, 22:19
Why do you want this filter? Aren't there enough good Avisynth filters?

None of avisynth temporal denoisers are as good as this one...

Did you ever tried temporal smoother in virtual dub?

Deinorius
29th June 2006, 22:22
It has been a long time since I used a VD Filter. oO
Do you have any numbers which show, that this filter is so great?

foxyshadis
30th June 2006, 07:17
Temporal Smoother should be about equivalent to:
overlay(last,TemporalSoften(radius,16,16),opacity=???)
using only avisynth internal filters, where ??? is probably .7 or so, or maybe even 1.0. radius is like the "strength" param.

rufus007
30th June 2006, 21:06
Temporal Smoother should be about equivalent to:
overlay(last,TemporalSoften(radius,16,16),opacity=???)
using only avisynth internal filters, where ??? is probably .7 or so, or maybe even 1.0. radius is like the "strength" param.

Thanx, I will try it. Rather not continue in this thread with discussion ,its off topic.

killerhex
2nd July 2006, 03:14
i this program only for dvdrip or can it convert say:mkv+x264

LRN
2nd July 2006, 11:06
x264 in mkv container? Possible, but you'll need special muxer, since in StaxRip only Mp4Box can handle raw RAW 264 streams.

laserfan
2nd July 2006, 14:01
When StaxRip opens an MPEG2 file with Px or DGindex it starts a .log, but after the other selections are made and the .rip job is started, the original .log is not appended but rather is over-written. So the Preparation .log info is lost.

Either a 2nd logfile name needs to be written, or the original .log file should be appended to?

dvd_maniac
2nd July 2006, 20:50
I'm looking for a little help with encoding. I currently use Staxrip with x264 in 2-pass filesize mode. I am wondering how I could get it to use single pass 60% quality with 496x400 and automatically adjust the filesize. Would this elimenate the need for a compressability check? How would I set Staxrip up to accomplish this?

Cantello
2nd July 2006, 21:32
Talking about deleting temporary files

http://www.planetdvb.net/staxrip/StaxRip_Hotfix.zip
Since it gets requested so often I should start to think about it. It's a difficult topic. Meanwhile maybe telling how I work helps. I'll make a directory for every source, I've defined a default target directory so my target files go always out of the source directory and when I'm done with encoding I delete the complete directory.


I would definitely support the option to delete temporary files. As you said, one method of achieving this could be to automatically (if the option is checked) create output directories for all the queued source files automatically, and StaxRip deletes those directories after it is finished with muxing the resulting files.

Me, being a n00b would appreciate this quite a lot. It just appears cleaner this way, and if people want to work further with the intermediate files, it should always be optional.

Other than that: Congratulations, very easy to use, once I got the hang of it. :-)

killerhex
3rd July 2006, 00:26
worked in encoding mkv[h264+vorbis]--->xvid+mp3

toytown
3rd July 2006, 22:54
Hi

I have a problem with my MPEG2 (DVD) decodes from using staxrip, the audio always seems to be out. Below is what im doing

1. using the "OPEN FILES" button after starting staxrip and selecting the VOB files.
2. Waiting for DGINDEX to finish making d2v and AC3 files.
3. Go through the crop/preview etc, choosing the cuts i want to make.
4. Select encoder type H264 and AAC audio.
5. Click start/or add job and start later.

The audio seems to be out by 2-3 seconds, after trying lots of things i still couldnt get it right (im a bit of a newb), so i opened up the AVS file (added the audio using directshowsource and pointing at the correct AC3 file that was generated previously) and played it in mplayer classic, and again got the delay. So is this a problem with staxrip (or the program it uses to rip AC3) or is it a problem with my AC3 filters on my computer?

Many thanx for any help!

Edit - Here is the AVS file that i tried and still got the same out of sync with, if it helps

video=MPEG2Source("D:\Cut1\VIDEO_TS\VIDEO_TS.d2v")
audio=DirectShowSource("D:\Cut1\VIDEO_TS\VIDEO_TS T01 3_2ch 384Kbps DELAY 0ms.ac3")
AudioDub(video,audio)
Crop(0,2,-0,-2)
Trim(51952,80318)

Deinorius
3rd July 2006, 23:08
Try to demux audio directly with DVDDecrypter. What's the delay of the audio sources, which is written at the filenames.
Do you have same problem with other DVDs?

toytown
3rd July 2006, 23:36
Try to demux audio directly with DVDDecrypter. What's the delay of the audio sources, which is written at the filenames.

When i place the DVD into the drive and use dvddecrypter i get a 66ms delay in the filename

The delay with 0ms, is from files on the harddrive (staxrip needs them to be on the harddrive for converting)

Do you have same problem with other DVDs?

Yes, ive done a few encodes with divx AVI's (using mp3 as the source audio) and they have worked fine with staxrip, but a lot of my DVD encodes come back all wrong.

laserfan
4th July 2006, 00:15
What version of Stax are you using; is it the 28May (hotfix version)? And which DGindex exactly?

I think the command for DGindex might have broken somewhere along the line.

Have you EVER gotten a perfect result? How long have you been trying (days, weeks, months)?

rufus007
4th July 2006, 07:14
@all

I don't work much on StaxRip these days and probably won't do much any time soon. I try however to maintain the support and thus uploaded a new hotfix build (http://www.planetdvb.net/staxrip/StaxRip_Hotfix.zip).


Stax can you publish source code of the hotfix edition on your web pages? I would like to add virtualdub internal filters into source, then I will send this stuff. Thanx.

toytown
4th July 2006, 10:07
What version of Stax are you using; is it the 28May (hotfix version)? And which DGindex exactly?

version 0.9.9.2 of staxrip
version 1.45 of dgindex


Have you EVER gotten a perfect result? How long have you been trying (days, weeks, months)?

Some DVD's are correct, but i would say that more are out of sync. Today i woke up and had to delete 6 out of 7 encodes to due out of sync issues. I check the framerates and stuff from dgindex but they all seem to match up 29.97fps with the original content, with the exception of 'Armageddon' which gets its framerate detected wrong and is also out of sync.

Gehenna
4th July 2006, 10:29
@ toytown

I use the same versions,and get no problems.

2-3 seconds sync problems is huge (thats 2000 - 3000ms ).

What container are you using?
And i notice you say you CUT the movies,do you still get sync probs when you DON`T cut the movies?

toytown
4th July 2006, 12:15
I use the same versions,and get no problems.
2-3 seconds sync problems is huge (thats 2000 - 3000ms ).
What container are you using?

Im encoding everything to MP4 container, and AAC audio (using the HQ Slow profile for x264). I havent tried encoding without cutting yet, but will start one overnight see what i get. Im also going to try running on a different computer, see if its something screwed up on the main computer i use.

EDIT - If i take the trim command out of the AVS file that is generated and play the whole movie back in mplayer classic, i still get the out of sync audio (before encoding), so im guessing that 'cutting' isnt the source of my problems and that it must be related to AC3 filters or DGIndex

Gehenna
4th July 2006, 13:31
EDIT - If i take the trim command out of the AVS file that is generated and play the whole movie back in mplayer classic, i still get the out of sync audio (before encoding), so im guessing that 'cutting' isnt the source of my problems and that it must be related to AC3 filters or DGIndex

Okay,im confused by this..Just exactly what (vob?)are you playing back in mplayer and still getting audio sync issues?
And why would this be a DGIndex problem?

What filters are you using to playback on mplayer? also what mode overlay/vrm7/vrm9? (are you maxing the CPU on playback?)

toytown
4th July 2006, 14:28
Okay,im confused by this..Just exactly what (vob?)are you playing back in mplayer and still getting audio sync issues?
And why would this be a DGIndex problem?
What filters are you using to playback on mplayer? also what mode overlay/vrm7/vrm9? (are you maxing the CPU on playback?)

You're not the only one, like i said im a bit of a newb. If i play the VOB files back through windvd/nero/wmplayer everything is perfect in sync.

If i use the AVS script that staxrip is making (after it extracts the AC3 files with DGINDEX) then i get out of sync audio by a few seconds. Im manually adding the audio/audio dub lines to the AVS script when i attempt manual playback (i dont alter this at all if staxrip is going to encode), here is the last one i used.

video=MPEG2Source("test.d2v")
audio=DirectShowSource("VTS_01_1 01 en-English 3_2ch 384Kbps DELAY 0ms.ac3")
AudioDub(video,audio)

The audio filter i have is AC3filter v0.70b (i had version 1.?? before this but i uninstalled it to see if it would fix the issues). Im not sure how to check the MPEG2 decoder in mplayer classic, any help would be appreciated. Anyway, so the AVS script is playing back the audio files (AC3) extracted by DGINDEX and the D2V file for video (which points to the necessary VOBS)

Now after testing/re-testing/testing again on a DVD i use, i realised that i had included all the VOB files when using STAXRIP (video_ts/vts_1_x/vts_2_x etc etc), so i went through and ran it with just the VTS_1_x files (the main movie) and finally the audio was in sync and i thought that my out of sync issues where just my own dumb fault (they probably still are).

So then i checked back through my previous jobs and in a lot of them i did only include the main movie, but still got out of sync issues with the encodes, so again im back to square one and really lost as to what the issue is :(.

laserfan
4th July 2006, 14:32
version 0.9.9.2 of staxrip...Specifically what is the date shown for the .exe and the .dll files.

I would've guessed you'd be OK tho with 1.45 of DGindex. I think there might be some incompatibility between the latest (28-May hotfix I believe) staxrip CLI command, and 1.4.8bX of DGindex.

toytown
4th July 2006, 14:44
Specifically what is the date shown for the .exe and the .dll files.

Staxrip.exe V0.9.9.2 Dated 1st May 2006
Stax.dll v1.0.0.0 Dated 1st May 2006
DGIndex.exe v1.4.5 Dated 1st October 2005
DGDecode.dll v? Dated 1st October 2005

Im still trying a few things here as well, see if i can find a solution, thanx to all those who have replied so far.

Gehenna
4th July 2006, 15:00
@toytown

Those are the exact versions im using (pre hot fix)

Silly question,but how are you getting the vob`s onto your hard drive?(DVDD IFO mode) ..are you processing straight from the DVD

toytown
4th July 2006, 15:10
Silly question,but how are you getting the vob`s onto your hard drive?(DVDD IFO mode) ..are you processing straight from the DVD

None of the processing is done from DVD, as staxrip will not allow it, the files have to reside on the harddrive first.

For my backups i have used both DVDDecrypter 3.5.4.0 and also Slysofts AnyDVD (dont know what version as its uninstalled now, however it was downloaded last month, from there site, so it should be recent)

For some of my brothers home videos, there comming directly from a program his sony camcorder has which makes the VIDEO_TS directory on his harddrive, so im basically just copying these across the network.

I never really checked the DVDD IFO mode on dvd decrypter i guess its always been on file mode (default?), i'll try again with IFO mode, but that still doesnt explain the home encodes were doing from camera. I'll try a DVD IFO rip and see if that fixes it.

EDIT : Re-Ripped in IFO mode, same problem :(

wdmalik
4th July 2006, 16:15
When we add custom filters into staxrip, how does it know that which dll file to use, because every filter needs some specific dll to function, we specify them manually in avisynth script, like folwoing example


LoadPlugin("C:\Program Files\Avisynth\filters\RemoveGrainSSE3.dll")
RemoveGrain(mode=2)
but how staxrip knows whichone to use .... ?

Deinorius
4th July 2006, 16:55
It's the same like normal use of Avisynth.
For most of the filters you don't need LoadPlugin, if they are in the standard plugin folder.
I think renaming some filter like RemovegrainSSE3 should do it too.
For any other use I set LoadPlugin independent of the filter at the beginning of the script. It's very easy.

wdmalik
4th July 2006, 18:50
For any other use I set LoadPlugin independent of the filter at the beginning of the script. It's very easy.

That is what I am asking, where to specify this loadplugin command, should i do it manually (avisynth file created in the vob containing folder) or there is some way specified in staxrip

Deinorius
4th July 2006, 19:06
Do it the same way, you integrate Avisynth filter in StaxRip. Right click on the empty place, where you can activate, deactivate and set the filters. Then go to profiles.
First you can set a group of filters. For your case -> LoadPlugin.
Then specify group LoadPlugin with every LoadPlugin comment, you need.
Now you can set a the beginning of the Avisynth script place at StaxRip every LoadPlugin you need. After these LoadPlugins you set your normal filters at your use.

Delboy
5th July 2006, 15:15
Hi all

I have read all I can on staxrip and I know stax is not around much so I wonder if anyone can help

I downloaded the programme a couple of weeks ago, try to understand as much as I can with this

I use DVD decryptor to start with I load all the fob files into staxrip and they come at the other end

As avi XviD which I put on an external hard drive you know the one you can plug into a TV and watch films

Mainly for the kids when we go away...

But I have noticed with some DVD if there is quick movement say dancing I get small lines

I understand that is something to do with the second frame I have tried to fix this problem

But alas you have me there. other than that I get excellent results easy to use magic

I also am also Muxing my files manually with Nandub which is no problem because I thought that's what he had

to do anyway

btw.I have all the software that staxrip recommends and obviously installed i use Nandub for Muxing

Is that giving me the problem with lines in the dancing

I know my terminology is not with it but I'm new to this can you help

Thanks in advance....

StaxRip 0.9.9.2

btw. I did not realise I had to wait five days to post searched about 9 days

Before I signed up still hope you can help me with this problem......

LRN
5th July 2006, 17:09
f there is quick movement say dancing I get small lines
Sounds like interlacing. You probably need to add deinterlacing filter (usually - Deinterlace from Field filter collection).

Use preview function (F5) to see how picture would look after filtering.

wdmalik
6th July 2006, 19:22
Do it the same way, you integrate Avisynth filter in StaxRip. Right click on the empty place, where you can activate, deactivate and set the filters. Then go to profiles.
First you can set a group of filters. For your case -> LoadPlugin.
Then specify group LoadPlugin with every LoadPlugin comment, you need.


Hmm, can i just the add the load plugin command in the script menu of that specific filter


Now you can set a the beginning of the Avisynth script place at StaxRip every LoadPlugin you need. After these LoadPlugins you set your normal filters at your use


can you elaborate plz

zero-cool
7th July 2006, 20:57
Hello, I am having trouble with a few encodes that i have used StaxRip with. Everything turns our great until I get to the end of my video, then the audio get like 1 sec out of sync with the video. Anyone have any similar problems or solutions to this? Any help would be greatly appreciated!

Cantello
8th July 2006, 09:33
Was anyone here able to convert a video that an iPod accepted?

I tried multiple configurations, with or without the included iPod profile, H.264 or Xvid, but none of them seemed to work.

When converting with Videora (http://www.pspvideo9.com/forums/viewtopic.php?t=2580), all videos work without hassles, but I like the added flexibility and control that StaxRip offers me.

Some detailed settings or a working template/profile would be greatly appreciated!
:-)

Thanks!

toytown
8th July 2006, 09:54
Hi

I reinstalled my system and all of my out of sync problems disappeared, so it must have been a windows issue or some crap software i installed (as the Staxrip was on a different drive and didnt get lost). So good news. I have converted about 14 DVD's all and they are perfect.

However ive noticed that on 1 DVD it will always fail, on that DVD i make CUTS using preview (90% of the others were cut also) and it gets right up to the muxing part and then throws an exception error, if i choose the place where the cuts are being made it still fails everytime.

Second, ive also started converting my AVI's to MP4, and noticed that on the first part of the encoding job (the audio encode) i get an exception error (0xc0000409) at first i thought maybe its VBR MP3's that are causing it, but almost all the AVI's are this format and half of them are working correctly (ive doubled check to make sure that some of the good ones were VBRaudio as well).

Ive tried looking for help and on some threads ive noticed that people have exception files created which have been able to help the developer to fix it, or perhaps give some clue. But mine doesnt seem to generate them, i even checked the command line tools see if there was a /debug or something, but couldnt find anything.

Anybody help?

Gehenna
8th July 2006, 13:25
@zero-cool
Exactly what versions of Staxrip are you using,people think their could be a sync issue with the hotfix version of staxrip
Also what container & audio are you using.

@Cantello
It would probably be wise to ask Sharktooth,they are his profiles that stax incorporated into StaxRip.
Ask him in this thread about Ipod Profiles.
http://forum.doom9.org/showthread.php?t=101813

@toytown
Glad to hear you have your sync problems sorted.
1. Why would you recode from AVI to MP4? (what video codec was initially used?)..Not sure what you are hoping to achieve?
2. Care to post the logfile on this DVD throwing up exception error on muxing

zero-cool
8th July 2006, 13:37
Gehenna - I m using StaxRip 0.9.9.2, and am encoding with the xvid codec with an avi container. What I am doing is taking several vob's and merging them into 1 vob with vobmerge, then using your program to convert the vob to an xvid avi. The beginning always is synch'd with the video, it seems that just when the new vob starts is when the audio becomes out of sync.

Should I be using a different version of this program? Thanks again!!

Gehenna
8th July 2006, 13:53
@zero-cool

You can check your files against Link 1183(a few posts up)

I have never used vobmerge,could you not just use "Chain Files" in Staxrip,this will chain all selected VOBs?

toytown
8th July 2006, 13:54
@toytown
Glad to hear you have your sync problems sorted.
1. Why would you recode from AVI to MP4? (what video codec was initially used?)..Not sure what you are hoping to achieve?
2. Care to post the logfile on this DVD throwing up exception error on muxing

1. I didnt want to originally, but then some of the pc's we have here do not have DivX/Xvid/etcetc on them, and lots of people dont have admin rights here in our offices, to install them. However they all have a H264 encoder which plays the clips from staxrip perfectly.

2. Sure


---------- AviSynth Script ----------

MPEG2Source("D:\Cut\Base64Res\VIDEO_TS\VTS_01_1.d2v")
Crop(0,62,-0,-58)
FieldDeinterlace()
BicubicResize(608,336,0,0.5)
Trim(817,58916)

---------- Audio Cutting ----------

MPEG2Source("D:\Cut\Base64Res\VIDEO_TS\VTS_01_1.d2v")
Crop(0,62,-0,-58)
FieldDeinterlace()
BicubicResize(608,336,0,0.5)

---------- Audio Cutting Statistics ----------

Start time: 02:57:07
End time: 02:57:16
Duration: 00:00:08
Speed: 6570 fps

---------- Audio Encoding ----------

Command Line: "D:\h264\Applications\BeSweet\BeSweet.exe" -core( -input "D:\Cut\Base64Res\VIDEO_TS\Temporary Files\VTS_01_1 01 iv-Invariant Language (Invariant Country) 2_0ch 192Kbps DELAY -270ms_Cutting.ac3" -output "D:\Cut\Base64Res\VIDEO_TS\Temporary Files\VTS_01_1 01 iv-Invariant Language (Invariant Country) 2_0ch 192Kbps DELAY -270ms_Cutting_AudioOutput.mp4" ) -azid( -c normal -L -3db ) -ota( -d -270 -g max ) -bsn( -vbr 0.4 -2ch )

---------- Audio Encoding Statistics ----------

Start time: 02:57:16
End time: 03:00:23
Duration: 00:03:07
Speed: 310 fps
Size: 20.0 MB
Bitrate: 86.62 kbps
Video Bitrate: 1499 -> 1473

---------- x264 Single/First Pass Encoding ----------

Command Line: "D:\h264\Applications\x264\x264.exe" --pass 1 --bitrate 1473 --stats "D:\Cut\Base64Res\VIDEO_TS\Temporary Files\Base64Res - Cut.stats" --bframes 3 --b-pyramid --direct auto --filter -2:-1 --progress --no-psnr --subme 1 --analyse none --me dia --ref 1 --output NUL "D:\Cut\Base64Res\VIDEO_TS\Base64Res - Cut.avs"

---------- x264 Single/First Pass Encoding Statistics ----------

Start time: 03:00:23
End time: 03:32:44
Duration: 00:32:20
Speed: 30 fps

---------- Second Pass Encoding ----------

Command Line: "D:\h264\Applications\x264\x264.exe" --pass 2 --bitrate 1473 --stats "D:\Cut\Base64Res\VIDEO_TS\Temporary Files\Base64Res - Cut.stats" --ref 3 --bframes 3 --b-pyramid --weightb --direct auto --filter -2:-1 --analyse all --8x8dct --subme 6 --me umh --trellis 1 --progress --no-psnr --output "D:\Cut\Base64Res\VIDEO_TS\Base64Res - Cut_EncoderOutput.264" "D:\Cut\Base64Res\VIDEO_TS\Base64Res - Cut.avs"

---------- Second Pass Encoding Statistics ----------

Start time: 03:32:44
End time: 05:22:35
Duration: 01:49:50
Speed: 9 fps

---------- Muxing ----------

Command Line: "D:\h264\Applications\MP4Box\MP4Box.exe" -fps 29.970 -add "D:\Cut\Base64Res\VIDEO_TS\Base64Res - Cut_EncoderOutput.264:name=Video" -add "D:\Cut\Base64Res\VIDEO_TS\Temporary Files\VTS_01_1 01 iv-Invariant Language (Invariant Country) 2_0ch 192Kbps DELAY -270ms_Cutting_AudioOutput.mp4:lang=eng:name=English:sbr" -new "D:\Cut\Base64Res - Cut.mp4"

---------- Muxing Statistics ----------

Start time: 05:22:35
End time: 09:31:15
Duration: 04:08:40
Speed: 4 fps

---------- Overall Statistics ----------

Start time: 02:57:07
End time: 09:31:15
Duration: 06:34:08

If you check the muxing statistics

Start time: 05:22:35
End time: 09:31:15
Duration: 04:08:40

You see that the clip stopped encoding at 05:22:35 and then crashed, however the End time, is the time when i woke up and clicked the error message.

zero-cool
8th July 2006, 16:38
@zero-cool

You can check your files against Link 1183(a few posts up)

I have never used vobmerge,could you not just use "Chain Files" in Staxrip,this will chain all selected VOBs?

So I should try "Chain Files" in Staxrip then? That will merge the vobs together?

LRN
8th July 2006, 17:17
So I should try "Chain Files" in Staxrip then? That will merge the vobs together?
Of course! This mode ALWAYS was here, from very first version of StaxRip i saw. I never had to merge vobs manually.

zero-cool
8th July 2006, 18:26
Well I tried using the "Chain Files" options and i still get a video with the audio de-sync when it start the new vob :(

Recon
10th July 2006, 00:10
Install question:
MKVtoolnix says its an unsupported version even though its the version that StaxRip downloaded and installed.
When I say to get the right version it goes and gets the same unknown version.

Is this a known issue or am I doing something wrong?

LRN
10th July 2006, 05:32
It's ok.

wdmalik
11th July 2006, 07:08
havent seen stax around for a long time now ..

SeeMoreDigital
11th July 2006, 10:17
According to his profile he still visits... But has not posted anything since the 28 May :(

linx05
11th July 2006, 12:20
This looks like a great program (I really need one to encode H.264) but the one thing I dislike about it is how many programs you need installed. I eventually downloaded all except one (that means having doubles of some on my computer), AviSynth. I already have the version DVD-Rebuilder uses. I can't upgrade nor keep the version which comes with it.

It's a great program, just too much hassle. Do I need to have all?

LRN
11th July 2006, 16:11
It's convinient to have all these apps inside StaxRip, rather than specifying path to EACH of them and downloading them MANUALLY. StaxRip is SIMPLE and easy to use, yet powerfull enough to do some amazing things. And Stax really cares about this simplicity.

P.S. StaxRip's size is nothing, comparing to DVD wich you SHOULD have on you HDD to process :) Also, StaxRip's components usually don't install themselves anywhere, so they will not conflict with your own set of tools and utilities.

LRN
12th July 2006, 05:50
Bug: MP4 contaier "Tools->Commandline preview" displays wrong filenames for audiotracks (ex. displays "VTS_01_1 01 en-English 3_2ch 448Kbps DELAY 0ms.ac3" instead of "VTS_01_1 01 en-English 3_2ch 448Kbps DELAY 0ms_AudioOutput.mp4" ), but muxing itself works fine.

nfm
12th July 2006, 06:02
Is this program still in development or discontinued?

wdmalik
12th July 2006, 07:10
Is this program still in development or discontinued?

why do you think it is discontinued .. ?

linx05
12th July 2006, 07:19
It's convinient to have all these apps inside StaxRip, rather than specifying path to EACH of them and downloading them MANUALLY. StaxRip is SIMPLE and easy to use, yet powerfull enough to do some amazing things. And Stax really cares about this simplicity.

P.S. StaxRip's size is nothing, comparing to DVD wich you SHOULD have on you HDD to process :) Also, StaxRip's components usually don't install themselves anywhere, so they will not conflict with your own set of tools and utilities.
That's really good to hear. I thought they would start installing themselves to the windows dir etc. If they were just kept to the main StaxRip folder, it would be sweet. Thank you.

EDIT: I have to install AviSynth. Damn :(

ricardo.santos
12th July 2006, 18:13
havent seen stax around for a long time now ..


Wondering if his absence has anything to do with the x264gui development?

mistik69
12th July 2006, 23:35
Did stax ever say good bye? I really loved staxrip. Its a shame if its no longer supported

Cocophone
14th July 2006, 15:54
I'm having a problem using staxrip on a DVD. Staxrip crashes after doing the DGIndex. I've attached my diagnostic zip file. Please let me know if you need more information to help figure out what the problem is.

wdmalik
15th July 2006, 19:22
I had the same kind of problem, in my case staxrip was not implementing force film properly. What i used to do was that i used dgindex manuallay, then d2v file was the added to staxrip instead of vobs and the job was done properly. The problem was solved automatically though .. :)

Cocophone
16th July 2006, 05:53
Thanks wdmalik. That fixed my problem.

Kung Fu Hung-Su
18th July 2006, 10:48
Trying this for the first time....and I can't seem to stick a x264 video into a .mkv container, it always sticks it into an .mp4. anyone know what I'm doing wrong?

dvd_maniac
18th July 2006, 18:03
Hi Stax folks,

I am trying to backup my DVDs using X264 through Staxrip. I can successfully do everything except for adding Subtitles.

I would like to add forced subs directly to the video and add English subs into the mp4 container. This way I do not have to turn on Subs to see the forced subs that should show anyways.

Can somebody help me out on how to extract the subs from the DVD for Staxrip to see?

Gehenna
18th July 2006, 18:20
Hi dvd_maniac,

I personally use VSRip in staxrip,load it up,point it at the correct IFO,set the target path..sit back and wait ;)
Fire up staxrip ,and point it to the .idx file,select langauge

I tend to use a mkv container,but should be fine for MP4


EDIT: Just re-read my post,just to make it clear VSRip is a third party program,just google for it.

wdmalik
18th July 2006, 19:50
Thanks wdmalik. That fixed my problem.

Glad to be of help .... :)

Kung Fu Hung-Su
22nd July 2006, 15:03
Trying this for the first time....and I can't seem to stick a x264 video into a .mkv container, it always sticks it into an .mp4. anyone know what I'm doing wrong?

Anybody? I'm damn sure that .mkv can handle h.264 video, so does anyone have any idea why Staxrip won't let me stick it into a .mkv?

Gehenna
22nd July 2006, 16:04
Hi Kung Fu Hung-Su,

Not quite sure where your problem lies.
But the obvious checks.

Set Container to MKV
Set Encoder to X264
Select Codec Configuration
Choose Input/Output Tab
Make sure Output Set to RAW or MKV


Does staxrip report all programs installed correctly?

laserfan
22nd July 2006, 22:07
I had the same kind of problem, in my case staxrip was not implementing force film properly. What i used to do was that i used dgindex manuallay, then d2v file was the added to staxrip instead of vobs and the job was done properly.I think there is a problem perhaps in StaxRip's "Advanced Automation" area Force Film Percent. This is just a guess but...

I've been having trouble with StaxRip improperly setting the .d2v to

Field_Operation=1
Frame_Rate=23976 (30000/1001)

when it should be =0 (honor pulldown) and 29970. I have checked & double-checked the command line invoked by Stax under Project Options - Preparation - Extract Audio & index MPEG2 using DGindex and it clearly has the argument -FO=0 (honor pulldown), and even the Log file shows this as part of the CLI command, but then the .d2v comes-out wrong w/FO=1 anyway.

I can only think the Auto Force Film Threshold is to blame? Maybe it broke when neuron2 changed the last line in the .d2v to reflect FILM & VIDEO differently.

Does anyone know how to defeat this "Automation"?

Kung Fu Hung-Su
23rd July 2006, 01:19
Hi Kung Fu Hung-Su,

Not quite sure where your problem lies.
But the obvious checks.

Set Container to MKV
Set Encoder to X264
Select Codec Configuration
Choose Input/Output Tab
Make sure Output Set to RAW or MKV


Does staxrip report all programs installed correctly?
Ah. Thanks to my stupid Visual Style, the Input Output tab was invisible to me until I looked for it and put my mouse over it. Changed it and its all sorted now. Thank you. =)

McoreD
23rd July 2006, 10:23
It's convinient to have all these apps inside StaxRip, rather than specifying path to EACH of them and downloading them MANUALLY. StaxRip is SIMPLE and easy to use, yet powerfull enough to do some amazing things. And Stax really cares about this simplicity.

That really IS the turn-off for me using StaxRip. With avi.NET it is the wait for "Extract Audio".

laserfan
23rd July 2006, 19:59
I think there is a problem perhaps in StaxRip's "Advanced Automation" area Force Film Percent.I believe I have gotten to the bottom of this, finally. I've been using the newest versions of DGindex (now 1.4.8), and StaxRip has gotten my encodings wrong. It has been doing a "Force Film" (Field Operation=1) to 23976 Frame Rate, despite that I've even run DGindex manually at FO=0 (Honor Pulldown flags) resulting in FR of 29970. Stax changes it to FO=1 and 23976, and any subsequent field operations are way wrong, with choppy & out-of-sync results.

The problem is due to StaxRip's reading the new DGindex .d2v file wrong. Where it used to show (I believe) all percentages in % FILM, it now shows in % FILM or % VIDEO depending on which is >50%.

StaxRip's "Advanced Automation" looks at the number alone and just says "if it's greater than x%, then force film mode" and then it actually GOES BACK AND EDITS THE ORIGINAL .d2v FILE!! changing it to Field Op=1 and 23976 fr. So with the newer .d2v format, whether >95% FILM or >95% VIDEO staxrip sees it as "mostly film" and adjusts the d2v to FO=1 before processing.

There are two ways I have found to fix this if you have a 100% VIDEO program:

1. Edit the .d2v changing the last line from 100.00% to 0.00%

2. Change the "Advanced Automation" Auto Force Film setting (the FILM threshold) to 101% (only tested once, but it seems to work)

Hopefully at some point soon Stax will return to this project and fix the program to work w/latest DGindex output files. :(

clone83
25th July 2006, 00:12
when is there going to be a complete version 1 available...?

mulrich
27th July 2006, 23:14
Just thought I'd mention the iPod x264 profile doesn't work. Or rather, it encodes just fine, but the resulting files do not work on the iPod.

All requirements are met; resolution is 320x240, bitrate is much less than 768 kbps.

digitalman
28th July 2006, 03:38
Keep up the great work!!!!!!!!

batfink
30th July 2006, 10:43
Are there any Video editors..Free or not that can handle the H264 codec pumped out by Staxrip and X264..Ocassionally i might get an encoding thats out of sync..and it would be nice to be able to dump it in a program like Virtualdub where i can move the sound around a bit..or even insert a new sound file.

Lots for AVi and some for ASF etc etc...but i havnt seen one for H264 yet.

wdmalik
31st July 2006, 13:13
Has development of STAXRIP ceased, if yes then too bad, if no then where the hell is stax

JohnMK
31st July 2006, 15:59
I have enjoyed stax's products since the beginning of DVX. I hope he doesn't give up now -- he's developed one of the better frontends out there. I would like to extend a hearty "Thank You!" to him and all who've helped over the years fine-tune his products.

Gargantula
31st July 2006, 23:10
A new version of DivX is out and I am afraid of updating it because StaxRip will then be incompatible with it. The new sharpness filter for DivX sounds great.

I think Stax is just really hard at work for version 1.0 and thus the lack of updates. If not, I hope he is alive and well.

batfink
1st August 2006, 04:31
I tried to get Staxrip to put a H264 encoding into an AVI container and it complained that the Encoder and Muxer are not compatible. Is there a way to get this to happen

Gehenna
1st August 2006, 08:36
I tried to get Staxrip to put a H264 encoding into an AVI container and it complained that the Encoder and Muxer are not compatible. Is there a way to get this to happen
@batfink
Not that aware of in StaxRip,i think putting X264 into AVI container (http://en.wikipedia.org/wiki/Comparison_of_container_formats)is generally not a great idea(B-Frame limitations/Chapters/subititles ),You could maybe do it with Vdubmod.


It's convinient to have all these apps inside StaxRip, rather than specifying path to EACH of them and downloading them MANUALLY. StaxRip is SIMPLE and easy to use, yet powerfull enough to do some amazing things. And Stax really cares about this simplicity.
That really IS the turn-off for me using StaxRip. With avi.NET it is the wait for "Extract Audio".

@McoreD
You can specify OUTSIDE of staxrip for 3rd party additions..ie avisynth.dll + plugins / besweet ,just select external applications,then browse to your preferred installation location

batfink
1st August 2006, 16:52
Ok, I understand..Basically i'm trying to find a container thats easier to edit than MP4...There are literally no MP4 editors that i can find that will let you do even one 10th of the things that Vdub can do.

Are there any acceptable containers that make editing a bit easier...hmmm.just had a thought...Will H264 in an MKV container be editable in Virtualdub Mod ?

I know AVI in MKV container is

Sharktooth
1st August 2006, 17:35
AVI in MKV doesnt exist...
and btw Virtualdub(mod) uses VFW and h.264 in MKV is usually stored in native mode... so no, it wont be able to edit it.

batfink
6th August 2006, 16:56
I was just wondering if anybody else gets this bug..Let me describe the process. It always happens when i'm ripping DVD's with a lot of episodes..Like TV shows..For instance Buffy Season 6.

I rip each episode into a separate directory ..ie..601, 602,603...using DVDdecrypter in IFO mode.
Then i individually run DGindex 1.45 over each episode demuxing the sound and creating the project (i do this manually cause occasionally Staxrip got it wrong).

Then i run Staxrip..Load a profile..Change it to suit my needs..Save it as..say..Buffy..then make it the default profile.

I turn off the Assisstant reminders..cropping etc etc.

Then i Choose Open file...it will open episode 601 just fine..i hit F6..add the job and click Close.

Then i open Episode 602..and up pops the Buffy template as you would expect..i click ok and it loads fine..I add it to the Job..click close

Repeat this for episode 603 and it works exactly as episode 602..

However then i load episode 604 and up pops the buffy template..i click ok.. and up pops a box labeled "Save Project" with a question "Save changed Project...YES, No, Cancel".
If i click YES, Staxrip crashes..If i click NO..Staxrip crashes..If i click Cancel..Staxrip crashes.

So you click YES,No or Cancel..Staxrip will crash..you run it again..load 604 and it will load fine..add it to the Job...Load 605 and you will get the same error message..In fact you will get the same error message for the rest of the files...Its acually quicker by this point to load a file..add it to the Job..Quit Staxrip..run it again and load the next file, cause when Stax crashes..it makes you hit cancel and no a few times before it exits.

I've tried saving the project i'm working on before i load the next one and it makes no diff..It only seems to happen when i'm using the same Template for lots of things..Also its random..i can add 10 items and have the error suddenly appear on number 11.

Its very frustrating....I was just wondering if anybody else has this problem or if its my Rig. Or better yet, anybody got a fix

My system is as follows
P4 3.0 GHZ
DDR400 768 meg ram
WinXP SP1
Net2.0 (obviously)
Staxrip 2.9.9.2 (Hotfix, but the error has been around since before the Hotfix)
Dx9.0c

I cant think of anything else in here to write that would make a difference.

Batfink

wdmalik
7th August 2006, 12:33
Well I explained this to someone else as well, try to turn off the force film option for the episode in dgindex for which staxrip crashes, if it is turned on. use dgindex with the option turned off, I think staxrip is not properly distinguishing where it needs force film or not, A more easy way might be to turn this option off at all. I hope this helps, it worked for me atleast .. :)

Gehenna
7th August 2006, 12:55
@batfink

I have no problems using the same template for multiple encodings . I currently have 22 episodes in my Job queue which all use the same template.

I also use a similiar approach as yours, i extract DVDD [IFO],and DGIndex outside of staxrip using a batch file (http://neoplanet.net/Doom9/batch_decode.txt) ,then i load the .d2v file into staxrip using my custom template,then add to job queue (http://neoplanet.net/Doom9/Jobs.png).

Its a process i have used multiple times,without any issues like you are currently experiencing.

Looks like wdmalik could have the answer for you.

batfink
7th August 2006, 15:12
Since i do all my own DGindex stuff..I'm guessing i dont actually need the Force film setting ?. Mind you the one thing i forgot to metion is that the Buffy's are PAL not FILM or NTSC. But i'll give it a try..Still gotta do Season 7 and i've certainly had no problem bringing up the error in the past :)






Well I exolained this to someone else as well, try to turn off the force film option for the episode in dgindex for which staxrip crashes, if it is turned on. use dgindex with the option turned off, I think staxrip is not properly distinguishing where it needs force film or not, A more easy way might be to turn this option off at all. I hope this helps, it worked for me atleast .. :)

batfink
7th August 2006, 16:58
Hey Gehenna...thats an awesome script dude...I didnt even know you could do that :).

I've been doing it the hard way...Highlite the first episode..point it towards the destination directory..rip it...The do the same to the second episode...once i had all 22 episodes ripped, I did each one manually with DGindex...and here, all you have to do is SWAP DVD's :)

Dude, do ya mind if i try this script....Are you ripping B5 Pal or NTSC..i ask cause i'm guessing once of those DGindex switch's turns the Force Film ON/ OFF

B5, now there was a great show...I've got a friend thats never watched it..He watches Startrek with all its Technobable..He doesnt know what he's missing.

Gehenna
7th August 2006, 17:46
Hi Batfink,

The batch file is auto created using an app (http://neoplanet.net/Doom9/Project3.zip) i created with VB6.
I found manually extracting and indexing quite a labour intenstive task..
And if you are feeling real lazy,you can process the the whole encoding process via CLI,see my post here (http://forum.doom9.org/showthread.php?p=853486#post853486)

And its B5 Pal for the record,and do be honest i never really had a problem with Force Film that im aware of.

laserfan
7th August 2006, 23:11
i ask cause i'm guessing once of those DGindex switch's turns the Force Film ON/ OFF.As I explained above, StaxRip's "Advanced Automation" to "Auto Force Film" may be screwing you up. Change it to 101.

StaxRip doesn't know that DGindex .d2v file %FILM information changed.

batfink
9th August 2006, 13:13
Actually i was referrring to the DGindex Forced Film option and the switch in Gehenna's script that would turn it off/on so i could use it to rip things in Film as well and NTSC/PAL.Right now the Script automatically defaults to Honor Pulldown Flags.

However thats beside the point...I changed the Force Film setting in Staxrip to 101 and managed to input all 22 episodes of Buffy Season 7 without a single problem..So hopefully thats the answer to my problems...Thanks to everyone for the Help.

Gehenna..your script rocks...i spent like 10 minutes changing it to suit the Buffy DVD's and my system and let it rip...Just came back every 10 minutes or so to swap DVD's..Excellent dude

batfink
9th August 2006, 14:32
Is it safe to use later versions of DGindex in Staxrip like 1.4.8.

I know you can make Staxrip use them by replacing the DGDecode.dll in the AVIsynth plugin dir and pointing towards your 1.4.8 directory...but does it work 100% am i going to run into problems ?

laserfan
9th August 2006, 17:48
I just told you about the only problem I know of. So now I'm successfully using 1.4.8 with StaxRip.

Xebec
10th August 2006, 04:40
I have AVI DV Type-2 video with RGB colorspace. I have filters (in order):
Source: AVISource
Noise: Medium
Misc: ConvertToYV12()
Field: Deinterlace

All four of them are enabled, in case you think I am a complete retard.

Surprisingly StaxRip 0.9.9.2 does not permit encoding saying: "x264 requires YV12 input. Right click the filters, select 'Add' and choose Misc/ConvertToYV12'." WTF?!!!

If I remove noise filter, everything runs smoothly, and I get my mp4 with h264 inside. But no matter where I put Noise filter, StaxRip just prevents me from running the encoding.

Cocophone
14th August 2006, 21:36
I was converting my dvd Bend it like beckham and I ended up with the center channel mapped to my front right speaker.

Other dvds that I have converted have their channels correctly mapped.

What do I need to do to correct this error.

I've attached the log file.

Thanks for any help.

LRN
14th August 2006, 22:52
Probably AAC transcoding issue (if you're using AAC), i experienced this one with old bsn-nero-dll AAC encoding. Are you sure you're using latest StaxRip hotfix with NeroAACEnc?)

Cocophone
14th August 2006, 22:56
I'm at work right now, but I know I'm using Staxrip 0.9.9.2.

Where do I download the hotfix?

LRN
15th August 2006, 00:01
Download StaxRip Hotfix here - http://www.planetdvb.net/staxrip/StaxRip_Hotfix.zip

Astyanax
17th August 2006, 15:26
Hi:

So I've been using StaxRip for a few days now, with quite a bit of success.

However, I noticed that when I encoded a couple of my favorite TV shows, the final output experienced some interlacing. No problem, I re-encoded, applying the deinterlacing filter in StacRip and it came out great.

My question is, how do I tell in advance if my SOURCE file will need deinterlacing? I look at the VOB directly and there are no visual clues. It looks great. I'd hate to have to encode it twice, especially since I'm using x264 codec at HQ-Slowest!

Is there a way to determine it?

Thanks!

LRN
18th August 2006, 00:06
Ah! The thing is - you must look into unfiltered VOBs. You see, your media player probably applies deinterlacing automatically when you opening VOBs in it. If you want to see the REAL picture, use Crop (F4) window in StaxRip - it will show you raw, unfiltered image from DVD. Also, it is good to use Preview window (F5) in StaxRip to see video, wich will be passed to video encoder, with all filters applied (crop, resize, deinterlace (if it is switched on)). It may give you a clue, is you need to use some additional filters (deinterlace, denoise, etc), or not.

Cocophone
18th August 2006, 03:30
I downloaded and installed the hotfix and staxrip downloaded neroaacenc. When I use staxrip I get an error message popup about an unsupported version of Neroaacenc. What version of neroaacenc is compatible with staxrip updated with the hotfix?

LRN
18th August 2006, 09:58
It's ok. StaxRip knows only one particular version of NeroAACenc, but Nero always hosts newest one (and link to it is always the same). Ignore this warning and tell StaxRip to shut up

d25
18th August 2006, 23:01
I have AVI DV Type-2 video with RGB colorspace. I have filters (in order):
Source: AVISource
Noise: Medium
Misc: ConvertToYV12()
Field: Deinterlace


1. FluxSmoothT() aka “medium” ("low" & "heavy" too) noise remover requires YV12 Colorspace, so move it down.
2. Try DirectShowSource() instead of AviSource().
IMHO, it seems staxrip isn’t in development, and there is another perfect GUI in the field - MeGui ;)

Djago
20th August 2006, 00:24
Hi

I'm tried to use staxrip with multiple mp4 files, but I can't make staxrip behave correctly with my selected bitrate with xvid (no matter how I select it, single, double pass, quantization type, or whatever, I always get ~4000kbps...). What Can I do? Is there a step-by-step tutorial for staxrip with jobs?

Thx!

batfink
20th August 2006, 12:13
I'm using the latest version of Neroaacenc 1.0.0.2...But i'm not 100% sure if its doing what its supposed to do.

I read somewhere that AAC encoding was more efficient than MP3 so i decided to give it a go.

My results have been less than successful.

Using Staxrips audio profile AAC- HE5.1 VBR 200-250 kbps, the output file is 5.1 channel....but its 384 KBPS (same as the input file)...however the output 5.1 MP4 file is actually bigger than the original demuxed AC3 file.

So i tried AAC HE VBR 50-70 kbps and it came out as (AAC 48000Hz stereo 129Kbps [English (eng)]) and is basically the same size as an Mp3 file created using the MP3 VBR 110-150 kbps profile.

I'm not really an expert with Besweet command code, here's what the command line looks like for AAC HE 5.1 VBR 200-250 kbps "%application:BeSweet%" -core( -input "%input%" -output "%output%" ) -azid( -c normal ) -ota( -d %delay% -g max ) -bsn( -vbr 0.4 -6chnew )

and in the boxes above the command line it says Output type "AAC-HE MP4" Bitrate "225"


So why does the 5.1 come out at 384 instead of about 225 and the 50 to 70 VBR is comming out at about 130.

Does this version of neroaacenc not work...or have i just missed something really obvious...or perhaps i'm just stoopid :)

LRN
20th August 2006, 12:31
"-vbr 0.4" is a mistake. Author of these presets didn't know exactly, wich value of -vbr switch results in wich bitrate

Modify preset AAC- HE5.1 VBR 200-250 kbps: change "-vbr 0.4" to "-vbr 0.3".

-vbr 0.3 =~ 220 kbps
-vbr 0.2 =~ 150 kbps

Also, there's no more "HE" thing in NeroAAC. NeroAAC automatically applys HE and HEv2 methods for low-bitrate AAC, but stays LC in high-bitrate AAC, and StaxRip does NOT forces using of HE or HEv2. Wich means, resulting AAC MAY be HE or HEv2, or MAY be just LC.

Flexy
21st August 2006, 20:03
There is NO "aac.dll" with Nero 7...i am 100% positive. I installed the latest Retail Nero 7/Nero Recode 2 etc.

There is a aacenc32.dll and other stuff in C:\program files\common files\ahead\audioplugins.

But there is no "aac.dll" anywhere on my HD.

When i start staxrip and want/set to to encode to AAC and* THEN go to options/tools/external applications (under the BeSweet entry) it says that it cant find a necessary dll for AAC encoding and to reinstall Nero Recode. (Which i did a few times already).

(I also searched in all the CAB files coming with Nero 7 and in the staxrip/application folder etc.) No aac.dll


Edit:
after a long search i found an aac.dll in the Nero 6 (!) package and copied it over to the besweet folder.....the programmer should be aware of the fact that Nero 7 has no aac.dll.....there must be a better way to do AAC encode than to rely on the OLD dll which comes with Nero 6 !

LRN
22nd August 2006, 05:09
AFAIK, StaxRip relys on NeroAACenc.exe (wich is 901 120 bytes long) rathen than aac.dll (wich is also 913 408 bytes long).

tekNerd
22nd August 2006, 09:37
A little help please.
Staxrip worked great until yesterday when I starting to have this errors:

1 (http://img219.imageshack.us/img219/431/screenshot22082006102004bu5.png) - this is if I let AutoCrop borders on in the settings.

2 (http://img176.imageshack.us/img176/3483/screenshot22082006101837ny8.png) - this is if I turn off AutoCrop in the settings, but I do an AutoCrop in the crop pass.

I have all installed and no clue why is happening. If you can help, please do that.
Thanks!

Peace out!

Ps: if u need the diagnostic files please let me know!

Gehenna
22nd August 2006, 10:43
@tekNerd

Is it a particular source that fails? ,or does it throw up the same error on everything?

Is `Save Cropping` enabled in View/Project Options/Advanced/Dangerous ?

tekNerd
22nd August 2006, 13:03
The source files are some CamStudio screen captures with the
--> {MSU Screen Capture Lossless Codec v1.1}. Other screen captures with the same codec and the same CamStudio work.
I think the not workin' files are just corrupt. Ya, well sorry to bother with this stupid problem. I will find a workaround. Thanks for the help!

Peace out!

hihat
22nd August 2006, 21:15
Hi, how do I import the settings from an earlier version of StaxRip to the latest version? Specifically the xvid settings which are setup perfectly (and since I did them such a long time ago I don't remember exactly how I set them up). I'd like to import these same settings to the latest (hotfix?) version. Thanks.

LRN
22nd August 2006, 21:55
You can't. I suggested Stax to implement flexible backward compatible options system via XML, but he said it's too complex for him to write quickly, or something like that.

Flexy
23rd August 2006, 02:35
AFAIK, StaxRip relys on NeroAACenc.exe (wich is 901 120 bytes long) rathen than aac.dll (wich is also 913 408 bytes long).

megui does that. staxrip wants the dlls.

LRN
23rd August 2006, 04:53
Then maybe you have incorrect BeSweet version?

batfink
26th August 2006, 11:34
Ya, thanks very much...changing that number did the trick. Strangely enough i found that if i changed that number to 0.3 that the sound when muxed to the video, came out as 24khz instead of 48khz..This would be fine except that i use XBMC to watch the things i make and XBMC just wouldnt play the files smoothly with the 24khz audio...So by changing the number to 0.31 i still get a variable bitrate between 50 and 70..but its 48khz..strange..

Anyway all is good now..thanks for your help



"-vbr 0.4" is a mistake. Author of these presets didn't know exactly, wich value of -vbr switch results in wich bitrate

Modify preset AAC- HE5.1 VBR 200-250 kbps: change "-vbr 0.4" to "-vbr 0.3".

-vbr 0.3 =~ 220 kbps
-vbr 0.2 =~ 150 kbps

Also, there's no more "HE" thing in NeroAAC. NeroAAC automatically applys HE and HEv2 methods for low-bitrate AAC, but stays LC in high-bitrate AAC, and StaxRip does NOT forces using of HE or HEv2. Wich means, resulting AAC MAY be HE or HEv2, or MAY be just LC.

batfink
26th August 2006, 11:39
Anybody here gor experience with Dual Core CPU's and X264 encoding in Staxrip...
I encode on a P4 3.0 ghz with Hyperthreading...When i'm encoding in X264 if i tell Staxrip that i have 2 threads..my encoding goes slightly faster..but only slightly...Maybe 11 to 12 fps with the second thread compared to 10 fps with the single thread.

anybody used an AMD x2 or a Intel Core 2 Duo..does adding the second thread with these CPU's increase encoding speed much.

LRN
26th August 2006, 15:38
24khz instead of 48khz It's AAC with SBR then. Maybe you could force NeroAACenc.exe to use LC profile...But i don't know how to do this through BeSweet.
So by changing the number to 0.31 i still get a variable bitrate between 50 and 70..but its 48khz..strange..
I didn't know that you can use "0.xx", not just "0.x" :-/
As for your case, you raised bitrate of output file, thus making NeroAACenc.exe think that it's high enough to not to use SBR.
If you're wondering, what is SBR - look at http://www.codingtechnologies.com/products/aacPlus.htm and http://www.codingtechnologies.com/products/sbr.htm

anybody used an AMD x2 or a Intel Core 2 Duo..does adding the second thread with these CPU's increase encoding speed much.
That's EXACTLY what i'm trying to figure out too. If someone knows dualcore influence on encoding performance - please tell us.

batfink
27th August 2006, 15:18
Encoding something in H264 with AAC sound. You have the choice of encoding the AC3 file to AAC audio or use an existing AAC file.
Here's the strange thing..The Audio is encoded first *before* the H264 video....Then the Video is encoded..and then after that, the Audio and video are muxed together to create the final file.

However if you tell stax to encode the Audio first..then the H264 video encoding goes a good 5 frames slower than if you tell Stax that you have an existing sound file.

This makes no sense to me...They are separate processes...The audio encoding has absolutely nothing to do with the Video encoding......Hence the type of audio you have shouldnt effect how fast the video is encoded.

Is there something i'm missing.

LRN
27th August 2006, 17:32
Weird. This shouldn't be. Maybe your FPS measuring technique is flawed? Usually, encoding starts at high FPS and slows down later.

Gehenna
27th August 2006, 17:34
Thats quite bizarre batfink.

I just a a little test myself, and with encoding AC3 to AAC or Adding existing AAC file,the X264 encoding are within 1 second on each other:

Encoding AC3 to AAC

---------- Audio Encoding Statistics ----------

Start time: 17:14:15
End time: 17:14:45
Duration: 00:00:29
Speed: 207 fps
Size: 4.8 MB
Bitrate: 166.06 kbps
Video Bitrate: 1340 -> 1304

---------- x264 Single/First Pass Encoding ----------

Command Line: "C:\Program Files\DVD Tools\x264\x264.exe" --bitrate 1304 --ref 3 --bframes 3 --b-pyramid --weightb --b-rdo --bime --analyse all --8x8dct --subme 6 --trellis 1 --progress --threads 2 --no-psnr --output "D:\New Folder\1pass_1340br_aac_EncoderOutput.mkv" "D:\New Folder\1pass_1340br_aac.avs"

---------- x264 Single/First Pass Encoding Statistics ----------

Start time: 17:14:45
End time: 17:20:58
Duration: 00:06:13
Speed: 16 fps



Adding Existing AAC:


---------- x264 Single/First Pass Encoding ----------

Command Line: "C:\Program Files\DVD Tools\x264\x264.exe" --bitrate 1304 --ref 3 --bframes 3 --b-pyramid --weightb --b-rdo --bime --analyse all --8x8dct --subme 6 --trellis 1 --progress --threads 2 --no-psnr --output "D:\New Folder\1pass_1340br_ADD_aac_EncoderOutput.mkv" "D:\New Folder\1pass_1340br_ADD_aac.avs"

---------- x264 Single/First Pass Encoding Statistics ----------

Start time: 17:21:37
End time: 17:27:52
Duration: 00:06:14
Speed: 16 fps



Are you sure its a FULL 5fps difference?
U Sure you had no other processes running between your AAC encoding run and your ADD exisiting AAC Run?

batfink
28th August 2006, 05:07
Ok, i've just run another batch of tests...First though, i cleaned out the directory i was testing with and just kept the D2V and Vob file.

I think Stax may have crashed without giving me any noticable errors. I encoded Stargate Season 8 Pal in 560x304, but found that it was to high a resolution for the Xbox to handle for some Scenes (Especially scenes in jungles with lots of leaves blowing slightly in the wind). Apart from this they played fine.

So i reencoded the lot of them..but told Staxrip to use the existing sound file. I didnt see any point in having to encode the sound again.

Except that all these new files i made play faulty in XBMC..They play fine for a while and suddenly the FPs will jump to 40 or 50 FPs then suddenly drop to 10 and jump back up to 50.

It didnt do this on the first batch....So maybe Stax had crashed..cause i agree with your findings , my test this time shows no difference in encoding speed.

When i encoded the 21 episodes first time around..it took 2 days to encode..when i started the second round of encodings...i didnt reboot or even quit Staxrip

Jacquers
28th August 2006, 07:38
The problem isnt the StaxRip, but DivXMux.exe

There is a bug / very stupid feature in DivXMux.exe that it does not apply audio delays of bigger than +-1000ms. Anything bigger than that simply gets ignored.

dalihrp
31st August 2006, 04:20
No New update for StaxRip?
I prefer it over others, because its easier to use, just like autoGK.

Sirber
2nd September 2006, 00:32
I just downloaded StaxRip. I plan to use it for my DVD Rips. Would be cool though to have an installer with everything. Kinda long to download all 12 packages :)

batfink
2nd September 2006, 11:26
But it would take just as long to download if its all together..in fact it would take even longer cause right now you only need to download the bits that your going to use.

Probably the only benedit from downloading everything all at once is that things with broken downloads like NeroAACenc wont be a problem.

Took me a little while to source NeroAACenc off the Nero site (its not obvious where it is on their site) and then even longer to figure out exactly where Staxrip wants it placed

SeeMoreDigital
2nd September 2006, 11:45
Indeed...

As someone who primarily feeds StaxRip with elementary MPEG-2 .M2V (video only) streams, it's quite handy not having to download software and codecs I don't need - especially a whole load of Java stuff.


Cheers

LRN
2nd September 2006, 15:17
Note to everyone: You have to download fresh DGIndex (StaxRip will cry about "unsupported version") to open HDTV *.ts files in StaxRip. Make sure to put dgdecode.dll also in AviSynth plugins dir.

bira
2nd September 2006, 18:04
I'm trying to choose between StaxRip and Megui and I'm liking StaxRip better.

I noticed that every application needed by StaxRip have a new version available. Can I use the newest versions without any problem?

Is StaxRip still being developed? If it has stopped, I'd rather stay with megui.

LRN
2nd September 2006, 21:40
Can I use the newest versions without any problem?You can use most of them with StaxRip, but
1) Staxrip will ALWAYS warn you about unsupported version, you should check ("always use unsupported version") to shut it up.
2) New functionality of new version (if any) will not be available (if it doesn't used automatically, i.e. new commandline switches). StaxRip just don't know about it.

Development is halted. For good? I don't really know. I'll stick with StaxRip while it can sustain my DVDRIP'ing needs.

MeGUI is good too.

batfink
4th September 2006, 10:41
Ya, i've had a decent play with MEGUI as well...and prefer Staxrip. One of my main pet dislikes about MEGUI is this.

When you first load in a D2V file..it presents you with a resize box so you can choose your Resolution..after you choose your resolution, you choose "Save" and give it a name.

Now..the *ONLY* way to get back to that resize screen is to delte that AVS script that you created when you chose "Save". Reloading the D2v file wont do it..That will automatically load the AVS script file. Thats annoying..i want to be able to change the resolution when i feel like it and have it generate an new script based on my new settings..Not make me delete or rename the old script first.

Well thats my 2 cents worth on "WHY I PREFER STAXRIP OVER MEGUI" :)

batfink
4th September 2006, 11:35
Yup, i know your probably sick of hearing from me and i'll probably get a hostile reception like it got over at the DGINDEX forum recently (boy!!. were they not friendly) :).

But i figured its worth passing on what i've learned recently..even if its just to save somebody else banging their head against the same brick wall.

Recently i was encoding Stargate Season 8 Pal to H264 with a resolution of 560x304. The aspect ration was .86% which was fine. I was encoding them as Single Pass Constant quality. Quality=20, Bframes=3, Ref Frames=5 (everything was set to default) and 2 channel AAC audio. Anyway they played perfectly on the computer...but on my Xbox using XBMC there were certain scenes that suffered from framerate loss..especially during heavy jungle scenes with lots of leaves and greenery (frames could drop as low as 2 fps before jumping back to 25).

So i decided i reencode them to 528x288 (544x304 was out cause it went orange in Staxrip)..The aspect was about -44%. Cause they were in a lower res and will encode slightly faster i decided to change the settings slightly, So i left the Quality at 21 but set the Bframes to 4 and the REf frames to 6. Then i changed the Motion Estimation Method from Hexagon to Multihex and the Sub pixel Motion Estimation from 6 to 7 and left them encoding for a couple of days.

As they finished i would jump around in them to make sure they played right and were in sync..and everything seemed ok...
Ok that is till i ran one of them for a certain lenght of time on the XBOX..They would play fine for a while and then suddenly they would jump from 25 fps to 40 to 50 fps..and then drop to 10 fps and then jump back upto 50...it would continue to do this till you slightly FF the file..then it would right itself..until it hit a certain point of the file and then it would start again.

at first i thought it was after the xbox had been playing the file for a certain length of time..but not so..it was certain key places in the file that triggered the skipping..You could rewind and it would always do it on that spot..even if it had only been playing for 10 seconds.

This is no good..cant have them doing this...shit...Well it cant be the AAC sound cause the first batch i made play fine with the AAC sound...they just get a bit jerky during busy scenes.

So i set the Ref frames back to 5 and the Bframes back to 3...Reloaded all the project files and modded them all..went to bed and left them encoding...The next day i tried again...and they were still going apeshit in exactly the same places.

WTF !!!

So i set the Motion Estimation Method from Multihex back to Hexagon and the Sub pixel Motion Estimation back from 7 to 6.
And left them encoding overnight again..

Next day..Same freaking thing again...By now there is a bloody spot where my forehead used to be and a blood splattered spot on a particular wall.

Ok, i thought..With the original working files i encoded the sound as the projects were running...with each subsequint encoding i told it to use the existing AAC sound file....So this time i left it as is with the exact same settings as the working files except for resolution, but this time i had it reencode the audio as well..again.

Next day....God dammit it..same fracking frelling fragging (notice the Farscape, BSG, Doom references) problem.

Ok, so maybe they dont like what i'm doing to the AAC audio, so i reencoded them again..this time with MP3 128kb audio.
Next day....GGGAAAAHHHHHHH still same problemo

Ok..thats it....Its either every single fricking VOB files has corrupted or its the one thing i didnt think it could possibly be..The resolution.

So..yup, you guessed it..once again i loaded all the projects.
Modded each project like so
Quality=21
Bframes=3
Ref Frames=5
Motion Estimation Method = Multihex
Sub pixel Motion Estimation = 7

AAC audio VBR 60 to 70 KBP

I chose multihex and 7 to try and compensate for the lesser bitrate i would get for choosing Quality of 21 instead of 20..The lesser bitrate means the jerky bits play smoother on the Xbox.

And lo and behold..they play perfectly smooth..Its the frikken resolution..as wacky as that sounds..The Xbox would not play my Stargates smoothly at 528x288..Yet i encoded a movie "She's The Man" the other day in 528x272 and it works perfectly.

am i the only one to have this experience..Should i have taken the Red pill instead of the Blue pill.

So yeah.. if your doing H264 encoding and it dont play right on your XBMC..skip all the obvious stuff and try changing yer resolution.
.
.
.
.
maaan..my finger tips have got cramps from all this typing

Oh yeah...i also tried this problematic resolution in MEGUI and it was actually worse there..The errors manifested themselves in the same spot but whereas Staxrip files would keep on playing and you could just tap FF for a split second and the file would fix itself..the files generated by MEGUI would instantly bomb back to the XBMC interface..wouldnt even attempt to play past the faulty part.

LRN
4th September 2006, 12:03
You definetly must report this bug somewhere (x264 developement team maybe?). Just find a way to reproduce it on some short video sequence.

batfink
4th September 2006, 12:30
Ya, i still have the Stargates..i remember 1 particular episode that constantly showed the error exactly 1 minute 40 seconds into the episode. I did try cutting a chunk and for some reason the error wouldnt show up unless i encoded the whole episode (or a sizable chunk), but i was cutting from the front. Maybe the error will show up if i encode it from the start of the episode but tell it to stop at about 2 minutes in.

Cocophone
4th September 2006, 21:04
I was having a problem with the center channel mapped to the right front channel. I followed the solution below and it corrected my problem.

Probably AAC transcoding issue (if you're using AAC), i experienced this one with old bsn-nero-dll AAC encoding. Are you sure you're using latest StaxRip hotfix with NeroAACEnc?)

How would I go about fixing the mp4 files that have the channels mapped wrong? What do I need to do to demux the audio and correct the channel mapping and remux the audio and video? I would like to try this rather than redo the dvd with staxrip to save time.

Thanks for any help.

batfink
5th September 2006, 04:05
Unfortunately for us H264 users, we are not yet well catered for when it comes to video/audio editors.

But you could give AVIDEMUX a try, it comes in Linux and Windows flavours
http://www.avidemux.org/
If anybody has a version of this...um..sort of laying about..i wouldnt mind having a look at it
http://www.mainconcept.com/site/index.php?id=10475

Finally i did read somewhere that mainconcept also made a H264 plugin for Adobe Premiere, so if your familiar with Premiere..this might suit you...Although i cant seem to find it on their website anymore

Ok, found it..that wasnt obvious..i wasnt looking for an Mpeg plug-in
http://www.mainconcept.com/site/index.php?id=7862

These are about the only 3 options i know of..none of which i have tried

batfink
5th September 2006, 07:48
Ok, i just gave this a try
http://www.mainconcept.com/site/index.php?id=10475

Its pretty average really..Certainly no Virtualdub.
It will let you take a muxed H264 file and break it down into its separate streams.

Strangely the H264 component only worked for about 5 minutes and now gives an error...The program is regged, but the H264 (which is an addon plug-in) might be the demo version only.

It pretty much does what mp4box does..just pretty like with menu's n' such.

I had a play with AVIdemux...If your not wanting to do any major editing...You can chuck your file into AVIDEmux, set the video to copy..Set the "FORMAT" to Mpeg video and click save..This should save a RAW H264 video stream..Then you can rip your DVD again and just reencode the audio using NeroAACenc and then remux them using MP4box.

I'm no expert on Audio stuff.Especially AAC..but i'm pretty sure you cant actually *fix* your faulty audio stream.
But hey..The audio is quick to encode compared to the video.

I'm still looking around for the Adobe plug-in..I rekon that sounds the most promising..Will let you move audio and video around as you please..fix Syncing problems etc etc

batfink
5th September 2006, 08:30
Ok, so i see X264 557 is available...I'm still using 516 which was the latest version available when Staxrip stopped being developed.

Are there any advantages to using a later version of X264...I know if its got new commands that Staxrip wont make use of them...But has it had many big fixes...Speed increases..maybe supports more command sets like SSE2 etc etc. :D

Any problems with using the latest versions..What versions are you guys (and ladies :rolleyes: ) using.

LRN
5th September 2006, 16:46
new commands that Staxrip wont make use of themIn StaxRip you could add additional commandline switches (look in codec configuration)
[quiote]I would like to try this rather than redo the dvd with staxrip to save time.[/quote]
You need only reencode audio (wich is faster than figuring out how to fix channel mapping) and mux it with already encoded video.

sander815
5th September 2006, 19:40
is it possible to add a logo filter to staxrip? Thats the only option i am missing in staxrip, to blend a logo into a vid

batfink
6th September 2006, 01:29
Logo stuff
http://forum.doom9.org/showthread.php?s=&threadid=43921

JoergS
6th September 2006, 17:51
Hello,
I am using StaxRip to encode PAL 704*576 avi files, captured from VHS. I'd like to convert it into DivX with the same resolution, but StaxRip wants to convert to something like 704*528 to get the correct ITU ratio and square pixels. Is it possible to encode non-square pixels in DivX? I tried to disable resize filter, but without success.

BTW if I want to look into the source code of StaxRip and want to build the executables, which software from MS do I need?

dalihrp
7th September 2006, 00:29
Hi,
When i encode movie at lower res, 720 -> 640, which resize filter is recommended? neutral, soft or sharper?

:thanks:

btw> i wish stax or someone else update staxrip more.

batfink
8th September 2006, 06:01
Hmm, if somebody was going to update Staxrip a bit, what would you have them do ?

I had one minor problem with it, and thanks to the help of people in this forum, thats no longer an issue.

Now Staxrip does pretty much everything i need it to do.

Gehenna
8th September 2006, 09:27
Im with Batfink on this,Staxrip does pretty much all you could want straight out of the box,and if you wish to tweak CLI/Filters/Layout then its all adjustable as LRN said.

I feel Stax got it right first time (okay second time after DVX),and unless some radical changes happen in the encoding world in the near future,Staxrip will serve you well into the future and beyond.

Just because its not being actively developed at this point in time does not make a third rate product,you only have to see the number of users still using still GK and AGK.

Note: I noticed that Stax has updated the Staxrip web site,it has had an overhaul in August,so i guess Stax is around ,but keeping low profile
http://www.planetdvb.net/

batfink
8th September 2006, 11:01
Geez Gehenna,
Is that you rig i see in the picture in your Signature.
Didnt i see something like that hanging off the back of a Borg ship in Startrek TNG.

Where's the Flux Capacitor dude :)


Dude, Does Dual Xeon chips make your encoding go faster...Like Double speed..Basically trying to find out what X264 encoding speed is like on a Dual Core machine....Dual CPU is even betterer

Gehenna
9th September 2006, 15:19
Where's the Flux Capacitor dude :)

Huh,its next to the Heisenberg compensators .geez what a newb!! :)

I guess the SMP architecture in theory kinda doubles your speed. (Unlike H/T) ,These days the 604 socket 533FSB Xeon comes complete with Zimmer Frame,but im happy enough with my encoding rates with x264(build 555) using Sharktooth`s "Slower" profile in StaxRip,where i see 90-95% (Combined) usage....

Im still amazed at some people running the insane profile ,then complaining its taking 40hours to complete on their Athlon`s

For me ,ballpark figure is 5-6 hours on "Slower" Profile for 2hour Movie.

LRN
9th September 2006, 19:15
Nearly 8 hours for me @ P4 3.2Gh with HT, same profile.

VirtualTraveler
9th September 2006, 19:30
I am new to Stax.

I want to squeeze a video I took with my Cannon A620 Powershot to less than 100 meg for posting on YouTube.com.

Every time I load one of my avi's into Stax, the first thing the program does is to rip the audio out into a wav file.

When I try to write the video into any type of format, I get the error message "nnnnnn.mp3 not found"

Since the audio was ripped into a wav file, of couse there is no mp3 to be found.

Probably I have some setting wrong. If anyone can help, I will be very grateful.

Regards
VirtualTraveler

LRN
9th September 2006, 22:36
write video into what? You mean - "start video encoding"?
"nnnnnn.mp3 not found" - means you specified mp3 audio track for resulting file, but there's no such file. Check out two edit-fields on the bottom of the StaxRip window.

batfink
10th September 2006, 09:56
Comparing speeds is sort of hard unless everybody uses the same movie for comparision....4x3 encodes slower than Wide Screen, and Wide screen encodes slower than Anamorphic.

Also resolution and Bitrate play a huge role as well.

For me, Encoding the Matrix with X264 which is 2:03 hours long and is Anamorphic with a resolution of 720x288 with a bitrate of 1000 on a P4 3.0 ghz with HT using Slower Profile.

First pass took about 1:50 hours and went at about 28 fps
And second pass looks to be about 9:00 hours at about 5:56 fps

batfink
10th September 2006, 10:01
First of all, in the "Filters" box, did you change the "Source" from Mpeg-2 to AVI.

Secondly under that where the two Audio boxes are..Double click in the first box and point it towards your WAVE file. Its gotta know there's an audio file to be able to convert it to mp3






I am new to Stax.

I want to squeeze a video I took with my Cannon A620 Powershot to less than 100 meg for posting on YouTube.com.

Every time I load one of my avi's into Stax, the first thing the program does is to rip the audio out into a wav file.

When I try to write the video into any type of format, I get the error message "nnnnnn.mp3 not found"

Since the audio was ripped into a wav file, of couse there is no mp3 to be found.

Probably I have some setting wrong. If anyone can help, I will be very grateful.

Regards
VirtualTraveler

ScubaJoe13
13th September 2006, 04:39
I really like the StaxRip package, but I am having one small problem that I am hoping to get some help with.

The source I am using gives a picture that is way to dark, so I have to make some adjustments during processing. I have found two filters by Donald Graft (http://neuron2.net/), brightness/contrast and hue/saturation, that are plug-ins for vdubmod that work wonderfully to correct the picture. I have just been doing a manual 2-pass with vdubmod. I would like to use StaxRip, but I cannot figure out how to incorporate these filters into it.

The filters are called bright.vdf and hue.vdf, and as far as I can tell they have NO associated dll files, which I think is the problem. I have placed the files in the correct plug-in sub-directory (in fact out of frustration I have put them in every conceivable directory under StaxRip). I have followed the directions for writing the scripts to add filters, and I have had someone who has used the program extensively try to help me with the scripting, all to no avail. I have even used the script that vdubmod uses when you use pre-saved processing settings (from the .vcf file vdubmod creates to save settings). I have made adjustments to these scripts to try and get them to work, and the filter just keeps on resulting in an error out.

If anyone has any experience with vdubmod .vdf filters and getting them to work in StaxRip, help would be greatly appreciated.

batfink
13th September 2006, 08:34
I canna really help you there..not much experience with Scripts n' dll's n' such.

However , your using VirtualdubMod ?...And your loading the file into Staxrip...Does this mean its some kind of an Mpeg 2 file.

Have you tried using the Luminance filter in DGIndex to fix your problem. (thats if its an Mpeg source file)

ScubaJoe13
13th September 2006, 22:07
TY for your response, and by looking at the preview while adjusting the 2 luminescence settings in DGIndex, it appears as if it may work as a replacement for the filters I was using in vdubmod. And yes, I am working with .vob files specifically.

Unfortunately the same question remains: how do I get the luminescence filter turned on and the settings I want ( Gamma +84, Offset -6) to load in StaxRip?

TY again

simonhowson
16th September 2006, 13:38
First, I should declare that I'm a newbie who only started using StaxRip a week ago (after failing to get MeGUI to work).

I've succesfully encoded some music videos ripped from DVDs, but now I'm trying to work with entire films.

I have set the encoder to 2 pass mode, however at the start of the second pass I got the following errors:
avis [info]: 320x176 @ 25.00 fps (163775 frames)
x264 [error]: Error: 2pass curve failed to converge
x264 [error]: target: 731.00 kbit/s, expected: 311.26 kbit/s, avg QP: 22.0000
x264 [error]: try reducing target bitrate or reducing qp_min (currently 22)
x264 [info]: using cpu capabilities MMX MMXEXT SSE SSE2 3DNow!
encoded frames: 2130/163775 (1.3%), 63.23 fps, eta 0:42:36

I'm running the encoder with 2 threads to take advantage of my dual core CPU, and I set the target file size to 650 MB. Is it complaining that the file size is too big or small?

I have no idea what "Error: 2pass curve failed to converge" means, but it doesn't sound good.

Another unrelated question, if I am encoding a black and white DVD, do I need to set something in the encoder to optimise it for black and white? Like can black and white films be compressed more, or faster than colour films?

UPDATED: Unfortuantely the file turned out to be only 300 MB, even though I think I set the target file size to 650 MB. I do not understand why the file size is so small :-(

UPDATE 2: I've got another question. How do I know whether or not I need to use the DEINTERLACE filter? Is there a way to automatically detect whether or not the source needs deinterlacing?

Any help will be appreciated.

LRN
16th September 2006, 16:31
Is there a way to automatically detect whether or not the source needs deinterlacing?Not in StaxRip. In StaxRip you should look at Preview window to decide. This isn't bad, since you have to look anyway - to check aspect ratio, noise (denoise is the filter i use more often than deinterlace), etc.

As for your issue with x264, please, post full logfile and some info about DVD you RIPing. And try http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2006-August/013746.html

simonhowson
16th September 2006, 16:50
The DVD I am ripping is Taxi Driver (PAL version). I am using the iPod x264 profile.

The first time I tried to do a 2 pass encode with the file size set to 650 MB. However it gave the error described in my previous post, and produced only a 330 MB file.

So I tried encoding again, this time I used the one pass bitrate option, with a bitrate target of 555 Kbps. However this time it produced a file size of 301 MB.

I encoded the audio manually using iTunes AAC, 96 Kbps VBR. Which produced a 78.5 MB sound file.

Here is the StaxRip log for the second encode. Unfortunately it has over written the log for the 2 pass encode:


---------- Compressibility Check ----------

Command Line: "C:\TOOLS\STAXRIP\Applications\x264\x264.exe" --crf 18 --no-cabac --analyse p8x8,b8x8 --subme 6 --me umh --progress --threads 2 --no-psnr --level 1.3 --qpmin 22 --output "H:\TAXIDRIVER\Temporary Files\VTS_02_1_CompCheck.264" "H:\TAXIDRIVER\Temporary Files\VTS_02_1_CompCheck.avs"

---------- AviSynth Script ----------

MPEG2Source("H:\TAXIDRIVER\VTS_02_1.d2v")
Crop(12,10,-8,-14)
BicubicResize(320,176,0,0.5)

---------- x264 Single/First Pass Encoding ----------

Command Line: "C:\TOOLS\STAXRIP\Applications\x264\x264.exe" --bitrate 555 --no-cabac --analyse p8x8,b8x8 --subme 6 --me umh --progress --threads 2 --no-psnr --level 1.3 --qpmin 22 --output "H:\TAXIDRIVER\VTS_02_1_EncoderOutput.264" "H:\TAXIDRIVER\VTS_02_1.avs"

---------- x264 Single/First Pass Encoding Statistics ----------

Start time: 11:37:25 PM
End time: 12:31:09 AM
Duration: 00:53:43
Speed: 51 fps

---------- Muxing ----------

Command Line: "C:\TOOLS\STAXRIP\Applications\MP4Box\MP4Box.exe" -fps 25.000 -add "H:\TAXIDRIVER\VTS_02_1_EncoderOutput.264:name=Video" -add "H:\TAXIDRIVER\VTS_02_1 01 en-English 2_0ch 192Kbps1 DELAY 0ms.mp4:lang=eng:name=English" -chap "H:\TAXIDRIVER\VTS_02 - Chapter Information - OGG.txt" -new "H:\TAXIDRIVER\VTS_02_1.mp4"

---------- Muxing Statistics ----------

Start time: 12:31:10 AM
End time: 12:33:04 AM
Duration: 00:01:54
Speed: 1436 fps

---------- Overall Statistics ----------

Start time: 11:37:25 PM
End time: 12:33:04 AM
Duration: 00:55:39

LRN
16th September 2006, 18:18
H.264 video: up to 768 Kbps, 320x240, 30 frames per sec., Baseline Profile up to Level 1.3 with AAC-LC up to 160 Kbps, 48 Khz, stereo audio in .m4v, .mp4 and .mov file formats.
650 Mb means ~785 kb/s (TaxiDriver is 103 min), while iPod supports only up to 768 kb/s.
As for 555 kb/s...I don't know. Try to read link i posted above, or google for this error. This is really x264 problem, StaxRip is ok, so...ask somewhere else :)

simonhowson
17th September 2006, 02:12
650 Mb means ~785 kb/s (TaxiDriver is 103 min), while iPod supports only up to 768 kb/s. Is the 768 Kbps/s limit for the total file, or only the video compoenent of the file? As for 555 kb/s...I don't know. Try to read link i posted above, or google for this error. This is really x264 problem, StaxRip is ok, so...ask somewhere else :) OK.

Cocophone
17th September 2006, 17:19
I'm trying to understand the which AAC preset has better quality sound.

I'm ripping a DVD that has Dolby surround, but it says 2 channel Dolby. I think it has a Left, Right and a Rear surround.

The ending file size is not important. I usually select either a 1 gb or 1.5 gb file size in Staxrip. I'm playing the resulting MP4 file using Zoom Player on my TV with the sound processed by ffdshow and out the soundcard's spdif to my receiver.

Should I use HE VBR 50-70 kbps or LC VBR 110-150 kpbs?

SeeMoreDigital
17th September 2006, 18:26
I'm trying to understand the which AAC preset has better quality sound.

I'm ripping a DVD that has Dolby surround, but it says 2 channel Dolby. I think it has a Left, Right and a Rear surround. Personally speaking I use BeLight (Beta Daily 2006-06-29) to convert 6Ch AC3 to 6Ch AAC-HE...

I don't do anything fancy, I use CT's (WinAMP) AAC encoder, set it to 5.1 Output Channels and select 128 or 160Kbps...

To my ears I prefer CT's AAC encoder to Nero's ;)

Cocophone
17th September 2006, 19:00
But what would you do for older DVDs that are not 5.1 surround, but are the older Dolby surround?

From wikipedia
Dolby Surround/Pro Logic is based on basic Matrix technology. When a Dolby Surround soundtrack is created, four channels of sound are matrix-encoded into an ordinary stereo (two channel) sound track by using phase shift techniques. A Pro Logic decoder/processor "unfolds" the sound into the original 4.0 surround—left and right, center, and a single limited frequency-range mono rear channel—while systems lacking the decoder playback the audio as standard Stereo.

SeeMoreDigital
17th September 2006, 21:36
But what would you do for older DVDs that are not 5.1 surround, but are the older Dolby surround?No problem...

Both my Blade Runner DVD's have been encoded with Dolby ProLogic audio as an 2Ch AC3 stream.

When I encode such sources to an 2Ch AAC stream and play them back in Media Player Classic, my external DSS amp is able to faithfully decode the stream in "ProLogic" surround sound ;)


Cheers

LRN
17th September 2006, 21:44
Should I use HE VBR 50-70 kbps or LC VBR 110-150 kpbs?
Obsolete.
HE VBR 90 kbps is: "%application:BeSweet%" -core( -input "%input%" -output "%output%" ) -azid( -c normal -L -3db ) -ota( -d %delay% -g max ) -bsn( -vbr 0.4 -2ch )
LC VBR 110-150 is "%application:BeSweet%" -core( -input "%input%" -output "%output%" ) -azid( -c normal -L -3db ) -ota( -d %delay% -g max ) -bsn( -vbr 0.6 -2ch )
As you can see, only "-vbr" switch is different. For me, ~220 kbps is ok, so everything you need is to encode some stereo ac3 with several different values of "-vbr" switch to figure out wich value you should use for 220 kbps. I know only that -vbr 0.3 results in ~190 kbps for 5.1 AAC, while -vbr 0.4 results in ~250 kbps for same file.
Also, there's NO more HE and LC AAC, since NeroAACenc enables HE profiling automatically for low-bitrate encodes, while StaxRip DOESN'T force NeroAACenc to use HE or HEv2 profile. Resulting file MAY be HE or HEv2, or MAY NOT be.

Cocophone
18th September 2006, 03:03
Thanks for the help.

vigi_lante
21st September 2006, 03:32
Anyone could please rehost that hotfix ?

Thanks.

theredbaron37
22nd September 2006, 16:20
Hello,
I recently gave up on AutoGK because of it's lack of command line automation. I tried a script for it but it didn't work well. I really like StaxRip, especially the command line features. However, I am not very experienced with CL stuff and I was wondering if you wonderful folks could help me out. I use Gb-PVR to record TV shows in MPG-2 format. After each recording, a post-processing batch file is launched. The batch calls on a commercial skipping utility, a video cutter to cut them out, and a file renaming utility. I would like to add transcoding to XVid to the batch, and I'm afraid I'm not familiar enough with command lining to do it.

I've created two templates: one called sitcom that takes a 20-30 min show and converts to 175MB xvid avi, and another called drama that takes a 40-60 min show and converts to 350mb xvid avi. The way to tell if an mpg-2 falls into either category is that anything above 1.3GB will be considered drama, and anything below can be considered sitcom.

What I would like to do is have a batch/script (might need specific instructions) that does a few things:
1) Runs as one script until completion, so that batch items after the script is called don't run prematurely.
2) Decides what template to use for a file (based on the size requirements above)
3) Runs without user input
4) If an encoding is in progress, and another recording is completing in PVR, the new recording gets queued and encoded after the current one is complete.

I've looked at the command line stuff and so far came up with:

"C\Directory\StaxRip\StaxRip.exe" -t:drama -e %1

That did not work, I got error messages saying: could not find file " ". I am admitedly a total n00b, but I'm pretty savvy at picking up this stuff. I just need some help figuring out what I need to do to accomplish the objectives listed above. Any help will be greatly appreciated. Thank you.

theredbaron37
23rd September 2006, 17:14
Any ideas?

Flexy
23rd September 2006, 23:00
is there any way to load vdub(mod) filters and then use the filter GUIs to set-up the filter parameters ?

Eg. i want to use the virtualdub filter "whitebalance 2.0", i know how to load/add the filter in staxrip....but how can i access the filter-properties then...maybe preview in staxrip, play around with settings until they are ok...and then start an encode in staxrip with those settings ?

staxrip is REALLY good...i hope the development didnt come to an halt ?!

batfink
24th September 2006, 06:28
LRN dude,
Yesterday i went to a Lan session, and whilst there, i had the opportunity to play with a AMD 3800 X2 which had Staxrip installed.

Unfortunately i didnt get a lot of time, but i did manage to perform a small test.

The machine i had with me was an XP3200 running at 2.2 GHZ.
I grabbed an 800 meg DVD chunk and ran it through Staxrip encoding using X264. The settings arent really relevant here..only the results.

The XP 3200 managed approx 5 to 6 fps

The 3800 X2 running at 2.0 GHZ managed between 14 to 16 fps for the exact same file with the exact same settings. (with 2 threads turned on). I didnt have time to test same file with one thread.

My P4 3.0 GHZ managed between 7 to 9 FPS for the same file , same settings.

So yeah, there is a definite speed increase with the Dual Core CPU's..Even more i would imagine if you went with one of the Faster X2's like the 4200 (2.2 ghz) or one of Intel's Core 2 Duo's

AMD 4200 X2's are a good buy at the moment..i might look into one of those

simonhowson
24th September 2006, 09:17
StaxRip & NeroAAC issues.

StaxRip keeps telling me it can't find the NeroAAC encoder files. It tells me to install Nero Recode which I already have installed on my system.

I've tried copying the NeroAAC DLLs into every StaxRip folder, but it can't find the files.

I usually process the audio manually using BeSweet and iTunes AAC encoder.

Can anyone explain to me what files I need to put where to get NeroAAC encoding to work?

batfink
24th September 2006, 10:33
Yup, put the files themselves here "Applications\BeSweet"
Dont put them in a directory in the Besweet dir, just put the files

neroAacDec.exe

neroAacEnc.exe

neroAacEnc_SSE2.exe (you can rename this to neroAacenc.exe if you have a machine with SSE2 instructions.)

neroAacTag.exe

in the besweet directory....and make sure you dont have a neroAacenc directory floating about anywhere else in the staxrip directory structure.

Staxrip will probably complain that you have the wrong versions...thats fine..they still work

LRN
24th September 2006, 10:57
how can i access the filter-properties then...maybe preview in staxrip, play around with settings until they are okYou CAN change filter's settings. Right click on filter, Edit..., Script. Here you can change whatever settings you want, then close this window and look at preview screen. Not very convinient, but it works.

simonhowson, check what BeSweet core switch you're using. You should use latest BeSweet and "bsn" switch (not "dimzon").

batfink, WOW! Now, i REALLY WANT some of those toys :)

simonhowson
24th September 2006, 13:56
simonhowson, check what BeSweet core switch you're using. You should use latest BeSweet and "bsn" switch (not "dimzon"). Thanks for this tip, but I still can't get this to work. I edited the command line, removing dimzon and adding bsn. I then tested the command line by clicking EXECUTE, but then it started making an MP3 file!

BeSweet v1.5b31 by DSPguru.
--------------------------
Using hip.dll v1.19 by Myers Carpenter <myers@users.sf.net>
Using lame_enc.dll v1.32 (22/12/2005), Engine 3.97 <http://www.mp3dev.org/>.

[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : H:\TEMP\ABC TV Sunday 24September2006 157AM.mp2
[00:00:00:000] | Output: H:\TEMP\ABC TV Sunday 24September2006 157AM_AudioOutpu
t.mp4
[00:00:00:000] | Floating-Point Process: Yes
[00:00:00:000] | Overall Track Gain: 10.567dB
[00:00:00:000] | Source Sample-Rate: 48.0KHz
[00:00:00:000] +-------- LAME -------
[00:00:00:000] | Bitrate method : CBR
[00:00:00:000] | MP3 bitrate : 128
[00:00:00:000] | Channels Mode : Joint Stereo
[00:00:00:000] | Error Protection: No
[00:00:00:000] +---------------------
[00:00:36:312] transcoding ...

I've coppied all the Nero files over, but it still complains and tries to constantly re-download BeSweet.

This is the command line for the Nero AAC profile:
"%application:BeSweet%" -core( -input "%input%" -output "%output%" ) -azid( -c normal -L -3db ) -ota( -d %delay% -g max ) -bsn ( -dllname bse_Nero7WA.dll -2ch -vbr_normal -codecquality_high -aacprofile_lc )

LRN
24th September 2006, 16:52
"%application:BeSweet%" -core( -input "%input%" -output "%output%" ) -azid( -c normal ) -ota( -d %delay% -g max ) -bsn( -vbr 0.3 -6chnew )
"%application:BeSweet%" -core( -input "%input%" -output "%output%" ) -azid( -c normal -L -3db ) -ota( -d %delay% -g max ) -bsn( -vbr 0.3 -2ch )
Syntax is different for bsn

simonhowson
24th September 2006, 17:04
Syntax is different for bsn
Thanks. But I still don't understand why the Nero AAC profile is trying to transcode from MP2 to MP3, then putting that inside an MP4 container.

Or is it only using LAME_ENC.DLL as an MP2 decoder?

Anyway, the MP4 file it produces won't play (I tried in WinAMP)

Here is the dialog box

http://img78.imageshack.us/img78/3858/audiosettingsih9.jpg

theredbaron37
24th September 2006, 18:18
So does this mean I'm on my own to figure it out?

Flexy
24th September 2006, 22:03
You CAN change filter's settings. Right click on filter, Edit..., Script. Here you can change whatever settings you want, then close this window and look at preview screen. Not very convinient, but it works.



i know i can manuallt "change" the settings by putting the settings directly in the script - but i am talking about accessing the filter's property/settings page.

It's dificult because some filters need a LOT of trial/error...eg. whitebalance in vdub where i have to play around w/ different frames 'til i finally have a good setting for the whole movie.

It would be VERY inconvenient if the ONLY way to do this woudl be from within VIRTUALDUB....then find the settings in vdub..and then copy/edit the settings and put it in the avisynth-script file for working with staxrip.

Some filters are more interactive than others, and i really need a way to do stuff with them withing staxrip. Otherwise i really wouldnt need a GUI like staxrip - i could as well do all the encoding manual :( Or do some odd/long winded workarounds which defies the purpose of a tool like staxrip.

Cocophone
28th September 2006, 16:03
I recently starting using the MKV container instead of the MP4 contain with staxrip and I notice something weird with the audio track.

The audio track file that is transcoded by besweet using Nero aac encoder is listed by ffdshow audio as 48,000 Hz 6 channel AAC

When I play the movie and look at the ffdshow audio its 96,000 Hz 6 channel SBR AAC.

Also, ffdshow is sending the audio to my receiver using spdif. The audio track that is 48,000 hz is Dobly digital on the receiver, the receiver says the 96,000 Hz audio is Stereo.


I've attached my log file

Thanks for any help

LRN
30th September 2006, 21:19
DieHard 3, 128:31, 720x480

Pentium4 540J (3.2 Ghz), P5WD2:

---------- AviSynth Script ----------

MPEG2Source("C:\dvds\diehard3\VTS_01_1.d2v")
Crop(0,60,-0,-60)
LanczosResize(720,288)

---------- x264 Single/First Pass Encoding ----------

Command Line: "D:\stax\Applications\x264\x264.exe" --pass 1 --bitrate 1051 --stats "C:\dvds\diehard3\Temporary Files\VTS_01_1.stats" --bframes 3 --b-pyramid --direct auto --filter -2:-1 --progress --threads 2 --no-psnr --subme 1 --analyse none --me dia --ref 1 --output NUL "C:\dvds\diehard3\VTS_01_1.avs"

---------- x264 Single/First Pass Encoding Statistics ----------

Start time: 1:33:20
End time: 3:12:00
Duration: 01:38:39
Speed: 31 fps

---------- Second Pass Encoding ----------

Command Line: "D:\stax\Applications\x264\x264.exe" --pass 2 --bitrate 1051 --stats "C:\dvds\diehard3\Temporary Files\VTS_01_1.stats" --ref 10 --bframes 3 --b-pyramid --weightb --b-rdo --bime --direct auto --filter -2:-1 --analyse all --8x8dct --no-fast-pskip --subme 6 --me umh --trellis 2 --mixed-refs --progress --threads 2 --no-psnr --output "C:\dvds\diehard3\VTS_01_1_EncoderOutput.264" "C:\dvds\diehard3\VTS_01_1.avs"

---------- Second Pass Encoding Statistics ----------

Start time: 3:12:00
End time: 16:35:36
Duration: 13:23:36
Speed: 4 fps


Core 2 Duo E6600 (2.6 Ghz), GA-965P-DS3:

---------- AviSynth Script ----------

MPEG2Source("C:\dvds\diehard3\VTS_01_1.d2v")
Crop(0,60,-0,-60)
LanczosResize(720,288)

---------- x264 Single/First Pass Encoding ----------

Command Line: "D:\stax\Applications\x264\x264.exe" --pass 1 --bitrate 1051 --stats "C:\dvds\diehard3\Temporary Files\VTS_01_1_newcomp.stats" --bframes 3 --b-pyramid --direct auto --filter -2:-1 --progress --threads 2 --no-psnr --subme 1 --analyse none --me dia --ref 1 --output NUL "C:\dvds\diehard3\VTS_01_1_newcomp.avs"

---------- x264 Single/First Pass Encoding Statistics ----------

Start time: 15:35:47
End time: 16:23:48
Duration: 00:48:01
Speed: 64 fps

---------- Second Pass Encoding ----------

Command Line: "D:\stax\Applications\x264\x264.exe" --pass 2 --bitrate 1051 --stats "C:\dvds\diehard3\Temporary Files\VTS_01_1_newcomp.stats" --ref 10 --bframes 3 --b-pyramid --weightb --b-rdo --bime --direct auto --filter -2:-1 --analyse all --8x8dct --no-fast-pskip --subme 6 --me umh --trellis 2 --mixed-refs --progress --threads 2 --no-psnr --output "C:\dvds\diehard3\VTS_01_1_newcomp_EncoderOutput.264" "C:\dvds\diehard3\VTS_01_1_newcomp.avs"

---------- Second Pass Encoding Statistics ----------

Start time: 16:23:48
End time: 0:11:29
Duration: 07:47:40
Speed: 7 fps


Conclusion:
3.2 Ghz -> 2x 2.6 Ghz
31 -> 64 fps
4- > 7 fps
2xcores, 2xspeed!!!!

batfink
1st October 2006, 15:41
Awwwww maan, you bitch..You totally beat me to it.

Where in the Intel chain is the E6600..Is that the really expensive chip or the next one down.

Interesting, your first pass went more than double the speed, and you second pass was just under double.

and they rekon quad cores are just around the corner...mmm 28 frames of encoding goodness

Did you notice any difference in the audio encoding speed..during my test, it didnt seem to be any faster...but i didnt get much play time so wasnt sure ?

LRN
1st October 2006, 19:14
E6300->E6400->E6600->E6700->X6800
Don't know about audio. I think, neroaacenc is singlethreaded.
Don't expect much from first Intel 4-core CPUs, they're just two 2-core ones bound in one crystall.

DivX_Luver
3rd October 2006, 22:49
Does any one know if StaxRip will support the new DivX 6.4 Codec any time in the near future?

LRN
4th October 2006, 11:49
Tools->External Applications->Codecs & Encoders->DivX.
Path: %windir%\system32\DivX.dll
So, if divx.dll from 6.2.2 is compatible with divx.dll from 6.4, then yes, StaxRip DOES support DivX 6.4

Warrex
8th October 2006, 11:26
Well, DivX does not work properly anmore. At least for me StaxRip fails to pass the correct bitrate on to the DivX 6.4 codec. DivX, Inc. obviously changed the CLI to incorporate the new encoding modes. Sigh.

I really hope that Stax will show up here some day with some small fixes.

Stax, if you read this: PLEAAASE! :)

vigi_lante
8th October 2006, 16:38
StaxRip still works with DivX 6.4 using target quantizer ?

MaxPlanck
10th October 2006, 03:48
Hi Guys, I'm hoping someone with more experience can help me. Been toying with staxrip for a few weeks now, have had great success with my movies. The problem is I've been trying to use the ipod profile, but I can't seem to get it to work. I know there are specific limitations that the ipod has, but I assumed that was what the ipod profile was for. Unfortunately, I don't know enough about staxrip to be more specific. Could someone either point me in the right direction or possibly take a stab in the dark as to what is causing my problem?

MrMine
10th October 2006, 10:40
I've problem with staxrip and divx 6.4:
When it start encoding virtualdubmod gives error -100 !!
Is it a problem of incompatibility betweeen divx 6.4 and staxrip?

Thnks for help,and i hope for new version! I love staxrip!

batfink
11th October 2006, 05:56
Pentium 4 3.0 GHZ
Soltek EQ3401-300P
http://www.soltek.de/soltek/product/qbic.php?isbn_st=SL-B8E-FGR&qisbn_st=EQ3401-300P&LWH=34.05(L)x24(W)x23.5(H)

The Matrix 125:53 - Slower Profile - Single Thread
---------- AviSynth Script ----------

MPEG2Source("F:\Matrix\VTS_02_1.d2v")
Crop(0,78,-0,-78)
BicubicResize(720,288,0,0.5)

---------- x264 Single/First Pass Encoding ----------

Command Line: "E:\Cdrive\Video Encoders\StaxRip 0.9.9.2\Applications\x264\x264.exe" --pass 1 --bitrate 1043 --stats "F:\Matrix\Temporary Files\Matrix-P4.stats" --bframes 3 --b-pyramid --direct auto --filter -2:-1 --progress --no-psnr --subme 1 --analyse none --me dia --ref 1 --output NUL "F:\Matrix\Matrix-P4.avs"

---------- x264 Single/First Pass Encoding Statistics ----------

Start time: 12:47:21 AM
End time: 2:48:10 AM
Duration: 02:00:48
Speed: 26 fps

---------- Second Pass Encoding ----------

Command Line: "E:\Cdrive\Video Encoders\StaxRip 0.9.9.2\Applications\x264\x264.exe" --pass 2 --bitrate 1043 --stats "F:\Matrix\Temporary Files\Matrix-P4.stats" --ref 5 --bframes 3 --b-pyramid --weightb --b-rdo --bime --direct auto --filter -2:-1 --analyse all --8x8dct --subme 6 --me umh --trellis 1 --mixed-refs --progress --no-psnr --output "F:\Matrix\Matrix-P4_EncoderOutput.264" "F:\Matrix\Matrix-P4.avs"

---------- Second Pass Encoding Statistics ----------

Start time: 2:48:10 AM
End time: 12:01:08 PM
Duration: 09:12:57
Speed: 6 fps

---------- Muxing ----------

Command Line: "E:\Cdrive\Video Encoders\StaxRip 0.9.9.2\Applications\MP4Box\MP4Box.exe" -fps 25.000 -add "F:\Matrix\Matrix-P4_EncoderOutput.264:name=Video" -add "F:\Matrix\VTS_02_1 01 en-English 3_2ch 384Kbps DELAY -24ms_AudioOutput.mp4:lang=eng:name=English:sbr" -new "F:\Matrix\Matrix-P4.mp4"

---------- Muxing Statistics ----------

Start time: 12:01:08 PM
End time: 12:04:16 PM
Duration: 00:03:08
Speed: 1004 fps

---------- Overall Statistics ----------

Start time: 12:47:21 AM
End time: 12:04:16 PM
Duration: 11:16:54









AMD Athlon 4200 X2
Gigabyte GA-M55plus-S3G Rev 1.x
http://www.gigabyte.com.tw/Products/Motherboard/Products_Overview.aspx?ProductID=2283&ModelName=GA-M55plus-S3G
The Matrix 125:53 - Slower Profile - Two Threads


---------- AviSynth Script ----------

MPEG2Source("F:\Matrix\VTS_02_1.d2v")
Crop(0,78,-0,-78)
BicubicResize(720,288,0,0.5)

---------- x264 Single/First Pass Encoding ----------

Command Line: "E:\Cdrive\Video Encoders\StaxRip 0.9.9.2\Applications\x264\x264.exe" --pass 1 --bitrate 1043 --stats "F:\Matrix\Temporary Files\Matrix-X2-4200.stats" --bframes 3 --b-pyramid --direct auto --filter -2:-1 --progress --threads 2 --no-psnr --subme 1 --analyse none --me dia --ref 1 --output NUL "F:\Matrix\Matrix-X2-4200.avs"

---------- x264 Single/First Pass Encoding Statistics ----------

Start time: 7:29:29 AM
End time: 8:22:12 AM
Duration: 00:52:43
Speed: 60 fps

---------- Second Pass Encoding ----------

Command Line: "E:\Cdrive\Video Encoders\StaxRip 0.9.9.2\Applications\x264\x264.exe" --pass 2 --bitrate 1043 --stats "F:\Matrix\Temporary Files\Matrix-X2-4200.stats" --ref 5 --bframes 3 --b-pyramid --weightb --b-rdo --bime --direct auto --filter -2:-1 --analyse all --8x8dct --subme 6 --me umh --trellis 1 --mixed-refs --progress --threads 2 --no-psnr --output "F:\Matrix\Matrix-X2-4200_EncoderOutput.mp4" "F:\Matrix\Matrix-X2-4200.avs"

---------- Second Pass Encoding Statistics ----------

Start time: 8:22:12 AM
End time: 12:05:30 PM
Duration: 03:43:17
Speed: 14 fps

---------- Muxing ----------

Command Line: "E:\Cdrive\Video Encoders\StaxRip 0.9.9.2\Applications\MP4Box\MP4Box.exe" -add "F:\Matrix\Matrix-X2-4200_EncoderOutput.mp4:name=Video" -add "F:\Matrix\VTS_02_1 01 en-English 3_2ch 384Kbps DELAY -24ms_AudioOutput.mp4:lang=eng:name=English:sbr" -new "F:\Matrix\Matrix-X2-4200.mp4"

---------- Muxing Statistics ----------

Start time: 12:05:30 PM
End time: 12:07:30 PM
Duration: 00:02:00
Speed: 1569 fps

---------- Overall Statistics ----------

Start time: 7:29:29 AM
End time: 12:07:30 PM
Duration: 04:38:01




As you can see..a huge difference in speed..I'm not sure why the first pass is so much faster on the X2..i know i forgot to put the second thread on in the first test..but that would have been using Hyper threading..and thats really only good for 1 or 2 frames more at best.
The second pass was more what i expected..just over double.

MrMine
12th October 2006, 08:29
Nobody has problem with divx 6.4 and staxrip?
No solution

cranners
12th October 2006, 19:12
Nobody has problem with divx 6.4 and staxrip?
No solution

I use StaxRip with divx 6.4. However, I set StaxRip to use VirtualDub instead of VirtualDubMod.

vigi_lante
12th October 2006, 20:22
What settings are you guys using with DivX 6.4 ?

I still cant notice any problem.

MrMine
12th October 2006, 23:55
I've tried virutaldub instead of vdubmod but nothin to do!

It says error -100.

I'd like to know if divx 6,4 works with staxrip to other people or not!

Thnks

vigi_lante
13th October 2006, 18:39
It works for me.

It would help if you tell me what settings are you using with DivX 6.4 so I can try to reproduce the problem here.

MrMine
14th October 2006, 21:04
I've not setted staxrip in particolar way.
I choose divx 6.4 first pass with multipass (1st)
and second pass with multipass(nth).
But nothin to do,the same error (video compression error -100) in vdubmod and also virtualdub!

I've tried to uninstall divx 6.4 and use divx 6.3...6.3 works!
So, for me and my system AMD dual core x2 4200 , divx 6.4 with starip doesnt work!

Any other ideas to solve the problem?

Thnks

ajeeb
15th October 2006, 18:51
hi, good tool really but how can I add a logo bmp with this tool without recode the video

regards

batfink
16th October 2006, 12:43
Ohhhhh, you want that MAGICAL tool that breaks the very boundaries of Space and Time.

Got a question for ya..How exactly are you planning on transferring the Logo to the video without actually reencoding the video with the logo.

Oooo oooo i know...You can draw or stiick the logo onto your monitor where you want it and make sure the video is always in the right place. ;)

Seriously dude..even Holywood folks have to reencode after they add special effects....They film the actors of Star wars in front of a blue or green screen, then they create the backdrops, then they mash the two together and run it through AGAIN in whatever cool editors they use..ok.
Cant be done..period.
Oh well unless of course your really good at using a hex editor and know exactly the right kind of code to enter into the video stream at a hex level.
Virtualdub will be your best bet to add a logo..but your gonna have to reencode it to make the logo apply.

If your talking about applying a logo to a video that has not been encoded yet..ie a vob file and a d2v file loaded into Staxrip..i think there is actually a way to add new filters into the filter box but the answer eludes me at the moment.

One of the other more learn-ed regulars might be of more help.


hi, good tool really but how can I add a logo bmp with this tool without recode the video

regards

ajeeb
16th October 2006, 17:06
dude , hi
for now I edit secondpass.vcf and put manually the code for logo
but I talk to do that automaticly using staxrip !! and so if i have joblist !!!! etc

rgrds

duncanvdlinden
16th October 2006, 18:54
for a logo just add a filter to staxrip with code like this:

Import("d:\progs\riplogos\dek.avsi")
X=601
Y=62
clip=last
maskclip = ImageReader("d:\progs\riplogos\sbs6mask.bmp")
maskclip = Loop(maskclip, Framecount(clip))
dekafka(clip, maskclip, X, Y, maskclip.width, maskclip.height, 256)

ConvertToYv12()

logo = ImageSource("d:\progs\riplogos\sbs6.bmp")
Overlay (logo, X, Y,mask=logo, opacity=0.6)

i use this script to hide a existing logo and put a own logo over it (with transparancy).
for just adding a logo you can just use the last three rules.

but iv'e also a question about Staxrip, how can i rip a TS stream that has a sound stream larger than ~2,3gb in .wav format.

Staxrip use BeSweet to encode a mpa stream to wav format before it use the trim avisynth script.
But when it has a big wav stream it gives a error, the wav file is unreadable for vdub.

Is there a solution for this? maybe it's a option to intergrate the MPAsource avisyth 2.5 plugin for it (instead of WAVsource)?

MrMine
18th October 2006, 08:59
So i've two computer with AMD Dual core X2 4200+,they has a different motherboard....Divx 6.4 and staxrip works in one, but not in the second computer....same settings...all the same! Incredible! I dont understand !

In the second computer virtualdubmod gves me always error -100 when i try to do a 2 pass encoding...It works only in 1 pass encoding!Why?

Someone can help me? PLZ

weaver4
18th October 2006, 14:25
I noticed on the AutoGK forum that len0x found that the pro (paid for version) of the 6.4 codec would work with AutoGK but the trial version would not. Could this be the same for StaxRip?

http://forum.doom9.org/showthread.php?t=117014 (http://http://forum.doom9.org/showthread.php?t=117014)

simonhowson
20th October 2006, 13:09
I've managed to make some 640 pixel wide x264 videos for my new 80 GB iPod. However to do this I had to amend the StaxRip iPod profile. Specifically, I changed --level 1.3 to --level 30, and added --sar 1:1.

Additionally, I used the NicMP4Box modified version of MP4Box so that the MP4 files are iTunes 7 compliant.

I'm wondering how I can automate these changes so that StaxRip will create iTunes 7 / iPod 5.5G compliant 640 pixel wide MP4 files, without having to repeatedly change the x264 command line, and without having the manually run the different muxer?

Edit: One more question. Do I need to add something to my command line so that x264 doesn't ever exceed 1500 Kbps?

simonhowson
20th October 2006, 16:31
I know it's bad to reply to your own posts... but anyway:

I've added the VBV -maxrate 1500 switch so that my encodes don't exceed 1500 at any point (apparently this is the limit for the new iPod profile).

However, x264 complained that I did not set a "bufsize". Is that the -vbvbufsize switch? And if so, what should I set it to? I am doing 2 pass encoding, with the target set at 1000, and as I said before, the max set at 1500. The source is 640 x 384, cos this DVD happens to be 1.66:1 non-anamorphic.

Clumpco
21st October 2006, 16:26
[FEATURE REQUEST]
I would like StaxRip to be able to work directly from a DVD.
[REASON]
I cap TV using a DVD/HDD recorder - If I want to then make an avi of what I've captured using StaxRip, I first have to copy the vobs to my computer hard disk.
I fully understand why you don't want to activate reading from commercial DVDs, but can't you detect copy protection and allow direct encoding from a DVD source if protection is not present ?
[ACCOLADE]
Great software !!

TIA Clive

mrdutchie
23rd October 2006, 16:30
when I try to run the compression test i get this error

sylia script error

overloaded method (string,string,int) not found


anyone else?

mrdutchie
23rd October 2006, 22:41
looks like the creator of StaxRip is nowhere to be found for the longest time...

If there are no objections, I want to update the version to a latest version, and make some changes to it....

Why does it need Java for getting my AC3 Files?
- Java
- ProjectX

Virtualdub or Virtualdubmod what is the difference
only the AC3 ?

Maybe that's why I have that error (see message above)
I just renamed virtualdubmod.exe to virtualdub.exe

downloaded a virtualdub version also...

- All codecs / filters are outdated in this program


email me at pkappetein69 at yahoo.com if you would like
me to continue this product

mrdutchie
25th October 2006, 19:16
i am having problems with audio not in sync

no matter what the source is. the audio
is getting out of sync

for ex:

MPEG the AC3 files has a -33 Ms delay

I do see in the the command line -33 but seems like nothing is happenning with it

also it detects NTSC 29.97 but in all the profiles it's PAL
so I need to change them all by hand...

anyways.... anyone had the audio part working just fine?

MPEG --- AVI
MPEG --- MP4

VOB ---> AVI
VOB ----> MP4

Sound getting way ahead in the clip

mrdutchie
26th October 2006, 17:59
ok... the delay is cause by dgindex 1.48

dgindex 1.45 works fine.


making a bunch of updates to the program with the updated versions..

also fixing the resize / cropping / compression issue
since that whole part is just weird...

fegul
27th October 2006, 05:02
i am having problems with audio not in sync

no matter what the source is. the audio
is getting out of sync

for ex:

MPEG the AC3 files has a -33 Ms delay

I do see in the the command line -33 but seems like nothing is happenning with it

also it detects NTSC 29.97 but in all the profiles it's PAL
so I need to change them all by hand...

anyways.... anyone had the audio part working just fine?

MPEG --- AVI
MPEG --- MP4

VOB ---> AVI
VOB ----> MP4

Sound getting way ahead in the clip

I've had issues with the audio always being behind the video, I'll try your suggestion and downgrade DGindex

EDIT: no go, didnt work

ch@@boom
2nd November 2006, 14:30
looks like the creator of StaxRip is nowhere to be found for the longest time...

If there are no objections, I want to update the version to a latest version, and make some changes to it....

Why does it need Java for getting my AC3 Files?
- Java
- ProjectX

Virtualdub or Virtualdubmod what is the difference
only the AC3 ?

Maybe that's why I have that error (see message above)
I just renamed virtualdubmod.exe to virtualdub.exe

downloaded a virtualdub version also...

- All codecs / filters are outdated in this program


email me at pkappetein69 at yahoo.com if you would like
me to continue this product

a lot of ppl (including myself) will be happy to see some development of staxrip in the future ..

for me it's THE tool for encoding my DVDs/Series/etc. to xvid

** EDIT **
look at the updated site for staxrip, seems like stax is still around :)))

nickolasemp
2nd November 2006, 17:20
a lot of ppl (including myself) will be happy to see some development of staxrip in the future ..

for me it's THE tool for encoding my DVDs/Series/etc. to xvid

** EDIT **
look at the updated site for staxrip, seems like stax is still around :)))

including myself as well...

mrdutchie
2nd November 2006, 19:44
a lot of ppl (including myself) will be happy to see some development of staxrip in the future ..

for me it's THE tool for encoding my DVDs/Series/etc. to xvid

** EDIT **
look at the updated site for staxrip, seems like stax is still around :)))

what updated site....
I just looked and it's over 10 weeks old... nothing new...

killerhex
3rd November 2006, 03:30
if i have input a video file with ac35.1 or aac5.1 will staxrip auto downmix

vassilij
3rd November 2006, 13:57
My staxrip don't decoder in HE-AAC, it's result in a error!
Somebody help me...
What I need?
I need input anything in Besweet folder?

ShadowRiot
14th November 2006, 09:57
I just wanted to chime in and say I think StaxRip is much better than MeGUI. I use it for archiving programs off of my Tivo. If Stax or someone else does decide to do a future update here are the issues I haven't been able to solve on my own...

1. After audio conversion is complete it always updates the target video bitrate and keeps the target file size the same. I would rather have it keep the target bitrate (quality) I don't care about the file size being perfect. (If anyone knows how to change this let me know)

2. Trimming with AC3 audio doesn't seem to work. It uses VirtualDubMod to trim the AC3 file natively (cool), but the cuts seem to end up in the wrong places. (I am not too good with VirtualDubMod so this might be something simple)

3. The versions are soooo old. It would be nice if it didn't look for the Nero AAC DLL files anymore since they aren't necessary with NeroAACEnc.exe.

P.S. Some people have posted with questions about ipod compatibility. I have been able to convert to ipod-compatible format quite easily with PD-iPod @ 768kbps and 160kbps AAC-LC.

nohead
15th November 2006, 01:37
1. After audio conversion is complete it always updates the target video bitrate and keeps the target file size the same. I would rather have it keep the target bitrate (quality) I don't care about the file size being perfect. (If anyone knows how to change this let me know)

I think that you are using a vbr audio command. If you modified the command for constant bitrate audio, your video bitrate will stay the same. Also the file size should still being perfect ;)

Ryo94
19th November 2006, 10:43
Hi,

I tried staxrip for first time today for convert a movie to xvid and it worked perfect (at least I liked the output movie quality), I just have a couple of doubts about the "compressibility test":
-what it's?
-how it works?
-how interpret the result?

Sorry for the dumb questions but until now I used xmpeg where there is not such a test.

These are the output settings in staxrip:

Bitrate: 1320
Resolution : 624x256 (pixel:155744, zoom:87/71, AR:2438 -0.26%) here a value nearer to 0 % it's better, no?
Output size: 1400MB
Compressibility test: 0.37

Thanks in advance.

LRN
20th November 2006, 13:30
Compressibility check is a lowcompressin (highquality) compression of ~ 5 mins of movie (can't remember exact time). If you dig this thread, you'll find Stax explaining exact cc commandline (IIRC, it's constant quality mode).
After CC StaxRip will use resulting filesize as a reference value to calculate optimal BPP for your movie. Just make sure you set up "Aimed quality" in codec settings before starting CC (i think "Aimed quality" is especially for CC).
You'll see percent indicator after CC. It will grow or fade depending on bitrate, so you have to change filesize or resolution.
That's my IMHO. Didn't used CC in long time, since it's pretty useless to me - i can't change filesize or resolution in my rips, and i already know average BPP for good quality with x264 (it's ~5 bpp) for most movies.

AR:2438 -0.26% means that AR 2438 is 99.74% of DVD's original AR (that's it, difference between DVD's and RIP's ARs, any value less than 5% is good).

Compressibility test: 0.37 means that you'll get 37% quality with these settings. Raise OUtput size to 2100 or lower video resulition.

Maybe Stax reworked CC a bit since i used it last time, but i'm pretty sure i'm right about it.

Ryo94
20th November 2006, 20:59
You were more than clear, thanks a lot LRN!

wunschkind
25th November 2006, 19:21
hi,

do you have problems using divx 6.4 within STAXRIP?


thank you


wunschkind

dvd_maniac
6th December 2006, 19:00
I have been using Staxrip for a while and it is a great peice of software. I am wondering if it is possible to have Staxrip open a mpeg-2 file and save a project file automatically?
I record a considerable amount of TV shows and when the recordings are done I would like Staxrip to open the file using the default project template, save the project and then close.
This wasy I can easily check the crop of each show add to batch and then encode. It takes me sometimes 15-20 minutes each morning to open and setup all the previous days recordings and start them. This would take that time down considerably.

Gehenna
6th December 2006, 21:13
@dvd_maniac
I also have stacks of mpg2 files via PVR (sageTV),i found the easiest and by far the quickest way was to use VBS.
I have different Scripts for different templates,i then just drag-select the files i wish to create projects(.rip),and drop them onto the VBS Script icon. (ie.. Cartoon.vbs / Sport.vbs)

Staxrip will then demux/index/create Project file and Exit, &REPEAT until all files have been processed

Set s = WScript.CreateObject("WScript.Shell")

For Each i In WScript.Arguments
cmdl = """C:\Program Files\DVD Tools\StaxRip\StaxRip.exe"" -template:Cartoon """ & i & """ -Project/SavePath:%source_dir%%source_name%.rip -exit"
s.Run cmdl, 1, true
Next


Change the Path of Staxrip.exe to suit where you have installed,the -template can be omitted if wished (ie..use default).

Just copy Code into a text editor,then save as Whatever.vbs,then either use a "Send To" [C:\Documents and Settings\My User Account name\SendTo] or drag onto the *.vbs file.


Hope That Helps.

Regards

dvd_maniac
6th December 2006, 21:48
@dvd_maniac
I also have stacks of mpg2 files via PVR (sageTV),i found the easiest and by far the quickest way was to use VBS.
I have different Scripts for different templates,i then just drag-select the files i wish to create projects(.rip),and drop them onto the VBS Script icon. (ie.. Cartoon.vbs / Sport.vbs)

Staxrip will then demux/index/create Project file and Exit, &REPEAT until all files have been processed

Set s = WScript.CreateObject("WScript.Shell")

For Each i In WScript.Arguments
cmdl = """C:\Program Files\DVD Tools\StaxRip\StaxRip.exe"" -template:Cartoon """ & i & """ -Project/SavePath:%source_dir%%source_name%.rip -exit"
s.Run cmdl, 1, true
Next




A fellow Sager...Cool, Haven't seen your nick on the Sage forums before....
Sounds pretty close to what I want. How hard would it be to have it automated with Dirmon2.
When a recording is finished Dirmon will process the script on that file so I would want the script to know to either only process the mpeg that dirmon tells it to or only mpegs that the filesize is not growing.

Gehenna
7th December 2006, 00:39
@dvd_maniac.

Just dabbled with Dirmon2 for a bit,and looks like it will work fine.

You need this in the Command Line Options:
-t:PVR_Episodes [[%PATH%\%BASENAME%.mpg]] -Project/SavePath:[[%PATH%\%BASENAME%.rip]] -exit

Heres a Screen Grab of my settings in Dirmon
Auto Create Project Files (http://neoplanet.net/Doom9/Dirmon.jpg)

( -t: ) = Template used.

I have tried this on a few mpg2 files,and it creates the project files OK, hopefully Dirmon`s "Wait Until the target file is Finished" & "Wait Until the Target File is not growing" will correctly detect when to run the Job.

Regards.


PS.. on the Sage forums..My Nick is Hades (got a thing about Hell me thinks)

dvd_maniac
7th December 2006, 04:08
so if I put the following into a vbs script file and change the pathnames to suite my needs then have Dirmon process Staxrip upon completion of recording then it will open staxrip, create the project file and then close?

-t:PVR_Episodes [[%PATH%\%BASENAME%.mpg]] -Project/SavePath:[[%PATH%\%BASENAME%.rip]] -exit

Edit:
Worked like a charm.
Now if I can ask another question???
If I wanted to actually process the file and encode it with a certain project template could that be done with Dirmon2

Gehenna
7th December 2006, 19:55
Now if I can ask another question???
If I wanted to actually process the file and encode it with a certain project template could that be done with Dirmon2

To encode a file just put -encode before the -exit (ie.. -encode -exit)

A bit more dabbling tonight,and i seem to have a working solution to encode using different templates via Dirmon2 based on Filenames.

Create Jobs in Dirmon using Program filenames (NYPD,Sharpe,XFiles),add the following to targets:
.*NYPD.*\.mpg,.*XFiles.*\.mpg,.*Sharpe.*\.mpg
Must not exist = rip

Change the command line to suit job (ie..Drama)
-t:PVR_Drama [[%PATH%\%BASENAME%.mpg]] -Project/SavePath:[[%PATH%\%BASENAME%.rip]] -encode -exit Drama Job (http://neoplanet.net/Doom9/Stax(Drama).jpg)

Cartoon Target would look like .*futurama.*\.mpg,.*simpsons.*\.mpg,.*trippingtherift.*\.mpg,.*familyguy.*\.mpg
-t:PVR_Cartoon etc.etc Cartoon Job (http://neoplanet.net/Doom9/Stax(Cartoon).jpg)



Hope That Helps

Regards

dvd_maniac
7th December 2006, 22:27
Have you actually tried to encode anything using this?
I tried to encode a file I setup using the Dirmon2 script you posted and mp4box always crashes.
If I open the file regularly and encode then it works fine but if I have Dirmon2 open it using:
"-t:X.264 [[%PATH%\%BASENAME%.mpg]] -Project/SavePath:[[%PATH%\%BASENAME%.rip]] -exit" then it gives me the mp4box unexpected error and needs to close error...
The script seems to work as it creates the .rip file and other temp files and finishes without an error. But it won't mux after using it to encode.

Gehenna
8th December 2006, 19:31
Have you actually tried to encode anything using this?

Yep , Works Fine with various staxrip profiles (x264+AAC+MKV) (x264+AAC+MP4)etc etc., not sure of the problem at your end.

At what point does it actually crash mp4box..ie does demux/index/create project + encode Audio + Encode Video, then crash while muxing? ,or does it crash earlier?

dvd_maniac
8th December 2006, 20:26
it encodes everything and crashes as soon as MP4box is called. So in other words: at the very end....

Gehenna
8th December 2006, 20:39
Post the Muxing Line in your staxrip log

Are all the files list in the muxing log actually their?

LRN
12th December 2006, 18:35
Just to let you know that i'm still alive, here's some neat way to set up encoding logs:
Pre-encode audio tracks (by pressing "Execute" button in "Edit..." dialog) and add them as "Add existing...", and set up whole project for ripping (but don't start the job).
Then copy commandlines from Codec/Container configuration->Tools->Show commandline and paste to this cmd-file instead of (1), (2) and (3):

@echo PASS1 >>%1 2>>&1
@echo %DATE% %TIME% >>%1 2>>&1
@echo. >>%1 2>>&1
(1) >>%1 2>>&1
@echo. >>%1 2>>&1
@echo PASS2 >>%1 2>>&1
@echo %DATE% %TIME% >>%1 2>>&1
@echo. >>%1 2>>&1
(2) >>%1 2>>&1
@echo. >>%1 2>>&1
@echo MUX >>%1 2>>&1
@echo %DATE% %TIME% >>%1 2>>&1
@echo. >>%1 2>>&1
(3) >>%1 2>>&1
@echo. >>%1 2>>&1
@echo END >>%1 2>>&1
@echo %DATE% %TIME% >>%1 2>>&1

Then run, for example (let's suppose you named this file "rip.cmd"),
"c:\dvds\my_dvd_i_want_to_rip\rip.cmd" "c:\dvds\my_dvd_i_want_to_rip\rip.log" or something like this (i prefer cmd->cd c:\...\->rip rip.log)
You'll have all x264 and mp4box's output in one log-file. Pretty neat, because you could see all errors and statistics (did you know that x264 calculates mean SSIM-metric for whole movie? Awesome!). And you could watch progress just by opening this file as read-only in some viewer with automatic realtime file contents updating (i prefer Far Manager's F3 function).

LRN
14th December 2006, 13:34
You may remember, that it was me who suggested StaxRip's "pause/resume" function algoritm. Well, it wasn't very good, i must admit. I digged deeper in this matter and came up with new version of my "Seek and suspend" application. Works same way as PsSuspend tool, but it is smaller, simpler and licensed under GPL. You may find it very handy to suspend your CPU-hungry x264.exe while playing new PC game or performing any tasks with large CPU requirements.

dirio49
17th December 2006, 22:29
It said to send the diagnostic Zip so here it is.

Ryo94
21st December 2006, 06:57
is staxrip alive?
stax still working on it?
will be future version of this great gui?

LRN
22nd December 2006, 13:50
Yes.
No.
Probably.

(this is short version)

clone83
23rd December 2006, 01:35
well then whats the long version....?

LRN
23rd December 2006, 01:41
It is possible to utilize StaxRip, so it's still alive.
Noone working on StaxRip at the moment, Stax abandoned this project some time ago. For how long it is unknown.
Since StaxRip is so great and it is OpenSource, anyone could catch on and produce new version. We're waiting for new developer to come (or for Stax to return).

wdmalik
24th December 2006, 14:29
Same old rediculous question but, any whereabouts of stax,

laserfan
26th December 2006, 00:27
Same old rediculous questionAn "Advanced Search" for any posts by user "stax" indicates he's not been back here since May, or at least he is laying very low (not posting tho you can't tell if he's visited).

Anybody's guess as to what happened to him. For my part StaxRip continues to work perfectly so I don't mind...

TauTau
31st December 2006, 23:18
Hi,

I have a problem with the nero .dll's when encoding to MP4/AAC, I get a message about using the trial version. I have Recode 7 and copied the .dll's to the Besweet directory plus the missing aac.dll from the net. When I encode a .wav file with the Nero Wave editor, there's no problem. I also have the free .exe files from Nero, but Staxrip doesn't seem to use those.
Of course batch encoding is not possible that way...

LRN
1st January 2007, 14:34
Download latest hotfix - http://lrn.no-ip.info/other/staxrip_hotfix.zip . It SHOULD use nero exe's instead of dll's. And make sure you use latest besweet too.

TauTau
1st January 2007, 19:04
hm, it downloads the neroAacEnc.exe, but then complains about not being able to move it from win32 to ../ (i.e. one directory up). It does move it though. Then it complains about it being wrong version. Is that ok, and should I just check the "always use wrong version" ?

Lars

ch@@boom
1st January 2007, 19:45
An "Advanced Search" for any posts by user "stax" indicates he's not been back here since May, or at least he is laying very low (not posting tho you can't tell if he's visited).

Anybody's guess as to what happened to him. For my part StaxRip continues to work perfectly so I don't mind...

not quite ..
i have 2 issues:

1)
i often encode 373MB xvid exact file size but sometimes it's oversized -> 396MB

2)
sometimes there are problems with audio cutting (audio too short or too long, or delay value wrong)

dvd_maniac
2nd January 2007, 13:27
How would I use the latest X264 with Staxrip?
Could I just download the wrong version and ignore the message?

TauTau
4th January 2007, 19:37
Hi,

the last few days I had a few jobs encoded from mpeg2 to x264 with staxrip. After all that CPU-Terror, I found out, that each file has the audio from the first file... How could that happen?

nohead
5th January 2007, 06:09
How would I use the latest X264 with Staxrip?
Could I just download the wrong version and ignore the message?

Actually, I just replaced the x264.exe file in the application\x264 folder with the newer version and ignore the message. I'm using v6.14 and it's just great for my core 2 duo :)

cobrajet
5th January 2007, 09:33
an updated version shall come out

nohead
8th January 2007, 07:06
I must be drunk... but wait... I see a new version 0.9.9.3...
Grabbing NOW!!!
Thanks to whoever who worked on the new version...

wunschkind
8th January 2007, 07:34
wow,

great... thank you very much for the update


wunschkind

DarkZell666
8th January 2007, 16:37
Sorry, I'll have to nitpick: I'm using v6.14"rev. 614" doesn't mean "v6.14" at all, be careful when mentioning version numbers like that :)

nohead
8th January 2007, 16:55
"rev. 614" doesn't mean "v6.14" at all, be careful when mentioning version numbers like that

Told ya that I'm usually drunk when I post...LOL (build, rev, ver, trunk, wip, alpha, beta, rc; u just must lover programmers... :rolleyes:

LRN
9th January 2007, 16:47
How about changelog? What's new in 0.9.9.3?

Deinorius
9th January 2007, 17:20
Read this:


Fix: Autodetection of NTSC film content was broke because of a change in DGIndex's d2v file format.
Fix: The delay wasn't detected for muxing profiles and thus wasn't detected for AC3
Fix: FluxSmooth wasn't detected as requirement
Automatic internet updates are now fully supported. When StaxRip starts it checks the internet if there is a new StaxRip version available. If a new version is available it downloads and installs it automatically after a user confirmation.
New setup wizard with Vista like command buttons so the user don't have to bother with a next button and got the tooltip right on the button.
New DGIndex feature to use relative file paths is now supported in that all AviSynth scripts are written to the source directory
External Applications get the message that informs about wrong versions back enabled after downloading
Anamorphic encoding: In case no auto resize is performed the resize value get adjusted to the image size actually used
Crop dialog: Opening the crop dialog now disables the crop reminder assistant tip so the tip is skipped automatically and doesn't have to be clicked away with 'next' manually
AAC uses now the new encoder by Nero
x264 and AAC are now the default codecs
x264: The 'Quality' value (--crf) of the profile 'Constant Quality' was changed from 20 to 22
Jobs: Starting encoding has now to be started with the job dialog. Pressing 'Next' creates a job and opens the job dialog so the only thing left to do is pressing 'Start' in the job dialog
Preview Dialog: New menu item and command added to the preview dialog to delete all selections at once
Third party applications: Automatic detection of required applications located within MeGUI's tools directory
Update: DGIndex/DGDecode was updated to version 1.4.8
Update: x264 616
Update: DivX 6.4
Update: XviD 1.1.2
Commands: The 'Add Job' command couln't be used from the menu

ch@@boom
10th January 2007, 10:04
hey stax
thx for the new version

1 small change request:
option to update all external apps in one sweep without user intervention ;)

bob0r
12th January 2007, 03:17
StaxRip_0.9.9.3.zip mirrored on http://x264.nl

When will x264 use --threads auto?
What about all other new x264 settings?

Deinorius
12th January 2007, 12:58
Which settings do you mean specifically?

cobrajet
14th January 2007, 10:19
0.9.9.4 out

hellfred
15th January 2007, 20:55
The changelog is rather short, which was to be expected taking the small period of time between 0.9.9.3 and 0.9.9.4 into account:
0.9.9.4 (2007-01-14)

* Fix: CLI (command line interface) was broke due to a feature introduced by version 0.9.9.3
* Fix: DivX certification profile with no restriction combined with 1 pass quality based encoding was broke
* x264 --threads auto added as default, because of this StaxRip will offer but not force to reset all video codec related settings.
* Update: DivX 6.4.0.51
* Update: AviSynth 2.5.7
* Update: VirtualDub 1.6.17

nohead
22nd January 2007, 04:00
0.9.9.5 (2007-01-21)

* mkvtoolnix 2.0.0 added, StaxRip can handle now raw x264 streams
* MP4Box 0.4.3_2006-11-15 added
* Additionally to the 'Default Target Directory' project option there is now a 'Default Target Name' option. The value of both options may contain macros which can be choosen from a new menu containing friendly names
* The button to open a source in the main dialog shows the 'Source Files' dialog directly instead of displaying a context menu. To show the file browser directly the text box can be double clicked, the file browser shown here supports multiselect, multible files will be alphabetically ordered. Hovering the mouse over text boxes in the main dialog shows a hint that the text box can be double clicked
* Check for updates can be performed manually ('Help/Check For Updates')
* Lanczos4Resize added to the filter profiles as 'Very Sharp'
* Saving a template profile from now on flags the active project as saved so StaxRip won't any longer bother asking to save
* The title bar shows now always the name of the template used
* Auto Resze is now restricted to not resize the width higher as the source width (only applied if the source width is higher than 576). Please report a Issue if this is a limitation for you
* Improved initial directory for file browser dialogs
* The download page has now a link pointing always to the latest StaxRip version using a php redirect


Another new version. Thanks for your hard works!

laserfan
22nd January 2007, 23:23
This sudden new activity is making me a little dizzy! But it is a welcome sight to see!

wdmalik
23rd January 2007, 11:58
yea ... thnx god development started :)

digitalone
23rd January 2007, 17:35
three new versions in less than three weeks!! thx a lot bro..really appreciate ur hard work. :)

Nakaleen
25th January 2007, 22:50
I have been using Staxrip for ages now, encoding all my DVD's and DVB recordings. I have found that Staxrip is the best (9.9.2).

But I am building a HTPC. At the moment I have ...

DVR-MS to MPG automated (DVRMSToolBox)
16:9 or 4:3 sorted manually
convert all MPG's to Xvid automated (using mencoder)

Two things, I wish to make it all automated, hopefully with Staxrip's auto crop for 4:3 dvb recordings. Also a better Xvid encoding (my mencoder settings suck as it takes 4X as long as Staxrip to encode)

I have been looking at the Staxrip commandline settings but I'm having trouble finding settings I need, they are...

Set the bitrate: I want to set the Video bitrate for xvid, but according to the commandline help I can only set the % (what ever that means?!?)

Set the Width:height ie I want all my 4:3 footage to be 640:480 and my 16:9 to be 640:352

Can Staxrip do these things via commandline and automated (for example I want all my recordings on my HTPC to be encoded overnight while I sleep) as at the moment I am using Staxrip manually to encode each recording?

Or should I look at somehow use AviSynth directly via batch/commandline?

BTW: If you were wondering what mencoder settings I am using it is...

16:9 Pass 1
"c:\mplayer\mencoder.exe" -noodml %1 -o %2 -vf pp=fd,crop=720:572,scale=640:356 -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell:v4mv:last_pred=2:dia=-1:vmax_b_frames=2:vb_strategy=1:cmp=3:subcmp=3:precmp=0:vqcomp=0.6:turbo:vpass=1:vbitrate=746 -oac mp3lame -srate 44100 -lameopts vbr=0:br=128:vol=0:mode=0:aq=7:padding=3 -af volnorm -ffourcc DX50

16:9 Pass 2
"c:\mplayer\mencoder.exe" -noodml %1 -o %2 -vf pp=fd,crop=720:572,scale=640:356 -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell:v4mv:last_pred=2:dia=-1:vmax_b_frames=2:vb_strategy=1:cmp=3:subcmp=3:precmp=0:vqcomp=0.6:turbo:vpass=2:vbitrate=746 -oac mp3lame -srate 44100 -lameopts vbr=0:br=128:vol=0:mode=0:aq=7:padding=3 -af volnorm -ffourcc DX50

4:3 Pass 1
"c:\mplayer\mencoder.exe" -noodml %1 -o %2 -vf pp=fd,crop=528:572,scale=640:480 -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell:v4mv:last_pred=2:dia=-1:vmax_b_frames=2:vb_strategy=1:cmp=3:subcmp=3:precmp=0:vqcomp=0.6:turbo:vpass=1:vbitrate=746 -oac mp3lame -srate 44100 -lameopts vbr=0:br=128:vol=0:mode=0:aq=7:padding=3 -af volnorm -ffourcc DX50

4:3 Pass 2
"c:\mplayer\mencoder.exe" -noodml %1 -o %2 -vf pp=fd,crop=528:572,scale=640:480 -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell:v4mv:last_pred=2:dia=-1:vmax_b_frames=2:vb_strategy=1:cmp=3:subcmp=3:precmp=0:vqcomp=0.6:turbo:vpass=2:vbitrate=746 -oac mp3lame -srate 44100 -lameopts vbr=0:br=128:vol=0:mode=0:aq=7:padding=3 -af volnorm -ffourcc DX50

CvH
27th January 2007, 01:26
some litle problems at HDTV encoding

- *.TS (H.264 / DVB-S2 / 1080) streams arent supported yet :( (afaik no tool currently supports that :( )

-> works only if i do this
- start GRAPHEDIT
- point Halli media splitter to the input.ts file
- insert Halli matroska muxer to create output.mkv
- link video and audio pins
- "play" monitor output in the splitter dialog pop up
now open the output.mkv in StaxRip

-> works afaik only with ffdshow (libavcodec decoder)

-> didn´t work with PowerDVD 6/7 (Decoder couldn´t detect the fps (maybe ffdshow also not, but it didn´t output an error) so the decoder can´t be used)

-> possible fix is to have the fps in human control or a possibility to load an avs script like ("DirectShowSource("c:\output.mkv",fps=25.00,audio=false)")
-> somewhere is an AviSynth feature, but where ? ;)


-> the resize switch limits at 720x... , but would be usefull for hdtv to increse it till 1920 :)


-> the crop/previewwindow is always to big for my screen at HDTV (movie @ 1920 , screen @ 1440) possible always starts at 80% or something :)


would be nice if it can be fixed and or included :)

tx in advance

LRN
27th January 2007, 17:03
Deep in StaxRip settings (or projects settings? I forgot) there's width/height limiter, check it out.
Also try to change Source filter from MPEG2Source to DirectShowSource before opening ts-file in StaxRip. I successfully opened an mp4=x264+NeroAAC file this way. Not sure about audio (i mean, does VirtualDubMod really can write 5.1 wav?).

CvH
27th January 2007, 17:31
Deep in StaxRip settings (or projects settings? I forgot) there's width/height limiter, check it out.
A
- worked fine (settings -> general -> resolution slider)
:)


lso try to change Source filter from MPEG2Source to DirectShowSource before opening ts-file in StaxRip. I successfully opened an mp4=x264+NeroAAC file this way. Not sure about audio (i mean, does VirtualDubMod really can write 5.1 wav?).
- wont work because ProjectX,HDTV2MPG,VDUB,DGIndex cant split the DVB-S2 Stream :)
- "mencoder.exe "Z:\Infile.ts" -of rawvideo -ovc copy -oac copy -noskip -o Y:\Outfile.264" should work too but not for my stream (German Pro7 HDTV H.264 Stream) -> no pids can be found :) (seperat Topic http://forum.doom9.org/... (http://forum.doom9.org/showthread.php?t=121243))

ScubaJoe13
2nd February 2007, 22:29
I am having an odd problem I am hoping to get some help with. I have used StaxRip successfully for my own videos, and I am now in the process of helping someone else learn to use the program. He is using a Media Center PC that captures in the wonderful dvr-ms format. We use the DVRTOMPEGGUI Tool in the DVR Toolbox to convert it to a .mpg file. So far so good.

When I open that file (the .mpg) in G-Spot it shows as having a frame/sec of 29.97. The problem starts when I load it into StaxRip as the source file. After processing it, the source is translated into a .d2v file and the framerate is now 23.976. I have looked in alot of places and tried to change multiple initial settings, all without the ability to keep it at the 29.97 framerate.

Anyone have any ideas what I am doing wrong/can fix (besides getting him to ditch the Media Center software)? All help appreciated.

LRN
3rd February 2007, 01:36
You could edit d2v-file directly (i.e. with text editor, notepad for example) to change FPS.

ScubaJoe13
3rd February 2007, 03:19
You could edit d2v-file directly (i.e. with text editor, notepad for example) to change FPS.

I truly do appreciate the work-around, but is there a permanent fix and/or a way to prevent it from happening in the first place? I am asking b/c he plans on alot of ripping and it would be a cumbersome final solution.

THX again for input.

Cocophone
3rd February 2007, 04:39
Would this have anything to do with dgindex determining that the mpeg file is "film" or "not film"?

zaltun
4th February 2007, 19:43
Is this program Turkish Windows Xp SP2 working?I'm try,not running. :(

Beave
5th February 2007, 22:39
@ScubaJoe13

It's probably ForceFilm on. Try finding the setting Auto Force Film higher some percentage (usually 95%).

Leinad4Mind
6th February 2007, 01:08
Hi, i want to know if staxrip can, reencode a video, cause i have various videos in mkv with h264+ac3 but the file is too big cause he have more than 2000bitrate and i want to reencode that to less.

Another thing i have try to reencode a video wmv and the audio and video is not sinconized why?

fleon
6th February 2007, 19:53
Hi everyone, I wanna know something, I was encoding a personal own movie with this great program on x264, and with the profile CQ-Lossless, it took like 16 hours! it was almost complete, it was on the part of muxing, you know the part that is after the first pass of x264, but I didnt noticed that my HD was almost full, so Staxrip gave an error and the movie wasnt encoded, so I was wondering if there is a way to continue without doing the first pass of x264?, you know just do the part of muxing, I also noticed that on the folder were all the files are there is a file called (Name of the movie)EncoderOutput.264 and is almost 7GB, so again there is a way to not doing the encoding again?, because it tooks a lot of time on my pc, hope that everyone understanded my problem,
Thanks in advance

Gehenna
6th February 2007, 21:02
@fleon
Try Loading up the project file again (*rip),and click on Container Configuration on Staxrip Main Menu ,then Click Tools/Show Command Line,then Select All / Copy.
Open Windows Start Menu / Type Cmd ,Click OK . Right Click Mouse in Command Window,Left click Paste,hit enter

fleon
6th February 2007, 21:32
Well I did what you told me but I got this error

http://img166.imageshack.us/img166/200/errorwy4.th.jpg (http://img166.imageshack.us/my.php?image=errorwy4.jpg)

Gehenna
6th February 2007, 21:42
Okay,then just do as it says,and insert --nalu-size--length 0:3 into the command as well


From the Mkvtoonix Site


−−nalu−size−length <TID:n>


Forces the NALU size length to n bytes. This parameter is only used if the AVC/h.264 elementary stream packetizer is used. If left out it defaults to 2 bytes, but there are files that contain frames or slices that are bigger than 65535 bytes. For such files you have to use this parameter and increase the size to 3 or mkvmerge will abort with an error.

fleon
6th February 2007, 22:00
Well I did that but then a message appeared that like 1112 bytes ,or mega bytes I dont exactly remember, were skipped so I am gonna extract the audio again from the dvd.

Another question I did an CQ-Lossless encoding in x264, as you know, but the file, I mean the 264 file turned out to 6,46 GB, and all the Vobs were like 4,56 GB only, (I mean the VOBs of the original DVD), so why did the 264 turned out bigger?

fleon
6th February 2007, 22:31
]Well I did that but then a message appeared that like 1112 bytes ,or mega bytes I dont exactly remember, were skipped so I am gonna extract the audio again from the dvd.

Another question I did an CQ-Lossless encoding in x264, as you know, but the file, I mean the 264 file turned out to 6,46 GB, and all the Vobs were like 4,56 GB only, (I mean the VOBs of the original DVD), so why did the 264 turned out bigger?[/

Edit>While I was extracting the ac3 file and cutting it with the staxrip, I didnt noticed that x264 started to do the first pass again, so it screwed up the entire lossless compression that I did before, Oh f*ck!!!!!:devil:

DnA
15th February 2007, 11:24
Hello guys, I want to ask about the case when importing 29.970 FPS .d2v file and Field_Operation=0 in Staxrip.
Staxrip changes the .d2v file the FPS to 23.976 and sets Field_Operation to 1.

from
Field_Operation=0
Frame_Rate=29970 (30000/1001)

to
Field_Operation=1
Frame_Rate=23976 (24000/1001)

I'm not sure but I think that this is made on purpose. Could anyone please explain if it's so? Thanks in advance.

laserfan
15th February 2007, 21:11
Could your problem be "Force Film Threshold" described earlier in this thread:

http://forum.doom9.org/showthread.php?p=854944#post854944

Setting this to 101 solved my problems completely, but I have not upgraded to newer versions of staxrip.

fleon
22nd February 2007, 00:28
Hi people, what settings do you recommend me for encoding on x264 Final Fantasy VII Advent Children(personal owned, for personal use)?

nohead
23rd February 2007, 20:22
0.9.9.6 (2007-02-16)

* Drog & Drop triggering longer processing won't any longer block the drag source
* Reshowing the hidden windows by clicking on the tray icon does put the windows now in the foreground on top of all other windows
* The crop dialog can be opened even if the crop filter is disabled or missing
* The controls in the main dialog get now updated when filter settings are changed, e.g. if crop is disabled, zoom values get updated or if the resize filter is disabled, the image size get adjusted to size of the cropped image
* Target path is verified to not contain invalid characters
* The editor to edit AviSynth filter profiles was replaced with a simplier ini based editor
* Entering illegal filesystem characters as target file is no longer possible
* The option 'Dangerous/Save Cropping' was reseted and renamed to 'Advanced Automation/Auto correct crop values'
* Event Commands allows to define a command to be executed on a defined event. Furthermore criteria can be defined to execute the command only if certain criteria is matched. Some commands where renamed and some are new. This means command line parameters have changed so please check your command lines
* More tooltips, new option to disable tooltips, if disabled a right-click still shows a tooltip, more controls support now tooltip with right-click
* 'What's this help' (the quotation mark title bar button/quotation mark mouse pointer to show context help/tooltips) got dumped. This button shows now the help document of the dialog. Almost all new Microsoft applications do this now, StaxRip has right-click tooltips (even for main/context menus, toolbars and most other controls) and now also popup tooltips (can be disabled in the settings).
* Gradient colors are now system color bases, that means theme colors.
* All dialogs respond to the 'Escape' key for closing the dialog and F1 for showing the help (all dialogs are derived from the same base dialog now)
* The features in the dialog to open source files should now be more transparent and better documented and most importantly it has a new feature 'Directory Batch' which processes multiple directories where every directory is processed as seperate source
* DivX updated to version 6.5.1
* The 'Show Command Line' feature in the muxer dialogs were showing wrong command lines
* When vobsubs were disabled in VSRip the ones after the disabled ones were broke
* There was a annoying directory browser asking for a DivX directory constantly

Another new version to play with... and I noticed it late!
:p was out of country ;)

Gawwad
25th February 2007, 17:44
StaxRip Website (http://www.planetdvb.net/staxrip)

Changelog:


0.9.9.7 (2007-02-25)

Sharktooth's x264 profiles were updated
New and much improved AviSynth filter editor
In case a AviSynth plugin is loaded with 'LoadPlugin' StaxRip now won't insist that the plugin is located in the auto plugin loading directory
There was a issue with vob files in file browsers and the new directory batch feature
NeroAacEnc was updated to the latest version
Instead of blindly setting default values StaxRip askes now several setup questions
The 'Encode' command does now add a new job and runs the job list. The 'Add Job' command now doesn't show a warning about the assistant not completed when called from the command line

Dashiell
27th February 2007, 17:40
Hello, all!

I just wanted to run the situation by everyone in this thread. I don't think I have a "problem" per se, but I think I'd like someone to confirm some points for me...

If I have regular, 4:3 720x480 29.97 content I want to encode with DivX in statxrip, I've noticed a few things happen... these are episodic television shows from the US.

1) If I want to keep the frame size at 720x480 I shut off all cropping/resizing. I know that the crop takes away the black borders and such, but just bear with me for a second. Since cropping and resizing are disabled, the resize window shows 720x480, but with an aspect ratio that says "1.5 (anamorphic)." (I am aware that 4:3 tv generally means an aspect from 1.33:1 to 1.34:1.) Can I assume that this means it is converting the ".9" pixels to square and that if the content is played back on a standalone player attached to a 4:3 tv, It will appear properly?

2) The reason this concerns me is that I seem to notice a quality difference with content like this... not cropping/resizing the frame seems to yield better results than, say, letting statx crop and resize to something like 704x480, 640x480, etc. I also remember some point that 640x480 is the "sqare pixel" equivalent to 720x480, if I'm not mistaken. I also use 2-pass, 75% quality encoding.

I have done a search in this thread for a similar discussion, but did not find one... any help greatly appreciated!:p

Kool3ds
28th February 2007, 20:15
How should i use external avisynth plugins with Staxrip? Help much appreciated. Thanks.

Deinorius
28th February 2007, 21:26
Filters within your default Avisynth plugin folder will be loaded automatically.

Filters outside your folder you have to load with LoadPlugin. Scripts have to be load with Import as normal.

jdlk
1st March 2007, 18:32
Two little problems I'm having with the command line options:

1. When I'm doing a simple command line encode, e.g.: StaxRip -t:<template name> <filename> -encode, it all seems to work okay but at the end of the encode I get the error message: "error parsing argument: -encode". But my encode appears to be complete. It's only a problem because StaxRip then locks up and the error dialog interrupts the process if I'm doing a batch.

2. If I try to automate the process using Stax's vbs script from earlier in the thread:
Set s = WScript.CreateObject("WScript.Shell")

For Each i In WScript.Arguments
cmdl = """F:\Program Files\StaxRip_0.9.9.6\StaxRip.exe"" """ & i & """ -Project/SavePath:%source_dir%%source_name%.rip -exit"
s.Run cmdl, 1, true
Next
The project files are created okay, but then as they are opened I get the following error:
"Parameter mismatch: please recreate the menu item or reset the entire menu". Which doesn't make any sense to me, and I can't find these errors elsewhere in this thread.

juhu
4th March 2007, 22:30
Is there a way Staxrip could accept .avs files as INPUT video files (not just as script loaded afterwards) so we could process hd-dvds with it ?

edit : Nevermind. We can open any vob/d2v ... and just bypass it by using import("yourfile.avs") instead of mpeg2source.

there are a few things to solve to process hd-dvds correctly with it :
-autocrop doesn't seem to work
-the zoom slider needs to be more lenient. If we process 1920x sources before resizing, it shouldn't block us for "incorrect" values (zoom estimated > 150% when we want to make 720p rips, which is erroneous considering original resolution)


any chances of a full hd-dvd support for version 1.0 ??

audioman
7th March 2007, 19:24
Hi STaxrip

Is there a way to integrate " MP4GUY " matrices in staxrip

the link is here

http://forum.doom9.org/showthread.php?p=887125#post887125

Thanks for your answer

juhu
8th March 2007, 12:44
ok, as some have already mentioned, there's obviously something wrong with ntsc processing since staxrip 0.9.9.5 :
It goes quasi(or always ?) systematically for a 23.976 automatic choice whatever the source.
I tried with different dvds that should have been left @ 29.97 fps
-video productions
-french ntsc dvds transcoded from pal sources.

I wish I could process them correctly (deinterlacing in 1st case, repal filtering in 2nd, etc.) but I just can't now they are seen as IVTCed...
The strange thing is the exact same dvds processed with staxrip 0.9.9.2 gives me a 29.97 fps source so I can work on them...

edit : as you can see in this thread : http://forum.doom9.org/showthread.php?t=121754
there's probably something staxrip needs to do to read correctly d2v files with recent dgindex versions...

Kool3ds
15th March 2007, 09:41
In staxrip For deinterlacing i use Ivtc. For resizing Lanczos or Lanczos4. For Noise i use da extreme setting. But after i finish da movie. The Frame Rate of da movie comes to 17, 18, or 19 and da video is flickering in da whole movie. Previously It use to come only around 23 or 25 or 29 fps and no flickering at all. Some help seriously appreciated regarding this. Thanks in advance.

salman1
24th March 2007, 14:05
is latest version of staxrip crashed? if yes can someone give me fixed version

Gehenna
24th March 2007, 14:18
What version are you actually using?

Later Versions of StaxRip have a built in Auto Updater.

Get Latest Version of StaxRip Here (http://www.planetdvb.net/)

Regards

dvd_maniac
28th March 2007, 20:35
I have a bunch of old Xvid and Divx encodes from a while ago and want to batch encode them but they contain VBR mp3.
When I input them into Staxrip the audio ends abruptly or is out of sync on all of them.
When I manually open the video in VirtualDub I see a dialog box stating that the avi file contains a VBR audio stream and asks to rewrite the header with CBR.
If I answer "NO" and then demux the audio, then run it through Nero File Encoder to HE-AAC audio then use that in Staxrip, then the encoded video works perfectly.

My question is how to get VirtualDub to use the VBR audio by default so I can simply use Staxrip without manually opening the file in Vdub and the demux'ed mp3 in Nero to encode to AAC audio and then finally tell Staxrip to use the resulting mp4 audio file.....

Gawwad
29th March 2007, 06:56
StaxRip Website (http://www.planetdvb.net/staxrip)

Changelog:


0.9.9.8 (2007-03-28)

Some fixes to make StaxRip working with a restricted user account
Some fixes to make StaxRip work loading all AviSynth plugins manually
Added support for custom macros, the value of custom macros may contain default macros
Added a eval macro that evaluates a VBScript expression
Added context menu to tray icon to enable/disable jobs that follow the running job
mkvtoolnix updated to 2.0.2-1
MediaInfo 0.7.4.5 added
Fixed Vista crash due to wrong use of MediaInfo (thx to paulotwo for providing the patch)
New command 'Perform/Delete Files', new event 'Application Exit', new macros %install_dir% and %download_dir%. With all that a event command could be created to delete all zip files from the download directory on application exit as keeping them is usually pointless. The command can also be used to delete temp files after encoding
Updated to another silent DivX update
Fixed bug with the pause feature which pauses external processes
Fixed bug causing non film material to be detected as film
Fixed bug audio encoding with multiline command line didn't work
As usual many more minor changing not mention otherwhile

Gawwad
1st April 2007, 04:35
StaxRip Website (http://www.planetdvb.net/staxrip)

Changelog:


0.9.9.9 (2007-03-31)

Command Line was broke due to a command handling bug
Another command handling bug causing StaxRip to crash if a menu was reused instead of reseted while updated from an old StaxRip version
The homepage (http://www.planetdvb.net) was updated from Drupal 4.7.2 to Drupal 5.1, it uses the garland theme now

salman1
1st April 2007, 18:54
hi
i want to add LimitedSharpen.avsi in filter how do i add and where do i put LimitedSharpen.avsi in my computer

funkydoobie
3rd April 2007, 03:32
I created a project template using the latest version of StaxRip that allows me to convert DV video to MP4 (H.264/AAC). Awesome!

I have also used DVDate (http://paul.glagla.free.fr/dvdate_en.htm) to create SRT subtitles, which I can later add to a particular StaxRip job using the "Container Configuration" option. Except for the file type suffix, the subtitle files have the exact same names as the DV video clips (e.g., the subtitle file for "Video001.avi" would be "Video001.srt").

My question is: given the file name similarity, is there any way to automate the process of adding the subtitle file to the container? I.e., can I somehow add this capability to the project template file?

If it can't be done natively with StaxRip, can it be done with the TextSub filter for AviSynth?

Thank you!

Bigmango
6th April 2007, 02:03
Hi,

Could you please add an option to keep the original AC3/DTS sound tracks ?

It seems staxrip only allows to import external AC3/DTS files. I.ex: other guis like automkv/autogk make this process easy with a "Copy original" audio track option.

This is the only thing that keeps me from using staxrip (I make x264 with AC3/DTS mkvs).

Thanks for considering this.

LRN
12th April 2007, 10:09
1) Do not overwrite cutting audio files. When you rip a few jobs (with cutting) from one DVD, each time autio is being cut, it is written in "Temporary Files/*_cutting*" and encoded into "Temporary Files/*_cutting_audiooutput*". Thus only audio for last job is left after all jobs is complete. Because of this one can't just remux encoded files for any job except last. It is also impossible (or i did not find a way to do it) to start audio cutting from StaxRip without starting a whole job.

2) Extended logging. Some external applications (such as BeSweet and x264) outputs their own statistic to their commandline window. This data may be valuable for informative purposes (ex. x264 outputs SSIM metric value for whole job) or debugging (looking at BeSweet errors my give you a clue why it aborts). StaxRip should save console output of any of his child processes in a logfile (maybe separate logfile to not confuse with StaxRip's own statistic and output).

3) Multiple audiotracks. I know that it is not the most widely used feature, but it would be good to being able to add more than just two audio tracks. Three at least. But, for better flexibility i suggest variable number of audio tracks (i.e. extending list just like with subtitles, or dynamically appearing controls for new audio track when you fill the details for previous one).

4) Count subtitles when calculating video bitrate. StaxRip must subtract subtitle files size from the video size as it does with audio files. Ex. 5 subtitle tracks could simultaneously weight up to 1 Mb, making resulting file 1 Mb larger than it should be. Thus it won't fit into media where it should fit. This is getting worse with non-standard (yet widespread) SUB-subtitles embedded in mp4 container (Nero subtitles), as they could weight several Mb or even more.

5) StaxRip should allow .sub extensions for subtitles in mp4, because mp4box does supports .sub:

Supported text formats:
SRT Subtitles .srt
SUB Subtitles .sub
GPAC Timed Text .ttxt
QuickTime TeXML Text .xml (cf QT documentation)

Personally, i don't care about QT TXML, ignore it :)

Bigmango, AFAIK when you open DVD with DGIndex (wich StaxRip does automatically), all DVD tracks is being extracted and saved in DVD directory. Then you can "import them as external AC3/DTS files" because they ARE external AC3/DTS files now. Of course, you have to choose with one should be first and with should be second, but i am sure this is okay.

gkverne
13th April 2007, 22:04
Hi,

Could you please add an option to keep the original AC3/DTS sound tracks ?

It seems staxrip only allows to import external AC3/DTS files. I.ex: other guis like automkv/autogk make this process easy with a "Copy original" audio track option.

This is the only thing that keeps me from using staxrip (I make x264 with AC3/DTS mkvs).

Thanks for considering this.

It's extra-easy to keep the original audio using StaxRip...

LRN already answered, but I thought I'd include a quick guide for you just in case you're still confused...

1. Open the source VOB, StaxRip will use DGIndex to split and index the VOB.

2. You can now select crop and filter settings.

3. For the first audio track, select "Source File" and find your preferred AC3 audio track in the source folder (should be named something like "VTS_01_PGC_01_1 T01 2_0ch 192Kbps DELAY -16ms"), if it's not already the selected source file.

4. Select "AC3 - Add Existing File" as the audio type in the pull down next to your audio track. This will mux the original AC3 with your output video, without touching the audio.

5. Done, your output file will include the original audio track. You can also modify the process if you've got DTS audio (if you really want to).

Bigmango
14th April 2007, 01:13
It's extra-easy to keep the original audio using StaxRip...

LRN already answered, but I thought I'd include a quick guide for you just in case you're still confused...

1. Open the source VOB, StaxRip will use DGIndex to split and index the VOB.

2. You can now select crop and filter settings.

3. For the first audio track, select "Source File" and find your preferred AC3 audio track in the source folder (should be named something like "VTS_01_PGC_01_1 T01 2_0ch 192Kbps DELAY -16ms"), if it's not already the selected source file.

4. Select "AC3 - Add Existing File" as the audio type in the pull down next to your audio track. This will mux the original AC3 with your output video, without touching the audio.

5. Done, your output file will include the original audio track. You can also modify the process if you've got DTS audio (if you really want to).

Oh my bad :)

I guess I was used to "copy original" and got confused with the "add existing file" setting.

:thanks:

Bigmango
14th April 2007, 01:19
How can I change the frame rate ?

I.ex: if I want to shrink a movie for a mobile phone and change the frame rate to 10 or 12.5 ?

I have looked at the filters list but couldn't find anything that could do this.

LRN
14th April 2007, 08:01
http://avisynth.org/mediawiki/FPS

Bigmango
14th April 2007, 16:23
http://avisynth.org/mediawiki/FPS

So staxrip has not option/filter for changing the fps out of the box ?

Well, I'll just add the fps filter myself then.

Thx.

swaaye
18th April 2007, 20:02
I tried setting up Staxrip to use the seesaw sharpening filter with FFT3DGPU as the noise reducer but I can't get it to not crash. The same script works fine when opened directly into VDubMod. And, FFT3DGPU works fine by itself in Staxrip.

Anyone get seesaw working?

fight2win
29th April 2007, 09:56
hey stax, can u pls tell me how to ue sharpening filters like lsf,seesaw with what parameters in staxrip....can u pls integrate these in staxrip???

LRN
30th April 2007, 06:53
Try this way. Add 4 filters into StaxRip (You could go with one, but it's inconvinient):

a= last b=a.degrainmedian(mode=2).VagueDenoiser(threshold=0.8, method=1, nsteps=6, chromaT=0.8)
ssx = 1.0 ssy = ssx NRlimit = 2 NRlimit2 = NRlimit+1 Sstr = 1.5 Slimit = NRlimit+2 Spower = 4 Szp = 16+2 SdampLo = Spower+1 SdampHi = 24 bias = 49 Smode = ssx<1.35?11:ssx<1.51?20:19 sootheT = 49 sootheS = 0 clp = a denoised = b
redefine here any variables from above, those were defaults
Import("C:\...\SeeSaw.avs")

Edit first filter for your liking (change denoiser). Remember to keep "a" and "b" variables, or change their names accordingly in the end of second filter. Change path in fourth filter to match yours.

You have to use messed up variant of SeeSaw.avs (attached it to post). If you can't wait for attach, here's the way i did it: cut everything beginning from #Main function to return (last) }, paste it in the end of file, comment everything from
function SeeSaw( clip clp, clip "denoised",
to
#sootheS = default( sootheS, 0 ) # 0=minimum, 100=maximum smoothing of sharpener's spatial effect.
(including both)
and comment last line
This way main function disappears and some meaningless code in the end of file appears :). Obviously, this file requires external variable declarations (see scripts above), because you just commented out original ones.

I hope this will work for you. Maybe there IS a better way of doing this, i just posted first way i found. I never was AviSynth pro though :-/

http://forum.doom9.org/attachment.php?attachmentid=7167&stc=1&d=1177911915

ch@@boom
30th April 2007, 10:54
new staxrip version 1.0.0.0 :)

StaxRip Website (http://www.planetdvb.net/staxrip)

Changelog:


1.0.0.0 (2007-04-28) Final :-)

Fixed bug with AVI source files having more than one audio stream. For such sources only the last stream was demuxed
Updated to another silent DivX update
Updated to x264 rev 654
Since the local and roaming (http://www.ai.uga.edu/aicenter/UsingRoaming.html) application data directories has better names under Vista the setup has now options for both
Minor improvements regarding setup and error handling

FAII
30th April 2007, 11:18
Last night I tried leaving the Deinterlace box unchucked when encoding an interlaced source. The x264/mp4 file that it resulted it was deinterlaced o_O.

The only difference seemed to be that it took only half the time to encode as it would take to if I had checked the Deinterlace box.

dvd_maniac
30th April 2007, 15:39
Just wanted to say thanx for continuing to update this awesome tool.

I'm getting a big increase in speed with the latest build.
I used to get around 24fps encoding my recordings, now it is averaging around 33fps.

Is this because of the new X264 build?

FAII
30th April 2007, 20:36
I forgot about this thread at first, sorry:
I tried not checking "Deinterlace" for an obviously interlaced source. The results?

It only took half as much time to encode the file (x264/MP4) and the finished output was deinterlaced (somehow), anyway.

So what good does checking Deinterlace do, anyway? I accidentally checked it for encoding progressive source files once. They looked the same as normal to me (but they took twice as long as when not checking the Deinterlace box).

dvd_maniac
1st May 2007, 20:27
I am Using the latest Staxrip and trying to encode some old xvid avi files with 2 channel CBR mp3 audio.

Everything looks good until mp4box comes up and starts "analysing track timing" which takes like 20 minutes for a 43 minute video and then nothing. No mp4 file.
It does create a large(5+MB) *filename*_ts.txt file.
In the text file it starts off like so:
#dumping track ID 1 timing
Sample 1 - DTS 0 - CTS 2000
Sample 2 - DTS 1000 - CTS 7000
Sample 3 - DTS 2000 - CTS 5000
Sample 4 - DTS 3000 - CTS 3000
Sample 5 - DTS 4000 - CTS 4000
Sample 6 - DTS 5000 - CTS 6000
Sample 7 - DTS 6000 - CTS 12000
Sample 8 - DTS 7000 - CTS 10000
Sample 9 - DTS 8000 - CTS 8000
Sample 10 - DTS 9000 - CTS 9000

and goes on for a while and ends like so:
Sample 57709 - DTS 118185984 - CTS 118185984
Sample 57710 - DTS 118188032 - CTS 118188032
Sample 57711 - DTS 118190080 - CTS 118190080
Sample 57712 - DTS 118192128 - CTS 118192128
Sample 57713 - DTS 118194176 - CTS 118194176
Sample 57714 - DTS 118196224 - CTS 118196224


I've run into this sometimes but most of the files I have done work fine.
I've attached the log file in case someone can help figure this out for me?

dvd_maniac
3rd May 2007, 17:40
Well I guess they just can't be re-encoded..

Another issue maybe somebody else can help me with?

Since the new Staxrip I can no longer control the bitrate of the HE-ACC audio. I had it set to 32 before upgrading to 1.0 and it worked fine, about 10MB/45min episode.
Since the upgrade, it is around 20MB/45min episode.

I editted the proper profile and changed the bitrate but it doesn't seem to take. I tried this on 2 different PCs and get the same results.
I double checked the profile and it still says 32kbps.

Is this a bug?

LRN
3rd May 2007, 22:22
I don't think it is possible to change bitrate..only quality wich is not the same thing. "Bitrate" (somewhere in upper row) is expected average bitrate just for calculating purposes. Real output file bitrate is controlled by -vbr switch.
Also try to check "Preview" tab of profile editing dialog.
And try to look in logs for actual command lines executed.

dvd_maniac
3rd May 2007, 23:57
OK
Thanx LRN.

Does anybody know how to setup Dirmon to use Staxrip?
I could use a little help with it.

I have Staxrip 1.0.0.0 setup in C:\StaxRip_1.0.0.0
Everything works great when I use it manually and all applications are downloaded and installed fine.
But when I try to call Staxrip through Dirmon using the following command line I get "Project File not found" and it tries to open using default template...
-t: DownloadedX264 [[%PATH%\%BASENAME%.avi]] -Project/SavePath:[[%PATH%\%BASENAME%.rip]] -encode -exit

then it states that NeroACC must be installed in: Local Service\application data\staxrip\applications directory.. The problem is that it is already installed there but Staxrip can't see it when using command line due to permissions???

dvd_maniac
4th May 2007, 04:21
I don't think it is possible to change bitrate..only quality wich is not the same thing. "Bitrate" (somewhere in upper row) is expected average bitrate just for calculating purposes. Real output file bitrate is controlled by -vbr switch.
Also try to check "Preview" tab of profile editing dialog.
And try to look in logs for actual command lines executed.

The end of the command line under preview is:
-bsn( -vbr 0.3 -2ch )

do I change the 0.3 to something else to lower the filesize?

Deinorius
4th May 2007, 08:11
-vbr 0.2 ist lower at 45 kbit/s.

Something different.
Can anyone make an example how to make own "event commands"?
I want to make StaxRip doing open .mkv oder .mp4 Files with AVC Video to demux it with Matroska Demux and Indexing with DGAVCIndex.
I need a little example, so I can do it. I have no really idea, how to do it.

Oh, how can I mux with StaxRip without Encoding. It modifies the video name. Well, the biggest problem here is, that it uses Avisynth. But I want to use StaxRip because it can handle batch commands.

Thanks for help.

Edit!:
I got a new problem. I didn't use it for a few weeks, so I can't reproduce it. If I use FFT3DGPU and RemoveGrain(1) at the same time, StaxRip crashes. Script works fine with MPC/VDM.
I have no idea, where the problem ca be.

nohead
5th May 2007, 19:43
dvd_maniac, for that mp4box thing, have you tried to use another version of mp4box? I think that I've got once that (kind of) message before. Since I've changed the mp4box to 20070423 version, I haven't got that message yet...

For the audio bitrate, why not just use cbr. You'll surely get constant result ;)

By the way, congrats for the v1.0. It might be just a number, but it's finally there...

dvd_maniac
6th May 2007, 23:42
dvd_maniac, for that mp4box thing, have you tried to use another version of mp4box? I think that I've got once that (kind of) message before. Since I've changed the mp4box to 20070423 version, I haven't got that message yet...

I gave up and used .mkv for the avi files that were giving me problems...

OWNED
16th May 2007, 10:45
Hi guys, i have 2 big problems with StaxRip/AviSynth...

1) I want to put a small transparent logo in my video for a few seconds only but i don't know how. I don't know how to write a filter in staxrip or make an avisynth script. Is there a script or somethin' to load every time with staxrip and put a logo on a video and how i do it?

2) Every time i try to put an avisynth plugin in staxrip i see this message "Unsupported Colorspace: x264 requires YV12 input. Right-click filters, select 'Add' and choose 'Misc/ConvertToYV12'."
I add the YV12 filter in staxrip but i see again the same message and i can't continue with the encoding.

If someone knows about these. please help! Thanks :)

Zorrander
21st May 2007, 21:45
Using latest Staxrip, I have problems with a couple of DVD's that I'm trying to encode into h.264 files. Problem is the video comes out fine, but I end up with an AC3 file that has random noises and skips/jumps in it. This has only happened twice out of probably 100 DVDs.... but is somewhat annoying. :) I'm not really sure how to attack this... the original VOB's play fine, the resulting DGIndex AC3 file is the problem... so I figure it's something going wrong with DGIndex.

Deinorius
21st May 2007, 22:54
Demux with DVD Decrypter instead of DGIndex. I'm doing it this way. It saves some HDD space.

kikker
22nd May 2007, 19:58
Very nice app with enough things to fiddle with yet easy enough to use! THanks..

Anyways, wondering if it's possible to set up a template that will keep the resize slider in its place after a compression check, and just move the bitrate/file size up or down.

Also, I don't understand this auto-cropping feature. Is it only enabled when the crop filter is enabled? Does it work by ensuring that the source vid is mod16 on both axes? Why is it that when I load a source video of 640x480 res, and the crop filter is enabled, the height is reduced to 472 automatically as reported on the left side? After all, 480 is already a multiple of 16.

I suppose autocrop thinks there are black borders there, but it should be cropped 8 on each side to remain multiple of 16.

kikker
23rd May 2007, 17:24
If anyone's interested I've created two 5.5 ipod profiles to reflect what MeGUI's/Sharktooth's 5.5 profile does. I made some changes to the CLI box in the encoder configuration of the default built-in ipod profile. In fact, I made 1 5.5 320 profile for the small screen and a 5.5 640 profile for the large screen. The larger profile simply turns off deblocking and analyzes "none" for easier decoding at the higher resolutions. Apparently, turning these features off at the high resolutions leads to far less dropped frames.

Now, how does one export newly created profiles for use on another computer for instance? Where are encoder settings retained?:thanks:

dvd_maniac
24th May 2007, 18:26
Can somebody help me to create a video file with the Subtitles encoded into the video?
I am trying to encode Apocalypto, which is in Spanish and I need the English Subtitles to understand.

I ripped the DVD to HHD and used vsrip 1.0.0.6 to rip out the appropriate Subtitles like the guide said. I am using X264 with HE-AAC audio. I don't care if the container is .mp4 or .mkv...
The reason I need it burnt into the video is because the Media Center software that I use does not play Subtitles from video files.

kikker
24th May 2007, 18:32
Just get Vsfilter. It will display the subs for you. Make sure the .sub and .idx have the same name as the .mkv or .mp4. Also, media center doesn't like it when the .sub is rared. Unrar it and delete the rared file so that you have the .sub and .idx in the same dir as the .mkv.

dvd_maniac
24th May 2007, 20:19
Sorry, I shoukld have clarified more. When I say "Media Center software" I didn't mean MCE. I use SageTV (http://www.sage.tv). Although SageTV can play Closed Captions of Live TV and recorded TV files, it does not seem to support Subtitles inside of mp4 or mkv containers.
I can live without Subtitles for most things, BUT for the rare instances where the whole movie is in another language like Apocalypto, Passion of the Christ, Pan's Labirynth etc... I would rather just hard encode the subtitles in the video itself if possible.

nohead
27th May 2007, 10:13
1.0.0.1 (2007-05-27)

The mkv muxer supports now text subtitles which can be reordered and edited in place and are loaded automatically
There is now a option to define the maximum aspect ratio error
A bug was fixed causing StaxRip to crash on exit
A bug was fixed causing StaxRip to crash while trying to shutdown after encoding
A bug was fixed that occured when only some streams were extracted with VSRip instead of all streams
The main dialog displays now more friendly profile names
All x264 profiles use now auto for threads
VirtualDub was updated to version 1.6.18
DivX was updated to version 6.6.1
Some fixes and improvements for minor issues or less common scenarios


Another update. :thanks:

kikker
27th May 2007, 19:02
Thanks for the update!

However, I seem to also have lost my user-created x264 profiles when I updated to the new version. However, what is strange is that the user-created x264 profile which is associated with the default startup template is in fact loaded upon startup, but that profile does not appear in the list of x264 profiles in the menus. So, I have no way of going back to it without exiting the app and restarting.

stax76
27th May 2007, 22:17
Sorry about reseting video profiles, migration is often not possible.

It's possible to create profiles from settings in projects. It works in both directions, in the profiles dialog click 'Add' and select 'Current Project'.

The startup template is just a regular template project, it can be loaded anytime.

kikker
28th May 2007, 06:43
Hey, would there be anyway you could somehow incorporate just a couple more audio configurations? The ability to select a specific constant bitrate for instance would be great. The current VBR LE AAC profile has a chance of going above the 160kbps mark, which is not allowed by some devices including the ipod. Thanks!

stax76
28th May 2007, 11:53
However, I seem to also have lost my user-created x264 profiles

I tried to add migration code and succeeded, while doing so I've learnt some programming lessons about migration and fixed two more bugs I've discovered:

http://www.planetdvb.net/non_drupal/staxrip/StaxRip_Hotfix.zip

*A bug was fixed causing a crash using the 'Edit' feature in the profiles dialog
*A bug was fixed regarding the setup, settings location, local and roaming application data directory

Hey, would there be anyway you could somehow incorporate just a couple more audio configurations?

If you know good defaults please suggest a audio profile name and post the command line.

Deano123
30th May 2007, 08:53
I Need To Open My Script In Staxrip?

kikker
30th May 2007, 22:18
If you know good defaults please suggest a audio profile name and post the command line.

I think just changing the -vbr 0.5 to -cbr 128 would work just fine. Thanks...

AAC-LC CBR 128 iPod

BeSweet.exe" -core( -input "D:\Documents\Video Samples\Matrix.wav" -output "D:\Documents\Video Samples\Matrix_AudioOutput.mp4" ) -azid( -c normal -L -3db ) -ota( -d 0 -g max ) -bsn( -aacprofile_lc -cbr 128 -2ch )


I could be wrong about adding -aacprofile_lc. Your AAC-LC profiles do not include that switch, and from the manual, bsn defaults to -aacprofile_he. Unless, you have an updated besweet man page that says otherwise...

I'm noticing also that the drop-down selection of the LC or HE doesn't do anything in the command line. Is that a bug?

Deano123
31st May 2007, 17:19
''avisynth scripts cant be imported, please use the build in avisynth feature''

LRN
31st May 2007, 20:14
StaxRip supports avisynth scripts as "filters". It's somewhat annoying, but i think it is necessary, because StaxRip IS NOT an avisynth-based transcoder.
If you need to use some external script in StaxRip, you should add it, in the same way as you do with Deinterlace, Resize and other AviSynth filters.
Few pages back i posted here my own ripped-off variant of seesaw.avs script, adapted for StaxRip.

invy
11th June 2007, 10:25
omg finally I can post a message.... I waited 5 days. :)

Ok I have a problem here with Staxrip concerning DGIndex. I searched these forums hard in those 5 days I had to wait and didn't find anything to read about it.

My problem is whenever I load a file, then it starts transcoding okay, but after that part when it's DGIndex's turn to process the mpeg2 file, it doesn't actually process anything and just stalls. DGIndex's window just pops up and its black, and my cpu usage at 0.00% which means nothing is processing.

However, I can manually go to Open > File in DGIndex and pick a m2v, but I notice the side effect of doing so. The effect is that the last 10-20% of whatever the file's length is will be glitched and corrupted.

Anyone experience that problem with DGIndex not wanting to process automatically?

I noticed it only happens with SMALL files around 1.5 GB or less. If the file is 2 GB or more, then DGIndex will do work just fine!

The filetype is an uncompressed 12Mbit MPEG2 stream that my Hauppauge WinTV-PVR150 outputs... i'm really wishing someone could help me.

dansus
11th June 2007, 21:11
wow, ive just found this great app, thank you for making it so easy. i love the one click downloading and installing of ext apps.

Time to look under the hood and see what can be done.

:thanks:

zilexa
16th June 2007, 17:10
Hey Stax, I found your app, it's so easy to use!
I wanted to convert all my short movies, created with a photocamera to xvid+mp3/avi. But my camera records in MJPEG/avi.
I get an error, "Avisource: couldn't locate a decompressor for fourcc mjpg (path to file_Source.avs, line 1)"

I already had the latest ffdshow (from x264.nl) installed before I installed Staxrip.

I downloaded pvmjpg21.dll and installed it (regsvr32).
Then I added in the Filters window "Directshow".
But I still get the same message!

Then I deselected Avisource in Filters, only Directshow selected. Now I get the message : "No active filter of the category Source found".

When I check Ffdshow VFW Configuration, I see it can handle MJPEG...

How do I get this to work?

@sbp

here it loads:

FourCC: MJPG
Pvmjpg20.dll (PICVideo MJPEG Codec)

Please don't ask me from where I got this dll, I don't know it. In VirtualDub when you go to 'File/File Information' you'll likely see 'VirtualDub internal MJPEG'. StaxRip of course has no internal MJPEG decompressor but I hope somebody can tell us where to find a free decompressor. In the StaxRip 'Filters' menu if you right-click the source filter using DirectShowSource might find a decompressor while AVISource don't, here it finds one using ffdshow.

Edit: After rereading your first post I realize you got PICVideo, what decompressor your system is setup to use for MJPG can be seen when searching in regedit for 'VIDC.MJPG', is that set to Pvmjpg20.dll?

@hellfred

Nice, I'll update it shortly.

ch@@boom
22nd June 2007, 11:07
I have major problems encoding the sopranos dvd to xvid, 2 mp3 streams.
I open all vobs from an dvd and use frame selection to mark the episodes.

in the end the audio of the first stream (german) is ok, 50:25 min.
but the second audio stream (english) is too short, 42:03. (both .ac3 and of course .mp3)

what causes the problem, and how can i get rid of it??

staxrip latest version and all external applications have been checked.

here is the log file:


---------- AviSynth Script ----------

MPEG2Source("D:\zip\sopranos.s06\d1\VTS_01_1.d2v")
Crop(0,0,-0,-0)
BicubicResize(576,320,0,0.5)
Trim(0,75628)

---------- Audio Cutting ----------

MPEG2Source("D:\zip\sopranos.s06\d1\VTS_01_1.d2v")
Crop(0,0,-0,-0)
BicubicResize(576,320,0,0.5)

---------- Audio Cutting Statistics ----------

Start time: 09:52:30
End time: 09:53:49
Duration: 00:01:19
Speed: 957 fps
Size: 69,2 MB

---------- Audio Encoding ----------

Command Line: "D:\xp\util\tcmd7\addons\divx\staxrip\Settings\Applications\BeSweet\BeSweet.exe" -core( -input "D:\zip\sopranos.s06\d1\Temporary Files\VTS_01_1 02 de-German 2_0ch 192Kbps DELAY 0ms_Cutting.ac3" -output "D:\zip\sopranos.s06\d1\Temporary Files\VTS_01_1 02 de-German 2_0ch 192Kbps DELAY 0ms_Cutting_AudioOutput.mp3" ) -azid( -c normal -L -3db ) -ota( -d 0 -hybridgain ) -lame( -v --vbr-new -V 5 -b 32 )

---------- Audio Encoding Statistics ----------

Start time: 09:53:49
End time: 09:57:35
Duration: 00:03:45
Speed: 335 fps
Size: 35,8 MB
Bitrate: 99,31 kbps
Video Bitrate: 849 -> 877

---------- Audio Cutting ----------

MPEG2Source("D:\zip\sopranos.s06\d1\VTS_01_1.d2v")
Crop(0,0,-0,-0)
BicubicResize(576,320,0,0.5)

---------- Audio Cutting Statistics ----------

Start time: 09:57:35
End time: 09:59:06
Duration: 00:01:30
Speed: 837 fps
Size: 115,5 MB

---------- Audio Encoding ----------

Command Line: "D:\xp\util\tcmd7\addons\divx\staxrip\Settings\Applications\BeSweet\BeSweet.exe" -core( -input "D:\zip\sopranos.s06\d1\Temporary Files\VTS_01_1 01 en-English 3_2ch 384Kbps DELAY 0ms_Cutting.ac3" -output "D:\zip\sopranos.s06\d1\Temporary Files\VTS_01_1 01 en-English 3_2ch 384Kbps DELAY 0ms_Cutting_AudioOutput.mp3" ) -azid( -c normal -L -3db ) -ota( -d 0 -hybridgain ) -lame( -v --vbr-new -V 5 -b 32 )

---------- Audio Encoding Statistics ----------

Start time: 09:59:06
End time: 10:02:53
Duration: 00:03:47
Speed: 332 fps
Size: 24,3 MB
Bitrate: 67,52 kbps
Video Bitrate: 877 -> 938

---------- First Pass Codec Parameters ----------

ar_mode: 0
ar_x: 4
ar_y: 3
aspect_ratio: 0
audio_mode: 0
audio_rate: 128
audio_size: 0
audio_type: 0
bitrate: 943
bquant_offset: 100
bquant_ratio: 150
Brightness: 0
chromame: 1
container_type: 1
curve_compression_high: 0
curve_compression_low: 0
Deblock_UV: 0
Deblock_Y: 0
debug: 0
Dering_UV: 0
Dering_Y: 0
desired_quant: 200
desired_size: 348184
discard1pass: 1
display_status: 0
FilmEffect: 0
fourcc_used: 0
fps: 2
frame_drop_ratio: 0
full1pass: 0
gmc: 0
hours: 1
interlacing: 0
keyframe_boost: 10
kfreduction: 20
kfthreshold: 1
lum_masking: 0
max_bframes: 2
max_bquant: 31
max_iquant: 31
max_key_interval: 300
max_pquant: 31
min_bquant: 1
min_iquant: 1
min_pquant: 1
minutes: 30
mode: 1
motion_search: 6
num_zones: 1
overflow_control_strength: 5
packed: 1
par_x: 1
par_y: 1
profile: (unrestricted)
qpel: 0
quality: General purpose
quant_type: 0
rc_averaging_period: 100
rc_buffer: 100
rc_reaction_delay_factor: 16
seconds: 0
stats: D:\zip\sopranos.s06\d1\Temporary Files\VTS_01_1.pass
subtitle_size: 0
target_size: 665600
tff: 0
trellis_quant: 1
turbo: 0
twopass_max_overflow_degradation: 5
twopass_max_overflow_improvement: 5
use_2pass_bitrate: 0
use_bvop: 1
vhq_bframe: 0
vhq_mode: 1
vop_debug: 0
zone0_bvop_threshold: 0
zone0_cartoon_mode: 0
zone0_chroma_opt: 0
zone0_frame: 0
zone0_greyscale: 0
zone0_mode: 0
zone0_quant: 500
zone0_type: 0
zone0_weight: 100

---------- First Pass Encoding ----------

VirtualDub.Open("D:\\zip\\sopranos.s06\\d1\\VTS_01_1.avs","",0);
VirtualDub.video.SetMode(1);
VirtualDub.video.SetCompression(0x64697678,0,10000,0);
VirtualDub.SaveAVI("D:\\zip\\sopranos.s06\\d1\\Temporary Files\\VTS_01_1_FirstPass.avi");

---------- First Pass Encoding Statistics ----------

Start time: 10:02:53
End time: 10:19:21
Duration: 00:16:27
Speed: 77 fps

---------- Single, Second or NTh Pass Codec Parameters ----------

ar_mode: 0
ar_x: 4
ar_y: 3
aspect_ratio: 0
audio_mode: 0
audio_rate: 128
audio_size: 0
audio_type: 0
bitrate: 943
bquant_offset: 100
bquant_ratio: 150
Brightness: 0
chromame: 1
container_type: 1
curve_compression_high: 0
curve_compression_low: 0
Deblock_UV: 0
Deblock_Y: 0
debug: 0
Dering_UV: 0
Dering_Y: 0
desired_quant: 200
desired_size: 348184
discard1pass: 1
display_status: 0
FilmEffect: 0
fourcc_used: 0
fps: 2
frame_drop_ratio: 0
full1pass: 0
gmc: 0
hours: 1
interlacing: 0
keyframe_boost: 10
kfreduction: 20
kfthreshold: 1
lum_masking: 0
max_bframes: 2
max_bquant: 31
max_iquant: 31
max_key_interval: 300
max_pquant: 31
min_bquant: 1
min_iquant: 1
min_pquant: 1
minutes: 30
mode: 2
motion_search: 6
num_zones: 1
overflow_control_strength: 5
packed: 1
par_x: 1
par_y: 1
profile: (unrestricted)
qpel: 0
quality: General purpose
quant_type: 0
rc_averaging_period: 100
rc_buffer: 100
rc_reaction_delay_factor: 16
seconds: 0
stats: D:\zip\sopranos.s06\d1\Temporary Files\VTS_01_1.pass
subtitle_size: 0
target_size: 665600
tff: 0
trellis_quant: 1
turbo: 0
twopass_max_overflow_degradation: 5
twopass_max_overflow_improvement: 5
use_2pass_bitrate: 1
use_bvop: 1
vhq_bframe: 0
vhq_mode: 1
vop_debug: 0
zone0_bvop_threshold: 0
zone0_cartoon_mode: 0
zone0_chroma_opt: 0
zone0_frame: 0
zone0_greyscale: 0
zone0_mode: 0
zone0_quant: 500
zone0_type: 0
zone0_weight: 100

---------- Single, Second or NTh Pass Encoding ----------

VirtualDub.Open("D:\\zip\\sopranos.s06\\d1\\VTS_01_1.avs","",0);
VirtualDub.RemoveInputStreams();
VirtualDub.video.SetMode(1);
VirtualDub.video.SetCompression(0x64697678,0,10000,0);
VirtualDub.stream[0].SetSource("D:\\zip\\sopranos.s06\\d1\\Temporary Files\\VTS_01_1 02 de-German 2_0ch 192Kbps DELAY 0ms_Cutting_AudioOutput.mp3",0x00000202,1);
VirtualDub.stream[0].SetMode(0);
VirtualDub.stream[1].SetSource("D:\\zip\\sopranos.s06\\d1\\Temporary Files\\VTS_01_1 01 en-English 3_2ch 384Kbps DELAY 0ms_Cutting_AudioOutput.mp3",0x00000202,1);
VirtualDub.stream[1].SetMode(0);
VirtualDub.SaveAVI("D:\\zip\\sopranos.s06\\d1\\VTS_01_1.avi");

---------- Single, Second or NTh Pass Encoding Statistics ----------

Start time: 10:19:21
End time: 10:40:16
Duration: 00:20:54
Speed: 60 fps

---------- Overall Statistics ----------

Start time: 09:52:30
End time: 10:40:16
Duration: 00:47:45

stax76
23rd June 2007, 09:42
@ch@@boom

For Sopranos and probably most other series there is a PGC for each episode, sadly StaxRip don't support PGC selection for full DVD rips, as workaround DVD Decrypter can be used to rip each PGC to a separate folder. Folder naming scheme might be season number, disc number, PGC number. StaxRip has a feature called 'Directory Batch', I've backed up all Sopranos seasons with dual audio this way without problems.

It's cumbersome to rip each PGC in it's own folder but I don't know a easier solution, the ripping possibly could be automated scripting DVD Decrypter's CLI.

dansus
24th June 2007, 22:56
Hi, does anybody have some tips on how to reduce the colours being slightly over saturated when using stax?

thanks.

Shaocaholica
27th June 2007, 07:54
Great app, just love it.

So I've been converting some Anime to H.264 and I've noticed that there is some red channel down sampling when I convert to YV12 for x264. Is there any way to smooth out the red 'blocking' or even have full red sampling for H.264 encoding? I have no idea obviously.

dvd_maniac
27th June 2007, 17:39
I do alot of batch encoding and I've setup a Template project for each type of encode I do.
I'm having a problem with the resize though. In the template I have it set to resize to 512x416. The last batch of encodes I did ended up to be 576x432. I also saved the template with no resize when I encoded some old Xvid files that were 336x256. The results of those ended up being 576x448. So I had to delete the encoded videos and input them in one at a time which takes a few minutes each and manually set the resize for each as well.

I just want to add a bunch of files and have the resize match what the template says to resize it to. Is there a way? Am I missing something?

burfadel
27th June 2007, 21:45
Yeah you are missing something! lol. Okay here's how you do it :)
- Open up staxrip, and select the template you want
- Click on view, options, then 'automation' (left side)
- You will see the 'auto resize image size' option there. You have to work how how many pixels it is, then subtract some. For example, for 512x384 select 195000
- Set what ever other features you want
- Click on the add function, select the files you want, select file batch, and each file will then encode with the settings you selected. This also includes the settings you put in for automation etc, it bypasses loading the templates and uses the specific settings you set before clicking on add files :)

ch@@boom
28th June 2007, 10:21
@ch@@boom

For Sopranos and probably most other series there is a PGC for each episode, sadly StaxRip don't support PGC selection for full DVD rips, as workaround DVD Decrypter can be used to rip each PGC to a separate folder. Folder naming scheme might be season number, disc number, PGC number. StaxRip has a feature called 'Directory Batch', I've backed up all Sopranos seasons with dual audio this way without problems.

It's cumbersome to rip each PGC in it's own folder but I don't know a easier solution, the ripping possibly could be automated scripting DVD Decrypter's CLI.

i just love the Directory Batch option !!!
:thanks:

Eno / Omni
28th June 2007, 21:47
I've a problem, my input AVI= 1280x968 and can't succes to have the same ratio when scroling resize bar...
It's first time i got this :/
When i move the resolution slider, my Height is superior to my Width why ? :/

Trac
6th July 2007, 19:52
Very nice app with enough things to fiddle with yet easy enough to use! THanks..

Anyways, wondering if it's possible to set up a template that will keep the resize slider in its place after a compression check, and just move the bitrate/file size up or down.

Also, I don't understand this auto-cropping feature. Is it only enabled when the crop filter is enabled? Does it work by ensuring that the source vid is mod16 on both axes? Why is it that when I load a source video of 640x480 res, and the crop filter is enabled, the height is reduced to 472 automatically as reported on the left side? After all, 480 is already a multiple of 16.

I suppose autocrop thinks there are black borders there, but it should be cropped 8 on each side to remain multiple of 16.The templates that I use always resize the video during the initial load, reset the res, 640x480 and run compression check the slider will not move.
Bitrate and Filesize are adjusted by Aimed Quality.
Options > Aimed Quality(percent).
http://forum.doom9.org/showthread.php?p=1021997#post1021997url
btw, do you have a link for your iPod Templates?
Thanks

Ruriko
20th July 2007, 06:57
I encoded a avi to mp4 with x264 3pass and then audio became unsync. How to fix this?

Deinorius
20th July 2007, 08:27
Try to encode audio with BeHappy and check the option "EnsureMP3Sync".

Oh, 3pass is something for nothing. I hope, you know, what you're doing.

potatochobit
20th July 2007, 13:25
When I encode in X264, the assitant instruction asks me to add the filter misc/ convert to YV12{}.

I add that to the filter box, but when I click next, it still displays the error message. is this a bug or am i forgetting something?

or do I need to download something to work with yv12?
this only happens when i have a deinterlacer checked?

EDIT: ok I think I found the problem, I was missing the decrypter for deinterlacing

burfadel
21st July 2007, 01:08
Errors in the filters, such as missing filters, will come up with the YV12 error!

potatochobit
21st July 2007, 04:12
I used the ITVC filter, and it looks good now, but in a few small frames, you can still see a a small spot of interlacing, like when someone is speaking, inside their mouth for 1 frame appears interlaced.

is there a 2nd filter I can run along with ITVC to fix this?

MilesAhead
23rd July 2007, 00:06
Every time I go away from StaxRip for a while, I forget how to get it to mux the audio at the end of a conversion. I installed 1.001 and tried to take an .avi file and autocrop it. It demuxes the audio at the start, processes the video, then quits. All the stuff to mux the audio is just sitting in the folder when done. I can't figure it out.

(edit: btw to be more precise, it never runs BeSweet after the video encoding. No audio processing at all except for the demux at the start. This was the thing that drove me crazy when I first starting trying to use StaxRip. I got it to work, but now I forgot what the "trick" was.)

It's frustrating to say the least.

wdmalik
23rd July 2007, 19:04
I was trying to rip some movies and to my surprise I am getting video bitrates as 573677 for 700 MB size, when I try to lower the bit rate to lets say 1000, file size decreases to 17 MB, can't figure out what's wrong as for me this has happened before .. any help ?

duckdown
24th July 2007, 03:09
Hi all... I'm having a bad problem too

I'm trying to load mpegs from my DVB-S card to convert to XviD, recorded in MyTheatre, however, every time I import a file into StaxRip it keeps only showing a small fraction of the actual mpeg; like if I load a 5m 16s mpeg file its only showing up as 4:10 once I open it. So I traced it back to ProjectX I guess since thats what processes the file when you open it in StaxRip...

ProjectX gives me a very ugly output of:


<<< session infos >>>

Monday, July 23, 2007 6:52:34 PM PDT
ProjectX 0.90.4.00.b19 (13.07.2007)

-> working with collection 0

-> save normal log file
-> log 'packets out of sequence' / bit errors
-> log 'missing startcodes'
-> log 'PES header found in ES'
-> log WSS
-> log VPS
-> log RDS
-> log max. 500 warnings/errors
-> write all video data
-> write all other data
-> patch c.d.flagged infos of pictures
-> add sequence end code
-> set resolution in SDE
-> PVA: strictly specs. for audio streams
-> VOB: determine diff. Cell timelines
-> TS: ignore scrambled packets
-> TS: enhanced search for open packets
-> TS: join file segments (of Dreambox®)
-> TS: generate PMT stream dependent
-> get only enclosed PES/TS packets
-> concatenate different recordings
-> ensure 1st PES-packet start with video
-> generate PCR/SCR from PTS

-> write output files to: 'C:\tmp\CAPS'

-> main I/O-Buffersize in bytes 4096000 bytes

FileSegments:
* (0) C:\tmp\CAPS\070723_165718 FOOD TV-0000.mpg
second. Files:
* ---

+> Input File 0: 'C:\tmp\CAPS\070723_165718 FOOD TV-0000.mpg' (100,061,184 bytes)
-> Filetype is MPEG-2 PS/SS (PES Container)
-> demux
-> found PES-ID 0xE0 (MPEG Video) @ 2062
-> found PES-ID 0xC0 (MPEG Audio) @ 4110
-> video basics: 544*480 @ 29.97fps @ 0.6735 (4:3) @ 2258800bps, vbvBuffer 112
-> starting export of video data @ GOP# 0
!> dropping useless B-Frames @ GOP# 0 / new Timecode 00:00:00.000
!> dropping GOP# 139 @ orig.PTS 00:02:31.731 (13655826), errorcode: 20
!> Pics exp/cnt 27/27, inGOP PTS diff. 100ms, new Timecode 00:02:31.451
!> dropping GOP# 140 @ orig.PTS 00:02:32.732 (13745916), errorcode: 20
!> Pics exp/cnt 25/25, inGOP PTS diff. 100ms, new Timecode 00:02:31.451
!> dropping GOP# 141 @ orig.PTS 00:02:33.666 (13830000), errorcode: 20
!> Pics exp/cnt 27/27, inGOP PTS diff. 116ms, new Timecode 00:02:31.451
!> dropping GOP# 142 @ orig.PTS 00:02:34.667 (13920090), errorcode: 20
!> Pics exp/cnt 30/30, inGOP PTS diff. 100ms, new Timecode 00:02:31.451
!> dropping GOP# 143 @ orig.PTS 00:02:35.785 (14020690), errorcode: 20
!> Pics exp/cnt 30/30, inGOP PTS diff. 133ms, new Timecode 00:02:31.451
!> Pics exp/cnt 36/36, inGOP PTS diff. 83ms, new Timecode 00:02:31.451
!> dropping GOP# 148 @ orig.PTS 00:02:41.741 (14556726), errorcode: 20
!> Pics exp/cnt 30/30, inGOP PTS diff. 66ms, new Timecode 00:02:31.451
!> dropping GOP# 149 @ orig.PTS 00:02:42.842 (14655825), errorcode: 20
!> Pics exp/cnt 33/33, inGOP PTS diff. 83ms, new Timecode 00:02:31.451
!> dropping GOP# 150 @ orig.PTS 00:02:44.010 (14760930), errorcode: 20
!> Pics exp/cnt 30/30, inGOP PTS diff. 166ms, new Timecode 00:02:31.451
!> dropping GOP# 151 @ orig.PTS 00:02:45.178 (14866035), errorcode: 20
!> Pics exp/cnt 30/30, inGOP PTS diff. 83ms, new Timecode 00:02:31.451
!> dropping GOP# 152 @ orig.PTS 00:02:46.295 (14966635), errorcode: 20
!> Pics exp/cnt 27/27, inGOP PTS diff. 66ms, new Timecode 00:02:31.451
!> dropping GOP# 153 @ orig.PTS 00:02:47.280 (15055224), errorcode: 20
!> Pics exp/cnt 27/27, inGOP PTS diff. 66ms, new Timecode 00:02:31.451
!> dropping GOP# 154 @ orig.PTS 00:02:48.281 (15145314), errorcode: 20
!> Pics exp/cnt 21/21, inGOP PTS diff. 83ms, new Timecode 00:02:31.451
!> dropping GOP# 155 @ orig.PTS 00:02:49.098 (15218887), errorcode: 20
!> Pics exp/cnt 30/30, inGOP PTS diff. 50ms, new Timecode 00:02:31.451
!> dropping GOP# 156 @ orig.PTS 00:02:50.166 (15314983), errorcode: 20
!> Pics exp/cnt 30/30, inGOP PTS diff. 83ms, new Timecode 00:02:31.451
!> dropping GOP# 157 @ orig.PTS 00:02:51.284 (15415584), errorcode: 20
!> Pics exp/cnt 27/27, inGOP PTS diff. 116ms, new Timecode 00:02:31.451
!> dropping GOP# 158 @ orig.PTS 00:02:52.335 (15510178), errorcode: 20
!> Pics exp/cnt 27/27, inGOP PTS diff. 66ms, new Timecode 00:02:31.451
!> dropping GOP# 159 @ orig.PTS 00:02:53.336 (15600268), errorcode: 20
!> Pics exp/cnt 27/27, inGOP PTS diff. 66ms, new Timecode 00:02:31.451
!> dropping GOP# 160 @ orig.PTS 00:02:54.337 (15690358), errorcode: 20
!> Pics exp/cnt 30/30, inGOP PTS diff. 83ms, new Timecode 00:02:31.451
!> PTS difference of 2135133 (00:00:23.723) to last exported GOP detected
!> dropping useless B-Frames @ GOP# 161 / new Timecode 00:02:31.451
!> dropping GOP# 162 @ orig.PTS 00:02:56.489 (15884052), errorcode: 20
!> Pics exp/cnt 36/36, inGOP PTS diff. 100ms, new Timecode 00:02:32.385
!> dropping GOP# 163 @ orig.PTS 00:02:57.790 (16001169), errorcode: 20
!> Pics exp/cnt 33/33, inGOP PTS diff. 33ms, new Timecode 00:02:32.385
!> dropping GOP# 164 @ orig.PTS 00:02:58.925 (16103271), errorcode: 20
!> Pics exp/cnt 30/30, inGOP PTS diff. 100ms, new Timecode 00:02:32.385
!> dropping GOP# 165 @ orig.PTS 00:03:00.026 (16202370), errorcode: 20
!> Pics exp/cnt 15/15, inGOP PTS diff. 116ms, new Timecode 00:02:32.385
!> dropping GOP# 166 @ orig.PTS 00:03:00.626 (16256424), errorcode: 20
!> Pics exp/cnt 27/27, inGOP PTS diff. 66ms, new Timecode 00:02:32.385
!> dropping GOP# 167 @ orig.PTS 00:03:01.594 (16343511), errorcode: 20
!> Pics exp/cnt 24/24, inGOP PTS diff. 66ms, new Timecode 00:02:32.385
!> dropping GOP# 168 @ orig.PTS 00:03:02.495 (16424592), errorcode: 20
!> Pics exp/cnt 21/21, inGOP PTS diff. 83ms, new Timecode 00:02:32.385
!> PTS difference of 617116 (00:00:06.856) to last exported GOP detected
!> dropping useless B-Frames @ GOP# 169 / new Timecode 00:02:32.385
!> dropping GOP# 171 @ orig.PTS 00:03:05.131 (16661829), errorcode: 20
!> Pics exp/cnt 28/28, inGOP PTS diff. 33ms, new Timecode 00:02:34.120
!> dropping GOP# 172 @ orig.PTS 00:03:06.099 (16748916), errorcode: 20
!> Pics exp/cnt 32/32, inGOP PTS diff. 83ms, new Timecode 00:02:34.120
!> dropping GOP# 178 @ orig.PTS 00:03:12.388 (17314981), errorcode: 20
!> Pics exp/cnt 23/23, inGOP PTS diff. 50ms, new Timecode 00:02:34.120
!> dropping GOP# 179 @ orig.PTS 00:03:13.222 (17390056), errorcode: 20
!> Pics exp/cnt 30/30, inGOP PTS diff. 83ms, new Timecode 00:02:34.120
!> dropping GOP# 180 @ orig.PTS 00:03:14.323 (17489155), errorcode: 20
!> Pics exp/cnt 37/37, inGOP PTS diff. 116ms, new Timecode 00:02:34.120
!> dropping GOP# 181 @ orig.PTS 00:03:15.675 (17610777), errorcode: 20
!> Pics exp/cnt 25/25, inGOP PTS diff. 33ms, new Timecode 00:02:34.120
!> dropping GOP# 182 @ orig.PTS 00:03:16.542 (17688855), errorcode: 20
!> Pics exp/cnt 32/32, inGOP PTS diff. 66ms, new Timecode 00:02:34.120
!> dropping GOP# 183 @ orig.PTS 00:03:17.677 (17790957), errorcode: 20
!> Pics exp/cnt 27/27, inGOP PTS diff. 100ms, new Timecode 00:02:34.120
!> dropping GOP# 184 @ orig.PTS 00:03:18.678 (17881047), errorcode: 20
!> Pics exp/cnt 24/24, inGOP PTS diff. 100ms, new Timecode 00:02:34.120
!> dropping GOP# 185 @ orig.PTS 00:03:19.579 (17962128), errorcode: 20
!> Pics exp/cnt 21/21, inGOP PTS diff. 66ms, new Timecode 00:02:34.120
!> PTS difference of 1369368 (00:00:15.215) to last exported GOP detected
!> dropping useless B-Frames @ GOP# 186 / new Timecode 00:02:34.120
!> dropping GOP# 187 @ orig.PTS 00:03:21.447 (18130296), errorcode: 20
!> Pics exp/cnt 24/24, inGOP PTS diff. 100ms, new Timecode 00:02:35.155
!> PTS difference of 81081 (00:00:00.900) to last exported GOP detected
!> dropping useless B-Frames @ GOP# 188 / new Timecode 00:02:35.155
!> dropping GOP# 189 @ orig.PTS 00:03:23.149 (18283449), errorcode: 20
!> Pics exp/cnt 39/39, inGOP PTS diff. 100ms, new Timecode 00:02:35.889
!> dropping GOP# 190 @ orig.PTS 00:03:24.550 (18409575), errorcode: 20
!> Pics exp/cnt 24/24, inGOP PTS diff. 83ms, new Timecode 00:02:35.889
!> dropping GOP# 191 @ orig.PTS 00:03:25.418 (18487653), errorcode: 20
!> Pics exp/cnt 24/24, inGOP PTS diff. 66ms, new Timecode 00:02:35.889
!> dropping GOP# 192 @ orig.PTS 00:03:26.319 (18568734), errorcode: 20
!> Pics exp/cnt 33/33, inGOP PTS diff. 133ms, new Timecode 00:02:35.889
!> dropping GOP# 193 @ orig.PTS 00:03:27.553 (18679845), errorcode: 20
!> Pics exp/cnt 21/21, inGOP PTS diff. 83ms, new Timecode 00:02:35.889
!> PTS difference of 469969 (00:00:05.221) to last exported GOP detected
!> dropping useless B-Frames @ GOP# 194 / new Timecode 00:02:35.889
!> dropping GOP# 195 @ orig.PTS 00:03:29.589 (18863028), errorcode: 20
!> Pics exp/cnt 36/36, inGOP PTS diff. 66ms, new Timecode 00:02:37.023
!> dropping GOP# 196 @ orig.PTS 00:03:30.873 (18978643), errorcode: 20
!> Pics exp/cnt 30/30, inGOP PTS diff. 133ms, new Timecode 00:02:37.023
!> dropping GOP# 197 @ orig.PTS 00:03:32.024 (19082247), errorcode: 20
!> Pics exp/cnt 12/12, inGOP PTS diff. 33ms, new Timecode 00:02:37.023
!> dropping GOP# 198 @ orig.PTS 00:03:32.492 (19124289), errorcode: 20
!> Pics exp/cnt 27/27, inGOP PTS diff. 66ms, new Timecode 00:02:37.023
!> dropping GOP# 199 @ orig.PTS 00:03:33.493 (19214379), errorcode: 20
!> Pics exp/cnt 27/27, inGOP PTS diff. 116ms, new Timecode 00:02:37.023
!> dropping GOP# 200 @ orig.PTS 00:03:34.527 (19307472), errorcode: 20
!> Pics exp/cnt 33/33, inGOP PTS diff. 50ms, new Timecode 00:02:37.023
!> dropping GOP# 201 @ orig.PTS 00:03:35.695 (19412577), errorcode: 20
!> Pics exp/cnt 30/30, inGOP PTS diff. 150ms, new Timecode 00:02:37.023
!> dropping GOP# 202 @ orig.PTS 00:03:36.879 (19519183), errorcode: 20
!> Pics exp/cnt 33/33, inGOP PTS diff. 200ms, new Timecode 00:02:37.023
!> dropping GOP# 203 @ orig.PTS 00:03:38.214 (19639303), errorcode: 20
!> Pics exp/cnt 30/30, inGOP PTS diff. 83ms, new Timecode 00:02:37.023
!> dropping GOP# 204 @ orig.PTS 00:03:39.332 (19739904), errorcode: 20
!> Pics exp/cnt 30/30, inGOP PTS diff. 183ms, new Timecode 00:02:37.023
!> dropping GOP# 205 @ orig.PTS 00:03:40.550 (19849513), errorcode: 20
!> Pics exp/cnt 30/30, inGOP PTS diff. 150ms, new Timecode 00:02:37.023
!> dropping GOP# 206 @ orig.PTS 00:03:41.701 (19953117), errorcode: 20
!> Pics exp/cnt 30/30, inGOP PTS diff. 133ms, new Timecode 00:02:37.023
!> dropping GOP# 207 @ orig.PTS 00:03:42.835 (20055219), errorcode: 20
!> Pics exp/cnt 33/33, inGOP PTS diff. 200ms, new Timecode 00:02:37.023
!> dropping GOP# 208 @ orig.PTS 00:03:44.170 (20175339), errorcode: 20
!> Pics exp/cnt 24/24, inGOP PTS diff. 150ms, new Timecode 00:02:37.023
!> dropping GOP# 209 @ orig.PTS 00:03:45.154 (20263927), errorcode: 20
!> Pics exp/cnt 30/30, inGOP PTS diff. 133ms, new Timecode 00:02:37.023
!> dropping GOP# 210 @ orig.PTS 00:03:46.322 (20369032), errorcode: 20
!> Pics exp/cnt 30/30, inGOP PTS diff. 150ms, new Timecode 00:02:37.023
!> dropping GOP# 211 @ orig.PTS 00:03:47.507 (20475639), errorcode: 20
!> Pics exp/cnt 27/27, inGOP PTS diff. 116ms, new Timecode 00:02:37.023
!> dropping GOP# 212 @ orig.PTS 00:03:48.541 (20568732), errorcode: 20
!> Pics exp/cnt 27/27, inGOP PTS diff. 83ms, new Timecode 00:02:37.023
!> dropping GOP# 213 @ orig.PTS 00:03:49.542 (20658822), errorcode: 20
!> Pics exp/cnt 24/24, inGOP PTS diff. 116ms, new Timecode 00:02:37.023
!> dropping GOP# 214 @ orig.PTS 00:03:50.493 (20744407), errorcode: 20
!> dropping useless B-Frames @ GOP# 217 / new Timecode 00:02:37.023
!> dropping GOP# 219 @ orig.PTS 00:03:55.848 (21226389), errorcode: 20
!> Pics exp/cnt 27/27, inGOP PTS diff. 166ms, new Timecode 00:02:39.059
!> dropping GOP# 220 @ orig.PTS 00:03:56.949 (21325488), errorcode: 20
!> Pics exp/cnt 24/24, inGOP PTS diff. 116ms, new Timecode 00:02:39.059
!> dropping GOP# 221 @ orig.PTS 00:03:57.900 (21411073), errorcode: 20
!> Pics exp/cnt 33/33, inGOP PTS diff. 200ms, new Timecode 00:02:39.059
!> dropping GOP# 222 @ orig.PTS 00:03:59.235 (21531193), errorcode: 20
!> Pics exp/cnt 30/30, inGOP PTS diff. 133ms, new Timecode 00:02:39.059
!> dropping GOP# 223 @ orig.PTS 00:04:00.386 (21634797), errorcode: 20
!> dropping GOP# 229 @ orig.PTS 00:04:06.125 (22151313), errorcode: 20
!> Pics exp/cnt 27/27, inGOP PTS diff. 66ms, new Timecode 00:02:39.592
!> dropping GOP# 230 @ orig.PTS 00:04:07.093 (22238400), errorcode: 20
!> Pics exp/cnt 30/30, inGOP PTS diff. 100ms, new Timecode 00:02:39.592
!> dropping GOP# 231 @ orig.PTS 00:04:08.194 (22337499), errorcode: 20
!> Pics exp/cnt 33/33, inGOP PTS diff. 100ms, new Timecode 00:02:39.592
!> dropping GOP# 232 @ orig.PTS 00:04:09.412 (22447108), errorcode: 20
!> Pics exp/cnt 30/30, inGOP PTS diff. 150ms, new Timecode 00:02:39.592
!> dropping GOP# 233 @ orig.PTS 00:04:10.563 (22550712), errorcode: 20
!> Pics exp/cnt 21/21, inGOP PTS diff. 66ms, new Timecode 00:02:39.592
!> dropping GOP# 234 @ orig.PTS 00:04:11.364 (22622784), errorcode: 20
!> Pics exp/cnt 27/27, inGOP PTS diff. 116ms, new Timecode 00:02:39.592
!> dropping GOP# 235 @ orig.PTS 00:04:12.398 (22715877), errorcode: 20
!> Pics exp/cnt 27/27, inGOP PTS diff. 83ms, new Timecode 00:02:39.592
!> dropping GOP# 236 @ orig.PTS 00:04:13.399 (22805967), errorcode: 20
!> Pics exp/cnt 21/21, inGOP PTS diff. 116ms, new Timecode 00:02:39.592
!> dropping GOP# 237 @ orig.PTS 00:04:14.250 (22882543), errorcode: 20
!> Pics exp/cnt 35/35, inGOP PTS diff. 150ms, new Timecode 00:02:39.592

++> Mpg Video: PID 0x0000 / PesID 0xE0 / SubID 0x00 :
-> Video: fr-ct-1p-cg-og-dg -> 7490-73-0-237-0-90
-> Video length: 7490 frames @ 00:04:09.910
-> GOP summary: min. 20, max. 92 fields; contains interlaced & progressive frames
-> avg. nom. bitrate 1929963bps (min/max: 779600/4446800)
-> set first sequenceheader bitrate to 4446800bps
---> new File: C:\tmp\CAPS\070723_165718 FOOD TV-0000.m2v

++> Mpg Audio: PID 0x0000 / PesID 0xC0 / SubID 0x00 :
-> check CRC of AC-3 / MPEG-Audio L1,2
-> remove CRC in MPEG-Audio L1,2
-> add frames
-> Audio PTS: first packet 00:00:00.180, last packet 00:05:47.124
-> Video PTS: start 1.GOP 00:00:00.280, end last GOP 00:05:45.892
-> adjusting audio at video-timeline
-> src_audio: MPEG-1, Layer2, 48000Hz, stereo, 160kbps, noCRC @ 00:00:00.000
audio frames: wri-pre-skip-ins-add 10413-0-0-0-0 @ 00:04:09.912 done...
---> new File: 'C:\tmp\CAPS\070723_165718 FOOD TV-0000.mp2'

summary of created media files:
.Video (m2v): 7490 Frames 00:04:09.910 'C:\tmp\CAPS\070723_165718 FOOD TV-0000.m2v'
Audio 00 (mp2): 10413 Frames 00:04:09.912 0-0-0-0 'C:\tmp\CAPS\070723_165718 FOOD TV-0000.mp2'
=> 65,289,322 bytes written...
-> we have 193 warnings/errors.


That clip should be well over 5minutes long, yet is only outputting to be 4:09 in projectX, and StaxRip is showing the same thing. The end result is a video that has a bunch of missing audio & video, and obviously is unwatchable..

Now; I loaded the raw mpeg inside DGIndex, saved the .d2v in DGIndex, and then opened that .d2v as the source file in StaxRip and it works PERFECTLY fine. DGIndex has no problem demuxing it somehow, yet ProjectX does... and I cannot figure out how to make StaxRip completely bypass ProjectX and demux and choose the audio from DGIndex instead

I have experimented with this over 10 times now and I've got to manually load & create the .d2v inside of DGIndex every time and then load THAT .d2v in stax, and select the Audio Output file from there as well.. It's getting to be a tedious process and I'm just wondering if anybody can please help me out

I can gladly PM you a link to a problematic raw .mpeg sample I have hosted as well (A perfect example; it plays as a full 5m 16s in Winamp or VLC or ANYTHING else, but once loaded into StaxRip it will appear as only 4m10s long and has a bunch of problems)

THANKS all

stax76
24th July 2007, 09:16
@duckdown

You can disable ProjectX under Options/Preperation.

potatochobit
25th July 2007, 03:29
I have an h264 file and I add it to staxrip to re-encode it at a different bitrate in h264, but the encode messes up.

the sound is muxed fine but the video plays like it has no time stamps. it runs through then video repeats two or three times until the video reaches the end.

similalrly in xvid if i want to convert to an h264 without making a lossless first the video comes out real jerky and the encode process takes 3 to 4 times as long.

how do i fix this or what am I doing wrong? in FFdshow I have xvid and h264 as libavcodec decoder, would that cause problems?

Shaocaholica
5th August 2007, 22:38
I'm having some audio trouble when staxrip demuxes the audio stream and the resulting audio file (usually vbr-mp3) is shorter than its supposed to be resulting in the loss of about ~120 seconds of audio at the end of the file. I've done some comparisons by manually demuxing the mp3 using vdubmod thats being used by staxrip and that works fine. Its just the automated demux done by staxrip thats not working. Perhaps its a flag or something. I don't know. Is there anyway to modify the way staxrip calls vdubmod for demuxing? Maybe even turn it off since it produces a file that I can't use anyway(50% of the time).

Edit: Ok, figured out how to turn it off. Now how do I get it to not throw away the last few minutes of audio? I think it might have something to do with the way vdubmod sees vbr-mp3 headers as being wrong when they are correct.

Gawwad
5th August 2007, 23:42
what is the easiest way to embed a watermark logo on staxrip output?
for example i have in the same folder video1.mpg, video2.mpg, video3.mpg and logo.bmp
is there a special script that i can input to staxrip so that it will add the logo to the output video?

thanx in advance

Shaocaholica
6th August 2007, 00:18
You should be able to add a watermark via a avisynth filter. Not sure if staxrip supports that but you could write it in manually into the avs script file for that rip.

darkside40
6th August 2007, 16:38
I am new to Staxrip and i have one question: Is Staxrip SMP capable when encoding to XviD?

So will it use both of my CPU Cores?

buzzqw
6th August 2007, 17:23
SMP depends on xvid builds not on staxrip

staxrip is a gui, very evoluted, but still a gui, the hard work is done by encoder

BHH

darkside40
6th August 2007, 19:40
Thx for the answer.

Another question: What about the integration of the Lame MT (http://softlab.technion.ac.il/project/LAME/html/lame.html) Encoder as an alternative to the normal Lame Encoder?

buzzqw
6th August 2007, 19:51
is Stax that select what to include in software updates...

i don't know well lame mt, but if command line is the same as Lame you can manually substitute it...

BHH

LRN
11th August 2007, 07:25
You should be able to add a watermark via a avisynth filter. Not sure if staxrip supports that but you could write it in manually into the avs script file for that rip.
There is no native AviSynth filter for logo overlaying. There is, however, a VirtualDub filter (few of them actually) for such thing.
Bad news is that i tried to use one of these filters (Logo by Donald Graft) in StaxRip via LoadVirtualDubPlugin and failed to succeed.

----EDIT

OK, i did it. By the way, Stax, you should fix this strange behaviour of StaxRip.
This is how your Filters list should look:

Source: some source (StaxRip will create it by itself)
...anything...
Misc: ConvertToRGB()
Misc: Import("pathtologoavs")
Misc: VD_logo(0, 0, 255, 2, 0, 0, 0, 0, "fullbmpfilename", false, 0, 100, 0, 10, 100, 10)
Misc: ConvertToYV12()
...anything...

replace bold dummys with real paths. You could use StaxRip macros for AviSynth (see below).

Trick is to keep these lines of code in Misc category, because StaxRip extracts everything else (well, Plugins and Source for sure) into separate file and uses it as "Source". I don't know why. So, i repeat, keep every custom filter (at least VDub filters and calls to LoadVirtualDubPlugin) as Misc. Else StaxRip will complain that there is "No valid source".

ConvertToYV12() is not required really to preview filter's work via F5, but encoder will probably want YV12 anyway. Of course all other filters (Deinterlace, Resize, Crop) should be added as usual.

logo.avs is:

###################################################################
# Logo by Donald Graft, v1.3b4 #
# #
# In the filter configuration dialog box, enter the input file. #
# If the specified bitmap file cannot be found, or if it is not #
# a bitmap file, or if it is of the wrong depth (depth must be 24 #
# bit), the output frame will be all black. #
# #
# See "simplified_versions.avs" for some examples. #
###################################################################

function VD_Logo(clip clip, int "x", int "y", int "alpha", int "transparent",
\ int "xr", int "xg", int "xb", int "tolerance", string "filename",
\ bool "animate", int "start", int "duration", int "loops",
\ int "fadeinlen", int "fadeoutend", int "fadeoutlen")
{
LoadVirtualdubPlugin(VirtualDub_plugin_directory+"\logo.vdf", "_VD_Logo", 1)
return clip._VD_Logo(default(x,0), default(y,0), default(alpha,128),
\ default(transparent,1), default(xr,0), default(xg,0), default(xb,255),
\ default(tolerance,0), default(filename,VirtualDub_plugin_directory+"\logo.bmp"),
\ default(animate,false)?1:0, default(start,0), default(duration,0), default(loops,0),
\ default(fadeinlen,0), default(fadeoutend,200), default(fadeoutlen,0))
}

# example1 (static logo):
# ConvertToRGB()
# VD_logo(0, 0, 128, 1, 0, 0, 255, 0, VirtualDub_plugin_directory+"\logo2.bmp", false, 100, 200, 0, 10, 180, 10)
# ConvertToYUY2()

# example2 (animated logo):
# ConvertToRGB()
# VD_Logo(33, 33, 128, 1, 0, 0, 0, 0, "G:\Recu0001.bmp", true, 0, 1, 20, 0, 0, 0)
# ConvertToYUY2()

where VirtualDub_plugin_directory is a path (enquoted) to Vdub plugin directory. In StaxRip you could use macro %application_dir:<name>%. Exactly - %application_dir:VirtualDub%\plugins\

This particular logo.avs is not the same as everywhere on the Internet. I changed "transparent" from bool to int, because without it you can't make this filter to use Alpha Mask (see documentation).

pausefisk
13th August 2007, 22:46
for a logo just add a filter to staxrip with code like this:

Import("d:\progs\riplogos\dek.avsi")
X=601
Y=62
clip=last
maskclip = ImageReader("d:\progs\riplogos\sbs6mask.bmp")
maskclip = Loop(maskclip, Framecount(clip))
dekafka(clip, maskclip, X, Y, maskclip.width, maskclip.height, 256)

ConvertToYv12()

logo = ImageSource("d:\progs\riplogos\sbs6.bmp")
Overlay (logo, X, Y,mask=logo, opacity=0.6)

i use this script to hide a existing logo and put a own logo over it (with transparancy).
for just adding a logo you can just use the last three rules.



Exactly what i want to do! not hide any existing logo, but just add one. there is reason i use thise fine tool, that i dont have to have too much knowledge about this. how exactly do i add those lines, and where? and what lines only do i have to add just to add a logo, with lets say 60% transparancy?

Ga1j1n
14th August 2007, 17:17
Stax / forumites,

Is it possible to make the Staxrip created mp4's encoded with the default constant quality profile compliant with the PS3 by way of a check box setting or profile.

I have been using this superb Gui for approx 6 months to achive my video collection in preperation for the day when I would finally buy myself a PS3 (I'm not a fanboy by any means I just think it has great potential as a standalone media centre) that day recently arrived when I picked one up secondhand at a reasonable cost.

The problem is that despite playing 264 encoded mp4's out of the box I have discovered through some forum detection work that they only support level 4.1 encodes, this means that in order to get my collection to play on the beast I have to manually demux into elementary streams, change the level of the 264 and re-mux into an mp4 container as per the easy method described in post #182, this is a pain in the butt to say the least although it works.
http://forum.doom9.org/showthread.php?t=120627&highlight=ps3&page=10

Anyway after this change the mp4's play perfectly so either the PS3 can play level 5.1 files by default or staxrip creates these files but doesn't specify the file type branding box at the point of muxing the streams into the mp4 container

So it should be relatively easy to (I say with trepidation) to either set the type by default or allow this as an option within Staxrip (At this point I'd like point out that I am basing this entirely on deduction and in no way suggest that I am an expert in these things)

I would be more than happy to test any files or beta builds/ profiles that may arise from this and will answer any questions I can, here's hoping

:thanks:

LRN
14th August 2007, 22:56
how exactly do i add those lines, and where? and what lines only do i have to add just to add a logo, with lets say 60% transparancy?
right click on filter list, add any filter from MISC category. Right click on this filter, Edit. Replace filter's code to be like this:

X=601 Y=62 logo=ImageSource("path-to-file.bmp") Overlay(logo, X, Y,mask=logo, opacity=0.6)

Gawwad
15th August 2007, 03:39
right click on filter list, add any filter from MISC category. Right click on this filter, Edit. Replace filter's code to be like this:

X=601 Y=62 logo=ImageSource("path-to-file.bmp") Overlay(logo, X, Y,mask=logo, opacity=0.6)


its not working for me :(

i inserted this code:
X=601 Y=62 logo=ImageSource("C:\Documents and Settings\Owner\Desktop\Logo1.bmp") Overlay(logo, X, Y,mask=logo, opacity=0.6)

in here:
http://img172.imageshack.us/img172/2864/clipboard01ww7.jpg
http://img390.imageshack.us/img390/6720/clipboard01bj2.jpg

the other scripts doesn't seems to have spaces!

btw: how can i position as well the water mark logo, and is there a way to make its background colourless, like how Donald Graft's virtualdubmod logo function (where in default it will make blue 255 only colourless)?

pausefisk
15th August 2007, 09:36
OK, i did it. By the way, Stax, you should fix this strange behaviour of StaxRip.
This is how your Filters list should look:

Source: some source (StaxRip will create it by itself)
...anything...
Misc: ConvertToRGB()
Misc: Import("pathtologoavs")
Misc: VD_logo(0, 0, 255, 2, 0, 0, 0, 0, "fullbmpfilename", false, 0, 100, 0, 10, 100, 10)
Misc: ConvertToYV12()
...anything...

replace bold dummys with real paths. You could use StaxRip macros for AviSynth (see below).

Trick is to keep these lines of code in Misc category, because
logo.avs is:

###################################################################
# Logo by Donald Graft, v1.3b4 #
# #
# In the filter configuration dialog box, enter the input file. #
# If the specified bitmap file cannot be found, or if it is not #
# a bitmap file, or if it is of the wrong depth (depth must be 24 #
# bit), the output frame will be all black. #
# #
# See "simplified_versions.avs" for some examples. #
###################################################################

function VD_Logo(clip clip, int "x", int "y", int "alpha", int "transparent",
\ int "xr", int "xg", int "xb", int "tolerance", string "filename",
\ bool "animate", int "start", int "duration", int "loops",
\ int "fadeinlen", int "fadeoutend", int "fadeoutlen")
{
LoadVirtualdubPlugin(VirtualDub_plugin_directory+"\logo.vdf", "_VD_Logo", 1)
return clip._VD_Logo(default(x,0), default(y,0), default(alpha,128),
\ default(transparent,1), default(xr,0), default(xg,0), default(xb,255),
\ default(tolerance,0), default(filename,VirtualDub_plugin_directory+"\logo.bmp"),
\ default(animate,false)?1:0, default(start,0), default(duration,0), default(loops,0),
\ default(fadeinlen,0), default(fadeoutend,200), default(fadeoutlen,0))
}

# example1 (static logo):
# ConvertToRGB()
# VD_logo(0, 0, 128, 1, 0, 0, 255, 0, VirtualDub_plugin_directory+"\logo2.bmp", false, 100, 200, 0, 10, 180, 10)
# ConvertToYUY2()

# example2 (animated logo):
# ConvertToRGB()
# VD_Logo(33, 33, 128, 1, 0, 0, 0, 0, "G:\Recu0001.bmp", true, 0, 1, 20, 0, 0, 0)
# ConvertToYUY2()

where VirtualDub_plugin_directory is a path (enquoted) to Vdub plugin directory. In StaxRip you could use macro %application_dir:<name>%. Exactly - %application_dir:VirtualDub%\plugins\


I did exactly as written here, but when i try in StaxRip i got this error:

Avisynth open failure:
I don't know what "VirtualDub_plugin_directory" means
(c:\test\logo.avs, line 17)
(c:\test\encoding\logovideo.avs, line 7)

line 17:

LoadVirtualdubPlugin(VirtualDub_plugin_directory+"\logo.vdf", "_VD_Logo", 1)

I have downloaded and put "logo.vdf" in this folder:

C:\test\StaxRip_1.0.0.1\Settings\Applications\VirtualDubMod\plugins\

My filterlist in StaxRip looks like this: http://bildr.no/view/94903

any suggestion?

LRN
15th August 2007, 16:32
I don't know what "VirtualDub_plugin_directory" means
where VirtualDub_plugin_directory is a path (enquoted) to Vdub plugin directory.
I meant that you should replace VirtualDub_plugin_directory with something like "C:\test\StaxRip_1.0.0.1\Settings\Applications\VirtualDubMod\plugins\"...

its not working for me
What is StaxRip saying? "No valid source"? Or it shows preview window with some error text instead of picture?
Actually, i suspect that X value is too big. You have only 4xx video with, while X exceeds 600.

the other scripts doesn't seems to have spaces!
This is ok. Spaces or linebreaks - no difference.

btw: how can i position as well the water mark logo, and is there a way to make its background colourless, like how Donald Graft's virtualdubmod logo function (where in default it will make blue 255 only colourless)?
X = ... Y = ... - this is for positioning.
Colourless? You mean - transparent? Well, do you see "mask=logo" argument in Overlay() call? For transparency to work, mask should be not "logo", but a separate bmp image with transparency mask, loaded via ImageSource just like logo.
Something like this (did not tested this code, it may not work!):

clip=last X=0 Y=0 logo=ImageSource("C:\Documents and Settings\Owner\Desktop\Logo1.bmp") logomask=ImageSource("C:\Documents and Settings\Owner\Desktop\Logo1_mask.bmp") last=clip Overlay(logo, X, Y,mask=logomask, opacity=1.0)

pausefisk
15th August 2007, 17:11
i tried to change

LoadVirtualdubPlugin(VirtualDub_plugin_directory+"\logo.vdf", "_VD_Logo", 1)

to

LoadVirtualdubPlugin(C:\test\StaxRip_1.0.0.1\Settings\Applications\VirtualDubMod\plugins+"\logo.vdf", "_VD_Logo", 1)

and

LoadVirtualdubPlugin(C:\test\StaxRip_1.0.0.1\Settings\Applications\VirtualDubMod\plugins"\logo.vdf", "_VD_Logo", 1)

and

LoadVirtualdubPlugin(C:\test\StaxRip_1.0.0.1\Settings\Applications\VirtualDubMod\plugins\logo.vdf", "_VD_Logo", 1)

but then i got other serious error messages. how, exactly, should that line look like??

LRN
15th August 2007, 19:57
LoadVirtualdubPlugin("C:\test\StaxRip_1.0.0.1\Settings\Applications\VirtualDubMod\plugins"+"\logo.vdf", "_VD_Logo", 1)
or
LoadVirtualdubPlugin("C:\test\StaxRip_1.0.0.1\Settings\Applications\VirtualDubMod\plugins\logo.vdf", "_VD_Logo", 1)

pausefisk
15th August 2007, 23:26
Thank you very much LRN! I finally got it to work. It was that missing line! Using this line made it work:

LoadVirtualdubPlugin("C:\test\StaxRip_1.0.0.1\Settings\Applications\VirtualDubMod\plugins"+"\logo.vdf", "_VD_Logo", 1)

Now, i have to get the logo to the bottom instead of the top... hehe any fast suggestion? I will do some reading in logo faq

LRN
16th August 2007, 17:16
X=... Y=... - this is X and Y offset of logo. So, if you need to move logo right, increase X, to move it down - increase Y.
My own preference, however, is to make a logo that has the same image resolution as video does, then convert it to an alpha-mask and use both to place transparent logo at X=0 and Y=0. Of course, logo itself occupies only a small portion of image, everything else is just a blank, made transparent because of proper alpha mask.

pausefisk
16th August 2007, 20:49
I made the logo same size as video and added the alpha mask, works perfect!

invy
22nd August 2007, 11:36
EDIT: nvm. My friends sent me his files and it fixed all problems. The sites through the external update must have corrupted files or something.

duckdown
30th August 2007, 02:12
Hi all, just got 2 quick questions :)

I'm currently running a quad core Xeon X3220 @ 3.0ghz and notice that when I'm encoding to xvid, only about 45-50% of my CPU is being used. In order to get 100% usage I have to encode 2 segments at once. Is there any solution for this? The FPS does not drop (by much if at all) when I'm running 2 segments at once, and if I just do 1 at a time its pretty much the same speed. How can I utlizise all 4 cores at once?

Second part of the question is, is it possible to do 1 pass on segments of a show during live TV but then at the end of the show do the second pass on all of the segments at once? So in essence when my show ends, I can finish the last segment on 1pass then reload all of the segments and do the final pass on them (Cutting down on the overall time so I don't have to do BOTH passes at the end of the show)? And if so, how big should I be making the first passed saved segments so that I can compress them down in size properly on the final pass.. A bit new at this, sorry, but am looking to get some use out of my new DVB card and record some of my favorite shows


Oh, and a quick final question sorry, lately when I have been specifying a target size for my encoded file it always ends up a few megs short.. I cannot for the life of me figure out why, can someone shed some light on this? Thanks

LRN
30th August 2007, 05:56
For some weird reason option "Number of threads" is greyed out in XviD codec settings. Personally, i am using x264, and it works in multithread mode fine.
1st pass in live time? Do you think your CPU could handle decoding this live show (or encoding, if it's not digital already) AND making a 1st pass on it? Anyway, it's not possible in plain StaxRip, or at least i don't know how to do it.
Looks like XviD overshots a few megabytes. Or StaxRip calculates wrong bitrate (remember, there's AVI container besides video and audio, and there is subtitles, if you have them there). Try always making target bitrate (or size) a bit lower.

pdadi
30th August 2007, 21:08
I am trying to add DTS file after the initial analysis. Source is
MPEG2 DVD and target is avi container with Xvid encoded.

It doesn't allow me add DTS saying its not allowed with AVI.

As a workaround I am encoding with noaudio and using Avi_Muxgui
to mux DTS with avi file.

Thanks for any info.

ScubaJoe13
1st September 2007, 03:32
I have been waiting awhile for a discussion on how to get VDubMod filters (.vdf files) to work in StaxRip. I was very encouraged by the discussion above regarding logo.vdf, and I spent last night trying to get the filters I use to work in Staxrip. I am afraid I am running into a problem that I can't seem to find a fix for, and I hope someone can help.

The Details:

The filters names are Hue.vdf and MSU_SmartBrightness.vdf, both by Donald Graft (http://neuron2.net/).
They are in the plugins sub-directory of VDubMod.
They both work; I have used them successfully in VDM.
In order to test the filter I chose one, Brightness (with extreme settings to verify if it works), and attempted to copy the format for logo.vdf in the filter section of StaxRip.
This is a screenshot of my filter setup:
http://server3.uploadit.org/files/ScubaJoe13-Staxrip_filter_snap.jpg

The script for the first filter is:
LoadVirtualdubPlugin("C:\Program Files\Multimedia\Burners and Rippers\Stax Rip\Applications\VirtualDubMod\plugins\MSU_SmartBrightness.vdf", "_VD_MSU SmartBrightness 1.01")
and for the settings is:
_VD_MSU SmartBrightness 1.01(0, 248, 189, 0)

I know this is the proper syntax (# of settings parens and commas, etc.) for the settings, because the .vcf file that VDM creates to save the settings I use when applying this filter has these lines in it:

VirtualDub.video.filters.Add("MSU SmartBrightness 1.01");
VirtualDub.video.filters.instance[0].Config(0, 248, 189, 0);

The error I get is as follows:

Avisynth open failure:
Script error: expected: ")"
the error occurs in line 6, column 31 of filter script 1.avs (which is the line for the settings; evidently it gets through the load OK)

In some of the permutations of slight alterations to the filters I have also gotten this error:

Avisynth open failure:
The script's return was not a video clip.

As I just mentioned I have tried many different permutations. I have bracketed the filters with the two true Misc. filters (Convert to RGB and Convert to YV12) as shown above, I have also tried it with and with out the ",1" at the end of the first line (I am not sure what that is for), I have included and not included the leading "_" in the first space of the second line and I have tried combinations of all of these. I have also retyped the second line and insured that the parens were actually parens.

One final item that may be interesting: I found a file named staxripssettings.vcf in the main Directory of VDubMod. I even tried to insert the direct commands in there, to no avail. It seems that Staxrip creates it's own .vcf for every pass (the ones in the temp file), I'm not even sure if/how the prog uses that .vcf file. If anyone wants to see it, the file can be found Here (http://www.megaupload.com/?d=4TQ8DUOW).



I am at a dead end, and any help that could be provided would be greatly appreciated.

LRN
2nd September 2007, 21:28
MSU_SmartBrightness.vdf can't be by Donald Graft, because it is by MSU.
"_VD_MSU SmartBrightness 1.01" - weird argument. Are you sure you wrote this one correctly? Maybe it should be like LoadVirtualDubPlugin("C:\Program Files\Multimedia\Burners and Rippers\Stax Rip\Applications\VirtualDubMod\plugins\MSU_SmartBrightness.vdf","_VD_MSU_SmartBrightness",1.01)?

ScubaJoe13
3rd September 2007, 13:48
LRN, TYVM for your reply. It got me looking at the lines again, and you explained what that "1", or in my case "1.01" at the end of the first line is all about. And yes, the MSU brightness is not by Graft. Up until very recently I have been using their brightness/contrast until I found the MSU one which has better control. I forgot I switched.

On a more important note, I got it to work! I tried your version and then looked again at the settings line, and saw I had left out the "_" between MSU and Brightness. Once I fixed that, I got it to work.

For future reference, anyone planning on using a .vdf filter must bracket the filter with the Convert to RGB and Convert to YV12 filters, as it appears all .vdf video filters can only operate in RGB. While this adds to encoding time, it is a trade off I can live with.

I will also include the proper syntax for three filters: MSU Brightness, brightness/contrast and Hue (the latter 2 by Graft etal). The actual numbers in the settings line of each represent extreme usage of the filters to make it apparent whether or not it worked. In order to get the proper settings for your vid, open VDubMod, load the filter, play with the settings until you are satisfied, and the under file do a Save Processing Settings. Then open up the resulting .vcf file in notepad and you will see the correct numbers to plug into your settings line. Do Not use the syntax you find in that file. Use the syntax as outlined below.

MSU_Brightness

Load Filter - LoadVirtualDubPlugin("C:\Program Files\Multimedia\Burners and Rippers\Stax Rip\Applications\VirtualDubMod\plugins\MSU_SmartBrightness.vdf","_VD_MSU_SmartBrightness")

Filter Settings - _VD_MSU_SmartBrightness(0, 248, 189, 0)

Brightnes/Contrast

Load Filter - LoadVirtualDubPlugin("C:\Program Files\Multimedia\Burners and Rippers\Stax Rip\Applications\VirtualDubMod\plugins\bright.vdf","_VD_bright")

Filter Settings - _VD_bright(122,24)

Hue

Load Filter - LoadVirtualDubPlugin("C:\Program Files\Multimedia\Burners and Rippers\Stax Rip\Applications\VirtualDubMod\plugins\hue.vdf","_VD_hue")

Filter Settings - _VD_hue(108, 0, 378, 112, 63)

I hope this helps others trying to use these , or other, filters.

Shaocaholica
5th September 2007, 16:16
Can someone help me modify the PD-ipod profile for iPhone encoding based on Kurtnoise13's findings (http://forum.doom9.org/showthread.php?p=1034432#post1034432). There's already a megui profile but I'm having trouble deciphering everything in the xml. I think the easiest way is to modify the iPod profile with all the changes that the iPhone can support. I think its mostly something about "baseline level 3.0".

LRN
13th September 2007, 17:55
9 Reasons To Update StaxRip to next version:

1) New software versions.

2) New AAC profiles. Here's what i figured out:
AAC VBR 96 kbps:

"%application:BeSweet%" -core( -input "%input%" -output "%output%_tmpwav.wav" -2ch -logfile "%output%_tmpwav.wav.log" ) -azid( -c normal -L -3db ) -ota( -d %delay% -g max )
"%application:NeroAACEnc%" -2pass -br 98304 -if "%output%_tmpwav.wav" -of "%output%"
cmd /C del "%output%_tmpwav.wav"

creates temporary file %output%_tmpwav.wav , logs BeSweet output to %output%_tmpwav.wav.log , creates %output% and deletes %output%_tmpwav.wav
%output%_tmpwav.wav tends to be very big, for 80-min 445kbps ac3 i got ~700kbps WAV (more than 2 gigabytes), but precise 2pass AAC encoding (%output% is guaranteed to be <98304/8*length> bytes long (or a bit smaller)) is worth it. Now "bitrate" parameter in StaxRip's audio profile makes sense.
Here's one for 6-channel AAC:
AAC 5.1 VBR 224 kbps

"%application:BeSweet%" -core( -input "%input%" -output "%output%_tmpwav.wav" -6chwav -logfile "%output%_tmpwav.wav.log" ) -azid( -c normal -L -3db ) -ota( -d %delay% -g max )
"%application:NeroAACEnc%" -2pass -br 229376 -if "%output%_tmpwav.wav" -of "%output%"
cmd /C del "%output%_tmpwav.wav"

Both profiles are not named "HE" because neroAACenc applies LC/HE/HEv2 automatically. Mp4box should assume HE input though.

3) Extended logging. It would be awesome to save some codec's data (besweet, x264 and mp4box console output, and much more). For BeSweet it could be done via -logfile switch. For x264 and mp4box - via stdout redirect.

4) More than 2 audio tracks. I think it is not hard to implement variable number of audio tracks. Or at least 4-8. Two just isn't enough.

5) Use subtitles and chapters files size in video bitrate calculation. At the moment StaxRip would ignore 20-megabyte long subtitle file when it comes up with video bitrate.

6) Update x264 (and other encoders) profiles.

7) Support for %track_bitrate% variable that corresponds to value of "bitrate" field in audio profile.

8) More comfortable AviSynth script editor. And new filter versions.

9) Resizeable windows.

Stax, how about that? Or maybe someone else could do the job?

duckdown
13th September 2007, 20:23
Hi all... Have a problem :(

I was using my DVB-S card to record a live fighting event this past weekend, and I know a guy who is a really into the video scene I guess, and he tells me that my encoded xvid video is suffering from a symptom called "Ghosting and Blended Frames"

I am using StaxRip to try and encode the video to an XviD file, and am just using the plain "Deinterlace" option (which the show should require) and the end result is pretty horrific. Even more perplexing is how when I choose an option like IVTC (which the show obviously is NOT) or FAST DEINTERLACE, the problems do not (seem to) appear! At least as far as I can tell.

Here is a screenshot, DEINTERLACE vs. IVTC vs. FAST DEINTERLACE

http://img174.imageshack.us/img174/6360/motion2tb7.jpg


As you can see, the problem exists ONLY in the regular plain Deinterlaced version. None of the other two methods exhibit even anything remotely similar as far as this motion blur goes.

A link to the raw 1 minute sample from which these results were produced is located here: http://torontojungle.sslpowered.com/Sample/ufc-motionblur-cut.mpg


This is driving me nuts because the problem has plagued me in the past before, but not knowing what the symptoms were called or where to approach for help had me just ignoring it (Thank God for Doom9! )

Why would this problem appear in DEINTERLACE but not FAST DEINTERLACE (or is it just to my untrained eye?) ?

If anyone has any suggestions, comments, reccomendations, anything... I am all ears and more than willing to try or accomdate any ideas..

Thanks again and will eagerly be watching this thread waiting for a response!!!

Cheers

LRN
13th September 2007, 21:53
Read this (http://en.wikipedia.org/wiki/Deinterlacing), then ask if you don't understand something.

Fast Deinterlace discards frames. Bad.
Deinterlace blends. Bad.
IVTC restores. Good.
Use IVTC. Learn how to tweak Telecide() settings (reference manual and tutorial included in DeComb download)

duckdown
14th September 2007, 01:16
Hi there, thank you for the response... I am sadly more confused than ever after reading it.. You say use IVTC but then wouldn't IVTC drop the FPS to only 23fps ? I was always told IVTC was for scripted primetime TV shows.. Or is it possible to use IVTC and then keep the fps at 29fps properly?

I tried watching the segment I encoded with IVTC and it comes out choppy kind of so that can't be it..

Sorry, more help requested if possible.. Would like to clear this up :(

Thank you for the help!

edit: Oh, also, I added FieldDeinterlace(blend=false) and this seems to have fixed the ghosting! (In that segment I tried, at least).. Is it possible that I need to do this every time for shows? Thanks

digidragon
14th September 2007, 13:26
Is it possible to add Proxy Support for the Updates (download) ?

I'm clueless about security which appear to be involved here.

I was having the same problem, so I downloaded the source code. By adding some properties to the webclient, the update download now works through my company's proxy server (Microsoft ISA Server).
webclient.Proxy = WebRequest.DefaultWebProxy
webclient.Proxy.Credentials = CredentialCache.DefaultCredentials
I also added the same properties to the webclient which checks for updates.

LRN
14th September 2007, 23:31
but then wouldn't IVTC drop the FPS to only 23fpsIVTC = Telecide + Decimate. Decimate drops frames, just remove it.

LRN
16th September 2007, 19:14
For those who tries to use Logo filter, here's some new things to play with.
This is mylogo3.avs:

function VD_Logo(clip clip, int "x", int "y", int "alpha", int "transparent",
\ int "xr", int "xg", int "xb", int "tolerance", string "filename",
\ bool "animate", int "start", int "duration", int "loops",
\ int "fadeinlen", int "fadeoutend", int "fadeoutlen")
{
LoadVirtualdubPlugin("C:\program files\avisynth 2.5\plugins\logo.vdf", "_VD_Logo", 1)
return clip._VD_Logo(default(x,0), default(y,0), default(alpha,128),
\ default(transparent,1), default(xr,0), default(xg,0),
\ default(xb,255),default(tolerance,0), default
\ (filename,"C:\program files\avisynth 2.5\plugins\logo.bmp"),
\ default(animate,false)?1:0, default(start,0), default(duration,0),
\ default(loops,0),default(fadeinlen,0),
\ default(fadeoutend,200), default(fadeoutlen,0))
}

function MyLogo(clip clip, int start)
{
clip
ConvertToRGB()
#first VD_logo shows static logo fading in for 20 frames
VD_logo(0, 0, 255, 2, 0, 0, 0, 0, "C:\logos\aladdin1_0000.bmp", false, start , 20, 0, 20, 0, 0)
#second VD_logo shows animated logo, length depends on number of *_xxxx,bmp files
VD_logo(0, 0, 255, 2, 0, 0, 0, 0, "C:\logos\aladdin1_0000.bmp", true , start+20, 1, 1, 0, 0, 0)
return ConvertToYV12()
}

Nothing new. Just placed colorspace conversion inside MyLogo().
Now look here:

Import("C:\program files\avisynth 2.5\plugins\mylogo3.avs") ScriptClip("""current_frame >= 192631 ? MyLogo(192631) : last""")

Here's the catch. To avoid unnecessary colorspace conversion i am using ScriptClip function. It calls MyLogo only if current_frame is more than 192631, else it does nothing (actually it does last = last assignment). I bet you can do more complex logical expressions, but for me simple comparison worked just fine. One disadvantage - you have to specify framenumber (here - 192631) twice (in comparison expression and as MyLogo argument).

kikker
30th September 2007, 00:51
I've just DL'ed the latest version. Now, for whichever source video I try to convert, after the initial demuxing, I get the following error:
"Failed to load source, please ensure you are using a proper source filter and have installed plugins and codecs required by the source filter."

Then, when push OK, the preview pops up and in big red letters, it reads:

"Directshowsource: I can't determine the frame rate of the video, you must use the "fps" parameter (Movie_Source.avs, line 1)

That Movie_source.avs file plays just fine in VirtualDubMod, so I'm not sure which step is failing, but I have a feeling it has to do with Avisynth somewhere. I've tried uninstalling and reinstalling Avisynth, and I still get the same errors.

This is so strange, when 1.0.0.0 worked just fine, but now, even reverting back to 1.0.0.0 results in the same thing. All source video files work just fine in any media player, so all codecs and source filters seem to be working.

I'm sure there is a really simple fix for this, but not sure what else I can try.

Any ideas??


EDIT: OK, I simply uninstalled and re-installed the latest stable beta3 ffdshow, and now things seem to be normal again. Strange how ffdshow worked for playing back files for viewing.

meltingplastic
1st October 2007, 13:25
Hey guys,

Im trying to use stax to batch encode a bunch of MPEGs to H.264 MP4s. I created my template file to convert the file and resize it to 480x360. When i go to run a batch encode(either directory or multiple file) the output is never 480x360. it is always much larger. What am i doing wrong or how do i correctly create a template file?

LRN
2nd October 2007, 00:22
Are you sure your player does not resizes your movies on playback?

meltingplastic
2nd October 2007, 19:33
Are you sure your player does not resizes your movies on playback?

Yes, when it runs x264 i check the video size and its not the correct size. I noticed it after i did a batch of about 25 vids and thought maybe the zoom was on, started another batch and bam there it was.

As of now to do batch i just do one file, set it the way i want and then repeat the process til ive created all the .rip files for each one... this gets to be very time consuming and i know that theres an easier way!

kikker
2nd October 2007, 19:39
The answer to this in in this thread. Someone else asked about something similar - I'll try to find it.

meltingplastic
2nd October 2007, 19:44
The answer to this in in this thread. Someone else asked about something similar - I'll try to find it.

Thanx kikker, i searched through about 25 or so pages and figured it was prolly not covered or quicker to ask...

kikker
2nd October 2007, 20:02
Try here? http://forum.doom9.org/showthread.php?t=124575

meltingplastic
2nd October 2007, 20:45
tried that as it instructed... output video from x264 is 576x448... i try doing it with just one file as it instructed and as soon as i select my source file, stax extracts the audio then changes all my settings... it selects crop, cahnges my source, changes the resize to neutral, and also changes the resolution

jsquare
5th October 2007, 15:00
tried that as it instructed... output video from x264 is 576x448... i try doing it with just one file as it instructed and as soon as i select my source file, stax extracts the audio then changes all my settings... it selects crop, changes my source, changes the re-size to neutral, and also changes the resolution
Try this: go to Options(F8)-Automation-Auto Resize Image Size = 172800 (480x360), save that setting with your template and next time you do a batch all the encodes will be limited to 480x360, unless the source AR is different than 4:3.

Lulle
9th October 2007, 11:28
Which deinterlance filter is good in staxrip?

When I'm deinterlance with "deinterlance" it's bad.
When I deinterlance with "fast deinterlance" I think its bad too.

So can I add some new filter who is better? or make some change with the filter hos allready is in staxrip?

If yes which filter? And how do I do that?

Edit:
And which is the ful script? I can just se this in profiles: Deinterlace = FieldDeinterlace() .

LRN
9th October 2007, 16:26
Good filter is IVTC. Great filter is manually tweaked IVTC. Good filter is manually tweaked Deinterlace.

Yes, you can add new (better) filter. TomsMoComp, for example. Yes, you could (and should) change pre-set filters (tweak them).

IVCT and Deinterlace would be the bes...err-r-r... good to start with.

Both "Edit" and "Profiles" shows full script. FieldDeinterlace() is a function call. It calls "FieldDeinterlace" function (which deinterlaces). It looks simple, because no parameters is specified (it uses default parameter values). If you want to tweak these - learn AviSynth ( http://AviSynth.org ). We can give you hints (a lot) and some specific information, but we can't teach you, that is what guides and tutorials are for.

monks1975
10th October 2007, 14:48
Hi all,

Great tool Staxrip, making some lovely h264 encodes; just tiny thing-

Is there any way to stop Vista falling back to Aero Basic when importing VOB files (it's in the DGIndex part, so may be more of an issue with that tool)?

After DGIndex finishes, my desktop goes back to Aero Glass again.

--
Jon

Deinorius
11th October 2007, 08:50
If you want to know the correct Deinterlacer you should ask in this forum specifically which means for any film type (real, Anime,...) you need another Filter.

Good Filter are TDeint, leakkerneldeint, IVTC, Decomb,...

contactadam2002
14th October 2007, 16:54
How do you add avisynth filters to staxrip, I tried dropping the .dll's into the filters folder of avisynth, but I am unsure as to how you get stax rip to recognize it using the script editor. When you download the filters there is no info to tell you how to write the script????

LRN
14th October 2007, 20:45
Right click on filters field, Add, add any filter. Mind category: it should be 'misc' for auxiliary script lines and...let's suppose 'field' for video processing. This is because StaxRip drops some lines from filter script when performing some special tasks (like showing video in crop dialog). And because of that StaxRip's AviSynth editor is WICKED :)
Right click on filter field, edit. Find filter you just added. Click on field in 'script' column. Type script here.
For simple things script looks like <function name>(<argument name>=<argument value>,...)
For function names and their arguments read manual/readme/faq/tutorial for particular plugin.
If plugin (dll) is in 'plugins' directory then you do not need to explicitly load it. If it is not, then you have to call LoadPlugin(<path to plugin>), before you could call functions of this plugin.
By the way, symbols '<','>' and '...' is for syntax explanation, they should not be in the script (this may be obvious for someone, but you never know...).
If you need to write a few lines of script, you could 'add' more 'filters' (and thus 'scripts') or write them in one 'script', separating them by spaces (AviSynth permits both line breaks and spaces as separators; line breaks is used more often because they make code more readable, but in StaxRip's wicked script editor you can not use line breaks).
For further information about AviSynth read http://avisynth.org . I explained most (if not all) StaxRip-specific AviSynth things, anything else here would be off topic.

dvd_maniac
15th October 2007, 16:20
Seems that about half of my encodes have the last minute or two of audio missing???
I just reinstalled XP and have the latest Staxrip version installed.
Any ideas as to why this could be happening?

LRN
16th October 2007, 09:52
First, check audio files produced by encoder. If you have some temporary files (from cutting etc) check them too. If they are OK, then something is probably wrong with muxer.

dvd_maniac
17th October 2007, 05:51
The temp audio file is missing the ending as well.
What would cause this to happen so frequently?

LRN
17th October 2007, 16:03
You could try to repeat each step (follow log files) manually and see what happens after each stage.

LRN
20th October 2007, 20:05
I got the same issue and found that besweet produces trimmed temporary wav file. Maybe it is because it's size is larger than 4Gb...Actually, file itself is not trimmed, but wav header is.
To overcome this, use -ignorelength commandline switch for neroaacenc

2-pass AAC encoding will look like this:

"%application:BeSweet%" -core( -input "%input%" -output "%output%_tmpwav.wav" -2ch -logfile "%output%_tmpwav.wav.log" ) -azid( -c normal -L -3db ) -ota( -d %delay% -g max )
"%application:NeroAACEnc%" -2pass -br 98304 -ignorelength -if "%output%_tmpwav.wav" -of "%output%"
cmd /C del "%output%_tmpwav.wav"

and this

"%application:BeSweet%" -core( -input "%input%" -output "%output%_tmpwav.wav" -6chwav -logfile "%output%_tmpwav.wav.log" ) -azid( -c normal -L -3db ) -ota( -d %delay% -g max )
"%application:NeroAACEnc%" -2pass -br 229376 -ignorelength -if "%output%_tmpwav.wav" -of "%output%"
cmd /C del "%output%_tmpwav.wav"

dalihrp
22nd October 2007, 09:15
HI,
I try to backup my transformers DVD to h264, using staxrip default x264 profile constant quality and staxrip default 6 chnl AAC. Container is MKV.

Then Staxrip report this:

---------- Audio Encoding Statistics ----------

Start time: 1:55:09 PM
End time: 3:03:16 PM
Duration: 01:08:07
Speed: 50 fps
Size: 287.3 MB
Bitrate: 280.03 kbps
Video Bitrate: 453 -> 398

My question is about the video bitrate that only 398, is that mean staxrip will encode my DVD using that bitrate? isn't that to low?

thanx.

btw>the encoding not yet finished , so I can't tell the quality.

LRN
22nd October 2007, 10:16
AAC encoding is 1-pass VBR by default. I.e. neroAACenc adapts quality on the fly, based on given threshold (q=0.3, if i remember correctly), thus result audio size is unpredictable. Number you could see in audio profile is just a guess (good guess), and from this log i see that it was around 240 kbps. But encoded audio track size happened to be larger than expected, and StaxRip adjusted video bitrate accordingly.

That is why i am using 2-pass AAC encoding, despite it's relatively low speed, complexity and other issues - it produces exact file size, meaning that StaxRip will use the same video bitrate that i gave, without changes.

By the way, 'constant quality' x264 is 1-pass too, and will give you the same unoptimal quality for video as AAC encoder did for audio.

And the term 'backup' is very innacurate. H.264 with 453 kbps is not enough to backup any DVD without loosing a LOT of quality (either in details or in video resolution), regardless of encoding method (1-pass or 2-pass).

dalihrp
22nd October 2007, 11:24
How come the picked bit rate is so low by stackrip?

But I've read somewhere that constant quality with x264 is the way to go if you don't care about file size, and it's faster than 2 pass.

Now if i want bitrate around 1000-1500 kbps and single CQ pass , how do i get it with staxrip? Staxrip default for cq=22, do i need to change it to 18 or something?

:thanks:

burfadel
22nd October 2007, 11:45
How come the picked bit rate is so low by stackrip?

But I've read somewhere that constant quality with x264 is the way to go if you don't care about file size, and it's faster than 2 pass.

Now if i want bitrate around 1000-1500 kbps and single CQ pass , how do i get it with staxrip? Staxrip default for cq=22, do i need to change it to 18 or something?

:thanks:

Thats almost impossible to know without doing a first pass test! If you want 1000-1500, just use 2-pass! Otherwise choose a CRF and see if it meets your requirements. Depending on the source, a crf of 22 could be 800kbps or 2000kbps, just the way it works

LRN
23rd October 2007, 16:34
Actually, it IS possible to adjust bitrate variation (deviation) in constant quality mode, but i never tried to do that.

How come the picked bit rate is so low by stackrip?
Oh. Good question. I just realized that in constant quality mode StaxRip shouldn't change video bitrate. In fact, there is no pre-calculated video bitrate in this mode at all...Or it is? I don't really know.

constant quality with x264 is the way to go if you don't care about file size, and it's faster than 2 pass.
Yes, 1 pass is always faster than 2, though you can use fast first pass.
Constant quality is not only unprecise (unpredictable file size), but also produces lower quality (on-the-fly bitrate adjustment can not be optimal and leads to quality loss, because codec uses too high bitrate on some simple frames and too low bitrate on some complex frames).
Quality always means 2-pass encoding. I'm not trying to prove that 1-pass is the worst of evils in the world or something. It's just that you said 'backup', and for me it means high quality.

kobe4rings
26th October 2007, 07:04
Hello,

I cap basketball games so and ive been using staxrip for 3 months. A regular basketball game audio is MP3128CBR on an XviD.. am doing my cap Mp4 x264 intermediate quality , so i was wondering what AAC audio profile will give me the same quality as the MP3128CBR? is the AACHE VBR 50-70 too low and is the AAC LC VBR110-150kbps too high? whats the difference between AAC LC and AAC HE and is there anyway to customize the bitrate on either profile because i try to but the end result is the same as the default audio profile. Any Help would be appreciated.

LRN
26th October 2007, 11:43
all default AAC profiles are 1-pass AAC. 1-pass AAC = constant quality AAC. You cannot specify bitrate, you can only change 'q' value. Default q = 0.3. The 'bitrate' field in profile is only for bitrate precalculation, it does not affects AAC bitrate at all.

kobe4rings
27th October 2007, 18:35
all default AAC profiles are 1-pass AAC. 1-pass AAC = constant quality AAC. You cannot specify bitrate, you can only change 'q' value. Default q = 0.3. The 'bitrate' field in profile is only for bitrate precalculation, it does not affects AAC bitrate at all.

ohh i see.. changing the quality level did the trick, thanks :)

otherdarom
29th October 2007, 00:25
Dear Stax,
is it poss. to adjust staxrip so that it logs all the working steps to the log file before beginning of the work - I mean Staxrip logs all command lines to run first to the log file and starts then the working. And my second question ist if it's poss. to reuse the stats file of the project. For example after a system crash during 2. pass -> just look if a stats file is there and ask the user (avidemux does it this way) to reuse this file.

diskborste
1st November 2007, 18:52
I use the standard MP3 VBR 110-150 kbps option in Staxrip when i encode my recorded tv-shows from mpeg2 to xvid with mp3. I want the audio to be mp3 around 128 kbps average but when i use Staxrip my .avi-files the mp3 only has an average bitrate of 80-90.

What should i do, i want the avg bitrate to be around 128 kbps instead of 90? :O

LRN
1st November 2007, 19:27
Click on audio dropdown menu button.
Select MP3->MP3 VBR 110-150 kbps profile.
Click on audio dropdown menu button.
Select Edit
Observe.
Notice -lame( -v --vbr-new -V 5 -b 32 )
This is MP3 encoding parameters.
Refer to Besweet Commandline Reference (http://forum.doom9.org/showthread.php?s=&threadid=91928) for explanation of these parameters.
Tweak parameters accordingly.

diskborste
1st November 2007, 19:41
Click on audio dropdown menu button.
Select MP3->MP3 VBR 110-150 kbps profile.
Click on audio dropdown menu button.
Select Edit
Observe.
Notice -lame( -v --vbr-new -V 5 -b 32 )
This is MP3 encoding parameters.
Refer to Besweet Commandline Reference (http://forum.doom9.org/showthread.php?s=&threadid=91928) for explanation of these parameters.
Tweak parameters accordingly.
Yeah, that's how it is at the moment.

What should i change for a highter avg. bitrate?

swaaye
2nd November 2007, 06:25
I've found that soundtracks usually end up on the low end of the VBR range because they simply don't have that much material playing most of the time. There's a lot of simple sound and silence.

Here is a reference for LAME settings. You see that -V 5 gives you a typical average of 130 kbps, but not with soundtracks.
http://www.hydrogenaudio.org/forums/index.php?showtopic=28124

duckdown
3rd November 2007, 04:46
Amazing program -- couldn't be happier with it -- just one very important question. Since this is just a frontend to VDUBMOD , How do I access the outputting options? I am trying to get my encodes to output in SEGMENTS/CHUNKS like you would find in the "Save" menu of vdubmod.

I'm sure this option is there I just can't find it

Once again, awesome work, and thanks in advance!

LRN
3rd November 2007, 05:50
As far as i know, StaxRip only uses VDubMOD for AC3 audio cutting. I.e. StaxRip is NOT a frontend for VDubMOD.

duckdown
3rd November 2007, 08:34
As far as i know, StaxRip only uses VDubMOD for AC3 audio cutting. I.e. StaxRip is NOT a frontend for VDubMOD.

What does it do all of the xvid encoding in?

And what about the first / second pass options? They're the same ones from vdubmod

LRN
3rd November 2007, 09:17
H-m-m-m. I looked up at XviD encoding, and it is really goes via VDubMOD. Still
1) StaxRip could use VDub instead of VDubMode
2) This is because XviD encoder is in vfw form (first/second pass dialogs you mentioned - that's vfw) and to deal with it StaxRip needs some AviSynth<->vfw glueing software. Which is VDub(MOD). For commandline encoders with avisynth support (such as x264) VDub is not used.
Anyway, there's no commandline options for using VDub (or i can't find them). You have to hack the source and recompile, or add such options to GUI. This is a good feature request though - lack of commandline support really narrows your options. Someone mentioned 'reusing stat-file from 1st pass' - this is only possible at the moment with commandline encoders (you just copy 2nd pass commandline and launch it manually, then do the same for muxing commandline).

It is possible to encode in xvid via ffmpeg (it has AviSynth support). This would fit better for StaxRip, since it does not uses all VDub filters and options anyway...

duckdown
3rd November 2007, 10:13
H-m-m-m. I looked up at XviD encoding, and it is really goes via VDubMOD. Still
1) StaxRip could use VDub instead of VDubMode
2) This is because XviD encoder is in vfw form (first/second pass dialogs you mentioned - that's vfw) and to deal with it StaxRip needs some AviSynth<->vfw glueing software. Which is VDub(MOD). For commandline encoders with avisynth support (such as x264) VDub is not used.
Anyway, there's no commandline options for using VDub (or i can't find them). You have to hack the source and recompile, or add such options to GUI. This is a good feature request though - lack of commandline support really narrows your options. Someone mentioned 'reusing stat-file from 1st pass' - this is only possible at the moment with commandline encoders (you just copy 2nd pass commandline and launch it manually, then do the same for muxing commandline).

It is possible to encode in xvid via ffmpeg (it has AviSynth support). This would fit better for StaxRip, since it does not uses all VDub filters and options anyway...

Hi thanks :) It does use vdubmod; i've watched the encoding process carefully

I do appreciate the info but i am convinced that these options are mostly accessable , especially because i know that stax is just an interface to vdb when using it for this form of encoding

hopefully the author can let me know!!! THANKS alot , just trying to access the file-save options so I can save to CHUNKS just like is integrated into vdubmod menu

Thanks fopr all the help!!

LRN
3rd November 2007, 14:35
Public Overrides Sub Encode()
Dim startTime As DateTime
Dim script As New VirtualDubScript

If Passes > 1 Then
Log.WriteHeader("First Pass Codec Parameters")
SetReg(RegFirstPass)
script.Open(p.TargetAVSDoc.Path)
script.VideoSetModeFastRecompress()
script.VideoSetCompression(VDMSetCompression, p.VideoBitrate / 8)
script.Save(Paths.GetTempDir + p.Name + "_FirstPass.avi")

Log.WriteHeader("First Pass Encoding")
Log.AddLines(script.Text)

script.SaveScript(Paths.GetTempDir + p.Name + "_FirstPass.vcf")
startTime = DateTime.Now

Dim pw As New ProcessWrapper
ProcessForm.ProcessWrapper = pw
p.TargetAVSDoc.Synchronize()

pw.File = GetVirtualDubModPath()
pw.Arguments = "/s""" + Paths.GetTempDir + p.Name + "_FirstPass.vcf"" /x"
pw.Minimized = s.RunAppsMinimized.Value
pw.Wait = True
pw.Priority = s.ProcessPriority.Value
pw.Start()

Point is, VDub script generation is hard-coded and not tweakable. VDub launch commandline is hard-coded and not tweakable.

mutha88
3rd November 2007, 23:20
Hello ! I have a simple question:)

How can i make the target quallity better that 50% in the x264 configuration?

Thank you all of you, sorry if mistaken something :confused:

LRN
4th November 2007, 04:38
Codec configuration->StaxRip->Quality
Of course you understand that this parameter is only for compressibility check, do you?

mutha88
4th November 2007, 11:21
Codec configuration->StaxRip->Quality
Of course you understand that this parameter is only for compressibility check, do you?

Oh, i didn't knew that... i have another simple question :)

Which profile is best for this kind of videos?:



Video: MPEG2 Video 720x480 (4:3) 29.97fps 9800Kbps [Video]
Audio: Dolby AC3 48000Hz stereo 256Kbps [Audio]


and:

Video: MPEG2 Video 720x480 (4:3) 29.97fps 7800Kbps [Video]
Audio: PCM 48000Hz stereo 1536Kbps [Audio]

I am using the HQ - Slowest profile, but is this nessecary for a better compresion? I am currently handling music videos (single vob files) :rolleyes:

diskborste
4th November 2007, 13:11
I've found that soundtracks usually end up on the low end of the VBR range because they simply don't have that much material playing most of the time. There's a lot of simple sound and silence.

Here is a reference for LAME settings. You see that -V 5 gives you a typical average of 130 kbps, but not with soundtracks.
http://www.hydrogenaudio.org/forums/index.php?showtopic=28124
I'm just trying to encode a regular tv-show. This happens with every show that I encode. When i check the bitrate with Gspot it's always around 90-100 avg, i want it to be around 128. I've never had this problem with Gordian Knot.

Can someone please tell me what to change in Staxrip? :thanks:

LRN
5th November 2007, 05:16
HQ - Slowest is always a little better than HQ - Slow. If you got time - use it. The only thing that really need tweaking in codec settings - is matrix. There's a lot of custom matrices, potimized for different content (for example - i saw once special matrix for anime), applying such matrix will improve quality (i think). However, i did not ever tried this, so i can't really tell you anything more. For such advanced topics you should ask in other threads (maybe, x264 main thread at this forum) and look for x264 guides.

Can someone please tell me what to change in Staxrip?
Notice -lame( -v --vbr-new -V 5 -b 32 )
This is MP3 encoding parameters.
Refer to Besweet Commandline Reference (http://forum.doom9.org/showthread.php?s=&threadid=91928) for explanation of these parameters.
Tweak parameters accordingly.
Here is a reference for LAME settings. You see that -V 5 gives you a typical average of 130 kbps, but not with soundtracks.
http://www.hydrogenaudio.org/forums/index.php?showtopic=28124
If LAME thinks 90-100 kbps is enough for such audio at quality=5, then it is so. You could try to raise quality to offset such bitrate lowering.
Your other option is to use 2-pass encoding (always produces exact file size). However, there is no 2-pass mp3 encoder (in 2002 someone asked for that on this forum). You could switch to ogg vorbis though...

laserfan
5th November 2007, 05:22
Using 1.0.0.1 and an HD Xvid encoder setup; I want to convert 1080i to 720p but when I select 1280x720 and save as Default Template.rip, I never get 1280x720--staxrip always goes (IIRC) 672xsomething.

As a result I have to open every file individually and select the 1280x720--I can't batch multiple conversions, I have to run DGindex, select the dimension, and save the Job and go on to the next file. What am I doing wrong??? :confused:

dalihrp
5th November 2007, 08:28
Hi,

I change the default StaxRip AAC 5.1 profile from q=0.3 to q=0.25.
and the resulting MP4 is about half of the original AC3, that is good.

Then I've found the MPC report the MP4 (with q=0.25) as AAC 24KHZ stereo not as AAC 6 cnhl 48KHZ that I usually get with q=0.3.

Do I loose the 6 cnhl with q=0.25?

Unfortunately my speaker system is 2.1 only, so can't test it.

:thanks:

swaaye
6th November 2007, 05:47
I'm just trying to encode a regular tv-show. This happens with every show that I encode. When i check the bitrate with Gspot it's always around 90-100 avg, i want it to be around 128. I've never had this problem with Gordian Knot.

Can someone please tell me what to change in Staxrip? :thanks:

LAME is determining that it doesn't need the higher bitrate for the content of the soundtrack. This is what VBR does. It tries to make intelligent use of the range and quality setting you give it. The average bitrate that they say you will get is a guesstimate based off of music files, probably.

If you really want to make it use more bitrate, set it to -V4 or -V3. Or set it up for ABR or CBR instead of pure VBR. Personally I'd just leave it on VBR (it's best) and accept that TV/movie soundtracks don't need as much bitrate as music.

LRN
6th November 2007, 06:15
Using 1.0.0.1 and an HD Xvid encoder setup; I want to convert 1080i to 720p but when I select 1280x720 and save as Default Template.rip, I never get 1280x720--staxrip always goes (IIRC) 672xsomething.
Check StaxRip preferences (somewhere in main menu). There's max size for resize filter, increase it.

dalihrp, first, try foobar2000 for audio information. It reports more accurate technical info than most players/tools. Check both AC3 and AAC info via foobar2000. Maybe MPC is wrong...
Second, post AAC encoding command line (from 'preview' tab). Maybe there's something wrong with it.
Third, you could try to encode with 0.29, 0.28, etc.
By the way, are you playing resulting (muxed) mp4, or audio-only mp4?

laserfan
6th November 2007, 20:06
I asked why my 1280x720 preset wasn't working:
Check StaxRip preferences (somewhere in main menu). There's max size for resize filter, increase it.
Thanks LRN, that was it! Actually the setting is under View\Options\Automation-Auto Resize Image Size. I set this to 921600 and saved my Template and I get 1280x720 now!

Appreciate the help; I might never have found this on my own! :thanks:

avdw
6th November 2007, 21:57
1st Q) I set the audio bitrate to 112 CBR, yet Staxrip still feeds "audio_rate: 128" to firstpass Xvid.
Also, it always feeds movie length of 1h30m00s to Xvid.

a) Is this normal ?
b) Did I miss something ?
c) Is this a bug ?
d) Whatever the program, it's head-to-head with avi.NET for the BEST encoder tool !!! :)

2nd Q) What's best for normal DVD movie to 700MB Xvid AVI conversion ? CBR or VBR audio ?
Some manuals/guides say CBR, others say VBR ?
I have to add, I want to play the encoded AVI's on a standalone Philips 630, which needs ESS compatibility.

laserfan
6th November 2007, 22:26
CBR or VBR audio ?Well, AutoGK defaults to VBR, but my Sigma Xvid players *hate* VBR audio, so I stay away from it--causes stuttering on playback as if the Sigma chip doesn't know how to deal with it. Dunno about your Philips player tho.

laserfan
7th November 2007, 02:40
A long-time annoyance for me and still apparently in 1.0.0.1 which I just installed: I open source files using DGindex, which demuxes the audio, produces a .d2v, and generates a .log file, after which the StaxRip window reappears. Sample:

---------- Preparing ----------

Preparer: Extract audio and index MPEG-2 using DGIndex
Command line: "C:\Program Files\DGMPGDec\DGIndex.exe" -IF[D:\Legacy.ts] -IA=2 -FO=0 -YR=1 -TN=1 -OM=2 -DRC=2 -DSD=0 -DSA=0 -OF=[D:\Legacy] -exit
Start time: 3:55:02 PM
End time: 3:59:58 PM
Duration: 00:04:56

But then I make some settings changes and Start the Job, and at the end a new .log file is generated and the original is over-written. Thus I lose the above info.

Is this a bug or is there a setting somewhere that I've overlooked?

dalihrp
7th November 2007, 07:45
dalihrp, first, try foobar2000 for audio information. It reports more accurate technical info than most players/tools. Check both AC3 and AAC info via foobar2000. Maybe MPC is wrong...


HI, I've tried foobar2000, and it reports 6 channel AAC.
:thanks:

avdw
8th November 2007, 20:25
Is the StaxRip project still alive ? When can we get an update (Updated DGindex v1.4.9 and some other stuff)

DocMAX
8th November 2007, 20:39
why does staxrip write a first pass avi file in xvid mode? for further processing it just needs the .pass file, which is created while analyzing the first pass.

in x264 mode it does not do this, just creates the .stats file.

kidwicked
8th November 2007, 21:17
i am new to this program tried it when i had a problem with megui works fine on normal dolby 2 channel but when i try to use it on a 5.1 dolby encodeed sat rip the audio drops out sometimes it can be halfway threw the rip or it could happen after 10min of the riped file i have tried to use the acc 5.1 selection but it doesnt make a difference any sugestions of what i am doing wrong ?

laserfan
9th November 2007, 00:48
When can we get an update (Updated DGindex v1.4.9 and some other stuff)I'm using 1.4.9 no problem. You can use anything you want with it, all you have to do is tell Staxrip to stop complaining about the version...

LRN
9th November 2007, 05:39
why does staxrip write a first pass avi file in xvid mode? for further processing it just needs the .pass file, which is created while analyzing the first pass.

in x264 mode it does not do this, just creates the .stats file./quote]Because in x264 mode it is explicitly specified that output stream is null. In xvid mode all encoding is handled by VDub+XviD(VFW). It is (probably) possible to add something like that into VDub script, but since generation of this script is hardcoded into StaxRip, you can't change anything...

[quote]i am new to this program tried it when i had a problem with megui works fine on normal dolby 2 channel but when i try to use it on a 5.1 dolby encodeed sat rip the audio drops out sometimes it can be halfway threw the rip or it could happen after 10min of the riped file i have tried to use the acc 5.1 selection but it doesnt make a difference any sugestions of what i am doing wrong ?
For your info, there is a keys '.' and ',', both residing near right 'shift' on your keyboard. They also have funny '<' and '>' marks on them. Using these keys will bring your messages MUCH closer to standarts of English language, which is essential for compatibility with some readers, who implement only a subset of a whole standart.
On your audio problem: 'drops out' means 'disappears and never appears again' or 'disappears for a while'? Anyways, try to look at source file, at intermediate AAC audio output file (mp4), and compare this with what MeGUI produces. I don't know how MeGUI encodes audio. You could try encoding audio separately in MeGUI or BeHappy.

avdw
9th November 2007, 13:40
I'm using 1.4.9 no problem. You can use anything you want with it, all you have to do is tell Staxrip to stop complaining about the version...

I'll do that, thanks !

dvd_maniac
11th November 2007, 04:58
Getting really fustrated here...
I have had issues with .avi (Xvid/MP3) files that I'm trying to convert to .mp4 (X264/AAC).
Most of them have the audio missing for the last minute or so.
The audio is not out of sync, it just cuts off at the end.
I have tried both .mp4 and .mkv containers.
I have reformatted XP and even tried them on Vista.
What can I do to try and troubleshoot this?

LRN
11th November 2007, 08:01
As usual:

check intermediate AAC (before muxing).
If this AAC cuts off at the end, then
begin
check source MP3 (before converting).
If this MP3 cuts off at the end, then
begin
Raise exception - broken source file
end
else
begin
check MP3->AAC conversion procedure.
Try using different converter (BeHappy, MeGUI internal converter, ffmpeg, etc).
Try using partial conversion:not mp3->(besweet+nero)->aac, but mp3->(besweet)->wav->(nero)->aac
Check intermediate results
if no error found then
begin
Raise exception - unknown error: audio cuts off. Ask your system administrator or ask on Doom9.org forum to get support.
end
end
end
else
begin
check mp4box for errors.
try newer/older version of mp4box
if this does not helps, then
begin
Raise exception - fatal error: mp4box is broken, report to GPAC developers team
end
end


Since you tried both mkv and mp4box, then it's definitely conversion error...

dvd_maniac
11th November 2007, 15:57
I can't believe I forgot this...
I had to change the settings in VirtualDubMod to NOT correct MPEG Layer III audio streams.
That's why some were encoding fine and others not. Some videos had VBR MP3 audio and some did not.
It has been so long since I wiped my system and re-installed everything from scratch that I forgot this simple little step.
Didn't notice this until I viewed the intermediate audio file...

Thanx LRN for pointing me in the right direction.

Zorrander
12th November 2007, 22:55
I was poking around on staxrip and noticed an x264 profile for lossless encoding. After reading up on it a bit I tried it on a test vob that was about 12 minutes long and 340MB in size. Stax is producing a file about 1.5GB in size at the end of encoding. Am I missing something here or do you think the settings are incorrect for the encoder? I figured at worst I'd get a file around 300MB but not this. :)

LRN
13th November 2007, 06:56
VOB (MPEG2) is lossy. x264 in lossless mode is lossless. Lossless codecs produce bigger files than lossy.
Example: try saving lossy JPEG (120 kilobytes) image as a lossless BMP image. No loss <-> no compression <-> bigger file size.

Zorrander
13th November 2007, 23:59
Makes sense, thanks for clearing it up for me.

LRN
14th November 2007, 17:41
No problems.
And remember Wizard's Tenth Rule: "Willfully turning aside from the truth is treason to one's self". You should know better, Zorander (http://en.wikipedia.org/wiki/Zeddicus_Zu'l_Zorander) :)

avdw
14th November 2007, 22:26
1) Is there any way we could add "ColorMatrix(hints=true)" to the Filters ?

2) Also, there seems to be a bug in the crop routine, opening the Crop window automatically Autocrops, but if you change one crop value, the file won't get cropped at all.

LRN
15th November 2007, 09:34
1) Is there any way we could add "ColorMatrix(hints=true)" to the Filters ?
Right click, add misc converttorgb, right click, edit, change converttorgb to ColorMatrix(hints=true)

Crop issue sounds weird. This is normal use of Crop - use autocrop, then adjust the results. It worked for me every time i tried to use it...

dalihrp
15th November 2007, 12:17
How to add brightness and more color saturation with Staxrip, is it possible?

thanks

avdw
17th November 2007, 00:01
Right click, add misc converttorgb, right click, edit, change converttorgb to ColorMatrix(hints=true)

Crop issue sounds weird. This is normal use of Crop - use autocrop, then adjust the results. It worked for me every time i tried to use it...
Thanks LRN. You suggest we edit an existing filter ? Is there an option to actually ADD a filter ?

LRN
17th November 2007, 02:13
right click, profiles, scroll down to the end, press 'enter', type in a new profile...IIRC. I don't really pay attention to details, it (mostly) works natural and obviously.

LRN
17th November 2007, 13:54
dalihrp, the question is "How to add brightness and more color saturation in AviSynth?", because StaxRip can do anything AviSynth can. In this forum thread this question is off topic.

laserfan
17th November 2007, 15:35
Is there an option to actually ADD a filter ?The nice thing about staxrip is you can do (and automate) just about every aspect of it. The not-so-nice thing about staxrip is that it isn't always obvious how to do it! It's all doable if you are persistent with exploring menus & dialogs...and Help files!

duckdown
30th December 2007, 18:45
I'm trying to make an x264 encode but DGIndex is demuxing to .mpa format audio (MPEG Audio, something I don't see often.. Usually it is AC3) and I cannot find a suitable AUDIO TRACK option to just leave the audio uncompressed.

I cannot choose AC3 - Use existing file, and same goes for MP3, so what am I supposed to do here? The audio track keeps appearing in ORANGE because I can't choose how to handle it and StaxRip wont let me proceed into the encode part.

Help!

LRN
30th December 2007, 20:36
I think it because StaxRip does not knows 'mpa' audio format (neither do i...).
I'm not even sure it is permissible to mux mpa into mp4 (you're making mp4, right?).
If you're sure you want to do it, try to encode without audio (adjust the file size accordingly), and after that mux audio file into result file manually.

buzzqw
30th December 2007, 20:45
mpa is mpeg 1 audio layer 2..the audio of svcd...

and yes.. is muxable into mp4 BUT must be ranamed .mp2

BHH

Poopoo
30th December 2007, 21:39
Hi, is this program still in development, since it's the only program that is able to calculate the best resize value, and from the whole bunch of programs, Staxrip clearly gives the overall best quality encodings, definately the most cleverly programed converter of them all.

It would be a shame if this program would be abandoned. :(

LRN
30th December 2007, 23:03
I found MeGUI to be, well, mostly as good as StaxRip, and in some field even better.
StaxRip is good for newbies and for simple encodings, because it's so automatized and easy to use. But the more elaborate things you need to do, the less easy is to do them in StaxRip, eventually you have to do some things manually.
MeGUI is less automatic in most cases, but it gives you a bit more possibilities, and is highly modular.
It's like Opera vs Firefox. Both are good, but in different ways.

laserfan
31st December 2007, 16:07
Although I still use AutoGK and Fairuse Wizard occasionally, I graduated to StaxRip and so far it's done everything I want; I don't worry about "future development" cuz I haven't hit any walls with it yet.

I tried MeGUI recently and it's a bit more complicated, but I can see that as I become more learn-ed about conversion I will likely go to MeGUI first in the future.

Kudos and high&low-fives to the developers for giving us so many outstanding tools!!!

:thanks:

duckdown
8th January 2008, 02:05
How can I make a completely custom commandline for my x264 encoding?

All I can get it to do is "Show commandline" under the Tools dropdown box, but nowhere to physically customize it 100%

Thanks

LRN
8th January 2008, 03:30
You can add additional commandline arguments in codec settings. So, if you want 100% customization, clear all checkboxes and write everything by hand :)

duckdown
8th January 2008, 18:47
You can add additional commandline arguments in codec settings. So, if you want 100% customization, clear all checkboxes and write everything by hand :)

Hi , thanks, I tried this but it still makes the command ridiculously long even when I clear all checkboxes.

It has some kind of stupid built-in presets that can't be eliminated.. I don't get it

duckdown
8th January 2008, 18:49
Also, can someone tell me how to ADD BORDERS when I crop instead of actually making the frame size smaller?

Like if I have recorded 1280*720 content, and theres a line of white noise at the top of screen, if I crop it out using StaxRip it changes the frame size to something like 1270*720 , how can I just get it to add black to cover it up without actually changing the frame size?

I don't want to have to resize the show just because of the one imperfection, but want to maintain 1280*720 resolution

Thanks

stax76
9th January 2008, 20:33
Hi all,
I'm sorry for being in silent mode for so long, as a sign of life I've released some minor fixes (http://www.planetdvb.net/filebrowser/staxrip/download/binary?sort=desc&order=Name) lately :)

@duckdown

I don't know if there is a better way other than adding borders after cropping. You can make a filter profile (right-click filters and select 'Profiles...') but don't put it in the 'Crop' category since StaxRip would calculate and display the cropped image size otherwise, use the 'Misc' category for instance. Now you can use your new filter profile instead of the crop filter.

[Misc]
Borders = Crop(%crop_left%,%crop_top%,-%crop_right%,-%crop_bottom%)%newline%AddBorders(%crop_left%,%crop_top%,%crop_right%,%crop_bottom%)


StaxRip had MPA defined as stream type but there wasn't a audio mux profile for it and it wasn't possible to create one. The MP4 muxer didn't except that stream type either. You can download a hotfix (http://www.planetdvb.net/non_drupal/staxrip/StaxRip_Hotfix.exe)which addresses these issues. You have to create a audio profile for it in the audio profiles dialog, click 'Add' and select 'Misc/MPA - Add Existing File'.

laserfan
9th January 2008, 23:09
I've released some minor fixes (http://www.planetdvb.net/filebrowser/staxrip/download/binary?sort=desc&order=Name) lately :)Many Thanks! Hey Stax, the download is 50% bigger, but only "minor fixes"? I can't find a change list--did you make one?

:thanks:

P.S. Oops, I should add that I haven't dl'ed & installed (maybe the changes are listed there), but I don't like to do that before I know what's in a release.

Deinorius
10th January 2008, 02:13
You need now the whole .NET Framework 3.5. There's a difference of nearly 10 times with the installations file. (Don't really want to know the difference after install. *shock*)

What advantages do we get from this new framework?

Can someone post the changelog of the newest version? I don't really know, if I want to install 3.5 (It's quite huge. How many Bytes does it need on the harddrive after install?), if these minor fixes are big enough.

stax76
10th January 2008, 18:46
@laserfan

The filesize increase is caused by the setup which checks for the required .NET Framework. Changes for the latest version and hotfix are:


1.0.0.3 (2008-??-??)
Muxing audio profiles are now editable from the audio profiles dialog in order to edit the stream type
MPA and MP2 were added to be valid stream types for the MP4Box muxer
Warning added to be shown when trying to open files containing character in the filename the command line parser of DGIndex can't cope with

1.0.0.2 (2008-01-06)
StaxRip is now distributed with a installer checking if .NET framework 3.5 is installed. Unfortunately it wasn't possible to make the auto updater of the old version beware of setup versions so the first setup version has to be downloaded manually
The following external applications were updated: NeroAACEnc, DGMPEGDEC, DivX, MP4Box, XviD, x264, VirtualDub, MKVtoolnix. Furthermore more applications are hosted by myself since my webspace now has unlimited traffic
A bug was fixed causing a crash using the 'Edit' feature in the profiles dialog
A bug was fixed regarding the setup, settings location, local and roaming application data directory
A bug was fixed with the turkish and maybe other locales causing a crash while encoding
A bug was fixed causing StaxRip to auto resize the image size even when this feature was disabled
A bug was fixed not allowing to define the escape key as shortcut in the menu editor
The 'Deblock' filter of DGIndex was added to the profile defaults
On a crash StaxRip now saves the active project silently instead of showing a dialog asking to save which had a recursion issue. On next startup the crashed project gets loaded automatically


@Deinorius

I didn't know 3.5 don't install on w2k and people would mind install it on XP/Vista. Much likely I can go back to 2.0 (or at least 3.0) as currently it still compiles against 2.0 anyway (IIRC the new Visual Studio version updated it to 3.5 automatically).

If I would develop more I would want to use new features rather sooner than later because there are a lot of exciting new features like WPF and LinQ but since development is slow anyway there isn't such a big need for it.

Deinorius
10th January 2008, 19:42
WPF and LinQ? What could I use it for?

I just saw, that update from 3.0 to 3.5 on a Vista Simulation needs nearly 300 MB. Oh my God! O_O
I don't know, if I want to know the difference between 2.0 to 3.5.

foxyshadis
10th January 2008, 20:26
WPF and LinQ? What could I use it for?

I just saw, that update from 3.0 to 3.5 on a Vista Simulation needs nearly 300 MB. Oh my God! O_O
I don't know, if I want to know the difference between 2.0 to 3.5.

It only needs 10 megs download here, 25 installed. Must be something screwy in yours?

Poopoo
11th January 2008, 08:50
It's no so merely the harddisk space it needs (.Net Framework 3.5), but rather the goddamn CPU cycles it constantly eats.

Why for christs sake, do we need to install this thing in the first place ?

Lucky enough, Staxrip itself is a joy to use and gives great results.

Stax, just one question, how do we know which dimensions to resize to, to give the best results when converting from DVD to AVI ? I've run the Compressions Check, but it always results in red colored Quality or Aspect Ratio Errors.:stupid:

Deinorius
11th January 2008, 20:32
It only needs 10 megs download here, 25 installed. Must be something screwy in yours? Really? Its just a vLite modified Vista Simulation with VirtualPC.
Ich will test an install of 3.5 on a clean WinXP on my new Laptop, I will get next week. Then I will see the real difference. (I have no real interests in Vista, especially when I think, that Windows 7 shall come 2009.)

s3rious
12th January 2008, 04:39
hi stax,
i have a feature request whether it will be possible to have scrolling bars for selecting audio bit rate instead of the custom defined profiles. it would be easier for amateurs like me instead of messing with the command line options

stax76
13th January 2008, 21:09
I forgot to change the compile options for my general library, that compiles only with 3.5 because it implements Extension Methods (http://en.wikipedia.org/wiki/Extension_method) with about 100 references in the solution. I've missed such a feature badly since .NET 1.0 so 3.5 is the requirement now.

will be possible to have scrolling bars for selecting audio bit rate instead of the custom defined profiles.

For which dialog?

how do we know which dimensions to resize to, to give the best results when converting from DVD to AVI ?

I don't know your requirements and preferences, you could crop the sides a little bit more for instance.

All I can get it to do is "Show commandline" under the Tools dropdown box, but nowhere to physically customize it 100%

It's not popular and might have limitations but what about 'Profiles/Encoder/Misc/Command Line Example'?

weaver4
14th January 2008, 00:09
Since 3.5 is now required what version of Visual Studio is needed to modify the source code?

burfadel
14th January 2008, 06:36
For the preview where you can select start & stop points, is it possible to have a faster version of this, since its only definining frame numbers at which to trim the video. For normal use the preview windows is instaneously fast, however there are two scenarios where it is slow.

The first is when you are editing HDTV, 1920x1080 MPEG, for high res content there should be a 'fast but inaccurate' decoder, as with 1920x1080 a loss of resolution will still show you where you need to cut, but be faster & smoother.

The second situation is where you have several filters selected, especially slow filters. Its not a bad thing to see what the output will look like (although the preview isn't as good (slightly) as the actual output picture it seems), just that for editing there's little point in automatically running the filters over it. If you run a slowish filter and 1920x1080 resolution together editing can become quite slow! (even with the filters manually disabled the decoding is a little slowish).

s3rious
14th January 2008, 17:26
For which dialog?


The dialog where the bit rate for Audio is selected i.e it is currently in profiles like MP3 CBR 128, but if i have to encode at something below 128 then i have to mess with the command line which sometimes gives good results but sometimes it messes up.it would be easier if staxrip had scrolling bars for changing the audio bit rate like the ones in video resize dialog box where one just has to drag
as per one requirement.IMHO it will be more useful when encoding with AAC codec.

LRN
14th January 2008, 17:47
I had the same idea http://forum.doom9.org/showthread.php?p=1044643#post1044643 (7th)

stax76
14th January 2008, 18:58
Since 3.5 is now required what version of Visual Studio is needed to modify the source code?


Visual Studio 2008

is it possible to have a faster version of this

IIRC the code is mostly native platform calls so there is little room for optimisation.

The second situation is where you have several filters selected

As workaround you could make a filter profile using something like:


[Source]
return half mpg source = return MPEG2Source("%source_file%").ReduceBy2


I thought about a way making things more convinient but didn't had a good idea yet on how exactly to do it.

@LRN

It's a big list to cope for me :) Maybe you can remove some not so important items, order by priority and describe more detailed.

@s3rious

If you mean the dialog titled 'Audio Settings', there is a text box called 'Bitrate'.

LRN
14th January 2008, 20:50
9 Reasons To Update StaxRip to next version. Revised. Sorted by decreasing priority from top to bottom

*) New software versions. Update all the stuff that comes with StaxRip (filters, codecs, etc). This is top priority.

*) Update x264 (and other encoders) profiles.

*) Support for %track_bitrate% variable that corresponds to value of "bitrate" field in audio profile. At the moment this value is used only to pre-calculate resulting audio track size, actual encoding bitrate is hard-coded into profile commandline.

*) More than 2 audio tracks. I think it is not hard to implement variable number of audio tracks. Or at least 4-8. Two just isn't enough.
Look at MeGUI, it allows you to mux arbitrary number of audio tracks, not just 2.

*) Use subtitles and chapters files size in video bitrate calculation. At the moment StaxRip would ignore 20-megabyte long subtitle file when coming up with video bitrate. This causes miscalculations and as a result - wrong target file size.

*) Resizeable windows. Some controls (these with a lot of text) should scale themselves depending on window size. This may improve usability.

*) More comfortable AviSynth script editor. Current editor is awkward. Like, when you doubleclick on the line to edit it, it unchecks this line (you're clicking NOT on the check box). And one short line is not enough for some scripts. Consider changing these editboxes into multiline editboxes (maybe with auto-resizing, so it would increase it's vertical size when you add new line).

*) Extended logging. It would be good to save some codec's data (besweet, x264 and mp4box console output, and much more). For BeSweet it could be done via -logfile switch. For x264 and mp4box - via stdout redirect.

Include logs from commandline windows of commandline tools and from tools logfiles (from BeSweet, VirtualDub, etc) into StaxRip's logs.
One of the reasons i want this to be - because x264.exe outputs very nice encoding statistics at the end of the encoding, and it is wasted, because StaxRip does not saves x264 output anywhere. x264 may even calculate SSIM metric (some people prefer to switch it off, but from my point of view it does not affects performance THAT much).

*) New AAC profiles for 2-pass encoding. This isn't top priority. On the other hand, it's easy (just add two more filters by default, you don't really need to change StaxRip code).

s3rious
15th January 2008, 17:49
*) Support for %track_bitrate% variable that corresponds to value of "bitrate" field in audio profile. At the moment this value is used only to pre-calculate resulting audio track size, actual encoding bitrate is hard-coded into profile commandline.

That is exactly what i wanted to point out . so to hit the perfect file size one has to mess with the BeSweet command line which sometimes gives the required results but sometimes it messes up . if you can somehow fix this i dont mind.

weaver4
16th January 2008, 17:35
I found that once I installed Staxrip it caused MeGui to fail. After some investigation I found that it changed the version of dgdecode.dll in the Avisynth plugin directory.

I was wonder if in the future if it was possilble to use a new name for this file, maybe dgdecode-staxrip.dll, and use that instead of changing the default dgdecode in the plugin directory?

BTW: To fix MeGui I downloaded 1.4.9 of DGMPGDec and installed it in the MeGui Tools directory replacing DGIndex and all was well with MeGui again.

The other problem that I am having is with version 1.0.0.1 I encoded a movie in Xvid Q3.0 and the size was 1891MB and I encoded the same movie with 1.0.0.2 and the filesize is 1969MB. (Audio was at the same rate.) With DivX Q4.0 the filesize went from 1953MB to 2023MB. Why are the files larger?

s3rious
16th January 2008, 17:47
I found that once I installed Staxrip it caused MeGui to fail. After some investigation I found that it changed the version of dgdecode.dll in the Avisynth plugin directory.

I was wonder if in the future if it was possilble to use a new name for this file, maybe dgdecode-staxrip.dll, and use that instead of changing the default dgdecode in the plugin directory?

BTW: To fix MeGui I downloaded 1.4.9 of DGMPGDec and installed it in the MeGui Tools directory replacing DGIndex and all was well with MeGui again.



to clear the problem change the avisynth plugin directory in the respective applications folder from the settings option, instead of the default C:/program Files/Avisynth/Plugins to something like C:Staxrip/Settings/Applications/Avisynth plugins for staxrip and a similar one for megui so you wont have any problems

dvd_maniac
17th January 2008, 21:02
Whenever I try to convert my Mpeg-2 captures it seems to extract the audio twice...Once using ProjectX and then again using DGIndex. Is this really neccessary or can I disable ProjectX?

From the beginning of the log file:
---------- Preparing ----------

Preparer: Extract audio from MPEG-2 using ProjectX
Command line: "F:\Program Files\Java\jre1.6.0_03\bin\java.exe" -jar "F:\StaxRip_1.0.0.0\Settings\Applications\ProjectX\ProjectX.jar" "S:\Done\Done\MarriedWithChildren-ShoelessAl.mpg"
Start time: 2:59:29 PM
End time: 3:02:32 PM
Duration: 00:03:03

---------- Preparing ----------

Preparer: Extract audio and index MPEG-2 using DGIndex
Command line: "C:\StaxRip_1.0.0.0\Settings\Applications\DGIndex\DGIndex.exe" -IF[S:\MarriedWithChildren-ShoelessAl.m2v] -IA=2 -FO=0 -YR=1 -TN=1 -OM=2 -DRC=2 -DSD=0 -DSA=0 -OF=[S:\MarriedWithChildren-ShoelessAl] -exit
Start time: 3:02:32 PM
End time: 3:04:11 PM
Duration: 00:01:38

MKVCrazy
18th January 2008, 00:38
Hi, I use StaxRip quite long now and I REALLY liked it but when I knew about the pic filters I can see that most of my clips encoded by StaxRip are darker. Is there anyway to adjust itÉ

In MeGUI

I can do it by writing a few lines in the avs file.

tweak (sat=1.1,bright=1.1)

but in StaxRip it doesnèt seem to work and I donèt know where to do it :à PLUS

Where is the option to use a Custom MatrixÉ

Thanks for reading this.
MKVCrazy.

laserfan
18th January 2008, 16:36
... can I disable ProjectX?Absolutely. Go to View --> Options (Project Options) and select Preparation and Disable "Extract audio from MPEG2 using ProjectX".

MKVCrazy
19th January 2008, 02:15
Hi, can someone pls help?

How do I tweak the colors? like brightness, saturation, etc

and I don't know how to let it encode one clip by one clip. For example MeGUI has the place to store all the jobs and to start when we want. But can StaxRip do multiple tasks? encode one after one itself without waiting in front of the computer to finish the first encode and start another?


Thanks.

The program looks good.



MKVCrazy.

nohead
23rd January 2008, 21:52
wow, a new version to play with. I'm kinda late to discover there's a new version out... LOL

dvd_maniac
26th January 2008, 06:00
I upgraded a few days ago from 1.0.0.1 to 1.0.0.2 and now I keep getting an mp4box.exe error "Send or Don't Send". I checked the encoded .mp4 file and it plays fine. I can't tell exactly what the error is and it will not continue on to the next encode in the Queue until I click on Don't Send.

Is this happening to anybody else?

LRN
26th January 2008, 09:40
Buggy version of Mp4box. Happens with me too (i'm using MeGUI at the moment)
MP4Box - GPAC version - 0.4.5-DEV - compiled by Kurtnoise - Sep 14 2007

Glorioso
26th January 2008, 16:02
I'm using StaxRip to make AVI/XVid files to watch on my 360, but i get some "pauses" in the playback, is there any profile to the 360?

dvd_maniac
27th January 2008, 02:17
Any idea of when a fix for the mp4box.exe error will be fixed? I do a lot of batch encodes and it sucks having to click "Don't Send" before it starts the next encode...

Poopoo
30th January 2008, 13:32
Any idea when the program will be updated to support the newest x264 revisions and other external tools updates.

weaver4
31st January 2008, 16:21
I'm using StaxRip to make AVI/XVid files to watch on my 360, but i get some "pauses" in the playback, is there any profile to the 360?

The 360 uses HP@L4.1 profile (I believe) so follow the instructions that I made here: http://www.networkedmediatank.com/viewtopic.php?t=1342

Sorry, I misread your first email, my answer was for H264 not xvid.

Glorioso
1st February 2008, 15:04
The 360 uses HP@L4.1 profile (I believe) so follow the instructions that I made here: http://www.networkedmediatank.com/viewtopic.php?t=1342

Sorry, I misread your first email, my answer was for H264 not xvid.
THX
I'm using Xvid because my PC is rather slow at 264 encoding... i think the problem is the use of above 5k bitrates, i've made some tries with limited bitrate in saml files and didnt get any slow downs, i'm going to do a Large, 4.7GB, file to see the results.

kevbo
7th February 2008, 03:13
Weird request, and this is actually more of an Avisynth thing, but since my primary usage of all of these tools is through StaxRip, I thought I'd start here.

I've made some nice 24fps xvid avi's using StaxRip. They look lovely on my PC (although I think Reclock helps playback on them, since I have a 60Hz LCD monitor). However, when played on my Philips set-top DVD player, they judder, a lot. It doesn't even look like 3:2 pulldown: it looks like the player just plays the video at full speed until it gets too far ahead of the audio, then just pauses the video for a bit to let the audio catch up. The video/audio never appears to be truly in sync, and on panning shots, the jumping is very very visible.

So: how to solve this? I have nice FILM sources, and everything in the process has nice, IVTCed frames...but I kind of want to Telecine everything back together in the end so that it plays smoothly on the TV.

Any ideas? Is this possible? Does this affect anyone else?

Kevin

qwan
7th February 2008, 18:47
I dont why but offlate staxrip is taking around 10 to 16 hours to encode the 3rd pass of a 45 minute file
http://img113.imageshack.us/img113/6400/staxcq0.th.jpg (http://img113.imageshack.us/my.php?image=staxcq0.jpg)
The first and the second pass take not more than 1 hour each.
I have not encoded anything for some time now, but earlier I would encode a 45 minutes file in around 3 and half hours.
I had staxrip 1.0.0.1
Infact in that I completed the 3rd pass which took 24 hours and at the end of it there was an error which "file already exists"
I was left with a video only file. I tried muxing the audio ofter converting it to aac but there is audio sync problem.

I then downloaded the latest version of staxrip and still the same problem.
I tried encoding in megui(i have been successful only once in my life) and I am getting some error when I use the autoencode option.

I really dont know what to do I am trying to encode this file from so many days.
Incase you are wondering why I am using 3pass encoding, well I am encoding it at 350 kpbs it is 624* resolutions video. I am aiming for a size of below 200mb. I have done it before with excellent results. I just dont know what is going wrong here.
Thanks

LRN
8th February 2008, 10:23
Post x264 commandlines?

nohead
8th February 2008, 21:56
Mmm, since I installed vista sp1(ultimate x64), I don't get mp4 error anymore... Don't know if it's related... :rolleyes:

betard
8th February 2008, 22:35
I just discovered Staxrip and encoded my first xvid but I am having issues with hardcoded subtitles that appear in the movie but not on my avi...

The movie I am trying to get to work is "Babel", and when I play it in my dvd player subtitles appear for all the non-english parts. But when I encode it, the subtitles are not present.

I tried "Tools --> Add Forced Subtitle" chose my .idx file, then a pop-up appears with a dropdown with 4 "english" options, I tried all of them, but each one hardcoded subs for the english dialog as well.

Can anyone help me figure this out? Is there another program I could use to read the sub files to know which one to use?

swaaye
13th February 2008, 04:44
So, how come this crashes Staxrip when it comes out of the automatic VOB indexing? It doesn't crash if I open the D2V file afterwards.... Preview works. Everything seems to work except when its doing whatever at the end of VOB indexing.


clip = MPEG2Source("%source_file%", idct=3)
clip = (framerate(clip) > 29) ? clip.TFM().Tdecimate(hybrid=1) : clip
clip = clip.Crop(%crop_left%,%crop_top%,-%crop_right%,-%crop_bottom%)
clip = clip.BicubicResize(%target_width%,%target_height%,0,0.5)
return clip


edit: Autocrop seems to crash... perhaps that's what's going on...

weaver4
15th February 2008, 16:14
Does Staxrip automatically detect Interlace and IVTC? When I open a video at 30fps StaxRip always made a 24fps video out of it so I assumed it did. But one video did not come out right, so I am now wondering.

LRN
16th February 2008, 09:35
No auto-detection. This isn't MeGUI :)

weaver4
16th February 2008, 13:38
Then why do 27.97fps NTSC videos end up as 23.97fps? It must be doing some auto detection. And the program does include the MediaInfo.dll which can detect FrameRate, Film and Interlace.

What I don't understand is that my vobs are 29.97fps and they get encoded to 23.97fps even though the "Field" filter is not checked and the IVTC option is not selected.

Here is what mediainfo says about the original vob:

Frame rate : 29.970 fps
Standard : NTSC
Chroma : 4:2:0
Interlacement : Top Field First

LRN
16th February 2008, 15:18
Open d2v project in text editor and see what frame rate it contains.

weaver4
16th February 2008, 15:38
The d2v file says:

Frame_Rate=23976 (24000/1001)

So it is 23.976

Glorioso
20th February 2008, 22:29
Can someone tell me the best profile to use for a MP4 file to play at 360 or PS3? (720p or 1080p)

stax76
26th February 2008, 23:35
@weaver

you can find something here: http://forum.doom9.org/showthread.php?p=767752#post767752

@all

I try to catch up on unanswered issues soon!

stax76
27th February 2008, 13:07
New software versions. Update all the stuff that comes with StaxRip (filters, codecs, etc). This is top priority.

What would be most important to be updated in the latest unofficial build (http://www.planetdvb.net/non_drupal/staxrip/StaxRip_unofficial.exe)? I wonder if it would make sense to display the build date after the version information in the external applications dialog?

Update x264 (and other encoders) profiles.

added to to do list

Support for %track_bitrate% variable that corresponds to value of "bitrate" field in audio profile

I've added it but named it %bitrate% and I've updated the help in the audio settings dialog.

More than 2 audio tracks.

I think multiple streams would be harder to code and I don't know how many people would want to watch a movie three times with different language each. Now it's too late since it would be a major task, StaxRip does a lot automation, verification and has advanced feature like macros and commands which all have relations to the audio implementation so I highly doubt such a change would be a trivial task.

Use subtitles and chapters files size in video bitrate calculation. At the moment StaxRip would ignore 20-megabyte long subtitle file when coming up with video bitrate. This causes miscalculations and as a result - wrong target file size.

It does some calculation, IIRC depending on length about 1.5 MB each vobsub language. You'll find it searching the code for 'overhead'. Any better ideas?

Resizeable windows. Some controls (these with a lot of text) should scale themselves depending on window size. This may improve usability.

About which windows are we speaking?


More comfortable AviSynth script editor. Current editor is awkward. Like, when you doubleclick on the line to edit it, it unchecks this line (you're clicking NOT on the check box). And one short line is not enough for some scripts. Consider changing these editboxes into multiline editboxes (maybe with auto-resizing, so it would increase it's vertical size when you add new line).

I've fixed the double-click issue, never thought about the need of multi-line edit boxes but I will think about it.

Extended logging. It would be good to save some codec's data (besweet, x264 and mp4box console output, and much more). For BeSweet it could be done via -logfile switch. For x264 and mp4box - via stdout redirect.

Include logs from commandline windows of commandline tools and from tools logfiles (from BeSweet, VirtualDub, etc) into StaxRip's logs.
One of the reasons i want this to be - because x264.exe outputs very nice encoding statistics at the end of the encoding, and it is wasted, because StaxRip does not saves x264 output anywhere. x264 may even calculate SSIM metric (some people prefer to switch it off, but from my point of view it does not affects performance THAT much).


Does megui have such logging? If so I could look at both, application and implementation.


New AAC profiles for 2-pass encoding. This isn't top priority. On the other hand, it's easy (just add two more filters by default, you don't really need to change StaxRip code).

How would such a profile look like? Would it use pipelines or a temp file, how big would such files be and what about multi-core CPU?

@weaver4

I was wonder if in the future if it was possilble to use a new name for this file, maybe dgdecode-staxrip.dll, and use that instead of changing the default dgdecode in the plugin directory?

I think it's better to configure megui and staxrip pointing to the same application, in that case the latest stable release of DGIndex/DGDecode. I try to keep application versions up-to-date. of course it's not nice breaking other applications so I have to think about this issue in order to provide the smoothest possible user experience.

The other problem that I am having is with version 1.0.0.1 I encoded a movie in Xvid Q3.0 and the size was 1891MB and I encoded the same movie with 1.0.0.2 and the filesize is 1969MB. (Audio was at the same rate.) With DivX Q4.0 the filesize went from 1953MB to 2023MB. Why are the files larger?

This can be examined by comparing StaxRip logfiles of the different StaxRip versions using a diff tool like WinMerge.

to clear the problem change the avisynth plugin directory in the respective applications folder from the settings option, instead of the default C:/program Files/Avisynth/Plugins to something like C:Staxrip/Settings/Applications/Avisynth plugins for staxrip and a similar one for megui so you wont have any problems

Wouldn't megui than not also use the new dirrectory, I think both applications use auto loading by default.

Whenever I try to convert my Mpeg-2 captures it seems to extract the audio twice...Once using ProjectX and then again using DGIndex. Is this really neccessary or can I disable ProjectX?

What are the output filenames of ProjectX?

In MeGUI

I can do it by writing a few lines in the avs file.

tweak (sat=1.1,bright=1.1)

StaxRip don't allow loading avs files because this can't work with the AviSynth abstraction StaxRip uses in order to provide the best possible user experience in regard of getting the job done quick and easy. It's still possible to use custom filters, there is a filters dialog in the main menu, please read the help in this dialog.

Buggy version of Mp4box. Happens with me too (i'm using MeGUI at the moment)
MP4Box - GPAC version - 0.4.5-DEV - compiled by Kurtnoise - Sep 14 2007

Didn't happen to me yet, is there a better version?

I just discovered Staxrip and encoded my first xvid but I am having issues with hardcoded subtitles that appear in the movie but not on my avi...

I changed this code lately, maybe it works better now, you can download it here: http://www.planetdvb.net/non_drupal/staxrip/StaxRip_unofficial.exe

LRN
27th February 2008, 13:34
It does some calculation, IIRC depending on length about 1.5 MB each vobsub language. You'll find it searching the code for 'overhead'. Any better ideas?
H-m-m, i did not thought it does. However, i was speaking about these TTXT files i have been using. While they are much smaller than vobsub files, there may be a whole lot of them, so you can expect 1-2 megabytes of overhead. I'll tell you what really happens, after i make some measurements myself.

About which windows are we speaking?
AviSynth script editor, profile editor (where you can edit command line). Main window (it has some command lines and paths).

Does megui have such logging? If so I could look at both, application and implementation.
No, it doesn't. But i could try to make such implementation...You're using CreateProcess() to spawn processes such as besweet.exe and x264.exe? I'm not familiar with VB and i don't know how process creation is done there.

How would such a profile look like? Would it use pipelines or a temp file, how big would such files be and what about multi-core CPU?
How - see my previous posts.
Temp file. Neroaacenc does not supports 2-pass encoding from stdin.
How big - well, a few gigabytes. I don't think space is an issue. After all, some space is required for video stream (which may be big enough) anyways.
Nothing about multi-core CPUs. I don't know anything about muti-threading in neroaacenc.
Sadly, there's some weird problems with neroaacenc working in 2-pass mode. One guy came to me and told me that on some bitrates it just cuts the track off in the middle. Or something like that. In 1-pass mode it encodes ok. Looks like a bug to me, but i don't think guys at Nero would care to fix it soon...
So if you don't want to do it - here's a good reason for not doing it.

weaver4
27th February 2008, 14:33
@weaver

you can find something here: http://forum.doom9.org/showthread.php?p=767752#post767752

@all

I try to catch up on unanswered issues soon!

I'm sorry I don't understand. Are you saying that staxrip automatically does what this thread shows or that I should do in manually before I encode?

Deinorius
27th February 2008, 14:37
@Stax
What I'm missing very much is modifying CLI of the muxer. Ich would like something like you already use with encoder cli. Adding and removing cli functions but without any 1.pass of course.

weaver4
27th February 2008, 14:43
the x264 build that uses "adaptive quantization" as default and has "adaptive quantization sensitivity" has just about screwed up every x264 gui out there. I just wanted to warn you before you do an update to the latest x264 and screw up you great app. It really makes a mess out of single pass crf encodes like I do.

Deinorius
28th February 2008, 08:41
Do you mean Cefs patched builds?

LRN
28th February 2008, 11:08
What's wrong with --aq-strength and --aq-sensitivity ? I thought they are supposed to improve the quality, not to screw x264 GUIs...

buzzqw
28th February 2008, 14:01
the x264 build that uses "adaptive quantization" as default and has "adaptive quantization sensitivity" has just about screwed up every x264 gui out there.

it just screwed CRF encoding, NOT 2 pass encoding

BHH

weaver4
28th February 2008, 15:15
buzzqw: Your right, like I said in my post it screwed up my crf encodes.

LRN: It made the crf (constant quality) encodes file size go up by 75% over where it use to be. It was on be default and the GUIs had no way to turn it off, or set the sensitivity.

Deinorius: I don't know where the builds came from.

stax76
1st March 2008, 18:55
@LRN

The filters dialog and the audio settings dialog remember the size now (http://www.planetdvb.net/non_drupal/staxrip/StaxRip_unofficial.exe).

I'm not familiar with VB and i don't know how process creation is done there

IIRC lately piping related classes were added, using native code from .NET or hacking the .NET library is possible and sometimes necessary.

@weaver4

I'm sorry I don't understand. Are you saying that staxrip automatically does what this thread shows or that I should do in manually before I encode?

It automated according to the threshold defined in the advanced options.

What I'm missing very much is modifying CLI of the muxer. Ich would like something like you already use with encoder cli. Adding and removing cli functions but without any 1.pass of course.

You mean adding/removing args in the muxer dialog like it can be done in the x264 dialog?

Deinorius
2nd March 2008, 19:22
You mean adding/removing args in the muxer dialog like it can be done in the x264 dialog? Absolutely correct. :)

stax76
5th March 2008, 03:52
Changelog:


1.0.0.3 (2008-03-05)

Updated x264 profiles and encoder version
Automatic aspect ratio signaling added for DivX, that mean it's supported for all codecs
now
DivX is the only application I don't host myself. StaxRip links to the download
provided at divx.com. The reason is it's 15 MB big. Unfortunately there are
silent updates very often. While silent updates usually work with StaxRip, the
version detection complains. I've added a special handling for DivX now to
handle this issue. StaxRip don't require the exact but a minimum version now for
DivX
Automatic subtitle demuxing using VSRip added
The profiles dialog has a button now to clone profiles
Muxing audio profiles are now editable from the audio profiles dialog in order to edit the stream type
MPA and MP2 were added to be valid stream types for the MP4Box muxer
Warning added to be shown when trying to open files containing character in the filename the command line parser of DGIndex can't cope with
The embedded folder browser used to select directories to batch process shows now volume names and hides hidden folders
The delay macro was only available in the scope of the audio settings, there are
now three global macros delay, delay1 and delay2. The help of the audio settings
dialog explains now the different scope
%bitrate% macro added to be used in the audio settings dialog
The filters dialog, script editor in the filters dialog and the audio settings
dialog remember their size
The filter editor in the main dialog shows a script editor on double-click
instead of enable/disable the filter. The filter dialog shows the script editor
with a left-click while pressing Ctrl
Improved support running StaxRip with limited user privilegs which is the normal
case under Vista

weaver4
5th March 2008, 22:41
Can I still use the Templates that I made for 1.0.0.2?

Thanks for the improvements!

Ajax_Undone
6th March 2008, 01:00
Great work Stax Runs awesome!!!

stax76
6th March 2008, 01:42
Can I still use the Templates that I made for 1.0.0.2?

yes, that should be no problem

dvd_maniac
6th March 2008, 04:17
I was wondering if someone could guide me step by step on how to hardcode forced subtitles?
What do I use to rip and how? Please explain like I'm an idiot as I just can't seem to get this.
I use x264 with AAC audio in the .mp4 container. MKV is not an option for me.

stax76
6th March 2008, 04:33
The subtitle extraction runs automatically by default, currently it only runs if the container supports subtiles, that is mkv and divx. Adding the subtitles is in the main menu so you do:

1. Load a template with mkv or divx container or load a mkv or divx container profile.
2. Open a DVD source and wait DGIndex and VSRip completing.
3. under 'Tools' select 'Add forced subtitle', select the language and you are done.

If you forgot to select the container you can reopen the d2v file to run VSRip. It runs everytime a source is loaded but only if the container supports the subtitles and only if the subtitles weren't extracted before.

weaver4
6th March 2008, 15:26
I think it would be good idea if we had a website where we could upload Templates.

I have made several that I use. For example the popcornhour a-100 uses CE-Highprofile but it needs to be limited to Level 4.1.

And the iPod 5.5g uses a two-pass file size profile, who would want that? A constant quality ( crf=24 ) is what I use. So I made a template to do that.

Love the program.

dvd_maniac
6th March 2008, 21:11
Thanx Stax,

I tried that but what I am really looking for is to hardcode the Forced Subtitles into the X264 video.
I use SageTV as my media center and my HD media extenders will not play any audio from MKV files produced by Staxrip and will not play subtitles from inside any container. I have to rip them into a seperate .srt file and modify Sage a little. And even then it's all subtitles or none. I do not like getting to a certain point of a movie, turning on Subs, rewinding to find out what I missed, then turning them back off again.
I'm looking to avoid all of this by hardcoding only the forced subtitles.
DVDFab's encoding process is able to handle this, but the quality is inferior to X264 and it's encoding tools limited compared to Staxrip. Plus it is not SMP ready so it's slow as hell...

stax76
8th March 2008, 18:17
@Deinorius

do you miss any specific muxing features?

I think it would be good idea if we had a website where we could upload Templates.

maybe somebody can recommend a drupal modul (one that is usable for non php developers like me).

@dvd_maniac

the steps I've explained add a AviSynth filter so x264 will encode it. I think people understand hardcoded and forced as the same thing.

dvd_maniac
8th March 2008, 22:07
Hi Stax,

I ripped the movie 30 Days of Night using latest DVDFab whole disk. Then I created a template using X264/AAC with the MKV container and loaded it. I imported the following 5 VOB files using Combine:
VTS_01_1.VOB, VTS_01_2.VOB, VTS_01_3.VOB, VTS_01_4.VOB & VTS_01_5.VOB.

I then cropped, cut and finally used Add Forced Subtitle.
The encode ran but The disk has two English subtitles. One for Director's comments, which took me about 1 hour encode to find out. The other was the real subtitle. When I was done with the final encode, the whole video had subtitles hardcoded to it, not just the forced ones?

When I play the DVD only the forced subtitles show. What could I have done wrong to make all subtitles burned onto the video instead of just Forced?

Deinorius
10th March 2008, 23:11
@Deinorius
do you miss any specific muxing features? There's nothing really specific.
But if there's some specific, then it would be (for Matroska) Title, fonts, framerate, timecode and especially tracknames. For mp4 there's nothing really specifically.

If you want to, you can add some of these functions, which are used often but generally it should be enough to add/remove args in the muxing dialog.

Ryo94
16th March 2008, 00:25
Hi,

I want to convert an MKV file (h264 video + mp3 audio) to avi (xvid) using staxrip.
The first time I tried it I couldn't open the MKV and got an error saying that I need to install the proper directshow filter, so now I installed haali media splitter and I can open that MKV in Staxrip but the problem is that Staxrip decodes the mp3 to wav instead demux it so I'm forced to recode the audio too.

I saw how Staxrip demux the mp3 or ac3 streams at time to import a vob, mpeg or avi file in order to remux that stream to the output video if I select "add exixting..." so I'm wondering if there is any way to do the same with MKV files in order to keep the audio quality.


I'm using Staxrip 1.0.0.1 (can't install .net 3.5 at this moment) and Haali media splitter 1.7.401.3

Thanx in advance for any help

stax76
17th March 2008, 04:20
@Ryo94

there is a feature in the options called 'Preperation' to automate demuxing, you could integrate a demuxer called mkvextract, any commandline demuxer can be integrated, the tools there are processed in sequence passing the output from one tool as input to the next, DGIndex is just a preparer defined there. Anything for which there is a AviSynth sourcefilter can be opened.

You can also demux by hand using the command shell, a batch file, script or whatever. The mkvextract directory can be opened from the external applications dialog, on mkvtoolnix use Tools/Open Directory, the documentation is also there.

@dvd_maniac

I've renamed 'Add Forced Subtitle' to 'Add Hardcoded Subtitle', this adds a AviSynth filter which hardcodes, if I understand everything correctly you have to add both, hardcoded and forced subtitles there.

@Deinorius

I've added a option to add additional mkvmerge switches, there is also a little preset feature as usual. It's not possible to remove switches though, is that important?

in case anybody interested in a beta version:


StaxRip beta (http://www.planetdvb.net/non_drupal/staxrip/StaxRip_unofficial.exe)


1.0.0.? (2008-??-??)

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
The preview has now a menu/shortcut to toggle between display aspect ratio and
script aspect ratio. The state is saved in the global settings
The video and the window position of the crop and in the preview dialog is now
saved in the global settings
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 container settings dialog has a option to add additional command line
switches
Added options to define a maximum value of the width and height to be
overcropped

Deinorius
17th March 2008, 10:11
I've added a option to add additional mkvmerge switches, there is also a little preset feature as usual. It's not possible to remove switches though, is that important? I have to test, if removing ist nessesary. Will test it, when I'm back in Vienna.
You didn't add an option for MP4Box?
Thanks anyway. :)

stax76
17th March 2008, 14:25
You didn't add an option for MP4Box?

Wouldn't be too hard to add it so if there is demand I can add it.

Ryo94
17th March 2008, 20:07
there is a feature in the options called 'Preperation' to automate demuxing, you could integrate a demuxer called mkvextract, any commandline demuxer can be integrated, the tools there are processed in sequence passing the output from one tool as input to the next, DGIndex is just a preparer defined there. Anything for which there is a AviSynth sourcefilter can be opened.

Thanks for reply Stax, I've mkvextract in c:\program files\MKVToolnix\ but after several attempts couldn't realize how should look the command line in staxrip I'm really sucks with command lines and syntax.

You can also demux by hand using the command shell

I could extract the audio and video streams using mkvextractGUI, which gave me 1 .h264 video file an 1 mp3 file, the .h264 file can't be imported to staxrip (looks like I need to install another filter).

So at the end I chose to open the mkv like I did it before, using haali, then encode just the video (no audio) and at last mux the output video with the mp3 previously demuxed with MKVextractGUI in VDmod.

I really would like to do all the job in Staxrip, any idea how should look the command line/s in Staxrip's "Preparation" window? My only desire is to import the MKV with the mp3 stream as mp3 (no decoded) in order to use "add existing..."

Deinorius
17th March 2008, 20:40
Wouldn't be too hard to add it so if there is demand I can add it. Well, the greatest demand is with Matroska muxing, but it wouldn't hurt for mp4 too. :)
But this should be it. I see no demand for any additional PMP Muxer args. Especially if you can use MP4Box too.
And the Misc Muxer don't need it for sure.

stax76
17th March 2008, 21:25
@Ryo94

you need DGAVCDec, there is a german guide with some explanations, you understand german?

Ryo94
17th March 2008, 23:56
Not a bit (just "Guten Tag" :p), but I found some info in english here (http://neuron2.net/dgavcdec/)
Didn't read it yet, I'll take a look to it and see what happen, thanx :)

I really love how easy is to convert dvds to X with Staxrip, any plans to bring the same easiness in Staxrip for MKV to X conversion? that would be just great.

Deinorius
18th March 2008, 00:20
Then I will translate it. Use this link (http://encodingwissen.de/spezial/staxrip-neue-quellformate.html) to use the pictures.

[Pic1] Go to Preparation and click "Add", select "Command Line Preparer".
[Pic2] Set all settings like the picture show you. (If you want to extract Audio too, you need to set this information too.)
Next you need following "Command Line":
"%application_dir:MKVtoolnix%mkvextract.exe" tracks "%source_file%" 1:"%source_dir%\%source_name%.h264"
"%application_dir:DGIndex%DGAVCIndex.exe" -i "%source_dir%\%source_name%.h264" -o "%source_dir%\%source_name%.dga" -f 2 -h
Instead of -h you can use -e too. Difference is that you will see the window (minimized?), if you use -e.

If you want to extract audio (or/and timecode) too, then you need to paste more mkvextract command line between the two lines.
For mp4 you can use instead of mkvextract MP4Box or MP4Creator. For the .ts Container DGAVCIndex itself would be interesting, but I have no source for it. Otherwise I would like to write a new command line.

MuLTiTaSK
18th March 2008, 00:59
Then I will translate it. Use this link (http://encodingwissen.de/spezial/staxrip-neue-quellformate.html) to use the pictures.

[Pic1] Go to Preparation and click "Add", select "Command Line Preparer".
[Pic2] Set all settings like the picture show you. (If you want to extract Audio too, you need to set this information too.)
Next you need following "Command Line":
"%application_dir:MKVtoolnix%mkvextract.exe" tracks "%source_file%" 1:"%source_dir%\%source_name%.h264"
"%application_dir:DGIndex%DGAVCIndex.exe" -i "%source_dir%\%source_name%.h264" -o "%source_dir%\%source_name%.dga" -f 2 -h
Instead of -h you can use -e too. Difference is that you will see the window (minimized?), if you use -e.

If you want to extract audio (or/and timecode) too, then you need to paste more mkvextract command line between the two lines.
For mp4 you can use instead of mkvextract MP4Box or MP4Creator. For the .ts Container DGAVCIndex itself would be interesting, but I have no source for it. Otherwise I would like to write a new command line.

translated to english with google
http://translate.google.com/translate?sourceid=mozclient&u=http%3A//encodingwissen.de/spezial/staxrip-neue-quellformate.html

stax your program rocks keep up the great work buddy i know alot of people appreciate it

Ryo94
18th March 2008, 03:32
translated to english with google
http://translate.google.com/translat...llformate.html
Thanx ;)

Hi Deinorius,

Well, I decompressed DGAVCDec (all file in the zip) in DGindex directory, Then I started Staxrip and copy/paste that lines in View=>Options=>Preparation...
http://img148.imagevenue.com/loc821/th_07496_staxrip_config_122_821lo.jpg (http://img148.imagevenue.com/img.php?image=07496_staxrip_config_122_821lo.jpg)

... and when I tried to open the MKV file I got these errors
http://img45.imagevenue.com/loc105/th_07903_error_1_122_105lo.jpg (http://img45.imagevenue.com/img.php?image=07903_error_1_122_105lo.jpg)
*The message say "the system could not find the specified archive"

http://img34.imagevenue.com/loc822/th_07908_error_2_122_822lo.jpg

No idea why :(

The addition of a template for this conversion would be nice.

arrirc
18th March 2008, 04:11
Hello Stax

Thank you for your tool.

Problem:

I have been experimenting with different tools to create X.264 files out of my DVDs already ripped on the HDD. I have successfully created one MP4 file and then decided to create another (using different profile) from the same source but with a little difference in the output file name. I intended to compare the results' quality and the encoding time. The output directory I chose contained the file created from the first conversion. To my surprise I could not find the converted file. The first file (created on 15th March was named as Fistful of Dynamite (StaxRip) and the new one I have named as Fistful of Dynamite (StaxRip 2), but the second one was never created. :confused:

I have added two jobs in line, one as described above and the other from a different source. The one from different source was created successfully.

Log of the problematic job


---------- AviSynth Script ----------

MPEG2Source("E:\FISTFUL_OF_DYNAMITE_CE\VIDEO_TS\VTS_03_1.d2v")
Crop(2,58,-2,-62)
LanczosResize(704,288)

---------- Audio Encoding ----------

Command Line: "D:\Applications\2. Video Tools\StaxRip\Settings\Applications\BeSweet\BeSweet.exe" -core( -input "E:\FISTFUL_OF_DYNAMITE_CE\VIDEO_TS\VTS_03_1 01 en-English For visually impaired 3_2ch 448Kbps DELAY 0ms.ac3" -output "E:\FISTFUL_OF_DYNAMITE_CE\VIDEO_TS\VTS_03_1 01 en-English For visually impaired 3_2ch 448Kbps DELAY 0ms_AudioOutput.mp4" ) -azid( -c normal ) -ota( -d 0 -g max ) -bsn( -vbr 0.3 -6chnew )

---------- Audio Encoding Statistics ----------

Start time: 12:50:04 AM
End time: 2:27:32 AM
Duration: 01:37:28
Speed: 0 fps
Size: 315.0 MB
Bitrate: 280.64 kbps
Video Bitrate: 1225 -> 1169

---------- x264 Single/First Pass Encoding ----------

Command Line: "D:\Applications\2. Video Tools\StaxRip\Settings\Applications\x264\x264.exe" --pass 1 --bitrate 1169 --stats "E:\FISTFUL_OF_DYNAMITE_CE\VIDEO_TS\Temporary Files\Fistful of Dynamite (StaxRip 2).stats" --bframes 16 --b-pyramid --direct auto --progress --threads 2 --no-psnr --no-ssim --thread-input --subme 1 --analyse none --me dia --output NUL --output NUL "E:\FISTFUL_OF_DYNAMITE_CE\VIDEO_TS\Fistful of Dynamite (StaxRip 2).avs"

---------- x264 Single/First Pass Encoding Statistics ----------

Start time: 2:27:32 AM
End time: 2:27:35 AM
Duration: 00:00:02
Speed: 94 fps

---------- Second Pass Encoding ----------

Command Line: "D:\Applications\2. Video Tools\StaxRip\Settings\Applications\x264\x264.exe" --pass 2 --bitrate 1169 --stats "E:\FISTFUL_OF_DYNAMITE_CE\VIDEO_TS\Temporary Files\Fistful of Dynamite (StaxRip 2).stats" --ref 5 --bframes 16 --b-pyramid --weightb --b-rdo --bime --direct auto --analyse p8x8,b8x8,i4x4,i8x8 --8x8dct --subme 6 --me umh --trellis 1 --mixed-refs --progress --threads 2 --no-psnr --no-ssim --thread-input --output "E:\FISTFUL_OF_DYNAMITE_CE\VIDEO_TS\Fistful of Dynamite (StaxRip 2)_EncoderOutput.264" "E:\FISTFUL_OF_DYNAMITE_CE\VIDEO_TS\Fistful of Dynamite (StaxRip 2).avs"

---------- Second Pass Encoding Statistics ----------

Start time: 2:27:35 AM
End time: 2:27:35 AM
Duration: 00:00:00
Speed: 320 fps

---------- Muxing ----------

Command Line: "D:\Applications\2. Video Tools\StaxRip\Settings\Applications\MP4Box\MP4Box.exe" -fps 24.000 -add "E:\FISTFUL_OF_DYNAMITE_CE\VIDEO_TS\Fistful of Dynamite (StaxRip 2)_EncoderOutput.264:name=Video" -add "E:\FISTFUL_OF_DYNAMITE_CE\VIDEO_TS\VTS_03_1 01 en-English For visually impaired 3_2ch 448Kbps DELAY 0ms_AudioOutput.mp4:lang=eng:name=English (5.1):sbr" -new "K:\Movies\A Fistful Of Dynamite\Fistful of Dynamite (StaxRip 2).mp4"

---------- Muxing Statistics ----------

Start time: 2:27:35 AM
End time: 2:27:36 AM
Duration: 00:00:00
Speed: 244 fps

---------- Overall Statistics ----------

Start time: 12:50:04 AM
End time: 2:27:36 AM
Duration: 01:37:32


Doubt

(this one refers to the successful conversion)
I have converted the same source to XviD using AGK, at 80% quality, and it produced a higher bit rate. But 80% in staxrip from the same source produced a file with lower bit rate.
Is that normal? Should not StaxRip produced same bit rate as XviD but with smaller file size? 'Cause I thought X.264 gives better quality output in smaller file size. :confused:

It seems that XviD produced better quality output in similar quality setting but with larger file size.

Here are the Media Details:

XviD

General #0
Complete name : K:\Movies\Fistful of Dollars\Fistful of Dollars (AGK).avi
Format : AVI
Format/Info : Audio Video Interleave
Format/Family : RIFF
File size : 1.76 GiB
PlayTime : 1h 40mn
Bit rate : 2515 Kbps
Writing application : VirtualDubMod 1.5.4.1 (build 2178/release)
Writing library : VirtualDubMod build 2178/release

Video #0
Codec : XviD
Codec/Family : MPEG-4
Codec/Info : XviD project
Codec profile : Unknown
Codec settings/Packe : No
Codec settings/BVOP : No
Codec settings/QPel : No
Codec settings/GMC : 0
Codec settings/Matri : Default
PlayTime : 1h 40mn
Bit rate : 4404 Kbps
Nominal bit rate : 2023 Kbps
Width : 720 pixels
Height : 304 pixels
Display Aspect ratio : 2.35
Frame rate : 23.976 fps
Resolution : 8 bits
Chroma : 4:2:0
Interlacement : Progressive
StreamSize : 3.08 GiB

Audio #0
Codec : AC3
PlayTime : 1h 40mn
Bit rate : 4424 Kbps
Nominal bit rate : 448 Kbps
Bit rate mode : CBR
Channel(s) : 6 channels
Channel positions : Front: L C R, Rear: L R, Subwoofer
Sampling rate : 48 KHz
StreamSize : 3.09 GiB

X.264

General #0
Complete name : K:\Movies\Fistful of Dollars\Fistful of Dollars (StaxRip).mp4
Format : MPEG-4
Format/Info : ISO 14496-1 Base Media
Format/Family : MPEG-4
File size : 909 MiB
PlayTime : 1h 40mn
Bit rate : 1271 Kbps
StreamSize : 2.78 MiB
Encoded date : UTC 2008-03-17 00:35:22
Tagged date : UTC 2008-03-17 00:35:22

Video #0
Codec : H.264
Codec/Info : H.264 (3GPP)
PlayTime : 1h 40mn
Bit rate : 984 Kbps
Nominal bit rate : 965 Kbps
Width : 704 pixels
Height : 288 pixels
Display Aspect ratio : 2.444
Frame rate : 23.976 fps
StreamSize : 704 MiB
Title : Video
Encoded date : UTC 2008-03-17 00:35:22
Tagged date : UTC 2008-03-17 00:36:35

Audio #0
Codec : AAC LC
Codec/Info : AAC Low Complexity
PlayTime : 1h 40mn
Bit rate : 283 Kbps
Nominal bit rate : 288 Kbps
Bit rate mode : VBR
Channel(s) : 6 channels
Channel positions : Front: L R, Rear: L R, Subwoofer
Sampling rate : 48 KHz
Resolution : 16 bits
StreamSize : 202 MiB
Title : English (5.1)
Language : English
Encoded date : UTC 2008-03-17 00:36:16
Tagged date : UTC 2008-03-17 00:36:35

Please help. :(

Thank you.

Deinorius
18th March 2008, 10:44
@Ryo94
Did you set the mkvtoolnix folder in the application settings?

@Multitask
Nice, but for me, this link (http://translate.google.com/translate?u=http%3A%2F%2Fencodingwissen.de%2Fspezial%2Fstaxrip-neue-quellformate.html&langpair=de%7Cen&hl=de&ie=UTF8) is working.

Ryo94
18th March 2008, 11:59
Yep,
http://img216.imagevenue.com/loc486/th_38353_pic_122_486lo.jpg (http://img216.imagevenue.com/img.php?image=38353_pic_122_486lo.jpg)

~bT~
18th March 2008, 13:46
^ shouldn't you be pointing to mkvmerge.exe?

Ryo94
18th March 2008, 14:01
By default Staxrip looks for mkvmerge.exe...
http://img196.imagevenue.com/loc361/th_45437_pic_122_361lo.jpg (http://img196.imagevenue.com/img.php?image=45437_pic_122_361lo.jpg)
...but since I got those error messages at time to open an MKV I tried pointing to mkvextract, regrettably I got the same error message :(

~bT~
18th March 2008, 14:09
trying moving your file to c:\ and giving the file a shorter name.. all the best!

Deinorius
18th March 2008, 15:19
Well, set mkvmerge.exe and try to use shorter filenames. Try to save mkvtoolnix in another folder too.

buzzqw
18th March 2008, 15:41
mkvtoolnix when installed add its path to windows path folders.. in your case this is missed (or you moved the mkvmerge from original installation folder)

i suggest to reinstall mkvtoolnix or put into c:\windows folder or add manually to environment path

BHH

arrirc
18th March 2008, 16:09
Will someone please help me with my issue? :(

buzzqw
18th March 2008, 16:14
@arrirc

open the avs scrip in virtualdub, got any error ?

you can also try to lauch from dos the first pass to see errors message

BHH

arrirc
18th March 2008, 16:31
Hello buzzqw
Thank you for your reply...

This time I have the AVS script and I played it in VD without any error.

you can also try to lauch from dos the first pass to see errors message

Sorry , but I do not understand what exactly I have to do (I mean how do I launch the AVS in DOS Mode), I am rather a new user in MP4 encoding (still)

Could you please be kind enough to clear my doubt too as mentioned in my post?

Thanks again...

buzzqw
18th March 2008, 17:07
Click on START, RUN, write here CMD, and press enter

then copy/paste

"D:\Applications\2. Video Tools\StaxRip\Settings\Applications\x264\x264.exe" --pass 1 --bitrate 1169 --stats "E:\Torrent\FISTFUL_OF_DYNAMITE_CE\VIDEO_TS\Temporary Files\Fistful of Dynamite (StaxRip 2).stats" --bframes 16 --b-pyramid --direct auto --progress --threads 2 --no-psnr --no-ssim --thread-input --subme 1 --analyse none --me dia --output NUL --output NUL "E:\FISTFUL_OF_DYNAMITE_CE\VIDEO_TS\Fistful of Dynamite (StaxRip 2).avs"

(if this is the NOT encoded one)

BHH

arrirc
18th March 2008, 17:16
Ok the command is working and I have got no error...it is showing me ETA of about 1.5 hrs.

buzzqw
18th March 2008, 17:27
so.. don't know .. but it's ok :)

you can then copy/paste the second pass command

"D:\Applications\2. Video Tools\StaxRip\Settings\Applications\x264\x264.exe" --pass 2 --bitrate 1169 --stats "E:\FISTFUL_OF_DYNAMITE_CE\VIDEO_TS\Temporary Files\Fistful of Dynamite (StaxRip 2).stats" --ref 5 --bframes 16 --b-pyramid --weightb --b-rdo --bime --direct auto --analyse p8x8,b8x8,i4x4,i8x8 --8x8dct --subme 6 --me umh --trellis 1 --mixed-refs --progress --threads 2 --no-psnr --no-ssim --thread-input --output "E:\FISTFUL_OF_DYNAMITE_CE\VIDEO_TS\Fistful of Dynamite (StaxRip 2)_EncoderOutput.264" "E:\FISTFUL_OF_DYNAMITE_CE\VIDEO_TS\Fistful of Dynamite (StaxRip 2).avs"

attention that you will got a raw file "Fistful of Dynamite (StaxRip 2)_EncoderOutput.264", you must mux this file with your audio (use yamb for mp4 muxing)

BHH

arrirc
18th March 2008, 17:47
Ok...thanks very much.

But could you please throw some light on the doubt that I have expressed regarding XviD and X.264?

stax76
18th March 2008, 18:45
@arrirc

normally I tell the same as buzzqw, hard to tell why the command didn't fail as well using the command shell by hand, there shouldn't be a difference. This issue and the one of Ryo94 call for better verifications and diagnostics, I'll upload something ASAP.

Ryo94
18th March 2008, 20:49
mkvtoolnix when installed add its path to windows path folders.. in your case this is missed (or you moved the mkvmerge from original installation folder)

i suggest to reinstall mkvtoolnix or put into c:\windows folder or add manually to environment path

The installation directory by default in windows is c:\program files, in my case c:\archivos de programa since it's a spanish OS, Staxrip never had problems to detect other apps installed there so why should have it with mkvtoolnix? Besides in case that the app is installed in other directory or moved there is the possibility to browse for mkvmerge.exe manually.
Anyway I moved the mkvtoolnix directory to c:\windows (shouldn't be necesary in my opinion) and renamed the input mkv to just moby.mkv and... I got the same error
http://img243.imagevenue.com/loc40/th_69121_pic1_122_40lo.jpg (http://img243.imagevenue.com/img.php?image=69121_pic1_122_40lo.jpg)

http://img195.imagevenue.com/loc513/th_69154_pic2_122_513lo.jpg (http://img195.imagevenue.com/img.php?image=69154_pic2_122_513lo.jpg)

Like I said before I find relatively easy to convert mkv files to avi using Staxrip + Haali, the only problem is that if I don't want to recode the audio stream I need to do only the "video job" in staxrip and then use mkvextract to demux the audio stream from the original file in order to remux it with the video that Staxrip ouputs.

This way it's fast, easy but like I said I would like to do all the job in Staxrip, including the remux of the mp3 audio stream using "add existing vbr...", mainly because looks like staxrip have all the necesary to do this and probably I'm missing something.

stax76
18th March 2008, 21:04
I can't read the error (better install the english .NET) dialog but I think it makes clear you tried to execute a executable that simply doesn't exist in the given location. DGAVCDec which includes DGAVCIndex isn't destributed by StaRip, you have to download it somewhere, I would reference the full path instead of using a macro of another application or define a custom macro for this path in the settings.

It took me some time to figure out how you managed to define mkvextract.exe for mkvmerge.exe, until now I was thinking a open file dialog would not allow to open something not defined in the filter, you copied the full path in the open file dialog, that's actually quite clever, I knew it can be done and have done it before but not because I wanted to trick the filter but because I was too lacy to browse. Next version can't be tricked. Furthermore the external appllications dialog will pop up and complain if you try to use the %application:...% and %application_dir:...% macros without the referenced application being installed properly. The dialog where you entered the macros can prewiew how the macros are resolved.

MuLTiTaSK
18th March 2008, 22:10
hey stax any chances extended logging like LRN mentioned will make into a future release? http://forum.doom9.org/showthread.php?p=1087233#post1087233will

it could help to see the ssim, psnr results of my x264 encodes added in the project logs after the encode to compare with other encodes

btw your program is very simple to figure out for the newbie and very customizable for the advanced user i really hope that never changes

your making alot people transition to the x264 encoder much more easier and i thank you very much for all the time you put into this great program StaxRip interface is just laid out perfectly a very well thought out rock solid program

arrirc
19th March 2008, 04:05
Thank you Stax

There is one more thing that I would like to report, though I am not sure whether it is a bug or not. I had added two jobs in queue and started one, but some accidental electrical connection problem caused the PC to turn off. After I re started the PC, only one job was available and that also did not produce any result when started. As soon a I started, it reported that the job is finished. I had also checked the log and found that the original settings for the job were not retained.

Hope that this is not that important of an issue, but if it is, please do address it in your next official release. :)

stax76
19th March 2008, 04:50
@MuLTiTaSK

thx for the good words, I've investigated logging, I'll probably add it though coding features that require threading isn't much fun.

@arrirc

losing settings can be annoying, many applications save setting only on exit, there was a call on exit and one on crash, I didn't think of power off. Now I've added much more calls.

Your jobs still wasn't lost. A job is just a project file, when you add a job, you save a project file in the source directory which you can load later.

arrirc
19th March 2008, 17:27
Hello stax

Yes the job was not lost technically, as it was still available in the queue window. But all the settings related to that job were lost and when I ran the job, it did not produce any result.
So, practically the job was lost!!!!

:thanks:

Poopoo
19th March 2008, 20:25
Just make sure you don't believe too much of Google-translated pages, for the german manual, google actually screwed up the command line, for the command lines, it's better to look at the original german page, otherwise you'll end up with some errors. ;)

stax76
20th March 2008, 06:59
===> StaxRip beta download <=== (http://www.planetdvb.net/non_drupal/staxrip/StaxRip_unofficial.exe)

Changelog:


1.0.0.? (2008-??-??)

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
The preview has now a menu/shortcut to toggle between display aspect ratio and
script aspect ratio. The state is saved in the global settings
The video and the window position of the crop and in the preview dialog is now
saved in the global settings
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 dialog has a option to add additional command line
switches
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
x264 is now hidden executed and the status is displayed on the log dialog, the
x264 output is written to StaxRip's log file

wunschkind
20th March 2008, 07:56
hi,

and thank you very much for the update. one question: what do you think about series / episodes detection and encoding is something like that possible? recode does that and i like this feature.

bye and have a nice day


wunschkind

stax76
20th March 2008, 09:10
Sopranos had each episode in a separate PGC, I ripped them with a script automating DVDDecrypter, StaxRip's directory batch mode can handle that.

Deinorius
20th March 2008, 14:18
Thank you for this beta. I'll look for it afterwards.
I ripped them with a script automating DVDDecrypter, Hm? How does this script look like?

arrirc
20th March 2008, 17:07
I have a feature request Stax and a little question

Feature request:

Could you please add a functionality so that only the desired sound stream can be demuxed instead of demuxing all the available audio streams in the DVD? I think this will bring down the time to process a little further down.

Questions:

1. While trying to set the bit rate to about 2000 kbps, I am getting warning regarding quality setting. Why? It does not produce that large of a file size to worry about, but retains a very good quality because of the moderate bit rate. For 55% quality, the bit rate really takes a nose dive (naturally), but the end result can not retain that good of a quality in that low bit rate.

2. I have read the thread where all the profiles are introduced by Sharktooth in this forum. Though as I am a newbie, I am not sure which profile to choose if I am not much concerned about the end file size? Will the HQ Slower be good enough?

Deinorius
20th March 2008, 21:00
Could you please add a functionality so that only the desired sound stream can be demuxed instead of demuxing all the available audio streams in the DVD? I think this will bring down the time to process a little further down. There's no real need for that.
I recommend you to activate "Stream Processing" in DVD Decrypter and demux just the one audio stream out of the DVD.

If you prefer to demux with DGIndex, then you can manipulate the CLI. Start StaxRip, select you Template for DVD Converting and go to View-Options-Preparations and select "Extract audio and index using DGIndex".
There you will find the Command line. The command "OM=2" means "Demux all tracks". Set it to 1 and it will demux just one track. "-TN=#" is the track number. You have to set this at your own.
But I still recommend demuxing with DVD Decrypter.

stax76
20th March 2008, 21:18
Could you please add a functionality so that only the desired sound stream can be demuxed instead of demuxing all the available audio streams in the DVD? I think this will bring down the time to process a little further down.

I'm not sure if it's worth the effort, currently DGIndex is just a generic cmdl preparer defined in the options under preperation.

While trying to set the bit rate to about 2000 kbps, I am getting warning regarding quality setting.

The value for the aimed quality can be customized, you have to be within a certain range according to this value, I'm suggesting to use the defaults. Best embed screenshots in your posting, I don't know about image hosters, people have used imagevenue (http://www.imagevenue.com/)to embed screenshots in this thread. Greenshot (http://greenshot.sourceforge.net/)as screenshot util is highly recommendable.

I have read the thread where all the profiles are introduced by Sharktooth in this forum. Though as I am a newbie, I am not sure which profile to choose if I am not much concerned about the end file size? Will the HQ Slower be good enough?

I recommend the profile 'x264/Constant Quality', ist mostly a general x264 question and better researched in the AVC forum (http://forum.doom9.org/forumdisplay.php?f=77).

Hm? How does this script look like?

I wrote my own scripting host that can be found in the utility section (http://www.planetdvb.net/utilities) of my site.

That's the code:


Public Class MainClass
<STAThread()> _
Public Shared Sub Main()
Try
'the following three variables might need customization
Dim dvddec = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles) + "\DVD Decrypter\DVDDecrypter.exe"
Dim targetDir = "G:\"
Dim vts = 1

Dim sourceDrive = ""

Application.EnableVisualStyles()

If Not File.Exists(dvddec) Then
MsgBox("DVD Decrypter not found", MsgBoxStyle.Exclamation)
Exit Sub
End If

For Each i In DriveInfo.GetDrives
If i.DriveType = DriveType.CDRom AndAlso i.IsReady Then
If Directory.Exists(i.RootDirectory.Name + "video_ts") Then
sourceDrive = i.RootDirectory.Name
End If
End If
Next

If sourceDrive = "" Then
MsgBox("No disc found", MsgBoxStyle.Exclamation)
Exit Sub
End If

Dim dirName = ""

For i = 1 To 9
If dirName = "" Then
Dim ib As New InputBox
ib.StartPosition = FormStartPosition.WindowsDefaultLocation
ib.Text = "Please enter folder name."
ib.Value = "foo\bar"

If Not ib.Show = DialogResult.OK Then
Exit Sub
End If

dirName = ib.Value
End If

Dim destination = targetDir + "\" + dirName + "\PGC" & i
Dim p As New Process
p.StartInfo.FileName = dvddec
p.StartInfo.Arguments = "/MODE IFO /SRC " + sourceDrive + " /DEST """ + destination + """ /VTS " & vts & " /PGC " & i & " /START /CLOSE"
p.Start()
p.WaitForExit()

Try
Dim destDirSizeInMB = Aggregate file In Directory.GetFiles(destination) _
Into Sum(New FileInfo(file).Length / 1024 ^ 2)

If destDirSizeInMB < 200 Then
Directory.Delete(destination, True)
End If
Catch
End Try
Next
Catch ex As Exception
MsgBox(ex.ToString, MsgBoxStyle.Critical)
End Try
End Sub
End Class

Deinorius
20th March 2008, 21:39
The preview can now show the display aspect ratio
You resize by undersizing it, it could be more interesting, if it would oversize it. For example with PAL sources, the resolution would go from 704x576 to 1024x576. An option in the settings for one of these two would be useful.

The preview has now a menu/shortcut to toggle between display aspect ratio and script aspect ratio. The state is saved in the global settings
The video and the window position of the crop and in the preview dialog is now saved in the global settings
If you mean Tools-Settings, I can find this setting nowhere or maybe I didn't look correctly.

stax76
21st March 2008, 01:07
I've changed it to oversize, StaxRip will ask to reset the preview menu, if you do so you will get a new menu item with shortcut (A) in the preview. If you don't reset you can add the menu item manually using 'New From Defaults' in the menu editor. The menu item will only have a effect when the source is anamorphic.

http://www.planetdvb.net/non_drupal/staxrip/StaxRip_unofficial.exe

arrirc
21st March 2008, 07:38
Thank you very much Stax, I shall surely post a screen shot to let you know clearly what I exactly mean. And an extra thank you for recommending greenshot. :)

Thank you Deinorious. I shall keep your advise in mind. :)

MuLTiTaSK
21st March 2008, 16:16
x264 output logging is working great thanks alot stax

stax76
22nd March 2008, 04:10
I want to add an iPod template, does anybody have a good NeroAACEnc command line?

blueboyec
22nd March 2008, 05:13
I'm new to this. Are there any HDTV 720p (~60fps) and 1080i profiles? When converting to h264 is it a good idea to change FPS from ~60 to ~30?

Thanks for your help in advance.

stax76
22nd March 2008, 06:31
today I have fixed 2 HD related bugs so please use this fix (http://www.planetdvb.net/non_drupal/staxrip/StaxRip_unofficial.exe) in case you encode HD.

stax76
23rd March 2008, 07:20
StaxRip beta (http://www.planetdvb.net/non_drupal/staxrip/StaxRip_unofficial.exe)

Changelog:


1.0.0.? (2008-??-??)

Fixed PAR detection for HD sources
The x264 fixed size and constant quality profiles are now based on the HQ-Slow profile
DGMPEGDEC and MP4Box were update 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

arrirc
23rd March 2008, 07:33
So can we (newbies) update our stable version to this new version (beta)?

Thanks for the great work stax, we really appreciate your hard work...:)

Deinorius
23rd March 2008, 09:55
Really. These updates are great. Don't know, if I would need any another Encoder GUI.

Another question: What's your opinion about sound processing via Avisynth like in MeGUI?
And... are there already any features, which are completely needed by the .NET 3.5? I'm interested, how much better this version can do.

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 <---?!?!!?

Southstorm
3rd April 2008, 13:59
The Videohelp description is inaccurate. You can't read right off the disc because staxrip makes temp files in the same directory as the originals.

stax76
3rd April 2008, 15:02
@MuLTiTaSK

Thanks for reporting the tooltip issue. I'll add the x264 switches as real controls.

@Flexy

There is not much demand and thus no first class support. Run DGIndex on your VOB files and copy the ifo file using same name as d2v file. Open the d2v file. Never tried this but it should work.

Deinorius
3rd April 2008, 16:16
I've got a bug with StaxRip. Using this script MPEG2Source("VTS_01_1.d2v")
TomsMoComp(-1,5,1)
Crop(22,8,-26,-8)
RemoveGrain(24)
DeGrainMedian(limitY=255,limitUV=255,mode=5,interlaced=false,norow=false)
Import("D:\VIDEO\AviSynth 2.5\plugins\SeeSaw.avs") a=last b=a.FFT3DGPU(sigma=2.5) SeeSaw(a,b, NRlimit=3, NRlimit2=4, Sstr=1.5, Slimit=5, Spower=4, Sdamplo=5, Szp=16)
gradfun2db(thr=1.6) StaxRip crashes without any error. The problem is clearly Seesaw because all other filters work without any problem. VirtualDubMod and x264 (started via batch file) run without any problem. Any ideas?

After updating to your latest unofficial build, I have to say this: I hate it to update StaxRip and all of my own profiles get erased. It's no great deal with the filter profiles because I can copy everything into a text file, but the Encoder (Video & Audio) profiles are a greater problem. Wouldn't it be better at resetting just your standard profiles gets updated and everything else spared?

PS.: You put two Audiofilter to your profiles? Did you start investigating into audio edit with Avisynth?

stax76
3rd April 2008, 18:53
StaxRip crashes without any error.

I can't reproduce it since the script requires many plugins I don't have. Generally tracking issues you start from the most simple task and make changes to that until the issue arises. I don't know what's the problem, maybe some native libraries (plugins) corrupt memory.

After updating to your latest unofficial build, I have to say this: I hate it to update StaxRip and all of my own profiles get erased.

Sorry, I hope you have a backup around so you can copy/paste the command lines at least.

You put two Audiofilter to your profiles? Did you start investigating into audio edit with Avisynth?

The audio filters can be used for cutting to avoid decoding the full source. Only advantage I see piping audio from AviSynth to the encoder is avoiding the a temporary wave file when cutting.

Deinorius
3rd April 2008, 19:52
I can't reproduce it since the script requires many plugins I don't have. Generally tracking issues you start from the most simple task and make changes to that until the issue arises. I don't know what's the problem, maybe some native libraries (plugins) corrupt memory. I know, it's the combination of FFT3DGPU and Seesaw as in the script. Not together they work as they should.
What can I do more to find the culprit? I tried SetMemoryMax(64) too, but it didn't work.
Sorry, I hope you have a backup around so you can copy/paste the command lines at least. It's not that bad as it sounds. :)
But is it possible to update just the profiles, which get updated?
The audio filters can be used for cutting to avoid decoding the full source. Only advantage I see piping audio from AviSynth to the encoder is avoiding the a temporary wave file when cutting. I see.

stax76
3rd April 2008, 21:09
I know, it's the combination of FFT3DGPU and Seesaw as in the script. Not together they work as they should.
What can I do more to find the culprit? I tried SetMemoryMax(64) too, but it didn't work.

You can post links to the files I need to run the script.


But is it possible to update just the profiles, which get updated?

It would have been possible but it's a lot extra work.

StaxRip beta (http://www.planetdvb.net/non_drupal/staxrip/StaxRip_unofficial.exe)

Changelog:


1.0.0.? (2008-??-??)

x264 updated to 807 and controls for x264 AQ options added
MKV preparer added demuxing all streams using mkvextract
DGAVCIndex preparer added
Audio muxing profiles previously had input file types and streamtype defined so there were many different muxing profiles. They were all replaced with a universal profile that auto detects the stream type
New option which output mod to force, this was hardcoded to 16 previously
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
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

Southstorm
3rd April 2008, 21:14
@Stax

Very nice. I've been using this magnificent tool for awhile, and appreciate the work being put into it.

Thankyou

MuLTiTaSK
3rd April 2008, 21:36
http://img514.imageshack.us/img514/8973/20080403163310kt6.png

does it get quicker then that wow stax you rock bro thank you so much :thanks::thanks::thanks:and:thanks:

keep showing them how it should be done

MuLTiTaSK
3rd April 2008, 21:48
http://img227.imageshack.us/img227/1724/20080403164501is8.png

sections stay expanded and i cant close them happen to anyone else?

Southstorm
3rd April 2008, 22:07
Yeah, for the last few builds. I just close the window and reopen it.

Deinorius
3rd April 2008, 22:20
You can post links to the files I need to run the script. OK. Here you can find SeeSaw (http://forum.gleitz.info/showpost.php?p=311049&postcount=3) and here is FFT3DGPU (http://avisynth.org/warpenterprises/files/fft3dgpu_20060825.zip). (You need to copy the hlsl file into plugins folder too. fftw3.dll (http://www.unet.univie.ac.at/~a0427198/fftw3.rar) needs to be pasted into system32 folder.
It would have been possible but it's a lot extra work. Well, it's your decision. :) *lieb guckt* :devil:

:p

MuLTiTaSK
3rd April 2008, 22:24
http://img201.imageshack.us/img201/7976/20080403172141cm5.png

:)

RunningSkittle
4th April 2008, 03:24
Why the move to libvorbis lancer?
Thats a pretty old build isnt it?

(first post yay!)

duckdown
4th April 2008, 04:20
How can I make my file output in segments ?

Like in the VDub SAVE menu, you can tell it to save in chunks like piece01.avi piece02.avi piece03.avi etc

Thanks

stax76
4th April 2008, 09:05
sections stay expanded and i cant close them happen to anyone else?

Thanks for reporting, it's fixed now.

OK. Here you can find SeeSaw and here is FFT3DGPU.

I've tried the code and it works here! I assume you already tried to clean your plugin dir, remove all other functions, tried different sources, other than that I don't have a idea.


Import("D:\Software\AV\StaxRip Anwendungen\AviSynth Plugins\SeeSaw v0.3e.avs") a=last b=a.FFT3DGPU(sigma=2.5) SeeSaw(a,b, NRlimit=3, NRlimit2=4, Sstr=1.5, Slimit=5, Spower=4, Sdamplo=5, Szp=16)


@MuLTiTaSK

The cmdl tooltip on the donate menu item is because the tooltips come from the underlying command which executes a cmdl, I've added now special handling for the cmdl command, instead of showing the tip of the command it shows the parameter, the command line which in this case is a URL. The parameter for the cmdl command can be files, folders, url's, everything the shell can handle. The menu items to open the source and target dir use the same command and macros of the dirs as params which are now shown as tooltip.


Why the move to libvorbis lancer?
Thats a pretty old build isnt it?


Welcome to the forum :-), do you have links to binaries and changelog?

How can I make my file output in segments?

There isn't much demand for this feature, which formats are you using?

Dark Shikari
4th April 2008, 09:42
Note 0.5 and 1.5 are not limitations on AQ; you might be better off making a scale from 0 (none) to 0.5 (weak) to 1.0 (medium) to 1.5 (strong) to 2.0 (very strong). There are no actual limitations on its value.

stax76
4th April 2008, 13:11
Thanks, I've changed and uploaded it (http://www.planetdvb.net/non_drupal/staxrip/StaxRip_unofficial.exe).

http://planetdvb.net/non_drupal/forum_images/greenshot_2008-04-04_14-12-24.png

RunningSkittle
4th April 2008, 15:12
Well according to staxrip... its using vorbis (lancer) vintage 2005.
http://deep.phpwebhosting.com/~mactownkrisp/archive/staxrip.JPG

Even the lancer builds have been updated. The last one I could find was from 2006. (site is in japenese)
http://homepage3.nifty.com/blacksword/

Lancer builds seem to be sse optimized versions of libvorbis.dll and oggenc. There also appears to be a multithreaded build. I havnt tested them.

Libvorbis: http://www.rarewares.org/ogg-libraries.php

stax76
4th April 2008, 15:31
Which Vorbis build should StaxRip use, what is the download URL and does it work with most common CPUs?

RunningSkittle
4th April 2008, 15:44
Umm I would assume a build from the latest source tree:
http://downloads.xiph.org/releases/vorbis/

Im no expert with ogg/vorbis... but I just thought it was odd to use a build from 2005.

MuLTiTaSK
4th April 2008, 18:35
Which Vorbis build should StaxRip use, what is the download URL and does it work with most common CPUs?

these should help stax
http://wiki.hydrogenaudio.org/index.php?title=Recommended_Ogg_Vorbis
http://www.rarewares.org/ogg-libraries.php

MuLTiTaSK
4th April 2008, 18:49
stax you think there would be a way for you to add a import/export function for the profiles? so we could backup our profiles or share them with others

duckdown
4th April 2008, 18:54
There isn't much demand for this feature, which formats are you using?

XviD please! :)

Like, if I load my avs into VDub mod and go to the Save As.. menu, there is an option when I go to save the .avi to have it spit out segments (say 100mb pieces or whatever) so that way I can start uploading it somewhere as its encoding, then eventually merge it with nandub or whatever later on

Would save lots of time because you don't need to wait for the whole encode to be done before you can start uploading somewhere

If staxrip had this feature, it would be the ULTIMATE utility!

Please consider it!! Shouldn't be difficult since its built into VDub already :)

Thanks!

MuLTiTaSK
4th April 2008, 18:57
XviD please! :)

Like, if I load my avs into VDub mod and go to the Save As.. menu, there is an option when I go to save the .avi to have it spit out segments (say 100mb pieces or whatever) so that way I can start uploading it somewhere as its encoding, then eventually merge it with nandub or whatever later on

Would save lots of time because you don't need to wait for the whole encode to be done before you can start uploading somewhere

If staxrip had this feature, it would be the ULTIMATE utility!

Please consider it!! Shouldn't be difficult since its built into VDub already :)

Thanks!

did you try to use the preview window to cut and encode one part then another ...?

MuLTiTaSK
4th April 2008, 19:24
stax maybe XviD can be updated to use a newer celtic_druid build
his lastest compiles include Dark Shikari x264 VAQ algorithm i been using them for my .avi encodes and they work great

http://ffdshow.faireal.net/mirror/XviD/
http://esby.free.fr/CelticDruid/mirror/XviD/
http://tirnanog.fate.jp/mirror/XviD/

duckdown
4th April 2008, 21:35
did you try to use the preview window to cut and encode one part then another ...?

thats a major hassle; and i'd have to do that for each and every segment and encode them to a certain bitrate etc..

vdub is nice and simple; when your saving your 2nd pass .avi file you just tick the option that says "Output file in segments" or what not and it will make nice neat 100mb segments

so your 700mb xvid comes out in several chunks, allowing you to begin uploading them before the entire encode is done

Very useful, so it would be great if they can just incorporate that option

cheers

MuLTiTaSK
4th April 2008, 23:03
thats a major hassle; and i'd have to do that for each and every segment and encode them to a certain bitrate etc..

vdub is nice and simple; when your saving your 2nd pass .avi file you just tick the option that says "Output file in segments" or what not and it will make nice neat 100mb segments

so your 700mb xvid comes out in several chunks, allowing you to begin uploading them before the entire encode is done

Very useful, so it would be great if they can just incorporate that option

cheers

i got you now that actually would be a good feature to have:)

duckdown
5th April 2008, 03:58
i got you now that actually would be a good feature to have:)

:thanks:

i agree!!!! :) :) :)

thanks for the help/support in the feature request!

G_M_C
5th April 2008, 09:16
@ stax

Thx for the tip you gave me in the DGAVCindex thread. I'll read up staxrip, and see if it is the tool i need :)

RunningSkittle
9th April 2008, 15:49
Thanks for updating the vorbis encoder! the staxrip log no longer reports the percentage when encoding with vorbis though. (not a big deal!)

Deinorius
9th April 2008, 18:15
I've tried the code and it works here! I assume you already tried to clean your plugin dir, remove all other functions, tried different sources, other than that I don't have a idea. I found the culprit. It's the combination of RemovegrainSSE3 and FFT3DGPU. I already had this problem a time ago, but now it was repairSSE3, which is included in Seesaw. So the old problem came again.

With the SSE2 versions it works, but I have no idea about the problem with StaxRip. Remember it's working without StaxRip anyway.

Gawwad
10th April 2008, 02:16
hi

how do you select mono mp3 encoding for audio in StaxRip ?

stax76
10th April 2008, 10:35
I've added splitting for AVI container:

http://www.planetdvb.net/non_drupal/staxrip/StaxRip_unofficial.exe

how do you select mono mp3 encoding for audio in StaxRip ?

Add -m m within the lame section of the BeSweet cmdl.

RunningSkittle
10th April 2008, 13:01
Also stax, DGindex was updated to RC4!

Kayser
10th April 2008, 13:35
I've been trying for days to download the lastest beta but always get a "server not found" error (in Opera, Firefox and IE). Is it posible for you to upload the program to some other site like rapidshare or the like?
Thank you for your time

RunningSkittle
10th April 2008, 21:31
found small bug, mostly related to user error:

In the options menu, the dialog:
Advanced
+Misc
++percentage to use for compressibility check

When set to 0 (no warnings) staxrip compressibility check throws an error as it should. However, trying to go back and change it crashes staxrip.

Sharc
13th April 2008, 07:12
Trying to load a *.vob.
After successful *.d2v creation I am getting the "Invalid Source" error. I believe that all filters are correctly installed.
I can play the created *.avs im MPC only after manually adding the LoadPlugin("mypath/dgdecode.dll"). I don't have a version conflict between dgindex and the dgdecode, though.
Any suggestion?

stax76
13th April 2008, 10:16
I've been trying for days to download the lastest beta but always get a "server not found" error

I can put a build on rapidshare if the problem still persists.

When set to 0 (no warnings) staxrip compressibility check throws an error as it should

It caused a divide by zero exception, I've added a range check now (2-20).

I can play the created *.avs im MPC only after manually adding the LoadPlugin("mypath/dgdecode.dll").

StaxRip is supposed to protect users from config issues like this but it fails in your case, please download the latest beta (http://www.planetdvb.net/non_drupal/staxrip/StaxRip_unofficial.exe) and make a manual bug report as described on the support page (http://www.planetdvb.net/staxrip/support).

RunningSkittle
13th April 2008, 13:17
thanks for staying on top of things stax :)

Gawwad
13th April 2008, 13:47
Add -m m within the lame section of the BeSweet cmdl.

:thanks:

burfadel
13th April 2008, 15:51
There is a problem with Staxrip and the vsfilter for which Staxrip downloads. I reinstalled Windows yesterday (Vista x64) and could not get Staxrip to work, either with the old version of the updated version. Since it worked on the old install I copied the filters straight over, but now the vsfilter causes Staxrip to crash. Other problems that it causes staxrip is even if the filter is not invoked by a load command or on the filter list, having it in the plugin folder causes staxrip to also not detect the source properly... A message referring to $plugin$ appears.

Has anyone else had problems with this? I think its only a temprimental thing. Installing Avisynth v2.5.8 does not help it!

I also discovered a bug in the new beta Staxrip (latest available). Most of the time the encoding process shows in the bottom of the staxrip log window, however on some encodes this disappears and the window appears smaller, with even the slide bars slightly obscured. Resizing the window etc does not help.

Sharc
13th April 2008, 16:38
StaxRip is supposed to protect users from config issues like this but it fails in your case, please download the latest beta (http://www.planetdvb.net/non_drupal/staxrip/StaxRip_unofficial.exe) and make a manual bug report as described on the support page (http://www.planetdvb.net/staxrip/support).
Still the same with the latest beta. The installation created a new avisynth plugins directory and set the pointer for the avisynth plugins to this newly created directory, but the source error still persists although dgindex and dgdecode.dll are consistent. Again, only when I manually add a LoadPlugin("......./dgdecode.dll) to the script I can play it with MPC.
I didn't make a bug report because I wasn't sure if it is a bug of StaxRip or if something else is wrong with my settings.

burfadel
13th April 2008, 17:14
Still the same with the latest beta. The installation created a new avisynth plugins directory and set the pointer for the avisynth plugins to this newly created directory, but the source error still persists although dgindex and dgdecode.dll are consistent. Again, only when I manually add a LoadPlugin("......./dgdecode.dll) to the script I can play it with MPC.
I didn't make a bug report because I wasn't sure if it is a bug of StaxRip or if something else is wrong with my settings.

Thats the problem I outlined in my previous post. Delete the vsfilter.dll file from the avisynth plugin folder and disable the automatic ripping of subtitles. The load error with dgdecode is caused by that file (vsfilter.dll).

I believe its because when you crop, preview etc vsfilter loads so you can see the embedded subtitles (even if none are present it loads), Staxrip works fine when this feature is disabled and vsfilter.dll is removed. Subtitles can still be added as per the way of the current official version. Apprently vsfilter.dll can cause problems with Megui as well, so it appears the problem lies with a bug in vsfilter.dll and not in Staxrip itself.

stax76
13th April 2008, 19:01
Sounds very odd, please make a manual bug report, both of you, maybe I can find something looking at the diagnostic files.

however on some encodes this disappears and the window appears smaller, with even the slide bars slightly obscured. Resizing the window etc does not help.

Looks like a MS bug occuring arbitrary.

burfadel
14th April 2008, 15:13
The latest version of Nicaudio, version v2.01 and later can be found here:
http://www.codeplex.com/NicAudio

This version however requires slightly different syntax to the one Staxrip uses. For the old version (1.82 as downloaded by Staxrip) where the command is:
AudioDub(last, NicMPASource("%audio_file1%"))

It needs to read:
AudioDub(last, NicMPG123Source("%audio_file1%"))

Just wondering whether the included version can be updated as well as the required syntax?!

woodbyte
18th April 2008, 03:53
First post...

First of all I'd like to thank you, stax, for this great program. Besides being a fantastic ripper, it's also a very well engineered piece of software, allowing for plenty of customization. Great stuff. Thanks.

I have a couple of suggestions to make it even better, and they shouldn't be much hassle to implement/fix.



[FIX] Wrong Aspect Ratio set in MKV. I do alot of encodes without any resizing with anamorphic NTSC DVD sources (720x480) and staxrip never gets it quite right, both for 16/9 and 4/3 sources. It's close, though (about 5% off). There may be something wrong with the way staxrip is telling the AR to mkvmerge. Anyway, I always have to remux after with whatever AR DGIndex prints out (16/9, 4/3, etc).

[FEATURE] Auto-add chapter files generated by DVD Decrypter to container (e.g., OGG chapters to MKV), whenever possible. For me this would make staxrip a one click ripper, since its the only thing I need to do for each source.


I think that's it. If more comes to mind, I'll let you know.
Thanks again.

stax76
20th April 2008, 20:00
@burfadel

Thanks, I'll probably update it since iirc the filter name is hardcoded somewhere.

@woodbyte

Welcome to the forum. StaxRip signals the the PAR to the encoder. Please post the Filters and x264 section of your log fíle.

The chapter file by DVD Decrypter is supposed to be picked up, sure it's not picked up?

Deinorius
21st April 2008, 09:21
No, it doesn't pick up on my PC either.

woodbyte
22nd April 2008, 04:06
The chapter file by DVD Decrypter is supposed to be picked up, sure it's not picked up?

I'm sure. On the possibility that it may just be the interface not showing the auto-selected chapter file I did an encode with nothing selected. The resulting .mkv has no chapters.

The filenames are (all in same folder VIDEO_TS):

VTS_01_PGC_01_1.VOB
VTS_01_PGC_01 - Chapter Information - OGG.txt
VTS_01_PGC_01 - Stream Information.txt (this one is picked up I think, because the encoded audio tracks are labeled correctly)

Some of the contents of VTS_01_PGC_01_1_StaxRip.log:

------------------------------------------------------------
Filter
------------------------------------------------------------

MPEG2Source("E:\Temporary\SG1_V3\VIDEO_TS\VTS_01_PGC_01_1.d2v")
Telecide(guide=1).Decimate()
FluxSmoothST(2)

------------------------------------------------------------
x264
------------------------------------------------------------

"C:\Users\Pedro Madeira\AppData\Local\StaxRip\Applications\x264\x264.exe" --pass 1 --bitrate 2121 --stats "E:\Temporary\SG1_V3\VIDEO_TS\Temporary Files\VTS_01_PGC_01_1.stats" --bframes 16 --b-pyramid --direct auto --filter -2:-1 --progress --threads auto --sar 40:33 --no-psnr --no-ssim --merange 12 --thread-input --subme 1 --partitions none --me dia --output NUL --output NUL "E:\Temporary\SG1_V3\VIDEO_TS\VTS_01_PGC_01_1.avs"

avis [info]: 720x480 @ 23.98 fps (63600 frames)
x264 [info]: using SAR=40/33
x264 [info]: using cpu capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 Cache64
x264 [info]: slice I:617 Avg QP:15.10 size: 38647
x264 [info]: slice P:19962 Avg QP:16.73 size: 18235
x264 [info]: slice B:43021 Avg QP:18.27 size: 7078
x264 [info]: mb I I16..4: 15.2% 0.0% 84.8%
x264 [info]: mb P I16..4: 27.1% 0.0% 0.0% P16..4: 70.3% 0.0% 0.0% 0.0% 0.0% skip: 2.6%
x264 [info]: mb B I16..4: 4.2% 0.0% 0.0% B16..8: 40.9% 0.0% 0.0% direct:37.5% skip:17.3%
x264 [info]: final ratefactor: 17.08
x264 [info]: direct mvs spatial:99.6% temporal:0.4%
x264 [info]: kb/s:2088.1

encoded 63600 frames, 44.82 fps, 2088.20 kb/s

------------------------------------------------------------
x264 Statistics
------------------------------------------------------------

Start: 4:12:39 AM
End: 4:36:20 AM
Duration: 00:23:41

------------------------------------------------------------
x264 Second Pass
------------------------------------------------------------

"C:\Users\Pedro Madeira\AppData\Local\StaxRip\Applications\x264\x264.exe" --pass 2 --bitrate 2121 --stats "E:\Temporary\SG1_V3\VIDEO_TS\Temporary Files\VTS_01_PGC_01_1.stats" --ref 3 --bframes 16 --b-pyramid --weightb --direct auto --filter -2:-1 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --subme 6 --me umh --trellis 1 --progress --threads auto --sar 40:33 --no-psnr --no-ssim --merange 12 --thread-input --output "E:\Temporary\SG1_V3\VIDEO_TS\VTS_01_PGC_01_1_EncoderOutput.264" "E:\Temporary\SG1_V3\VIDEO_TS\VTS_01_PGC_01_1.avs"

avis [info]: 720x480 @ 23.98 fps (63600 frames)
x264 [info]: using SAR=40/33
x264 [info]: using cpu capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 Cache64
x264 [info]: slice I:617 Avg QP:15.68 size: 31705
x264 [info]: slice P:19962 Avg QP:16.67 size: 18250
x264 [info]: slice B:43021 Avg QP:18.59 size: 7427
x264 [info]: mb I I16..4: 11.1% 83.5% 5.4%
x264 [info]: mb P I16..4: 6.5% 39.5% 3.5% P16..4: 33.4% 11.6% 2.7% 0.0% 0.0% skip: 2.9%
x264 [info]: mb B I16..4: 2.0% 10.7% 0.8% B16..8: 35.2% 2.8% 3.8% direct:19.4% skip:25.2%
x264 [info]: 8x8 transform intra:79.6% inter:59.3%
x264 [info]: direct mvs spatial:93.6% temporal:6.4%
x264 [info]: ref P 63.8% 24.2% 12.0%
x264 [info]: ref B 86.2% 13.8%
x264 [info]: kb/s:2121.3

encoded 63600 frames, 30.62 fps, 2121.37 kb/s

------------------------------------------------------------
x264 Second Pass Statistics
------------------------------------------------------------

Start: 4:36:20 AM
End: 5:11:04 AM
Duration: 00:34:43
Size: 670.8 MB

EDIT: Regarding the AR problem, I reencoded the video this time with "Use ITU-R BT .601 standard" unchecked. The resulting AR is much closer to the original.

Original AR: 16/9 (1.7778)
Encoded (option checked) AR: 291/160 (1.8188)
Encoded (option unchecked) AR: 851/480 (1.7729)

(Encoded AR values as reported by MPC)

The difference between the last AR and the original, however slight, means that if I'm watching the video fullscreen, with a desktop resolution of 1280x720, there will be 2 unused horizontal lines of pixels, one at the top and another at the bottom.

I don't understand the signaling used by the encoder, but if the resulting AR was 853/480 or Round((480*(16/9)) / 480, then it would be somewhat better (good enough not be noticed in a small enough discrete space such as 720p). Of course if it could be the original 16/9 or any equivalent fraction, that would be optimal.

The only difference between the latest log and the one above is the signaling in the x264 command line (--sar 39:33) and the reduced form printed by x264 (using SAR=13/11).

EDIT2: Been reading about SAR, and believe this might be relevant. http://forum.doom9.org/showthread.php?p=779756#post779756
According to that post, the SAR in my case (720x480, no cropping, 16/9) would be 32:27. I suppose you could just feed the unreduced fraction (16 * 480):(9 * 720) or 7680:6480 and x264 will find the reduced form on its own.

stax76
22nd April 2008, 18:07
@woodbyte

Latest beta (http://www.planetdvb.net/staxrip/download) fixes the chapter issue.

About PAR, regardless if you resize or do anamorphic, ITU should be enabled. 40:33 is very popular, I'm not sure if it's necessary to make this more precise.

woodbyte
23rd April 2008, 02:25
@woodbyte

Latest beta (http://www.planetdvb.net/staxrip/download) fixes the chapter issue.

:thanks:

About PAR, regardless if you resize or do anamorphic, ITU should be enabled. 40:33 is very popular, I'm not sure if it's necessary to make this more precise.

It's only necessary when the goal is to have the encoding true to its source.

Public Shared Function GetPAR2() As String
If p.SourceAnamorphic Then
Return (16 * p.SourceHeight).ToString + ":" + (9 * p.SourceWidth).ToString
Else
Return (4 * p.SourceHeight).ToString + ":" + (3 * p.SourceWidth).ToString
End If
End Function

If Calc.IsARSignalingRequired Then
'sb.Append(" --sar " + Calc.GetPAR(33).ToString + ":33")
sb.Append(" --sar " + Calc.GetPAR2())
End If

Its ignoring the ITU thingie but it works for me.

How often is the source published?

stax76
24th April 2008, 00:34
@woodbyte

Usually I upload the source only for stable releases. I've changed the PAR thing now and uploaded it including source:

http://www.planetdvb.net/staxrip/download

woodbyte
24th April 2008, 06:50
It's perfect now. Many thanks. :)

stax76
29th April 2008, 13:05
New beta version online.

Screenshot (http://www.planetdvb.net/staxrip/screenshot)

Changelog (http://www.planetdvb.net/staxrip/changelog)

Download (http://www.planetdvb.net/staxrip/download)

Support (http://www.planetdvb.net/staxrip/support)

Forum (http://www.planetdvb.net/forum)

Emp3r0r
29th April 2008, 13:56
I love staxrip and the new features look great. Here are a few suggestions:


ProjectX and Java are required even when disabled through preparation (MPEG2)
Add import of x264 profiles
Allow updating and modifying queue while processing
Support start and end credits to automatically create zones


Thanks!

stax76
29th April 2008, 15:20
ProjectX and Java are required even when disabled through preparation (MPEG2)

The verification is done on the fly to make it required only if ProjectX actually handles the source. I've already looked at the issue, I'll have to check it again.

Add import of x264 profiles

Good feature and often requested, unfortunately quite a bit work.

Allow updating and modifying queue while processing

It's too hard/late to add this because too much code would have to be changed and debugged, some problem with supporting more than two audio streams.

It would however possible to add such a feature using a second StaxRip instance. The job processing of the first instance would have to notice jobs added by the second instance.

Support start and end credits to automatically create zones

I'm not sure if such a feature would be popular enough to add first class support. Something similar was recently requested so I've added commands and macros to the beta that allow StaxRip to be customized to support this for command line based encoders. For x264 you would do the following:

1. Load a source file
2. Open the preview dialog
3. Right-click and select Edit Menu
4. Add a new menu item, give it a name like Set Credits
5. Under Command enter Perform/Add Encoder Parameters
6. Enter something like the following as parameter: --zones %sel_start%,%sel_end%,q=30

The macros return the start and end of the first selection. The customization is done now, usage is as follows:

1. In the preview select your credits section
2. Click on your Set Credits menu item
3. In the menu select Cut/Delete All Sections since we don't cut and the params were already passed

Emp3r0r
29th April 2008, 16:12
The changelog states:
Distribution is now only three files (StaxRip.exe, Stax.dll, ReadFirst!.txt), 7-Zip archive is only 310 KB!However, I can't find a link to the latest beta in 7-Zip form. All I can find is a link to an exe.

burfadel
29th April 2008, 16:33
If an instance of Staxrip is already encoding, making and adding new rips would be an excellent feature! There have been a few times where I would have loved to have been able to do that.

stax76
29th April 2008, 16:47
However, I can't find a link to the latest beta in 7-Zip form. All I can find is a link to an exe.

Beta is currently exe only. I should upload 7-Zip beta too.

In order to set the credits without cut sections the following macros could be used:

current position in frames: %pos_frame%
framecount of the source: %source_frames%

If the zones switch requires zero based frame values the eval macro could be used to substract 1:

%eval:%source_frames%-1%

The params to set the end credits would look like this then:

--zones %pos_frame%,%eval:%source_frames%-1%,q=30

For the start credits menu item the end credits menu item can be cloned using copy and paste, the params would look like:

--zones 0,%pos_frame%,q=30

Poopoo
30th April 2008, 19:23
Hi stax,

Was the issue reporting option on the site too good and too clear, so it had to go ?

Perhaps you're not interested anymore in optimizing your tool ? :confused:

stax76
30th April 2008, 22:11
Was the issue reporting option on the site too good and too clear, so it had to go?


It's good though lacks some features. Unfortunately the developers are a bit ignorant towards non Drupal development related issues and always need ages to make the modul compatible with new Drupal versions, that's the reason why it's gone, it don't run yet on the fresh Drupal version I run. It might come back when they manage to make it compatible and I manage to make it run (I'm pretty clueless about php unfortunately).

The forum modul lacks as well but at least it's a core modul which is easier to maintain. There are moduls that integrate forums like phpbb but I try to avoid complex external moduls as they are usually hard to setup, maintain and make it hard to update Drupal.

The reason why I've updated Drupal is I wanted to try to edit pages with MediaWiki markup. I was using Drupal 5 but there was only a Drupal 6 modul that could do that. It turned out the MediaWiki support of that modul was less than half baked lacking the most fundamental features like simple lists and links.

I've tried then a WYSIWYG editor because I have issues with raw HTML and BB markup, tried that before and had issues, it was time to give it another try. TinyMCE is the most popular but that modul didn't run yet on the latest Drupal version either so I've installed another one called NicEdit, it's lightweight and works good so far.

I've also needed to try many themes that didn't mess up basic content too much. Most themes seem to use rather nasty CSS it seems. Again my web tech knowledge isn't the best. I just learn as much I need to build site. Web tech appear to be a big mess.

Navalynt
1st May 2008, 22:15
I prefer to leave things as automated as possible so I use Robot4Rip to automate the ripping process to the hard drive. This program uses VobSub for the subtitles, not text subtitles.

I noticed the beta will autoselect only text subtitles and does not even give an option for VobSub's IDX files anymore. If I manually switch to *All Files then slect my IDX file it does work to add the subtitles into the movie. Can you add back in the ability to automatically select IDX files?

Really, if StaxRip were to autodetect the default DVDdecrypter chapter file (OGG) and autoselect IDX for subtitles (if the name corresponded to the D2V file) the process of backing up my DVD videos to my media center computer would require the absolute minimum of user input! You're program makes my life a hell of a lot easier so I thank you a thousand times over for the work you've put into it!

stax76
2nd May 2008, 03:16
does not even give an option for VobSub's IDX files anymore

Which option do you mean?

If I manually switch to *All Files then slect my IDX file it does work to add the subtitles into the movie.

You mean a file browser? Which one?

Can you add back in the ability to automatically select IDX files?

Automatic creation and pick-up of idx works here, filenames are:

VTS_01 - Chapter Information - OGG.txt
VTS_01_0.IFO
VTS_01_1.VOB
VTS_01_2.VOB
VTS_01_3.VOB
VTS_01_1.idx
VTS_01_1.d2v

if StaxRip were to autodetect the default DVDdecrypter chapter file (OGG) and autoselect IDX for subtitles (if the name corresponded to the D2V file)

Works here, are you using a very old beta?

MuLTiTaSK
2nd May 2008, 04:45
can someone tell me what the pw is for this guide please? http://board.serienjunkies.org/showthread.php?t=12465

stax76
2nd May 2008, 04:55
IIRC it's the domain, when you register you get a pm with the pw.

dvd_maniac
7th May 2008, 18:48
I encode a lot of TV recordings using X264/AAC 1-pass.
I use 1-pass instead of 2-pass because the filesize ends up smaller then what I would have picked for 2-pass and the quality only suffers slightly. Is it possible to do a 2-pass with the filesize a 1-pass would create?
IE: The other night I did House M.D.
The mpeg-2 recording was 5.1GB, I did a 1-pass encode and the resulting filesize ended up being 95MB.
I would like it to do a second pass based on the 95MB filesize automatically...

Possible?

Rhymes69
8th May 2008, 00:54
whats the code to add ColorMatrix () to ur starip profile?

stax76
9th May 2008, 17:16
I want to release the final soon and then pause things for some months so I've uploaded a new beta that can import x264 profiles so people can at least update their profiles.

Navalynt
12th May 2008, 22:12
I prefer to leave things as automated as possible so I use Robot4Rip to automate the ripping process to the hard drive. This program uses VobSub for the subtitles, not text subtitles.

I noticed the beta will autoselect only text subtitles and does not even give an option for VobSub's IDX files anymore. If I manually switch to *All Files then slect my IDX file it does work to add the subtitles into the movie. Can you add back in the ability to automatically select IDX files?

Really, if StaxRip were to autodetect the default DVDdecrypter chapter file (OGG) and autoselect IDX for subtitles (if the name corresponded to the D2V file) the process of backing up my DVD videos to my media center computer would require the absolute minimum of user input! You're program makes my life a hell of a lot easier so I thank you a thousand times over for the work you've put into it!

Sorry, I was using an old beta version. I updated, ran through a DVD, and found that it DID autoselect the DVDdecrypter chapter file so that it awesome, thanks!

As for the other problem let me clarify: On the beta I installed last night if there is an IDX and SUB file already in the directory with the same naming convention as the D2V file Staxrip does not auto-select it.

Here's a specific example:
Hard_Candy.d2v
Hard_Candy.idx
Hard_Candy.sub

I have robot4rip set to use the same dgindex as StaxRip to avoid any problems with version conflicts so when I load up StaxRip I usually just select my d2v file, everything loads up BUT the subtitles. It looks like StaxRip will only add the subs automatically if they are in text format. If I double click on "Container Configuration" then click the "ADD" button I can change from "Subtitle Files" to "All Files" so I can see the IDX file and select it. From that point it does work to mux in the subtitles it's just an inconvenience to always have to select the subtitles manually just because I use vobsub instead a text sub.

stax76
13th May 2008, 01:52
Which container format?

Navalynt
13th May 2008, 03:36
Which container format?

MP4 Container

stax76
13th May 2008, 08:58
Does MP4Box support vobsub subtitles?

Deinorius
13th May 2008, 09:05
Nope.
Well... mp4 Container doesn't support it by itself, but it is possible to mux not supported streams into private streams. Only problem with this practic is, you can only play it on systems, which splitters support this stream formats and these private streams.

I don't know it well, but may be Haalis Splitter support it, but I'm sure, nothing else in Stand-Alone-World.

stax76
13th May 2008, 09:37
Is there a guide or thread about vobsub in MP4 or has anybody experience with it?

buzzqw
13th May 2008, 12:46
@stax

mp4box compiled by kurtnoise13 has vob/idx support out of the box

just add the idx file, you can also specify the "index" of language by using #number_of_language

example
1) english
2) italian
3) french

-add vts_01_01.idx#2
for adding ONLY italian language

BHH

Deinorius
13th May 2008, 12:51
Am I right, that Haalis Splitter supports Vobsubs out of mp4 buzzqw?

Navalynt
13th May 2008, 20:30
As I mentioned I've been ripping to MP4 and manually selecting the IDX file to mux in. The movies are working great on my media center which is using Haali.

I just recently switched from MKV files to MP4 for more compatibility. Is StaxRip setup then to only recognize and automatically add IDX files for MKV files assuming no compatibility with MP4?

burfadel
13th May 2008, 23:22
In the latest beta build, the cropping feature no longer works properly anymore. To be more precise, the cropping feature does crop the picture, but the resize function no longer automatically adjusts like it did before. Two examples where it worked before where it doesn't now: (older versions include the previous beta builds)
- On digital WS tv, a show that is only 4:3. When cropped, the reside would normally adjust it automatically to the correct reside ration, say 512x384. With this new build it doesn't automatically adjust, and even though the source is anamorphic you have to deselect it!
- Again, on digital WS tv, a movie I recorded was in 2.35:1 on 16:9 WS tv, so therefore there were black bars at the top and bottom. On the older versions, when cropped the resize function would automatically change so I could select 704x288. With this new beta build I have to manually change the resize filter to put in 704x288 myself. The resize bar tries to resize it to 640x352 for example., so in this case the picture is vertically stretched!

stax76
14th May 2008, 00:46
@buzzqw

Thanks, I've to add support for this then.

Is StaxRip setup then to only recognize and automatically add IDX files for MKV files assuming no compatibility with MP4?

Yes but I will add support.

@burfadel

It's very difficult to understand this issue (like it was diffucult to understand Navalynt's issue), is this only with certain sources or with all sources? When does the problem occur, after loading a source with crop automated or after using the crop dialog manually? The image size values did not change in previous versions after using the crop dialog, at least not with default options, only aspect ratio changes but using the slider afterwards fixes the aspect ratio.

burfadel
14th May 2008, 01:10
It happens with all sources, moving the slider bar after doesn't automatically correct the resize function anymore. This is with the Staxrip beta dated 11 May. I guess a way to test this is to just stupidly crop a source as such:
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx<<Remove
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx<<Remove
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx<<Remove
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx<<Remove
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx<<Remove

(Say this is a 640x352 source, I know its not to scale)

So you end up with an image cropped with only this portion of the video selected:

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

So when you move the slider, it should automatically change from 640x352 to the 'corrected' 640x132

However, it does not do this, and instead leaves the output size as 640x352. The picture is correctly cropped though, so the result is that is vertically stretches the image!

stax76
14th May 2008, 02:10
Do you have a active resize filter with category name 'Resize' and a active crop filter with category name 'Crop' in your filter chain?

burfadel
14th May 2008, 05:37
Yes! However, I did fix the problem. I just deleted the staxrip settings.bin file and then reset it back up again. Using the same template of mine as before (which I set as the default template) it works fine!

stax76
14th May 2008, 08:30
Still I wonder what the problem was, there isn't anything crop or resize related in the settings.

burfadel
14th May 2008, 10:58
Ah ok! that is weird, at least now it works!

stax76
15th May 2008, 22:31
There is a new beta online, latest changes:


Fixed various aspect ratio related bugs occuring with HD sources
Added support for image subtitles for MP4
Fixed shutdown being broke by XP SP3
DGMPEGDEC updated to version 1.5.0 RC5
Fixed broken Quick Search dialog which didn't set the selected path
mkvtoolnix updated to version 2.2.0
Downloading a external application will now delete the install files of the previous version
Fixed bug StaxRip asking for ProjectX and Java even when ProjectX is disabled
x264 profiles updated
Controls for various x264 switches added
Import of x264 profiles added
Yadif AviSynth filter added
Fixed bug in calculations occuring when crop values are set but the filter is disabled or missing
The aspect ratio display in the main dialog displays now the PAR
Support for using AviSynth scripts as source file
Distribution is now only three files (StaxRip.exe, Stax.dll, ReadFirst!.txt), 7-Zip archive is only 310 KB!
The .NET library to unpack zip files was replaced with 7-Zip to unpack external application
Website updated from Drupal 5 to Drupal 6
The Issue modul got dumped because of several issues, a forum is used instead for support now
The documents directory was removed, all docs are now online or created dynamically
Online links in the help browser are now opened with the default browser
Feature to add and remove file associations (main menu under 'Tools')

[UTB]HJ
17th May 2008, 05:11
im getting following error plz see attachment, i already have the input there

stax76
17th May 2008, 06:52
welcome to the forum :)

For attachments you can also use the forum on my site or 2shared (2shared.com).

DarkZell666
17th May 2008, 12:48
welcome to the forum :)

For attachments you can also use the forum on my site or 2shared (2shared).

There's a .com missing in there somewhere :D

[UTB]HJ
17th May 2008, 17:09
welcome to the forum :)

For attachments you can also use the forum on my site or 2shared (2shared.com).

hey stax,
would you able to help me to fix that x264 input error

stax76
17th May 2008, 17:13
You've never issued any error.

[UTB]HJ
17th May 2008, 18:05
You've never issued any error.
i did on the previous post.
im getting x264 requires yv12 input but its already included please check the attachment

http://uploadingzone.com/out.php/i4061_untitled.GIF

stax76
17th May 2008, 18:42
i did on the previous post.

I can't see that. :(

please check the attachment

Can't see that either, maybe I'm blind today.

I can see the screenshot however :), please try the beta, there were fixes in that area, since there were many fixes since the last stable release it's really time to make new stable release I guess.

[UTB]HJ
17th May 2008, 19:09
hey,
thanks will try that yes sorry i just notice is waiting for approval. also do you have any guide to rip 2 cd dvd rip avi to high quality 1 cd rip.

also i have read your previous posts on adding logo but couldn't able to follow it i was getting vdub could not find error

[UTB]HJ
18th May 2008, 16:17
when i convert avi to mkv. im getting audio video sync problem how to fix it:confused:

burfadel
18th May 2008, 17:34
HJ;1138743']i did on the previous post.
im getting x264 requires yv12 input but its already included please check the attachment



That error appears when there is a syntax error in your filter chain. Deselect all of the filters (except source filters of course), and the error should disappear. Then reselect each filter until the error occurs again, and you will know at which point the error occurs. This is of course, if you can't find the error by looking at the filters manually.

Since it is a filter chain error, selecting converttoyv12() will not resolve the issue.

[UTB]HJ
19th May 2008, 17:54
That error appears when there is a syntax error in your filter chain. Deselect all of the filters (except source filters of course), and the error should disappear. Then reselect each filter until the error occurs again, and you will know at which point the error occurs. This is of course, if you can't find the error by looking at the filters manually.

Since it is a filter chain error, selecting converttoyv12() will not resolve the issue.

thanks will try that.

do you have any guide to convert it to 700mb from 2 cd rip

dvd_maniac
27th May 2008, 17:57
Not a big audiophile person and wanted to lower the bitrate a little but it does not seem to take the changes...
I am changing the following line in the AAC/HE VBR 50 kbps Profile:
( -vbr 0.3 -2ch )
to this:
( -vbr 0.2 -2ch )

Everytime I try to make a change in any of the Audio profiles it doesn't stick.

stax76
27th May 2008, 19:16
Everytime I try to make a change in any of the Audio profiles it doesn't stick.

It's rather critical so I've released 1.1.0.1 fixing it.

dvd_maniac
27th May 2008, 19:56
Thanx 4 the Quick Fix Stax...:)

weaver4
27th May 2008, 20:02
Can I still use the templates that I generated for 1.0.0.3? Or do I need to make new ones?

Pascald
27th May 2008, 21:10
using 1.0.0.3 when i added vob dgindex would start right away, now using 1.1.0.0 it doesn't start automatically.

what am i doing wrong? or is this a "feature"?

stax76
27th May 2008, 21:14
Can I still use the templates that I generated for 1.0.0.3? Or do I need to make new ones?

You can use old templates but some parts of if will be lost, there are messages about what exactly was lost.

using 1.0.0.3 when i added vob dgindex would start right away, now using 1.1.0.0 it doesn't start automatically.

what am i doing wrong? or is this a "feature"?

It should also start, please submit a bug report.

Flexy
28th May 2008, 04:09
well i am trying so many GUIs and encoders, its not even funny anymore.

I came to the conclusion that staxrip fits my needs best, most options to tweak also.

I had problems a few months ago since i couldnt figure out how to actually read-in DVDs and convert them.

But now i figured out how to use DVDshrink, DGindex...and then stax to convert to whatever format i need.
Also, just when i was done converting a bunch of DVDs yesterday there was an update :)

I just wish that the integration of tools, eg. for reading DVDs would've been easier...or part of staxrip itself. I really had a hard time understanding and figuring out how to actually read in certain parts of a DVD using 3rd party tools.
Also..i am using an older 1.2 SMP build of XVID (for SD content) on my quad...and i get pretty nice speeds now encoding in xvid.

If we need multi-core support then certainly in the area of codecs...i hope we get a SMP/MT version of Xvid 1.3 soon. Hate to have 3 cores running idle...

anonova
28th May 2008, 16:28
I'm a long time megui user looking into Staxrip. I'd like to try to Staxrip, but I'm having a lot of trouble even starting.

Here are some annoyances I've noticed (using StaxRip 1.1.0.1).


Why can't I use applications/Avisynth plugins in "protected system directories" (Program Files I'm guessing)? Well, my Program Files directory is definitely not protected, and it should allow me to use directories in it.
Stop moving my Avisynth plugin directory! Again, Staxrip likes to move the entire directory from the Avisynth folder. What happened to this folder being "protected"? ;) Staxrip should have a cancel button for that operation, as you are forced to move the folder and thus breaking other program's use of Avisynth scripts that use plugins.
What is the reason DGDecode.dll (or any other Avisynth plugin) must be in Settings\Applications\AviSynth Plugins if it's already in my Avisynth plugin folder?
Cannot I use ffdshow as my YV12 decoder? I have CCCP (http://www.cccp-project.net/) installed, but Staxrip won't accept C:\Program Files\Combined Community Codec Pack\Filters\FFDShow\ff_vfw.dll (as in it accepts it in the Settings but "cannot find" the dll when I try to open something).


Well, that's as far as I can get right now, as I am still trying to find a way to get ffdshow to be my YV12 decoder. I have some questions since I can't quite open any sources yet.

Also, Avisynth 2.5.7 is not required, right? I have 2.5.8 RC1 installed, and Staxrip is complaining. This question also goes for other programs. I can manually update them without Staxrip entirely stopping me from using its version?

stax76
28th May 2008, 18:11
Why can't I use applications/Avisynth plugins in "protected system directories" (Program Files I'm guessing)? Well, my Program Files directory is definitely not protected, and it should allow me to use directories in it.

It's protected unless you have admin privilegs. Here are some threads regarding the issue:

http://forum.doom9.org/showthread.php?t=136418

http://forum.doom9.org/showthread.php?t=138145

http://forum.doom9.org/showthread.php?p=1117486#post1117486

as you are forced to move the folder and thus breaking other program's use of Avisynth scripts that use plugins.

What is the reason DGDecode.dll (or any other Avisynth plugin) must be in Settings\Applications\AviSynth Plugins if it's already in my Avisynth plugin folder?

It must be in the plugin directory, in the settings there is a option (appears only if you are running with admin privilegs) to move the plugin directory, you can move it wherever you want unless the directory is protected, if it breaks a application than you should submit a bug report to the author of the application that got broke. Applications shouldn't reference paths directly but rather read in the registry where the plugin direcory is located.

Cannot I use ffdshow as my YV12 decoder?

I think VFW decoders must be in the system directory because they are older than OLE/COM, the registry saves only the dll name and not the full path, I've just installed ffdshow and it has copied the dll to the system path. I hope you have learned your lesson now and don't install a codec pack again, they aren't evil but just too often broke. StaxRip checks if it's in the system directory. Even if ff_vfw.dll is in the system directory and registered by StaxRip I wasn't able to use it as YV12 decoder, probably I'm missing something. The code regarding this issue was reworked probably ten times, dealing with the AviSynth plugin directory and YV12 decoder is a major pain, I have spent a lot time with it and have probably to spent a lot more.

Deinorius
28th May 2008, 19:22
It's protected unless you have admin privilegs. Well, I'm using WinXP. I have admin privilegs and StaxRip can't write itself into Program Files.

In my case "Program Files" is D: Partition and I have installed Avisynth and StaxRip into D:\VIDEO. The only problem I've got is StaxRip going from this above directory to C:\User\Anwendungsdaten\StaxRip and this Popup you know for sure.
I have no idea, what to do.

anonova
28th May 2008, 19:45
It's protected unless you have admin privilegs.
That's the thing. I'm on XP running an admin account. The Program Files folder is not protected.
It must be in the plugin directory, in the settings there is a option (appears only if you are running with admin privilegs) to move the plugin directory, you can move it wherever you want unless the directory is protected
Like I said, I've used megui for a long time, and it downloads, extracts, and runs everything in the megui folder in Program Files (except Avisynth plugins that it puts in the Avisynth plugin folder). By default, Staxrip shows the Avisynth plugin directory pointing to Program Files\Avisynth 2.5\plugins, but when I download Autocrop, it wants to move the plugin folder.
Even if ff_vfw.dll is in the system directory and registered by StaxRip I wasn't able to use it as YV12 decoder, probably I'm missing something.
In ffdshow's VFW configuration, you have to change the raw video decoder to YV12 (very bottom).

Anyway, I uninstalled everything I had. Megui (since Staxrip was picking up programs in there), Avisynth, CCCP, etc. I install Avisynth 2.5.7, and I open up Staxrip and installed everything that it had a problem with. It still moved my Avisynth plugin directory. Okay, everything installed. I try File, open source, file batch, select an mpg, OK, selected the default template, and it brings me to the Jobs dialog. Was it not supposed to index my video for script editing as I saw in the guides? I click load, and everything still shows 0:00, 0/0, etc. I index the video manually and I try opening the d2v file. Staxrip doesn't seem to be reading the file either. Everything still says 0:00, framerate 0.000, etc.

Went back to try to open my mpg again, got back to the jobs dialog, and clicked start just to see what happens. It makes me download ProjectX for audio extraction (why it's not using DGIndex I don't know). I let it go past the DGIndex part, and abort. It's back to the main Staxrip window, and the d2v is loaded with the length, framerate, and all correctly set.

I stopped here to ask a couple of questions, as they are things I use a lot.

Is there automatic IVTC/interlacion detection?
Is it possible to set a DAR for the muxer to set an aspect ratio? I record television at 704x480 and set the DAR to 4:3 resolution. The "source is anamorphic" checkbox seems to be only for 16:9 stuff.


Staxrip seems to have a the batch encoding process I've always wanted to see in megui, but I just can't get Staxrip to work for some reason.

stax76
28th May 2008, 20:09
@anonova

I've found out now VFW dll's don't have to be in the system directory and there is no problem with CCCP. I'll upload a new beta soon.

@Deinorius

Please give me some more details.

stax76
28th May 2008, 20:43
I've uploaded a new beta not trying to move the plugin directory.

JohnMK
29th May 2008, 06:23
Hi Stax,

I fell in love with DVX some years ago and wish to thank you now for several years of use I got out of it. :thanks:

Now, I'm moving onto StaxRip and might have a few questions now and then till I have it mastered. First major problem right now is that I can't find a way to prevent StaxRip from insisting on non-square pixels (I'm using xvid/avi). It's my understanding that square pixels are more universally supported so I'm perplexed as to why it seems you've defaulted such a setting. Attempts to change the xvid configuration to square pixels (the default xvid setting, by the way) fail, as StaxRip goes right back in again and changes it back to the pixel aspect ratio it desires to maintain proper playback ratio. I, too, like to maintain proper playback aspect ratios but not through adjusting pixel AR. Can somebody help me out? :confused:

Thank you.

stax76
29th May 2008, 20:08
That's the thing. I'm on XP running an admin account. The Program Files folder is not protected.

Should be fixed in the latest beta.

it wants to move the plugin folder.

Does not happen with the latest beta.

In ffdshow's VFW configuration, you have to change the raw video decoder to YV12 (very bottom).

You don't have to in the latest beta, the option in the setting was also removed, it's now automated. It checks if ff_vfw.dll or xvidvfw.dll is present and if none is present it ask to install one of both showing the external aplications dialog for xvid. If one is present it automatically registers it and it don't matter if it's installed in the sys dir or in the cccp or whatever dir.


I try File, open source, file batch, select an mpg, OK, selected the default template, and it brings me to the Jobs dialog. Was it not supposed to index my video for script editing as I saw in the guides?


Batch regardless of application generally means fully automated I think, in batch mode indexing happens when you start processing the jobs, you can't do manual things here.


It makes me download ProjectX for audio extraction (why it's not using DGIndex I don't know).


It's much more reliable on DVB streams. There is however still a issue it seems StaxRip asking for ProjectX even if it's disabled, I've tried to fix this at least 4 times, argh.

Is there automatic IVTC/interlacion detection?

Unfortunately no, I'm not good in this area and I think it's better to do manually anyway, adding the feature would be a lot work, many people would like it, I want to add it but probably not soon.


Is it possible to set a DAR for the muxer to set an aspect ratio? I record television at 704x480 and set the DAR to 4:3 resolution. The "source is anamorphic" checkbox seems to be only for 16:9 stuff.

StaxRip generally does a lot auto detection and automation, PAR is signalled to the encoder (not muxer) if the aspect ratio error exceeds a defined (in the options) threshold which is by default 2%.

@JohnMK

Nice to see old users still around, a lot things have changed since the old days. If your source isn't square and your target should be square you have to add a resize filter. For some time the default template didn't had a resize filter but I've changed that, it has now a resize filter and a deinterlace filter, it just has to be enabled. Working with filters is a bit difficult if you don't know how things work as the filter integration is like many other things rather sophisticated.

JohnMK
29th May 2008, 20:23
I'm pretty sure my source (Carl Sagan's Cosmos DVD series, NTSC) uses square pixels. I don't know how I could have possibly got StaxRip to tell XviD to use non-square pixels, so I'm assuming this is default behavior, in at least one of StaxRip's XviD profiles (Constant Quality). I'm ripping a purely telecined source right now to see if that changes anything, though I don't think it will as I don't think there's anything out of the ordinary in the Cosmos series DVDs aside from the mixture of video and telecined film which neuron2's decomb seems to handle decently.

JohnMK
29th May 2008, 20:35
I think I have found a way to get the behavior I want. By unchecking "Auto Aspect Ratio Signaling" in View -> Options, square pixels are used by default. ::blush::

Deinorius
29th May 2008, 20:53
Please give me some more details.
Now, after I installed your latest beta, it's much better. I have no idea, what you've done, but the annoying message with every Preview/Crop/Encoding-Start etc is gone.

The only thing I've still got, if I try to set Settings/Download/Applications Directory from User Directory to Program Files Directory (which is in my case D: ), I get this message (http://www.2shared.com/file/3361022/7750c67f/Clip_2.html).

@stax
Changed. :)

stax76
29th May 2008, 23:02
@JohnMK: I don't think DVD's use quare pixels.

@Deinorius: No need to wait for approval using a service like www.2shared.com (www.2shared.com) :)

anonova
29th May 2008, 23:31
You don't have to in the latest beta, the option in the setting was also removed, it's now automated. It checks if ff_vfw.dll or xvidvfw.dll is present and if none is present it ask to install one of both showing the external aplications dialog for xvid. If one is present it automatically registers it and it don't matter if it's installed in the sys dir or in the cccp or whatever dir.
I don't quite follow. StaxRip failed to find ff_vfw.dll in the CCCP directory. I can't browse for it in the XviD external applications dialog because it is restricted to xvidvfw.dll.

StaxRip generally does a lot auto detection and automation, PAR is signalled to the encoder (not muxer) if the aspect ratio error exceeds a defined (in the options) threshold which is by default 2%.
I think you misunderstood my question, but I'll check it out first. I'm still trying to get a video to open without XviD. ;)

I would also like to keep the settings folder contained in Program Files if possible (Deinorius posted an image of the problem.)

Deinorius
29th May 2008, 23:44
I don't quite follow. StaxRip failed to find ff_vfw.dll in the CCCP directory. I can't browse for it in the XviD external applications dialog because it is restricted to xvidvfw.dll. Well, as for me I installed ffdshow normally. (But the CCCP is the only Codec Pack I recommend to install because for playback there isn't too much in it neither to less.) So ff_vfw.dll was in system32 folder. I set it in StaxRip. StaxRip asked, it's not registered. Shall I register? I clicked yes and here we go. I finally could deinstall Xvid, which I don't use anymore. :)

stax76
29th May 2008, 23:49
StaxRip failed to find ff_vfw.dll in the CCCP directory.

Edit: There might indeed still be a bug.

I would also like to keep the settings folder contained in Program Files if possible (Deinorius posted an image of the problem.)

It's not good practice IMHO but the beta I've just uploaded allows it.

stax76
30th May 2008, 00:27
Just uploaded another beta that will hopefully fix the YV12 issue.

Deinorius
30th May 2008, 07:42
It's not good practice IMHO but the beta I've just uploaded allows it. For me it's working now. :thanks:

JasonR
30th May 2008, 16:57
I have a bunch of videos that I have encoded as xvid/mp4 files, but they won't work on my Xbox 360. Xvid files will play on my 360 if they are encoded with an avi container. I tried to just rename the file extension to avi, and while it would play on my pc, it was still a no go on my 360. Also, I tried to reencode through StaxRip using the misc/no encode option and the avi container, but StaxRip gave me an invalid muxer error. Does anybody know a way to accomplish this without having to do all knew encodes on my videos? I'm using StaxRip .9.9.2 by the way. Thanks in advance.

stax76
30th May 2008, 17:35
@JasonR

StaxRip currently don't remux, I might add basic support for it. The null encoder is only for already processed jobs because the muxer is expecting a file name like <source>_EncoderOutput.264.

Did you think about updating StaxRip, the latest beta is probably more robust then the latest final.

JasonR
30th May 2008, 17:54
I did actually download a newer version last night while I was expirementing with trying to remux my videos. I have some more videos to encode, so I might play around with it a little more, tonight. Thanks.

Flexy
30th May 2008, 20:05
I have a bunch of videos that I have encoded as xvid/mp4 files, but they won't work on my Xbox 360. Xvid files will play on my 360 if they are encoded with an avi container. I tried to just rename the file extension to avi, and while it would play on my pc, it was still a no go on my 360. Also, I tried to reencode through StaxRip using the misc/no encode option and the avi container, but StaxRip gave me an invalid muxer error. Does anybody know a way to accomplish this without having to do all knew encodes on my videos? I'm using StaxRip .9.9.2 by the way. Thanks in advance.

For XBOX 360 i actually de-mux (convert all MKV) using a tool called "XenonMKV"...this actually just re-muxes it into MP4 without re-encoding the video.
360 is VERY picky, it also only understands 2 channel sound in MP4 so XenonMKV also downconverts all 5.1 audio to 2ch.
Furthermure every file has to be below 4GB - if its longer they have to be split.

did you read this:

http://www.xbox.com/en-us/support/systemuse/xbox360/digitalmedia/videoplaybackfaq.htm

? Maybe you encode some wrong/incompatible format?

Poopoo
31st May 2008, 00:32
Dang this is so heartwarming to see a clever programmer fixing bugs and adding features (and they work too !) so fast and yet so well polished.

I just LOVE Staxrip ! :)

trueimage
31st May 2008, 20:11
I just found this program a little while ago, and decided to start using it today.

I'm testing to convert a widescreen TV show from SD DVD to x264 in mkv

I chose the dxva profile, SD HQ.

When I do the compressibility test, it then says 50% is the default quality, more than that is not recommended. I typed in 350 MB as the file size, and it still was at 67%.


Now, after running the encode, the Avg QP values are all over 20... don't I want these to be lower??

here's the output from pass 1...

"C:\StaxRip\Applications\x264\x264.exe" --pass 1 --bitrate 1550 --stats "F:\DVD\VIDEO_TS\VTS_01_1.stats"
--level 3.1 --bframes 3 --b-pyramid --direct auto --filter -2:-1 --threads auto --progress --sar 32:27 --no-psnr --no-ssim --subme 1 --partitions none
--me dia --output NUL --output NUL "F:\DVD\VIDEO_TS\VTS_01_1.avs"

avis [info]: 704x480 @ 29.97 fps (54095 frames)
x264 [info]: using SAR=32/27
x264 [info]: using cpu capabilities: MMX MMX2 SSE SSE2 SSE3 SSSE3 Cache64
x264 [info]: slice I:289 Avg QP:20.36 size: 32280
x264 [info]: slice P:16511 Avg QP:21.80 size: 11136
x264 [info]: slice B:37295 Avg QP:23.74 size: 3772
x264 [info]: mb I I16..4: 18.3% 0.0% 81.7%
x264 [info]: mb P I16..4: 13.6% 0.0% 0.0% P16..4: 68.3% 0.0% 0.0% 0.0% 0.0% skip:18.1%
x264 [info]: mb B I16..4: 1.1% 0.0% 0.0% B16..8: 27.3% 0.0% 0.0% direct:20.3% skip:51.4%
x264 [info]: final ratefactor: 20.47
x264 [info]: direct mvs spatial:100.0% temporal:0.0%
x264 [info]: kb/s:1479.8

encoded 54095 frames, 148.59 fps, 1479.91 kb/s

Deinorius
1st June 2008, 13:48
Well, this is not really the correct thread because your request isn't directly asked about StaxRip, more to x264. You should ask in correct Subforum, which is MPEG-4 AVC.

But to answer your question, You can go down with filesize, but the quality is still great I assume. If you want to archivate on Harddisk, then I recommend to encode in Consant Quality Mode with 22 (or 21-20, it depends on you). If you're talking about a series with 42 min and NTSC, then filesize should go down well and you're saving time while encoding.

AND! Never compare with pass 1. Compare with pass 2.

stax76
1st June 2008, 21:06
@Poopoo

Thanks for your kind words. :thanks:

@trueimage

Rate control related codec settings is a difficult topics and there are many different opinions about it. Deinorius is right of course that it's best discussed in the AVC forum. I made a couple of minor changes to the beta that relate however, mostly tooltips/help and posted it at my site lately. Tips are pretty short as I'm not very good in explaining such difficult topics and I think it's best explained in guides and forum posts.

Assistant

The in the encoder options defined aimed quality value is more than 10% off.

Aimed Quality (%) (x264 dialog / StaxRip)

A well balanced value is 50%. The assistant warns if it's more then 10% off. The
option 'Adjust image or file size after the compressibility check' uses this
value as well.

CRF value defining 100% quality (x264 dialog / StaxRip)

No tooltip

After the compressibility check adjust (Options / Automation)

Adjusts the file size or image size according to the aimed quality percent
value defined in the encoder options.

Quality (main dialog)

A well balanced value for the quality is 50% for x264 and 60% for XviD/DivX.

Compressibility (main dialog)

Compressibility value which is low for dark and slow sources and high for colorful sources with a lot action.

dvd_maniac
3rd June 2008, 01:36
Since upgrading all my projects have been ripping subtitles into srt files. All of a sudden they are only producing .sub files. What setting can I change to fix this?

stax76
3rd June 2008, 08:59
@dvd_maniac

please elaborate

MADAJ
3rd June 2008, 14:29
http://img369.imageshack.us/img369/6425/11sh4.jpg

why does it crush?

I have used the official and beta version.

stax76
3rd June 2008, 15:14
@MADAJ

Did you try to load it with other apps like VirtualDub and media player?

dvd_maniac
3rd June 2008, 15:35
@Stax

Recently for some strange reason my projects are no longer ripping .srt files. The only subtitle files I get are .sub & .idx files which can not be opened by Subtitle Workshop to convert them to .smi which is what I need for my media center software (SageTV).

stax76
3rd June 2008, 16:24
Recently for some strange reason my projects are no longer ripping .srt files.

What does that mean?

MADAJ
3rd June 2008, 17:45
@MADAJ

Did you try to load it with other apps like VirtualDub and media player?

My bad :)

I reinstalled AviSynth & my codecs then it works.

dvd_maniac
3rd June 2008, 18:12
When I first upgraded to 1.1.0.1 and I imported a dvd using Combine files it would go through the prepare process and when it was finished it created a subtitle file with the extension ".srt". Even though I haven't changed anything it is no longer producing the .srt Subtitle file during the preparing source process.

stax76
3rd June 2008, 18:32
Probably you've opened a mkv file containing srt subtitles so StaxRip has demuxed the subtitles (using mkvextract), other than that I don't think StaxRip creates srt files.

dvd_maniac
4th June 2008, 04:37
No, I have only been opening DVD rips. I just did a few more and sometimes it creates the srt file and sometimes it does not. I just ripped Men of Honor again and imported it into Staxrip and it created the srt file. Here is a screenshot of the files it just created.http://www.parow.us/Stax.JPG

stax76
4th June 2008, 08:06
Maybe VSRip can also create srt files and it depend on the source.

fredlkrue
4th June 2008, 16:40
No, I have only been opening DVD rips. I just did a few more and sometimes it creates the srt file and sometimes it does not. I just ripped Men of Honor again and imported it into Staxrip and it created the srt file. Here is a screenshot of the files it just created.http://www.parow.us/Stax.JPG

I think that only happens with close caption subtitles....

Nakaleen
5th June 2008, 16:57
First off I love Staxrip (been using it for years for all my encoding) but now I want to start encoding my recorded tv shows without me setting up each and every encode.

I have two dir, one for Pan&Scan videos (cropping off 100px left and right) and widescreen (no crop) At the moment I can get the commandline to encode my videos but autocrop dose not work for most of my Pan&Scan videos (maybe because some of the video is in 16:9)

I am putting my hair out trying to find out a way of telling Staxrip in the commandline to crop the files I want by 100px on each side, or by any amount via the commandline

I tried to get my head around the macro string editor but even with the help (that pops up only once and never again without reinstalling staxrip heheheh) but it seems it is able to set the crop values, but no idea how to set it.

haxor2099
5th June 2008, 19:43
When I first upgraded to 1.1.0.1 and I imported a dvd using Combine files it would go through the prepare process and when it was finished it created a subtitle file with the extension ".srt". Even though I haven't changed anything it is no longer producing the .srt Subtitle file during the preparing source process.

you could always usse subrip to rip the dvd's sub files...
anhyway any modern program like media player classic , supports reading .sub files from matroska containers

stax76
5th June 2008, 19:55
@Nakaleen

There might be missing features, what exactly is your source and what exactly would you like it to be cropped. I wonder why you are using CLI since batch processing can be done without.

Raboo
8th June 2008, 16:35
If I want to rip a DVD to x264 to watch on a full HD LCD.
What profile is recommended?

Deinorius
8th June 2008, 18:50
It's more important you leave native resolution, doesn't filter too strong and you are using more higher than lower bitrates. Just use one of the normal profiles like CE/DXVA or consol-compatible profiles.

Of course you should use stronger settings than lower ones in x264.

Raboo
10th June 2008, 12:39
Isn't it time to split this thread up and have all the StaxRip questions separate?
I feel like both search wise and "human readability" wise it's pretty hard to go thru a 100 page thread...
I have a question but I want to make a new thread for simplicity and don't know if that would be breaking the norm of this forum...?

Deinorius
10th June 2008, 13:13
Easy. Use search function. If you don't find anything, then make a new thread.

stax76
10th June 2008, 13:19
At the top right side there is a link 'Search this Thread', you can also search side wide, e.g. if you have a StaxRip x264 related question you can enter 'StaxRip x264' and enable the 'Show Posts' option. It shouldn't be a issue creating new threads here for StaxRip bugs, feature requests or questions as long as you don't violate the forum rules.

trueimage
13th June 2008, 19:37
Can someone help me out on using recorded HD content from my STB?

It is split like this:

recording.001
recording.002 (etc)
recording.idx
recording.ifo
recording.trp


The video is 720p MPEG-2

I want to convert it to a 720p x264 mkv

I either get errors on the avs file when I click add or I get an encode that won't even play (and I play downloaded 1080p x264 mkv files all the time)

My machine is a Q6600 with 2GB DDR2. I am however running Vista x64, I can dual boot xp 32 bit if that might be better? Or setup a VMWare image of XP?

stax76
13th June 2008, 21:56
I'm not sure StaxRip works under Vista x64, I've tried to install Vista x64 once to check if StaxRip runs but the setup returned only a strange error code, maybe my Vista x64 copy was borked or my hardware is not compatible, I think it should and I had Vista 32 running on it. I would try to install it again if I could install it as VirtualBox guest on a XP host but IIRC x64 guests are not supported. I'm not sure if there is a free virtual machine solution for it. VMWare would work for you but it's obviously not a ideal solution. As for your source, anything other I don't use myself (which is SD PAL DVD and SD MPG recorded with DVBViewer and demuxed with ProjectX) might require either luck or advanced AviSynth, VFW, DirectShow, StaxRip etc. etc. knowledge so newbies can have a very hard time with such sources in particular since the HD tools are not mature, dshow is used instead and there is a lot things that can go wrong here like having installed the wrong filter by the wrong codec pack.

trueimage
14th June 2008, 00:29
Well, maybe the speed won't be there, but a VMWare install of XP 32-bit will tell me if it works, then I can decide to install it on this box or not...

I thought ProjectX was a preparation step built-in? Should I do something to it first before I try StaxRip? I really want these in x264 mkv for storage, the 18GB+ file size is a bit excessive, esp when they could be 5-8 GB easy...

stax76
14th June 2008, 00:43
I've never seen such a split/filename/filetype pattern before, by default StaxRip probably can't open the files directly to prepare them, it might be possibly to configure StaxRip to do so. You can try to demux/index manually using DGIndex. You get then a d2v file and audio which StaxRip can open. If you get problems like sync issues you can try to demux with ProjectX before you index with DGIndex. I always demux using ProjectX and since many years, it's very robust.

Sharc
14th June 2008, 09:01
..... If you get problems like sync issues you can try to demux with ProjectX before you index with DGIndex. I always demux using ProjectX and since many years, it's very robust.
In fact I experienced many sync issues (say in 50% of the cases) when merging vobs of a VTS using the default method. Following your advice I re-tried a critical case using ProjectX for demuxing, then running DGindex on the m2v and selecting the audio produced by ProjextX. It seems to have solved the problem. So why not use ProjectX as StaxRips default demultiplexer and automate the process? Just some thoughts.

stax76
14th June 2008, 10:32
DGIndex works fine on VOBs, your sync issues are extremely rare, if you search the forum I don't think you'll find much about it, was your source a copy or a original? Only time that happened to me was a copy I made with DVD Shrink or Nero, I didn't find a way to fix it, it was so bad that even PgcDemux and VSRip returned a error so I ripped the original again using RipIt4Me, it had still a sync issue of 8 seconds because of nasty authoring, DVD started with a 8 second ad without sound, not many DVD's are authored like this and I wish DGIndex could fix that. I solved it cutting off the ad using DVD Shrink reauthor mode, now that I think about it it would have been easier to cut it with DGIndex.

ProjectX might not be popular outside of the DVB scene, at times there wasn't great alternatives, it was created because all previous tools sucked badly. VOB support was added rather late probably because the author was bored. Reasons why it's not so popular might be no binaries, no active development, difficult interface, Java requirement. It's a great tool however, I use it since the beginning, it's about 7 years old like StaxRip and it has never failed on a stream I recorded with DVBViewer.

Sharc
14th June 2008, 11:22
Source is ripped from original DVD with RI4M. Ripping it again with AnyDVD did not make a difference. Sync loss (=incorrect delay) is typically in the range of 200 ... 500ms when it happens. It can happen for the entire movie, or only for a part of it, say starting in the 2nd half or so.
I tried to find a systematic reason when this happens, no clear conclusion so far. In one case the reason was probably some intro ads at the beginning of the first vob. When skipping these intros with DGindex manually, sync was ok. In one case the delay of the first vob was insane: some 87000ms. Skipping one GOP with DGindex set the delay correctly. In one case the sync loss started in the middle of a vob for no obvious reason. Batch processing the individual vobs instead of merging mitigated the problem. It appears that ProjectX handles these cases safely, I would need to do more tests however. I admit that I was "intimidated" a little by ProjextX at the beginning .....
Thanks for your explanations.

stax76
14th June 2008, 11:52
or only for a part of it, say starting in the 2nd half or so.

Starting 2nd half only happened once too me and before you I've never read about it. What I've often read about is sync issue develops towards the end but I've never experienced it. Loosing sync in the middle is nasty so I hope it won't happen again or a reason can be found.

Sharc
14th June 2008, 22:55
Now I had a new sync issue:
Audio Track 2 (en): Perfect sync
Audio Track 1 (de): Out of sync by 12 seconds.
First vob starts with a WB logo intro (vob1 cell1 of 12 seconds duration). The audio of this intro is missing in Track 1 (de), i.e. it started immediately with the audio for the movie. Hence the (de) audio is early by 12 seconds.
=> I'll try again using ProjectX for demuxing.

Added:
ProjectX managed to align the two audio language tracks correctly with the movie, although the audio for the intro clip is missing in the (de) track.

Added 2:
Ok, here how I finally solved this problem using DGIndex. It needs little manual work.

1) Open DGIndex and load (File open .... ) all the vob files belonging to the title.
2) Advance with the > button until the first cell of the movie appears (see DGindex window tiltle bar), i.e. skipping the VOB ID (VOB1 cell1 in my case) of the studio intro.
3) Press the [ button
4) Save the project
5) Now load the d2v generated by DGIndex in step 4) into StaxRip and continue as usual.
The 2 audio tracks are now both in sync with the video, the studio intro is skipped.

Sharc
19th June 2008, 07:00
I am using Xvid in DivX container for material which I want to playback on my SAP. Quantizer 2 with qpel delivers very nice quality.
It seems however that DivxMux (the muxer used by StaxRip for DivX container) has a problem when the filesize exceeds about 4GB, yet still would fit on a DVD5. No error message or warning, the movie is just truncated, and search/random access becomes a problem. It seems to work well for file sizes below 4GB.
Does anyone have similar experience? Is there a limitation?

arrirc
26th June 2008, 18:11
Hello Stax

Please find the crash report here (reference: http://forum.doom9.org/showthread.php?p=1152658#post1152658):

http://www.mediafire.com/?dyyuiy3uxz3

stax76
26th June 2008, 20:42
Hi,

It's crashing trying to minimize a external application, what external application runs when this happens? I've uploaded a beta trying to fix it but since it's not clear what's causing it I can't promise much.

arrirc
27th June 2008, 13:51
Hi,

It's crashing trying to minimize a external application, what external application runs when this happens? I've uploaded a beta trying to fix it but since it's not clear what's causing it I can't promise much.

Thank you very much Stax.
I believe the application was Firefox 'cause thats the only program that was running while I was using StaxRip.

Now may I request your attention to a doubt that I have? I have recently converted a Video which was ripped on my HDD, to MP4-X.264 combination. First I tried the profile under Constant Quality> ASP Q2 eq (crf) and next time I have used High Quality> Slow CRF 22.

For the same movie, which is BW, the first profile yielded a file of 1.8GB in size (approx) and the second profile resulted a much smaller file size (about 900 MB). While using these profiles, in both cases, the "compressibility check" option did not appear.
Is this size difference Normal?

stax76
27th June 2008, 15:19
Is this size difference Normal?

In the x264 dialog, press the F1 key and work through the guides, what you are most interested is CRF Mode. CRF 22 gives you a good balance between filesize and quality, CRF 18 gives extreme quality/filesize.

arrirc
27th June 2008, 15:39
Thank you Stax, I shall let you know in a day or two.

So the 900MB file is good enough as a archive/backup, and so is the "High Quality> Slow CRF 22" profile- right?

stax76
27th June 2008, 16:47
It's well balanced assuming you don't use a resize filter.

arrirc
27th June 2008, 18:52
It's well balanced assuming you don't use a resize filter.

I did not have to resize in the first case, but I did resize in the second case, I am not in front my own PC, so I can't recall the exact WxH, but most probably the W=702! What's wrong with the resize? If I encode taking 720x480 or 720x576, will the file sizes be considerably larger?

Now a little off topic: I must admit that I am greatly impressed with your software and you mostly. Your promptness in responding to even flimsy/ silly issues that we newbies bring forward is commendable. Please accept my heartfelt gratitude. Thank You!

----------------
Now playing: Cliff Richard - True Love Ways (http://www.foxytunes.com/artist/cliff+richard/track/true+love+ways)
via FoxyTunes (http://www.foxytunes.com/signatunes/)

stax76
28th June 2008, 11:12
@arric

You can use the same CRF value for any image size, for small image sizes I would probably lower the CRF value in order to improve the quality. I appreciate your gratitude!

@all

If you want to help testing the beta, this is the current status:

* Some new MKV features added
* Tooltip added to tray icon showing console output
* Preparers can define which formats to be used and which not
* Various aspect ratio fixes and improvements
* VirtualDub updated to 1.8.1
* DGAVCDec updated to 1.0.0a24
* Many fixes and Improvements regarding various source formats
* Pass through encoder improved to handle not only previously encoded project but also source files
* Since the pass through encoder was improved StaxRip can now be used to (batch) remux source files.
* MediaInfo updated to version 0.7.7.2, it fixes reading aspect ratio from anamorphic avi source files
* Some fixes and improvements picking up audio files
* Added MP4 demuxing, improved MKV demuxing
* Added support for more then one IDX (vobsub) file
* Added support to reorder IDX (vobsub) subtitles
* DGAVCDec was updated to version 1.00a23
* Various setup fixes and improvements
* Many useful directories added to the main menu
* A couple of improved tooltips
* Fixed two bugs with adding jobs from a second StaxRip instance
* New command to play a sound file

Ajax_Undone
28th June 2008, 17:35
http://img90.imageshack.us/img90/7405/derstt6.jpg (http://imageshack.us)
http://img90.imageshack.us/img90/7405/derstt6.4a530b555b.jpg (http://g.imageshack.us/g.php?h=90&i=derstt6.jpg)

Hey Stax whats with the 3.5GB VB Script in the out folder...

stax76
28th June 2008, 17:57
Hey Stax whats with the 3.5GB VB Script in the out folder...

I've absolute no idea what happened, maybe I can see something if you upload the diagnostic file (Help / Make Bug Report) using 2shared.com or mediafire.com. StaxRip shouldn't create any files with the extension VB, this extension is used for Visual Basic source code files which are typically only few KB. It has almost the same size as the VOB file, really strange issue.

Ajax_Undone
28th June 2008, 22:51
StaxRip shouldn't create any files with the extension VB, this extension is used for Visual Basic source code files which are typically only few KB. It has almost the same size as the VOB file, really strange issue.


Thats what I figured

I will upload later tonight am to busy right now...

*Edit* LOL Ok it was my fault I put the other VOB file into the same directory as 1.vob opon moving it I must have accidentally Deleted the O from VOB...

So 2.vb is really 2.vob...

Any how thanx for caring... But I figured it out while trying to find the 2nd vob...

weaver4
29th June 2008, 13:57
I am getting an error dialog saying "mp4 muxing failed". But I look the movie and it looks complete. Here is the log file:

------------------------------------------------------------
Muxing
------------------------------------------------------------

"C:\Documents and Settings\Trey Weaver\Local Settings\Application Data\StaxRip\Applications\MP4Box\MP4Box.exe" -fps 23.976 -add "D:\aa-Rips\MainMovie\mymovie\VIDEO_TS\mymovie.zsxq24-ipt_EncoderOutput.264:name=Video" -add "D:\aa-Rips\MainMovie\mymovie\VIDEO_TS\VTS_01_1 01 en-English 3_2ch 384Kbps DELAY -43ms_AudioOutput_AudioOutput.mp4:lang=eng:name=English" -add "D:\aa-Rips\MainMovie\mymovie\VIDEO_TS\VTS_01_1.idx#1" -new "J:\Movies\Movies-iPod\mymovie.zsxq24-ipt.mp4"

AVC-H264 import - frame size 320 x 128 at 23.976 FPS

Import results: 144464 samples - Slices: 1400 I 64324 P 78740 B - 1 SEI - 1293 IDR
Stream uses B-slice references - max frame delay 2
IsoMedia import - track ID 1 - Audio (SR 48000 - 2 channels)

VobSub import - subpicture stream 'eng'

Saving J:\Movies\Movies-iPod\mymovie.zsxq24-ipt.mp4: 0.500 secs Interleaving

------------------------------------------------------------
Muxing Statistics
------------------------------------------------------------

Start: 3:09:20 AM
End: 3:10:48 AM
Duration: 00:01:28
Speed: 1642 fps

------------------------------------------------------------
Error
------------------------------------------------------------

mp4 muxing failed

stax76
29th June 2008, 14:46
@Ajax_Undone

VOB files should better have the original filename like it's stored on the DVD (VTS_0?_?.VOB), applications can then check if there is corresponding IFO file and enable extra features with information taken from the IFO file.

@weaver4

What looks most suspiciously here is '*_AudioOutput_AudioOutput.mp4', with a common workflow StaxRip should not create such a filename. Did you do anything special?

weaver4
29th June 2008, 19:00
@weaver4

What looks most suspiciously here is '*_AudioOutput_AudioOutput.mp4', with a common workflow StaxRip should not create such a filename. Did you do anything special?


The only special thing I did was use a Template that I made.

But I looked and there was already a filed called: VTS_01_1 01 en-English 3_2ch 384Kbps DELAY -43ms_AudioOutput.mp4 in the directory that was made a few months ago.

The files do play properly.

Danisan
30th June 2008, 12:17
Hi!

I edited the filter profiles and added a new line under "[Misc]"

ColorMatrix = ColorMatrix(hints=true)

When I add ColorMatrix and use it under filters it always crashes when i proceed to the next step. It doesn't matter if I add it before loading a source or after. What am I doing wrong?

stax76
30th June 2008, 14:56
@weaver4

Did it happen only once or does it happen all the time?

@Danisan

Please try a new beta and post the error message if there is any.

Danisan
30th June 2008, 17:57
@Danisan

Please try a new beta and post the error message if there is any.

Tried the new beta, doesn't crash anymore. :thanks:

Ajax_Undone
3rd July 2008, 21:39
@Ajax_Undone

VOB files should better have the original filename like it's stored on the DVD (VTS_0?_?.VOB), applications can then check if there is corresponding IFO file and enable extra features with information taken from the IFO file.


Its all good 1.vob and 2.vob are to different Videos I was not going to merge them... Any how Happy day:)

RickA
7th July 2008, 17:44
Greets Stax,

Great program you have here! I am sorry that I overlooked it some months ago. Thanks for your work on this. :-)

Cheers,
Rick

weaver4
7th July 2008, 18:12
@weaver4

Did it happen only once or does it happen all the time?


It happens all the time. Every single mp4 encode.

stax76
7th July 2008, 18:25
@RickA

Thanks for the words of appreciation.

It happens all the time. Every single mp4 encode.

Please upload diagnostic files (http://forum.doom9.org/showthread.php?t=139212) generated by the latest beta (http://planetdvb.net/staxrip/download), I should be able to find the problem then.

weaver4
9th July 2008, 02:15
Here is the diagnostic files.

http://www.mediafire.com/?xjwnjtcpmlx

BTW: I am muxing to a remotely mapped drive if that makes any difference.

stax76
9th July 2008, 16:46
@weaver4

The audio source file is a mp3 file but the source is a DVD, did you create the MP3 source file manually in the audio settings dialog (you don't have to do this) or is it from a previous project? It would be better to select the original AC3 file as audio source file.

This does not explain the error though, it could be because it is a network drive or because the target filename has a dot, MP4Box might have problems with such things, maybe you can test things with a small sample clip. You said even with the error the output file looks OK?

What I find a bit unusual is the high audio bitrate of 174.40 kbps in relation to the small image size of 640x272.

weaver4
9th July 2008, 22:29
Interesting. Generally I make a DivX/MP3 avi file first. Then I go in and select the *.d2v file as the input to make a H264/AAC mp4 movie. Never noticed that it picked up the *.mp3 file that was made for the avi file for the audio.

I will try the other things you mentioned. and get back to you.

weaver4
10th July 2008, 03:02
I tried it by removing the period, no effect. But when I muxed to a local drive it worked fine, so the problem happens when it is a networked mapped drive.

The files are OK, but I get this error. Do you do anything to the file after the file is muxed, like set permissions?

weaver4
10th July 2008, 03:05
BTW: When you do a Divx file first and have a mp3 file in the folder. Then you try to do a mp4 with a aac file Staxrip will select the the mp3 file that is already in the folder not the ac3 file for the audio input file. This will happen even if you select new vob file and have them indexed so that a new ac3 file is generated. This is bad.

stax76
10th July 2008, 08:31
Do you do anything to the file after the file is muxed, like set permissions?

No, the error StaxRip issues should be due to MP4Box returning a error code so it should be a MP4Box issue. Somebody would have to report this to MP4Box but I'm not sure there is great support. One of the reasons why MKV is so sucessful is the author of mkvmerge provides great support here at doom9, mkvmerge is much more robust than MP4Box.

This will happen even if you select new vob file and have them indexed so that a new ac3 file is generated. This is bad.

It depends, there might be situations were MP3 is prefered but this behavior is customizable since it depends on the input types in the audio settings. Unless you don't open other vob files you can just reopen the d2v file or even better a project file.

stax76
10th July 2008, 10:57
1.1.1.0 (2008-07-10)

* Added support for custom source PAR
* Many fixes and Improvements regarding various source formats
* Many minor fixes and improvements
* x264 updated to 900
* DGAVCDec updated to 1.0.0a26
* Some new MKV features added
* Tooltip added to tray icon showing console output
* Preparers can define which formats to be used and which not
* Various aspect ratio fixes and improvements
* VirtualDub updated to 1.8.1
* Pass through encoder improved to handle not only previously encoded project but also source files
* Since the pass through encoder was improved StaxRip can now be used to (batch) remux source files
* MediaInfo updated to version 0.7.7.2, it fixes reading aspect ratio from anamorphic avi source files
* Some fixes and improvements picking up audio files
* Added MP4 demuxing, improved MKV demuxing
* Added support for more then one IDX (vobsub) file
* Added support to reorder IDX (vobsub) subtitles
* Various setup fixes and improvements
* Many useful directories added to the main menu
* A couple of improved tooltips
* Fixed two bugs with adding jobs from a second StaxRip instance
* New command to play a sound file

weaver4
10th July 2008, 15:06
But my iPod will not play MKV.

What I do is that I have two Templates one for DivX/MP3 CQ 4.0 and one for H264/AAC CRF 24. When I encode the movie with the DivX Template then I select the H264 Template and select a d2v (or vob) file. Even though the H264 Template uses AAC for audio it loads the mp3 file instead of the ac3 file.

stax76
10th July 2008, 17:33
I've added support for CRF values using decimal numbers, unfortunately it was too difficult to add migration code, all CRF values were reset to 22.

Even though the H264 Template uses AAC for audio it loads the mp3 file instead of the ac3 file.

In the audio settings under 'Input' delete 'mp3', it should then detect the AC3 file instead.

PS: I've reported the MP4Box bug to the MP4Box author.

weaver4
11th July 2008, 14:32
I was playing with RipBot264 since they also use MP4box. But with RipBot264 I do not get the error...very strange. Here is the mp4box command line from RipBot264.

"C:\Tools\RipBot\tools\mp4box\mp4box.exe" -tmp "E:\temp\RipBot264temp" -add "E:\temp\RipBot264temp\video.264" -fps 23.976 -add "E:\temp\RipBot264temp\audio.aac" -mpeg4 -new "J:\Movies\Movies-H264\My Movie--zrbq22-pch.mp4"

stax76
11th July 2008, 15:05
And if you use the RipBot MP4Box version with StaxRip?

weaver4
11th July 2008, 21:14
Nope, I will give that a try.

bmnot
13th July 2008, 21:12
I've noticed a lot of overcropping with v1.1.1.0, especially horizontal. It crops movies even if they don't have any black borders and dimensions are mod 16. Any reasons for that?

Also, when I save a new template and set it as default, it keeps nagging me to "upgrade" to Staxrip's default values. (I prefer user-defined filesize and mp4.)

stax76
13th July 2008, 21:45
I've noticed a lot of overcropping with v1.1.1.0, especially horizontal. It crops movies even if they don't have any black borders and dimensions are mod 16. Any reasons for that?

In the options there is a output mod value, by default it's 16, since there is no resize filter overcropping is necessary to achieve the output mod. Alternative would be to lower the output mod value or to resize to get a mod 16 output size, pressing Ctrl key while using the slider you can also resize keeping the source PAR which is signaled automatically then. These things are a bit difficult to understand so you might have to explain more detailed how exactly you expect StaxRip to work so I can tell you what options you need to change.

Also, when I save a new template and set it as default, it keeps nagging me to "upgrade" to Staxrip's default values.

I don't understand, what exactly does the message tell and when does the message appear?

RickA
20th July 2008, 18:24
Wanted to offer up some kudos to you Stax.

Really like the fact you made it so one can select different parameters for the encode process - especially Bitrate by Percent. I enjoy being able to quickly, easily and accurately decide on the bitrate, filesize and quality percentage I desire the output to be. For instance, with just a few mouse clicks I can see the potential outcome of 70% quality versus 90% and how they would affect filesize and bitrate.

Yes, I frequently use a much higher % than you recommend and probably what many users use. I am sure it may probably be overkill. Yet, for the little bit extra in MB to the filesize plus a nice bitrate boost. I find the level of detail (skin, hair, fine details) in the picture to be much better with a higher % - which is worth it to me. My goal is to 'archive' DVD's for a HTPC setup. So, for example, if going from 470MB to just 520MB nets me a near 100% Q versus 70ish% for an episode I will rewatch many times. I'll gladly do that. If I get about half the source filesize, full resolution and near transparent quality I am quite happy. :-)

The Crop window is super easy to use. The Preview window showing how the video would look with selected filters is an awesome bonus. I like that you show the source fps - helpfull to know when to de-interlace, IVTC, or just leave progessive.

As you can tell I am pleased with that you have created. Look forward to using StaxRip to expand my HTPC and to the improvements you may make to StaxRip in the future.

Cheers,
Rick

RunningSkittle
20th July 2008, 18:26
stax please update to the latest dgindex, 1.5.1.

thanks!!!

@rickA, have you tried out the CRF (try crf 20)option instead of shooting for a specific bitrate? Im quite sure that you will be much happier!

Poopoo
1st August 2008, 13:27
I think is had become abandonware. The slowly removing of the support forums already made clear Stax intensions.

Oh well, it was great as long as it lasted.

burfadel
1st August 2008, 13:39
I don't think stax actually wants to abandon the programme, just that development for one person takes a lot of time so I understand if he doesn't want to spend all his time on it! The source code is available, I'm sure if there are people willing to help him with its continued development that he'd graciously allow them to, and it doesn't mean he has to stop developing it himself but it would be good for both users and stax if there were people willing to do as such. Maybe a good avisynth script editor built in would get more people using it, allowing for more customisation of scripts. In any case, its is my preferred editor/encoder, so I hope its still continued!

DarkZell666
1st August 2008, 14:00
... and whatever he does, StaxRip isn't going to stop working just because stax stopped working on it :p

stax76
1st August 2008, 14:41
Next 6 month will likely to be very slow, sorry. I'll spend more time with C++, DVBViewer, MediaPortal an MediaMonkey, just yesterday I contributed to DVBViewer since most of my support requests were ignored:

http://www.dvbviewer.info/forum/index.php?showtopic=28488

RunningSkittle
1st August 2008, 23:36
What kind of work are you doing with mediamonkey? I use it. (although only because songbird doesnt like large library's yet).

Also, could you please update x264 and dgindex to the latest versions?