View Full Version : StaxRip's default values for audio, video, aspect ratio, image size, filters
stax76
29th November 2009, 07:06
Please use this thread for suggesting default values for StaxRip, the next version will use the defaults listed below.
The menu tree structure are more flat in the next version, the menu tree structure for numerous menus is customizable in case somebody wants the old or a completely different structures.
x264 profiles based on tune and preset
2pass | Film - Medium
2pass | Film - Slow
2pass | Film - Slower
2pass | Film - Veryslow
2pass | Animation - Medium
2pass | Animation - Slow
2pass | Animation - Slower
2pass | Animation - Veryslow
Film - Fast using --crf 23
Film - Medium using --crf 23
Film - Slow using --crf 23
Animation - Fast using --crf 23
Animation - Medium using --crf 23
Animation - Slow using --crf 23
HQ - Film - Slow using --crf 20
HQ - Film - Slower using --crf 20
HQ - Film - Veryslow using --crf 20
HQ - Animation - Slow using --crf 20
HQ - Animation - Slower using --crf 20
HQ - Animation - Veryslow using --crf 20
http://h.imagehost.org/t/0981/videoprofiles.jpg (http://h.imagehost.org/view/0981/videoprofiles)
Audio profiles using good old BeSweet
AAC 50-90 kbps -bsn( -vbr 0.3 )
AAC 80-120 kbps -bsn( -vbr 0.4 )
AAC 5.1 200-250 kbps -bsn( -vbr 0.3 -6chnew )
MP3 110-150 kbps -lame( -v --vbr-new -V 5 -b 32 )
Advanced | AAC 48 kbps -bsn( -abr 48 )
Advanced | AAC 64 kbps -bsn( -abr 64 )
Advanced | AAC 96 kbps -bsn( -abr 96 )
Advanced | AAC-LC 96 kbps -bsn( -abr 96 -aacprofile_lc )
Advanced | AAC-HE 64 kbps -bsn( -abr 64 -aacprofile_he )
Advanced | AAC-HEv2 48 kbps -bsn( -abr 48 -aacprofile_hev2 )
Advanced | AAC 5.1 128 kbps -bsn( -abr 128 -6chnew )
Advanced | AAC 5.1 192 kbps -bsn( -abr 192 -6chnew )
Advanced | AAC-HE 5.1 128 kbps -bsn( -abr 128 -aacprofile_he -6chnew )
Advanced | AAC-LC 5.1 256 kbps -bsn( -abr 256 -aacprofile_lc -6chnew )
Advanced | MP3 CBR 160 kbps -lame( --alt-preset cbr 160 )
Advanced | Vorbis 80-100 kbps -ogg( -q 0.200 )
http://h.imagehost.org/t/0900/audioprofiles.jpg (http://h.imagehost.org/view/0900/audioprofiles)
Source PAR menu
DAR 16:9 PAL ITU 1,823361 = 1,823361
DAR 4:3 PAL ITU 1,367521 = 1,367521
DAR 16:9 NTSC ITU 1,822784 = 1,822784
DAR 4:3 NTSC ITU 1,367088 = 1,367088
PAR 1:1 = 1:1
DAR 4:3 = 1,333333
DAR 16:9 = 1,777777
http://h.imagehost.org/t/0304/armenu.jpg (http://h.imagehost.org/view/0304/armenu)
Target image size menu
1440 x 1080 = 1440 x 1080
1280 x auto = 1280 x 0
960 x 720 = 960 x 720
720 x auto = 720 x 0
640 x auto = 640 x 0
480 x auto = 480 x 0
300 k Pixel = 300000
250 k Pixel = 250000
200 k Pixel = 200000
150 k Pixel = 150000
100 k Pixel = 100000
http://h.imagehost.org/t/0610/targetimage.jpg (http://h.imagehost.org/view/0610/targetimage)
AviSynth filters
[Source]
Automatic =
MPEG-2 = MPEG2Source("%source_file%")
MPEG-2 Deblocked = MPEG2Source("%source_file%", CPU=6)
AVC = AVCSource("%source_file%")
AVI = AVISource(%source_files_comma%,audio=false)
DirectShow = DirectShowSource("%source_file%", audio=false, convertfps=true)
[Crop]
Crop Borders = Crop(%crop_left%,%crop_top%,-%crop_right%,-%crop_bottom%)
[Field]
FieldDeinterlace = FieldDeinterlace()
TomsMoComp = TomsMoComp(-1,5,1)
Yadif = LoadCplugin("%application:Yadif%") Yadif()
IVTC = Telecide(guide=1).Decimate()
[Resize]
Soft = BilinearResize(%target_width%,%target_height%)
Neutral = BicubicResize(%target_width%,%target_height%,0,0.5)
Sharp = LanczosResize(%target_width%,%target_height%)
Very Sharp = Lanczos4Resize(%target_width%,%target_height%)
[Noise]
Low = FluxSmoothST(2)
Medium = FluxSmoothST(4)
Heavy = FluxSmoothST(8)
Extreme = UnDot.Deen()
[Subtitle]
VobSub = VobSub()
TextSub = TextSub()
[Misc]
Convert To YV12 = ConvertToYV12()
http://h.imagehost.org/t/0288/avs.jpg (http://h.imagehost.org/view/0288/avs)
I've uploaded a preview to the next version in case somebody want's to try it before the next release.
It's called 1.1.2.2 preview 1
http://www.stax76.bplaced.net/files/applications/StaxRip/StaxRip_1.1.2.2_preview_1.7z
Added option to force source display aspect ratio
Added option to force static crop values
Added option to show an application's help file in the Applications dialog
Added various new audio and video profiles and changed menu structure
Added menu to choose image size in main dialog
Added menu to override the auto detection of the source PAR
Added task dialog to quickly find and perform the following tasks: batch encode files using audio profiles, copy macros, reset settings, show the help file of application, launch a application, open the directory of a application, show the website of a application
Added option to play various files (Tools / Play File)
Added option to show various files (Tools / Show File)
Added option to show media info on various files (Tools / Media Info)
Added x264 zones feature to preview
Fixed bug AAC decoding not working, now using FAAD2 instead of ffmpeg
Sharc
29th November 2009, 08:34
What about including ac3 in the audio presets?
For example:
- AC3 2 192
- AC3 5.1 448
- AC3 5.1 640
x264 tune and presets:
I would suggest to include under HQ.... the 'medium' preset, and skip 'veryslow' instead. But that's just me perhaps.
stax76
29th November 2009, 09:24
Is AC3 encoding useful converting from Blu-ray? I also favor medium as preset.
Havokdan
29th November 2009, 09:32
I would suggest new filters in:
AviSynth filters
[Resize]
Spline36Resize and Spline64Resize
[Noise]
hqdn3d(1)
FFT3DFilter(2.5)
or (3.0)
[Misc]
ConvertFPS, ChangeFPS and Assumfps.
Thank You
Sharc
29th November 2009, 10:04
Is AC3 encoding useful converting from Blu-ray?
AC3 is standard and very popular for DVD for example, and most players can play AC3 (compatibility). AC3 with its fixed bitrate (CBR) is also easy to predict the resulting file size.
Possible application of recoding the audio to AC3:
- converting a Blu-ray source to a DVD format (for playback on a DVD Standalone)
- Shrinking a Blu-ray file (.m2ts) to fit on a DVD 5 and converting the huge master audio to AC3.
So I guess it would be nice to have it included.
Sharc
29th November 2009, 11:51
What about adding m2ts to the container formats?
Under the Resize presets, I am not sure about the usefulness of the 'xxx k Pixel' selections (?). Do these presets have a specific meaning?
Finally, I question the ITU values for the Source PAR.
I believe they should be:
DAR 16:9 PAL ITU 512:351=1.4587
DAR 4:3 PAL ITU 128:117=1.0940
DAR 16:9 NTSC ITU 5760:4739=1.2154
DAR 4:3 NTSC ITU 4320:4739=0.9116
Do I misunderstand something?
MuLTiTaSK
29th November 2009, 17:18
happy holidays stax great job you doing with the program your awesome i will be donating asap
i found some more guides using this gem
http://desibbrg.com/forums/technical-baatein/44930-dvd-ripping-guide-using-staxrip-complete-tutorial-1cd-2cd-dv.html
http://www.tbkhomeworld.com/staxrip/
how about adding bluray audio presets using eac3to
http://en.wikibooks.org/wiki/Eac3to/How_to_Use
more bluray backup options so i could just use stax for all my bluray backups like i already do with my dvds
here are some bluray backup guides to give you an idea what i would wish stax could combine into one program
http://x264-bb.com/encoding/1990-how-filter-using-avisynth-encode-using-megui.html (http://x264-bb.com/encoding/1990-how-filter-using-
avisynth-encode-using-megui.html)
http://www.avsforum.com/avs-vb/showthread.php?t=1033822
http://forum.videohelp.com/topic358185.html
http://forum.videohelp.com/topic372380.html
http://forum.slysoft.com/showthread.php?t=25818
http://www.networkedmediatank.com/wiki/index.php/Remux_Blu-ray_HD_DVD_Main_Movie_for_Playback
http://www.curtpalme.com/forum/viewtopic.php?t=17002&postdays=0&postorder=asc&&start=0&sid=393e501a1564155d70159db6151c0762
stax76
29th November 2009, 23:19
@Havokdan
Do you have profiles set up using this filters? In this case please mail me the profile definition.
What about adding m2ts to the container formats?
I need to work in this area.
Under the Resize presets, I am not sure about the usefulness of the 'xxx k Pixel' selections (?). Do these presets have a specific meaning?
Yes I think it's useful, choosing s smaller image is a way to get a smaller file size like raising --crf, it's not exactly the same and people want to use both.
DAR 16:9 PAL ITU 512:351=1.4587
DAR 4:3 PAL ITU 128:117=1.0940
DAR 16:9 NTSC ITU 5760:4739=1.2154
DAR 4:3 NTSC ITU 4320:4739=0.9116
That looks like PARs, PARs have to be defined as x/x or x:y in the menu and DARs as decimal number using the local decimal seperator. PAR's work only with the matching storage aspect ratio while DAR's work with any storage aspect ratio, MPEG-2 uses often storage aspect ratios different from DVD's.
@MuLTiTaSK
Thanks for the links.
stax76
30th November 2009, 04:44
I've added the resize filters now and enhanced the menu to support a tree structure. The vertical bar character with a space on both sides ' | ' is now the application wide syntax to define the menu tree structure, I think it's now possible to customize the tree structure in all important menus.
[Resize]
Soft = BilinearResize(%target_width%,%target_height%)
Neutral = BicubicResize(%target_width%,%target_height%,0,0.5)
Sharp = LanczosResize(%target_width%,%target_height%)
Very Sharp = Lanczos4Resize(%target_width%,%target_height%)
Advanced | BilinearResize = BilinearResize(%target_width%,%target_height%)
Advanced | BicubicResize = BicubicResize(%target_width%,%target_height%,0,0.5)
Advanced | LanczosResize = LanczosResize(%target_width%,%target_height%)
Advanced | Lanczos4Resize = Lanczos4Resize(%target_width%,%target_height%)
Advanced | Spline16Resize = Spline16Resize(%target_width%,%target_height%)
Advanced | Spline36Resize = Spline36Resize(%target_width%,%target_height%)
Advanced | Spline64Resize = Spline64Resize(%target_width%,%target_height%)
http://h.imagehost.org/t/0595/avsmenu.jpg (http://h.imagehost.org/view/0595/avsmenu)
flebber
30th November 2009, 11:03
My suggestion would be to add a specific filter section for shrapening filters after noise/smoothing filters.
For example
asharp = asharp(1.5,4.25,-0.1)
and warpsharp, limitedsharpenfaster etc.
a good list and guide of sharpening filters is here
http://www.aquilinestudios.org/avsfilters/sharpeners.html
A noise filter favourite of mine is Vaguedenoiser. http://www.aquilinestudios.org/avsfilters/spatial.html#vague
vaguedenoiser = VagueDenoiser(threshold=2, method=3, nsteps=6, chromaT=2.0)
and fft3dfilter
fft3dfilter = fft3dfilter(sigma=1.5, bt=5, bw=32, bh=32, ow=16, oh=16, sharpen=0.4)
and for deblocking
SmoothD = SmoothD(3,6,0,2)
Sharc
30th November 2009, 22:01
That looks like PARs, PARs have to be defined as x/x or x:y in the menu and DARs as decimal number using the local decimal seperator. PAR's work only with the matching storage aspect ratio while DAR's work with any storage aspect ratio, MPEG-2 uses often storage aspect ratios different from DVD's.
Yes, the numbers I gave apply for the ITU values of the 'Pixel Aspect Ratio' PAR (= --SAR 'Sample Aspect Ratio' in x264 terminology) for the various PAL or NTSC sources.
I thought this is what you were looking for when clicking on PAR in the new GUI.
stax76
30th November 2009, 22:34
@flebber
Since I broke compatibility with most settings for various reasons it's a good opportunity to add more filters. I prefer fast, small and robust single file plugins that don't have much potential to result in many bug reports due to things like CPU/GPU dependencies causing scripts fail to render.
@Sharc
The label displays the PAR but the menu allows four things:
1. PAR auto detection assuming MPEG-2 has 4:3 flag
2. PAR auto detection assuming MPEG-2 has 16:9 flag
This options are hardcoded in the menu and pointless since MPEG-2 PAR detection is reliable, StaxRip reads it from the d2v file and if it's 4:3 it also checks the IFO file because the DVD standard don't require this info to be found in the VOB files (only very few DVD are authored this way).
The customizable menu allows for:
3. Defining PARs using the format x:y or x/y, it sets the custom PAR option found in the options dialog.
4. Defining DARs using as format a decimal number with local decimal separator, it sets the custom DAR found in the options.
flebber
30th November 2009, 23:45
@flebber
Since I broke compatibility with most settings for various reasons it's a good opportunity to add more filters. I prefer fast, small and robust single file plugins that don't have much potential to result in many bug reports due to things like CPU/GPU dependencies causing scripts fail to render.
sounds good
asharp = asharp(1.5,4.25,-0.1) very quick never caused an error or crash for me.
vaguedenoiser = VagueDenoiser(threshold=2, method=3, nsteps=6, chromaT=2.0) - same as above quick and effective
fft3dfilter = fft3dfilter(sigma=1.5, bt=5, bw=32, bh=32, ow=16, oh=16, sharpen=0.4) - slow, this one has as its issue as needing FFTW3.dll in a path environment. So a better option for staxrip may be:
FrFun7 = FRFun7(1.1,6.0,2.0) - quick effective and crash free noise removal.
SmoothD = SmoothD(3,6,0,2) - no great speed effect and safe does a great job, however needs to be run before crop or resizing. http://www.funknmary.de/bergdichter/projekte/video/SmoothD/ and http://www.aquilinestudios.org/avsfilters/spatial.html#smoothd
Haven't included filters for dehalo or debanding or similar but thats the good thing about staxrip if you have a filter you like you can just add it into filter profiles :)
Sharc
1st December 2009, 00:20
@Sharc
The label displays the PAR but the menu allows four things:
1. PAR auto detection assuming MPEG-2 has 4:3 flag
2. PAR auto detection assuming MPEG-2 has 16:9 flag
This options are hardcoded in the menu and pointless since MPEG-2 PAR detection is reliable, StaxRip reads it from the d2v file and if it's 4:3 it also checks the IFO file because the DVD standard don't require this info to be found in the VOB files (only very few DVD are authored this way).
The customizable menu allows for:
3. Defining PARs using the format x:y or x/y, it sets the custom PAR option found in the options dialog.
4. Defining DARs using as format a decimal number with local decimal separator, it sets the custom DAR found in the options.
I see, thanks for the clarification.
WillKane
1st December 2009, 19:56
Are FieldDeinterlace and TomsMoComp really needed?
I think that Yadif is fast enough and gives mostly artifact-free results. Quality is better than FieldDeinterlace´s default blending. Yadif is still rather "harsh" for details and creates sometimes jaggy edges so using Yadifmod with better interpolator for higher quality deinterlacing would be also good idea. Many videos are better as bobbeb (I encode mostly sports videos) so you should give atleast one option for that. Yadif(mode=1) might be enough, but if you could also include Yadifmod+nnedi2 bobber it would be even better.
Many of your GUI´s users don´t have idea what are differencies between deinterlacers or even what´s IVTC. I'm sure that many have used FieldDeinterlace just for the reason they didn't knew that Yadif deinterlaces. I would suggest this:
[Field]
Deinterlace | Normal - Yadif = LoadCplugin("%application:Yadif%").Yadif()
Deinterlace | Slower - Yadifmod+nnedi2 = YadifMod(edeint=nnedi2())
Deinterlace | Double Framerate - Yadif = LoadCplugin("%application:Yadif%").Yadif(mode=1)
Deinterlace | D. Framerate - Yadifmod+nnedi2 = YadifMod(mode=1, edeint=nnedi2(field=-2))
IVTC = Telecide(guide=1).Decimate()
chainring
2nd December 2009, 05:41
What about including ac3 in the audio presets?
For example:
- AC3 2 192
- AC3 5.1 448
- AC3 5.1 640
I, for one, would love to have the ability to convert AC3 5.1 640 to AC3 5.1 448 because my good old Yamaha DSP-A1 processor/amp chokes on 640.
stax76
2nd December 2009, 07:17
@flebber
Thanks, I've plans to include some sharpen filters.
@WillKane
If the filters don't have a big file size then it's not urgent to remove anything since atm. there aren't to many filters.
I'm sure that many have used FieldDeinterlace just for the reason they didn't knew that Yadif deinterlaces.
This was a issue, yes. My current plan is to target newbies with the top level menu and experienced users with a Advanced sub menu but other names like Deinterlace and even three menu levels could also be a good idea. I'll make the column wider so bigger names can fit.
@shark & chainring
I'm not sure which application to use for AC3 encoding, using BeSweet I think requires different bsn dlls and this is a bit problematic. ffmpeg is currently in the package but not used for anything, it seem have a lot issues and limitations. eac3to is currently not included and seem have a lot issues and limitations too. Since I have to take care of the package size including both is problematic.
flebber
2nd December 2009, 14:23
@flebber
Thanks, I've plans to include some sharpen filters.
@shark & chainring
I'm not sure which application to use for AC3 encoding, using BeSweet I think requires different bsn dlls and this is a bit problematic. ffmpeg is currently in the package but not used for anything, it seem have a lot issues and limitations. eac3to is currently not included and seem have a lot issues and limitations too. Since I have to take care of the package size including both is problematic.
For chainring AC3 request you already have NicAudio why not use that for DTS and AC3
buzzqw
2nd December 2009, 14:32
@stax76
what about soundout ?
it is stable and working well (used with nicaudio and bassaudio)
or piping with wavi to lame/aften/neraacenc...
BHH
stax76
2nd December 2009, 18:26
For chainring AC3 request you already have NicAudio why not use that for DTS and AC3
Maybe could be useful in some scenarios.
what about soundout ?
it is stable and working well (used with nicaudio and bassaudio)
or piping with wavi to lame/aften/neraacenc...
I would favor wavi since audio handling in StaxRip is really a command line thing. Maybe I should use ffmpeg for the AC3 encoding and at the same time add profiles for other target formats supported by ffmpeg.
ajua
5th December 2009, 12:11
I would vote for adding sharpening filters too.
Also, AC3 640 to 448 would be useful for old A/V receivers.
Adding more templates like MKV/AC3 448. Even one for Xbox 360 which copies video (H.264) and encodes audio to AAC-LC can make more people to use Staxrip.
Oh, and maybe adding a batch tool that can load saved project without running the main interface will be great. Think of it as the batch tool of TMPGEnc Xpress.
Regards and keep up the good work!
stax76
6th December 2009, 00:16
I'll take a look at sharpening filters but generally I don't like the idea of some script based filters because they are slow and need many dlls.
I want to add AC3 profiles but audio is generally a bit difficult since there are many formats, tools and other variables like cutting etc. so it might take some time.
I'm not sure about more project templates since it's work to maintain as well I need to change the UI because too many templates don't fit in the TaskDialog.
Oh, and maybe adding a batch tool that can load saved project without running the main interface will be great. Think of it as the batch tool of TMPGEnc Xpress.
The project could be added to the job list or the CLI could be used.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.