View Full Version : StaxRip x86 (development for x86 has been stopped)
MuLTiTaSK
16th February 2010, 00:09
@stax76
how do i change the default source image size?
http://img38.imageshack.us/img38/3142/ss20100215181913.png
http://img38.imageshack.us/img38/8524/ss20100215181859.png
http://img39.imageshack.us/img39/731/ss20100215171716.png
dgeor
16th February 2010, 01:24
Very nice job stax, really nice :)
I just wan't to bother you with one more issue I am facing
some satellite broadcasts I am recording have mono audio instead of stereo
something is going wrong at the encoding of mono audio to aac
the intermediate wave is a mono pcm file and the resulting m4a is stereo with double duration, with wrong pitch or whatever it's called, like slow speaking or sth
meGui and BeHappy, both using avisynth's stdout filter to pass audio to neroAacEnc.exe, do produce correct m4a, but staxrip isn't using that method
so I have thought of four ways to bypass the problem:
the easy way
1) set vdubmod to convert audio to stereo by adding two lines in the project.vcf file so it looks like this
VirtualDub.Open("N:\\test temp files\\test.avs","",0);
VirtualDub.stream[0].SetMode(1);
VirtualDub.stream[0].SetConversion(0,0,2,0,1);
VirtualDub.SaveWAV("N:\\test temp files\\test.wav");
disadvantage: all streams will become stereo, and I don't know if this is acceptable
the hard way
2) setting a filter to avisynth (that is called ConditionalFilter and it is quite complicated) to check if audio is mono, then use MergeChannels to convert mono to stereo
disadvantage: I thing it's a bit hard to get it working
the obvious way
3) use besweet to convert to stereo
I used the advanced profiles on audio to insert a switch to tell besweet to output stereo audio without success
the command line is:
"%application:BeSweet%" -core( -input "%input%" -output "%output%" -2ch) -ota( -d 0 -g max ) -bsn( -vbr 0.24 )
and -2ch should be adequate, but it is not :(
the coder's way
4) you as the coder of staxrip, could probably understand what is going wrong with encoding of mono wavs to aac
Having in mind the the 3rd way didn't work as expected, I think noone would be bothered if mono was converted to stereo, so the first way shouldn't be a problem
what is your opinion about?
MuLTiTaSK
16th February 2010, 06:22
@stax76
playlist cutoff
http://img195.imageshack.us/img195/8287/ss20100216002104.png]
MuLTiTaSK
16th February 2010, 06:44
@stax76
please allow a way to demux more audio streams in the demuxer and a option to add them in the container :thanks:
Blue_MiSfit
16th February 2010, 09:33
@stax76:
Any plans to add support for x264's new integrated ffms2 support? Bypassing avisynth entirely and running a pure 64 bit build is dead sexy. It can also be a lot faster in some cases :)
~MiSfit
stax76
16th February 2010, 09:46
please allow a way to demux more audio streams in the demuxer and a option to add them in the container
Can't it be done easily with custom command line switches? Which container are you targeting?
@dgeor
I reproduced it and guess it's a BeSweet problem, I also tried -ch 2 which did not work and I don't know if there is another way to make BeSweet handle it correctly. I've changed it converting 1 channel files to 2 channel wav files using ffmpeg, that has worked, is that OK?
how do i change the default source image size?
Not sure what you mean, maybe the same problem videolover had recently?
Anakunda
16th February 2010, 10:58
I use SR 1.1.4 now.
It converted one video OK, but another is again bad sync.
Moreover I tried to convert yet another MPEG2, and SR crashed. The crash is reproducible. Sent logfile via mail.
Here's the full message:
StaxRip has crashed!
Pro typ bajt bez znaménka byla hodnota buď příliš velká, nebo příliš malá.
StaxRip has crashed!
System.OverflowException: Pro typ bajt bez znaménka byla hodnota buď příliš velká, nebo příliš malá.
v System.Convert.ToByte(Char value)
v StaxRip.VirtualDubScript.SaveScript(String path)
v StaxRip.Audio.CutUsingVirtualDubMod(AudioProfile ap)
v StaxRip.Audio.Cut(AudioProfile ap)
v StaxRip.Audio.Process(AudioProfile ap)
v StaxRip.MainForm.Encode()
v StaxRip.MainForm.RunJobs()
stax76
16th February 2010, 13:04
@Anakunda
There is some unicode it seems, not sure why my code is crashing, trying to reproduce it I get AviSynth failing to load the script because of the unicode filename so I can't make this work anyway because of AviSynth not supporting unicode in script filenames. Where did you enter this unicode: Hoří, má panenko
As target filename? In that case I could at least add a warning and reject the unicode.
chagos
16th February 2010, 13:41
Hi, I have a dvd which stored two version of a movie (theatrical and extended) in the same video and audio streams. Is possible tor rip one or other version? After I load the vob files in StaxRip, I don't see an option for this.
stax76
16th February 2010, 14:01
@chagos
You need a full rip, then you can use PgcDemux using Mode PGC or VOB ID and 'Create a PGC VOB' option.
Skyknight
16th February 2010, 14:38
Ugh, I'm always the last one to know there is a new release, I'll test it today. Although I've been having some problems while trying to merge some files, they don't merge sr only encodes the first one.
I'll try the new one and edit the post.
EDIT: Nope, nothing, it doesn't merge anything as a single encoding perfect as always but when I need to merge files, it doesn't do it, :(.
MuLTiTaSK
16th February 2010, 16:19
Can't it be done easily with custom command line switches? Which container are you targeting?
http://img63.imageshack.us/img63/1295/ss20100216100716.png:scared:
i want to choose the audio streams to demux then StaxRip adds them to the mkv container maybe an option to add them like you did with subtitles
http://img52.imageshack.us/img52/8789/ss20100216101234.png
pausefisk
16th February 2010, 16:28
I use staxrip for encoding my HDTV recordings, and i've been using the yadif deinterlacing filter, as my source are mostly 1080i. Now a new channel is airing in 720p 50fps, but what options does staxrip have for me if i want the encoded video to be 25fps?
MuLTiTaSK
16th February 2010, 17:23
@pausefisk
http://img715.imageshack.us/img715/9284/ss20100216111838.png
MuLTiTaSK
16th February 2010, 18:08
@stax76
how about adding audio section to the mkv container config maybe placing it above subtitles?
http://img687.imageshack.us/img687/7259/ss20100216115739.png
http://img682.imageshack.us/img682/6811/ss20100216120730.png
MuLTiTaSK
16th February 2010, 19:53
Hi, I have a dvd which stored two version of a movie (theatrical and extended) in the same video and audio streams. Is possible tor rip one or other version? After I load the vob files in StaxRip, I don't see an option for this.
two easy options use which you like after import .vob into StaxRip;)
http://img203.imageshack.us/img203/1607/ss20100216133403.pnghttp://img203.imageshack.us/img203/324/ss20100216133425.png
Download -> pgc.NET (bit.ly/aiJWND)
http://img705.imageshack.us/img705/5430/ss20100216134050.png
Download -> PgcDemux (bit.ly/bosdiv)
PgcDemux [option1] [option2] ... [option12] <ifo_input_file> <destination_folder>
option1: [-pgc, <pgcnumber>]. Selects the PGC number (from 1 to nPGCs). Default 1
option2: [-ang, <angnumber>]. Selects the Angle number (from 1 to n). Default 1
option3: [-vid, <vobid>]. Selects the Angle number (from 1 to n). Default 1
option4: [-cid, <vobid> <cellid>]. Selects a cell vobid (from 1 to n). Default 1
option5: {-m2v, -nom2v}. Extracts/No extracts video file. Default NO
option6: {-aud, -noaud}. Extracts/No extracts audio streams. Default YES
option7: {-sub, -nosub}. Extracts/No extracts subs streams. Default YES
option8: {-vob, -novob}. Generates a single PGC VOB. Default NO
option9: {-customvob <flags>}. Generates a custom VOB file. Flags:
b: split VOB: one file per vob_id
n: write nav packs
v: write video packs
a: write audio packs
s: write subs packs
i: only first Iframe
l: patch LBA number
option10:{-cellt, -nocellt}. Generates a Celltimes.txt file. Only in PGC/VID mode. Default YES
option11:{-log, -nolog}. Generates a log file. Default YES
option12:{-menu, -title}. Domain. Default Title (except if filename is VIDEO_TS.IFO)
Desaster Dan
16th February 2010, 20:44
@stax
Wow, great work!
Thank you for the new release:thanks:
Btw.,Did you make any Change to the PAR detection?
I just run dgindexnv on Terminator Salvation and had a PAR of
64:45!
Never had this before!
To add Generic PAR to the PAR tab is one of my little wishes for the next release.
I did some testing in the past, and as far i can see, the most newer DVD's are no longer ITU,
and MPEG-4 Standard PAR is too close to it.
I was suprised that in the Most 16:9 cases generic PAR comes much closer to the original picture.
MuLTiTaSK
16th February 2010, 21:17
@Desaster Dan
stax76 sure is a GUI coding genius;)
i think you want to change something in here
http://img203.imageshack.us/img203/64/ss20100216151040.pnghttp://img203.imageshack.us/img203/4184/ss20100216151104.png
dgeor
16th February 2010, 21:25
@dgeor
I reproduced it and guess it's a BeSweet problem, I also tried -ch 2 which did not work and I don't know if there is another way to make BeSweet handle it correctly. I've changed it converting 1 channel files to 2 channel wav files using ffmpeg, that has worked, is that OK?
if it works, I'm ok with it :)
stax76
16th February 2010, 21:37
@Desaster Dan
Last changes were made when DGDecNV support was added I think, please elaborate if you think it needs to be fixed or improved, what is generic PAR?
Desaster Dan
16th February 2010, 21:39
@multitask
Oops, too easy.....:)
Just loaded a second film (The Dark Knight / DVD) and it happend again:
PAR is 64/45!
I changed nothing, working with the same template and still with NVTools 2006
Not a problem, but strange.....
stax76
16th February 2010, 22:03
@Desaster Dan
If you make a d2v file does it also give 64/45? If not please post MediaInfo.
Desaster Dan
16th February 2010, 22:10
@stax
Maybe it is mere chance.
If you say you did no changes, ok.
Generic PAR:
...is in contrast to ITU without all this overscan Crap.
Brother John explained that very well.
----> http://encodingwissen.de/spezial/itur-bt601.html
I think with the triumphal procession of Flatscreens there is no longer any Need for overscan as it was with the old crt tv's.
here a little list:
Pal :
Generic
4:3 16/15
16:9 64/45
MPEG-4
4:3 12/11
16:9 16/11
ITU
4:3 128/117
16:9 512/351
NTSC:
generic
4:3 8/9
16:9 32/27
MPEG-4
4:3 10/11
16:9 40/33
ITU
4:3 4320/4739
16:9 5760/4739
ITU and MPEG-4 is not that big difference, but generic is.
stax76
16th February 2010, 22:15
@Desaster Dan
So you had a 16:9 NTSC DVD?
Desaster Dan
16th February 2010, 22:17
@stax
i'll test d2v tomorrow.
..time for bed
Desaster Dan
16th February 2010, 22:21
@stax
sorry i messed up with my list, now it's corrected.
No 64/45 means 16:9 generic PAR.
chagos
16th February 2010, 23:01
@chagos
You need a full rip, then you can use PgcDemux using Mode PGC or VOB ID and 'Create a PGC VOB' option.
Done. Thanks for tip Stax.
MuLTiTaSK
16th February 2010, 23:07
@stax76
how do i make StaxRip change storage source image size in pixel from 640/480->1920/1080 without the resizing?
http://img638.imageshack.us/img638/9872/ss20100216170836.png
http://img638.imageshack.us/img638/686/ss20100216171025.png
MuLTiTaSK
16th February 2010, 23:41
@stax76
.m2ts samples with lcpm 5.1 streams that always gave me trouble StaxRip converted them with no problems;)
stax76
17th February 2010, 00:20
@MuLTiTaSK
Some source parameters cannot be changed.
MuLTiTaSK
17th February 2010, 00:51
@stax76
that's no problem StaxRip adjust those parameters once you load the source;)
turok
17th February 2010, 04:12
Yay finally got my internet back. What did I miss? MuLTiTaSK to answer that old question used megui for audio encoding only. I thought I cleared that up its always a good idea to have a backup gui if the primary messes up for some reason.
[edit: Have updated to 1.1.3 and the audio issues I have been having are still teh same D:]
MuLTiTaSK
17th February 2010, 05:02
@turok
welcome back buddy i was wondering what happened to you here are the changes since 1.1.3;)
Changelog
1.1.4.9 beta
Added eac3to GUI for Blu-ray demuxing
Added feature to save thumbnails similar like the MPC feature, can be enabled in the options under Advanced > Image and customized in the settings under General > Advanced > Thumbnails. To generate thumbnails without processing a project go to Tools > Advanced > Batch generate thumbnails
Added feature to cut using mkvmerge when just muxing is used and no encoding is performed, can be enabled in the muxer configuration
Added feature to append code to Trim functions useful to add FadeIn/FadeOut (Options > Advanced > Filters)
Added support for file extensions containing non word characters, *.thd+ac3 for instance
Added support muxing Blu-ray audio formats
Updated mkvtoolnix to version 3.1.0 ('Happy up here')
1.1.4.3 beta
Added DGDecNV support using DGSource
1.1.4.2 beta
Added new source filter ffms2
Added support extracting attachments from mkv files
Added possibility to choose which streams to extract when manually demuxing MKV (Tools > Advanced > Demuxing)
1.1.4.1 beta
Fixed bug Java not found when ProjectX is enabled
Fixed crash when tooltips are disabled
Added option to define the stream name used by the muxer to the new audio dialog
Added possibility to change the language for vobsub subtitles in the muxer dialog. Sometimes VSRip creates subtitles being not sync. In such a case ProjectX can be used to demux vobsub subtitles and since ProjectX works just on VOB files which don't contain language info it's useful being able to edit the language.
Added option to launch ProjectX from the main menu under Tools > Launch > ProjectX
Added possibility to restore the default profiles in the profiles dialog
Added possibility to customize x264 crf, preset, tune and device directly in the main dialog
Added option to manually demux MKV files (Tools > Advanced > Demuxing)
Download -> StaxRip 1.1.4.9 (bit.ly/9QNChL)
tormento
17th February 2010, 09:46
I have tried to look into every menu but can't find a way to get removegrainsse3.dll loaded in the avs after having added the filter profile.
Help ;)
Anakunda
17th February 2010, 10:33
Hi, here's one more thing to be fixed: If converting from CD/DVD drive, set the temp files dir automatically to %Temp%\UniqueDiscId\. If this defaults to source directory, the temp dir can;t be ofcourse created on R/O drive.
Ver. 1.1.4 seems to convert well DVD videos (no cutting), but when converting TV rips (cutting necessary), the audio/video mismatch problem persists also in new version, the only changed against archive is:
x264 0.85.1442 781d300 built on Feb 15 2010, gcc: 4.4.3
Trying to convert more.
Thanks for your efforts.
flebber
17th February 2010, 13:55
I have tried to look into every menu but can't find a way to get removegrainsse3.dll loaded in the avs after having added the filter profile.
Help ;)
You aren't trying to load the dll as you would in megui are you?
Right click on the profile window
http://farm5.static.flickr.com/4071/4364517361_8780bbc0b0.jpg
Then add your filter in the format undot = UnDot()
http://farm3.static.flickr.com/2789/4364517615_7f482e6561.jpg
The add your filter to the script
http://farm3.static.flickr.com/2467/4364524243_120db52bcc.jpg
Hope it helps
PS Sorry for the poor XP graphics haven't got to upgrade to 7 yet :-(
stax76
17th February 2010, 15:44
@Anakunda
I don't understand the temp file problem, please elaborate and upload a log file regarding the sync problem.
tormento
17th February 2010, 16:24
Then add your filter in the format undot = UnDot()
Thanks for the effort you made but I have done it. The problem is StaxRip can't create the Load command in the avs.
stax76
17th February 2010, 16:42
Thanks for the effort you made but I have done it. The problem is StaxRip can't create the Load command in the avs.
The filter is unknown to StaxRip so it cannot know the dll either. You can either use auto loading or put the LoadPlugin call in code, if you need a single line you can either separate function calls with a blank or use the %newline% macro.
Desaster Dan
17th February 2010, 21:12
@Desaster Dan
If you make a d2v file does it also give 64/45? If not please post MediaInfo.
Yes Sir!
I think it's just a hap.
stax76
17th February 2010, 21:12
New test version: http://www.stax76.bplaced.net/files/applications/StaxRip/StaxRip_1.1.5.1.7z
Should be fairly stable so I hope many people can test it to find problems before the next stable release.
stax76
17th February 2010, 21:24
@Desaster Dan
Opening a 16:9 PAL DVD with d2v I get 16:11 or 64:45 depending on the ITU option. Since you got 64:45 I assume you have disabled ITU in the options, if not than it must be a bug. I replaced my Nvidia card going back to ATI since I need analog TV out so I cannot test dgi now, dgi should always give the same source PAR than d2v, if not than it's a bug.
Anakunda
17th February 2010, 22:44
Hi,
sending all project files dealing with my 'bad sync' issue described earlier.
Used StaxRip version = 1.1.5.1
source = MPEG2
output = H264/mkv
cutting in effect
used all original package components to eliminate incompatiility aspects, watched original video and A/V streams match all the time thus the source is confirmed ok
In case of necessity I can upload source media files somewehere (~2GB)
stax76
17th February 2010, 22:58
@Anakunda
I just need the log file, easiest way to send it its Main Menu > Help > Make Bug Report
dgeor
17th February 2010, 22:59
@dgeor
I reproduced it and guess it's a BeSweet problem, I also tried -ch 2 which did not work and I don't know if there is another way to make BeSweet handle it correctly. I've changed it converting 1 channel files to 2 channel wav files using ffmpeg, that has worked, is that OK?
I checked with the new beta and the problem is still there
using avs as audio source and nicaudio, when original is mono, the result is just weird :(
stax76
17th February 2010, 23:35
@dgeor
It does not work with avs because MediaInfo does not support avs so there is no easy way to find out how many channels the source has. Why are you using avs?
Dim channels = MediaInfo.GetInfo(ap.File, MediaInfoStreamKind.Audio, "Channel(s)")
If channels = "1" Then
DecodeFfmpeg(ap)
End If
flebber
17th February 2010, 23:58
New test version: http://www.stax76.bplaced.net/files/applications/StaxRip/StaxRip_1.1.5.1.7z
Should be fairly stable so I hope many people can test it to find problems before the next stable release.
Your on fire lately, Staxrip is getting insanely good:thanks:
hkarsaon
18th February 2010, 00:47
Since the stax website, planetdvb.net, is down and there is no support forum on Sourceforge im asking here:
Would it be possible to add an option to select a file to process after encoding?
If you don't want to implement this for the normal version, could someone help me out with editing the source (im guessing this is the StaxRip.pdb file that came in the latest test build StaxRip_1.1.5.1 ?) to add this function so I can compile my own version with this enabled?
:thanks:
stax76
18th February 2010, 01:15
@hkarsaon
It's explained in the FAQ (I've Just added it since it was asked a few times before).
Choose Main Menu > Tools > Event Command
Add a new Event Command
Select event: After Project Encoded
Select command: Perform | Execute Command Line
Enter your command line, use macros if you need info like the file name.
Most relevant macro is the path of the target file: %target_file%
MuLTiTaSK
18th February 2010, 03:51
@stax76
thanks for the update
aimed quality setting for comp checks is not sticking exporting x264 profiles using 1.1.5.1 and playlist selection is still getting cutoff:(
http://img195.imageshack.us/img195/8287/ss20100216002104.png
what changes were done in 1.1.5.1?
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.