Log in

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


Pages : 1 2 3 4 5 6 7 8 9 [10] 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100

hellfred
25th January 2006, 09:48
Hi Stax
Due to some circumstances, I had to stop a loooong encoding session midways in the video encoding and did not wanted to start all over again.
So I only restarted the video encoding with x264 with a batch file and I am now searching a way to redo the muxing, too.

StaxRip 0.9.2.5

Files to work with
VTS_01_1 de-German 3_2ch 384Kbps DELAY -8ms.ac3
VTS_01_1 de-German 3_2ch 384Kbps DELAY -8ms_AudioOutput.mp4

VTS_01_1 en-English 3_2ch 384Kbps DELAY -8ms.ac3
VTS_01_1 en-English 3_2ch 384Kbps DELAY -8ms_AudioOutput.mp4

troja_crf20.264

Batch-file and Command line used to encode troja_crf20.264
::"C:\Programme\Stefan\StaxRip_0.9.2.5\Applications\x264\x264.exe" --crf 26 --ref 6 --bframes 4 --b-pyramid --weightb --b-rdo --filter -2,-2 --analyse all --8x8dct --subme 6 --trellis 1 --mixed-refs --progress --no-psnr --qpmax 42 --bime --no-fast-pskip --output "D:\Filme\TROY\VTS_01_1_EncoderOutput.264" "D:\Filme\TROY\VTS_01_1.avs"
start "x264 Troja" /BELOWNORMAL /B /WAIT "C:\Programme\Stefan\StaxRip_0.9.2.5\Applications\x264\x264.exe" --crf 20 --ref 6 --bframes 4 --b-pyramid --weightb --b-rdo --filter -2,-2 --analyse all --8x8dct --subme 6 --trellis 1 --mixed-refs --progress --no-psnr --qpmax 42 --bime --no-fast-pskip --output "D:\Filme\TROY\troja_crf20.264" "D:\Filme\TROY\VTS_01_1.avs"
shutdown -s -t 20 -c "Encodieren fertig"

The command line was retrieved from loading the corresponding project once more and pressing "Codec configuration". There I have chosen Tools->Show Command Line

Simply remuxing the three mp4 files with YAMB does not give satisfying results. I did not find a switch to set the delay of -8 ms, and Haalis Matroska Splitter does not show the languages for the two audio tracks.

Is there a way to get the exact muxing command line displayed from the project like it is possible for the x264 encoding command line? I have opened the *.rip with a text editor, too. But I did not fine a readable command line for muxing there either.

Thanks for this great tool anyway

Hellfred

EDIT:
I read the output of mp4box and the documentation on its homepage.
Is the needed command line something like
MP4Box
-add troja_crf20.264#video
-add VTS_01_1 de-German 3_2ch 384Kbps DELAY -8ms_AudioOutput.mp4#trackID=0:delay=-8:lang=DE
-add VTS_01_1 en-English 3_2ch 384Kbps DELAY -8ms_AudioOutput.mp4#trackID=0:delay=-8:lang=EN
out.mp4

EDIT 2:
I managed to get the three tracks muxed with
MP4Box
-add troja_crf20.264#video
-add "VTS_01_1 de-German 3_2ch 384Kbps DELAY -8ms_AudioOutput.mp4"#trackID=1:delay=-8:lang=deu
-add "VTS_01_1 en-English 3_2ch 384Kbps DELAY -8ms_AudioOutput.mp4"#trackID=1:delay=-8:lang=eng
-new out.mp4

stax76
25th January 2006, 12:33
I`m looking for tutorial, how to rip DVD to x264...

I hope that I can work soon on the docs.

mkv, says thats doesn`t support RAW sound and

In the x264 configuration please select another output format. The assistant message is pretty clear though I'm now realizing that the message is cutted because the field is too small.

P.S. stax, if you one day decide to make StaxRip mutilanguage, write me. I want to translate in to Lithuanian...

Thanks for offering your help. The decision was made while moving from DVX to StaxRip, I decided against it because it's a way too huge task.

One possible improvement would be BACK-button.

Can you please elaborate? You mean he assistant? What tip would you like to reappear? Please note that all features available from 'Please click here...' are also available from somewhere else in the main dialog.

..And a way to get to vobsub-dialog. Now I have to open up Gordian Knot and open vobsub from there.

The main menu of the StaxRip main dialog is totally customizable so you could customize it to launch VSRip from there. Most people use the start menu to lauch application, since VSRip don't has a installer you could drag it onto the start menu. I'm working with a keyboard driven application launcher.

Simply remuxing the three mp4 files with YAMB does not give satisfying results. I did not find a switch to set the delay of -8 ms, and Haalis Matroska Splitter does not show the languages for the two audio tracks.

In this case the delay was already handled by BeSweet. Since you only want to mux you can:

*reload your project.
*create a new encoder profile of type 'Null Encoder', it's called 'No Encoding' in the profiles dialog, when you click 'New' there.
*load the null encoder into the project.
*in the encoder config set the output format of the encoder the same as the previously used encoder.
*load and config the muxer (container) (loading another encoder loads another muxer since to muxer is part (belongs) the encoder).

Is there a way to get the exact muxing command line displayed from the project like it is possible for the x264 encoding command line? I have opened the *.rip with a text editor, too. But I did not fine a readable command line for muxing there either.

No but I consider to make a 'Show Command Line' feature like the x264 config dialog has.

filipcza
25th January 2006, 12:43
Yes, I meant that you could go back and forth in the assistant using BACK-button.

One further thing, in the cut/preview-window the buttons are on top of the picture. This is not good if you want to check subtitle size and location, because you can't see them properly - the buttons block the view.

-Pete

hellfred
25th January 2006, 12:44
Thanks for the tip, Stax. I was not aware that the delay was already addressed in the Audio-MP4s. I will mux once more without the ":delay=-8" via command line and try your suggestion, too.

Hellfred

stax76
25th January 2006, 12:55
One further thing, in the cut/preview-window the buttons are on top of the picture. This is not good if you want to check subtitle size and location, because you can't see them properly - the buttons block the view.

Would be hiding trackbar (press 'T') and hiding buttons (press 'B') be sufficient?

Thanks for the tip, Stax. I was not aware that the delay was already addressed in the Audio-MP4s. I will mux once more without the ":delay=-8" via command line and try your suggestion, too.

The reason why it's done with with BeSweet btw. is because some players have problems with handling container delay properly.

hellfred
25th January 2006, 13:50
Hi Stax
I have tryed your suggested way to mux audio and video mp4's from within StaxRip (0.9.2.5), but the process fails, as it expects the video to be stored in an avi container:
File->Recent Project->"MyProject"
Profiles->Encoder->Edit
->new->No Encoding
Profiles->Encoder->No Encoder
Profiles->Audio 1 -> AAC-HE - Add existing file
(important, or the audio will be extracted again, removing the existing audio mp4 at the beginning, so chanceling will leave you without a audio track to mux)
Audio->Track1->copy&paste path to audio-mp4
(Editing the line via keyboard is nearly impossible, as the path is checked ervery time after typing one char with error/warning message box that needs to be clicked away after every char)
Profiles->Audio 1 -> AAC-HE - Add existing file
(important, or the audio will be extracted again, removing the existing audio mp4 at the beginning, so chanceling will leave you without a audio track to mux)
Audio->Track1->copy&paste path to audio-mp4
(Editing the line via keyboard is nearly impossible, as the path is checked ervery time after typing one char with error/warning message box that needs to be clicked away after every char)
Proviles->Container->MP4->OK
Next

This will fail to mux, as the video is supposed to be in a avi, not in a raw H264 (.264)
From the log:
"C:\Programme\Stefan\StaxRip_0.9.2.5\Applications\MP4Box\MP4Box.exe" -add "D:\Filme\TROY\VTS_01_1_EncoderOutput.avi" -add "D:\Filme\TROY\VTS_01_1 de-German 3_2ch 384Kbps DELAY -8ms_AudioOutput.mp4:lang=deu:delay=-8" -add "D:\Filme\TROY\VTS_01_1 en-English 3_2ch 384Kbps DELAY -8ms_AudioOutput.mp4:lang=eng:delay=-8" -new "D:\Filme\TROY\VTS_01_1.mp4"
And the ":delay=-8" is set, too. If the delay was already taken care of when encoding with the audio profile "AAC-HE VBR - encoding at 50-70 kbps", then the delay is added a second time.

Hellfred


Full log:
---------- Versions ----------

StaxRip 0.9.2.5
Microsoft Windows NT 5.1.2600 Service Pack 2
.NET Framework 2.0.50727.42
DirectX 4.09.00.0904

AutoCrop True
AviSynth True
BeSweet True
Decomb True
DGIndex True
DivX False
FluxSmooth True
Java False
ProjectX False
VirtualDubMod True
VirtualDub False
XviD True
MP4Box True
x264 True
Deen True
UnDot True
DirectShowSource True
MKVtoolnix True
MediaInfo True
DivXMux False
DGDecode True
VSFilter True

---------- Macros ----------

application:AutoCrop C:\Programme\Stefan\AviSynth 2.5\plugins\AutoCrop.dll
application:AviSynth C:\WINDOWS\system32\avisynth.dll
application:BeSweet C:\Programme\Stefan\StaxRip_0.9.2.5\Applications\BeSweet\BeSweet.exe
application:Decomb C:\Programme\Stefan\AviSynth 2.5\plugins\Decomb.dll
application:Deen C:\Programme\Stefan\AviSynth 2.5\plugins\Deen.dll
application:DGDecode C:\Programme\Stefan\AviSynth 2.5\plugins\DGDecode.dll
application:DGIndex C:\Programme\Stefan\StaxRip_0.9.2.5\Applications\AviSynth Plugins\DGIndex.exe
application:DirectShowSource C:\Programme\Stefan\AviSynth 2.5\plugins\DirectShowSource.dll
application:DivX
application:DivXMux
application:FluxSmooth C:\Programme\Stefan\AviSynth 2.5\plugins\FluxSmooth.dll
application:Java C:\Programme\Java\jre1.5.0\bin\java.exe
application:MediaInfo C:\Programme\Stefan\StaxRip_0.9.2.5\MediaInfo.dll
application:MKVtoolnix C:\Programme\MKVtoolnix\mkvmerge.exe
application:MP4Box C:\Programme\Stefan\StaxRip_0.9.2.5\Applications\MP4Box\MP4Box.exe
application:ProjectX
application:UnDot C:\Programme\Stefan\AviSynth 2.5\plugins\UnDot.dll
application:VirtualDub
application:VirtualDubMod C:\Programme\Stefan\VirtualDubMod_1_5_10_1\VirtualDubMod.exe
application:VSFilter C:\Programme\Stefan\AviSynth 2.5\plugins\VSFilter.dll
application:x264 C:\Programme\Stefan\StaxRip_0.9.2.5\Applications\x264\x264.exe
application:XviD C:\WINDOWS\system32\xvidvfw.dll
application_dir C:\Programme\Stefan\StaxRip_0.9.2.5\
audio_bitrate 123,205236814008
audio_file1 D:\Filme\TROY\VTS_01_1 de-German 3_2ch 384Kbps DELAY -8ms_AudioOutput.mp4
audio_file2 D:\Filme\TROY\VTS_01_1 en-English 3_2ch 384Kbps DELAY -8ms_AudioOutput.mp4
avisynth_plugin_dir C:\Programme\Stefan\AviSynth 2.5\plugins\
compressibility 0
crop_bottom 76
crop_height 424
crop_left 0
crop_right 0
crop_top 76
crop_width 720
encoder_out_file D:\Filme\TROY\VTS_01_1_EncoderOutput.avi
pos_ms 0
programs_dir C:\Programme\
source_dir D:\Filme\TROY\
source_file D:\Filme\TROY\VTS_01_1.d2v
source_files_blank "D:\Filme\TROY\VTS_01_1.d2v"
source_files_comma "D:\Filme\TROY\VTS_01_1.d2v"
source_files_comma_no_quotes D:\Filme\TROY\VTS_01_1.d2v
source_frames 234150
source_height 576
source_name VTS_01_1
source_rate 25,00
source_seconds 9366
source_width 720
system_dir C:\WINDOWS\system32\
target_dir D:\Filme\TROY\
target_file D:\Filme\TROY\VTS_01_1.mp4
target_framerate 25,00
target_frames 234150
target_height 288
target_kilobyte 716800
target_megabyte 700
target_name VTS_01_1
target_seconds 9366
target_width 704
version 0.9.2.5
video_bitrate 502

---------- AviSynth Plugins ----------

AutoCrop.dll 17.06.2003 12:45
convolution3d.dll 22.04.2003 21:10
Decomb.dll 04.09.2005 12:20
Deen.dll 05.07.2005 21:42
dgbob.dll 06.07.2003 06:30
DGDecode.dll 01.10.2005 06:31
DirectShowSource.dll 28.10.2005 16:44
ffavisynth.dll 26.07.2005 20:31
FluxSmooth.dll 29.07.2004 15:07
kerneldeint.dll 30.08.2003 22:09
MPEGDecoder.dll 16.02.2003 21:13
SmoothDeinterlacer.dll 18.02.2003 21:46
STMedianFilter.dll 21.06.2003 22:08
TCPDeliver.dll 28.10.2005 16:44
TomsMoComp.dll 29.06.2003 09:16
UnDot.dll 18.01.2003 17:05
VSFilter.dll 25.11.2005 20:58
WarpSharp.dll 03.01.2003 13:34

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

MPEG2Source("D:\Filme\TROY\VTS_01_1.d2v")
Crop(0,76,-0,-76)
FluxSmoothT(2)
BicubicResize(704,288,0,0.5)

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

Command Line: "C:\Programme\Stefan\StaxRip_0.9.2.5\Applications\MP4Box\MP4Box.exe" -add "D:\Filme\TROY\VTS_01_1_EncoderOutput.avi" -add "D:\Filme\TROY\VTS_01_1 de-German 3_2ch 384Kbps DELAY -8ms_AudioOutput.mp4:lang=deu:delay=-8" -add "D:\Filme\TROY\VTS_01_1 en-English 3_2ch 384Kbps DELAY -8ms_AudioOutput.mp4:lang=eng:delay=-8" -new "D:\Filme\TROY\VTS_01_1.mp4"

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

Start time: 13:26:52
End time: 13:26:52
Duration: 00:00:00
Speed: 3746400 fps

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

Start time: 13:26:52
End time: 13:26:52
Duration: 00:00:00

stax76
25th January 2006, 17:33
@hellfred

did you:

*in the encoder config set the output format of the encoder the same as the previously used encoder.

And the ":delay=-8" is set, too. If the delay was already taken care of when encoding with the audio profile "AAC-HE VBR - encoding at 50-70 kbps", then the delay is added a second time.

Muxing profiles will assume delay was not handled, here only assumptions can be made but I have think about if muxing profiles should assume delay was already handled. You can however define the delay in the config dialog of the track's audio profile settings.


(Editing the line via keyboard is nearly impossible, as the path is checked ervery time after typing one char with error/warning message box that needs to be clicked away after every char)


Such checks are important for instance when you load a project so it's ensured that all files still exists. StaxRip is rather strict, it's a great way to prevent misconfiguration that would in many cases lead to negativ effects. You can however double-click at most text boxes to make the file browser open and that should have a reasonable filter so you see only audio files and it should display the source directory so it's really easy to pick up a file, after all doing stuff easy is the main point of the application otherwise all tools could be used manually.

Your post was occasionally not easy to read for me so please let me know if you've still problems after reading my answers. I've noticed me a couple of things so thanks for the feedback, it helps me to further improve StaxRip.

LRN
25th January 2006, 18:07
davidlt, you should look at http://newage.gcnet.ru/index.php?showtopic=14526 . There's a DVD-rip guide. It's on Russian, but with LOT of pictures (1.6 meg i beleive), although some significant thigs must be read. Also this is "perfect-quality" oriented, i.e. ~100% quality, x264, HE-AAC, slow encoding. And it's a bit outdated (recent "cut-with-any-container" feature isn't mentioned etc).

stax76
25th January 2006, 18:34
@LRN

Looks awesome, thanks for your effort, I'll link of course all guides frome the help.

hellfred
25th January 2006, 20:04
@hellfred

did you:
*in the encoder config set the output format of the encoder the same as the previously used encoder.

Argh, no, I did not find that switch when I tryed your suggestion for the first time. Just now, I have tryed to mux the three files again from within StaxRip. After setting the format to raw H264, muxing worked out fine:stupid: .
@hellfred
Muxing profiles will assume delay was not handled, here only assumptions can be made but I have think about if muxing profiles should assume delay was already handled. You can however define the delay in the config dialog of the track's audio profile settings.
I have to search for this dialog and test it, too.
@hellfred
Such checks are important for instance when you load a project so it's ensured that all files still exists. StaxRip is rather strict, it's a great way to prevent misconfiguration that would in many cases lead to negativ effects. You can however double-click at most text boxes to make the file browser open and that should have a reasonable filter so you see only audio files and it should display the source directory so it's really easy to pick up a file, after all doing stuff easy is the main point of the application otherwise all tools could be used manually.
I do understand that having valid paths is necessary for avoiding complicated and largescaled exception handling in StaxRip. I simply never thought of trying a double-click on the text boxes. I was looking for a filechooser dialog hidden under some button labeled with e.g. [...] or [browse]. Now that I know of this trick, I will use it. Just wonder, how many other useres did not learn that trick up to now.

@hellfred
Your post was occasionally not easy to read for me so please let me know if you've still problems after reading my answers. I've noticed me a couple of things so thanks for the feedback, it helps me to further improve StaxRip.
Sorry for my post being hard to read. I try very hard to write easily understandable and comprehensible messabes. I would love to switch to German, but the rules of this forum do not allow this.
About improving StaxRip: I would love to have the possibility to read the MP4Box command line.

Hellfred

stax76
25th January 2006, 20:49
I have to search for this dialog and test it, too.

Click on the dropdown button and select 'Edit'.

I do understand that having valid paths is necessary for avoiding complicated and largescaled exception handling in StaxRip. I simply never thought of trying a double-click on the text boxes.

Keep in mind most devs are lazy and thus this trick works often ;)

I was looking for a filechooser dialog hidden under some button labeled with e.g. [...] or [browse].

Can be found in the menu that pops up clicking the dropdown button, I'll move this stuff a little bit more in the foreground.

I would love to have the possibility to read the MP4Box command line.

For the sake of consistency I'll add this to all CLI related dialogs.

ricardo.santos
25th January 2006, 22:10
Thanks for offering your help. The decision was made while moving from DVX to StaxRip, I decided against it because it's a way too huge task.


Hi Stax!

We at the portuguese doom9 mirror started to translate the docs included with StaxRip and we were going to contact you about including the portuguese docs in future releases.

Will that be possible?

stax76
25th January 2006, 22:22
We at the portuguese doom9 mirror started to translate the docs included with StaxRip and we were going to contact you about including the portuguese docs in future releases.

Will that be possible?

That will definitely be possible and I appreaciate it much.

ricardo.santos
25th January 2006, 23:13
we finished the translation some time ago but the docs kept on changing upon inovation/changes in StaxRip.

by the time one version was translated another one was released with different docs, making our translation kind of obsolete, i know its good to have inovations but a " pain" for part-time translators.

How far untill a stable version?

Ricardo

hellfred
25th January 2006, 23:18
The more I get to learn StaxRip, the more I love it. Really a great Program, that has so much featueres hidden in it, though, at first sight, it appears to only consist of one dialog window.
Respect.

Hellfred

And now some more pestering :)
As your useres have the ability to create, save and later choose new profiles for next to anything that StaxRip is able to do (encoding video, audio or muxing), I wonder if you will add some export and import commands for exporting and importing those profiles. So that the community can work together and share some special profiles for special tasks.
If you are just on the edge of being over-worked, forget about this suggestion. Or write it to the end of your TODO list.

stax76
26th January 2006, 00:34
we finished the translation some time ago but the docs kept on changing upon inovation/changes in StaxRip.

Good you mention it because I almost forgot that only the docs in the docs directory can be translated. The docs for the dialogs are automatically generated at runtime using handy stuff like design time integration and wiki markup. I hope you did not start to translate this docs, did you?

How far untill a stable version?

Before version 1.0 I want to do a lot more improvements for both, application and docs.

And now some more pestering
As your useres have the ability to create, save and later choose new profiles for next to anything that StaxRip is able to do (encoding video, audio or muxing), I wonder if you will add some export and import commands for exporting and importing those profiles. So that the community can work together and share some special profiles for special tasks.
If you are just on the edge of being over-worked, forget about this suggestion. Or write it to the end of your TODO list.

I thought about this a couple of times, binary import/export would likely be easy but it's a too big task too maintain a versioning method for this so I would have to force using identical versions for import/export.

ricardo.santos
26th January 2006, 00:51
just the documents folder.

LRN
26th January 2006, 04:03
I thought about this a couple of times, binary import/export would likely be easy but it's a too big task too maintain a versioning method for this so I would have to force using identical versions for import/export.
You could use XML to store this information, since XML can be backward-compatible (just freeze some basic tags and add new ones for every change you make).

filipcza
26th January 2006, 11:00
Would be hiding trackbar (press 'T') and hiding buttons (press 'B') be sufficient?

Yes that's fine. Did you have that info somewhere in help files? If not then you should make(or someone should help you to make) a comprehensive help, so that these kind of questions would be answered and we wouldn't have to bother you with them.

And regarding the other question I had, the vobsub-launching thingy..I had no idea you could make your own menu items, where you can launch pretty much anything! Now that's a great feature, which very few apps have. And since you can also add keyboard shortcuts to those menu items, you can pretty much "code" your own set of shortcuts and that's a BIG time saver!

I think I'm going to switch from GK to StaxRip! Thanks again!

-Pete

sbp
26th January 2006, 15:31
Hi I just want to thank your for Staxrip, it looks very powerfull.

But I have one problem. I would like to use staxrip to transcode my TV-captures into divx (or XVID or X264). I capture into Picvideo MJPEG.

But when I try to load one of my captured files into staxrip, Virtualdubmod(dub in progress) starts, and I can see the first frame of the captured video. Then Virtualdubmod closes, and the next thing that happend is an error stating: "Failed to load source" When I click OK on this, then another error pops up:
The preview window states: "Avisource couldn't locate a decompressor for fourcc MJPG "then my filename", line 1.

I don't know what the problem is, but if it is a missing component, then StaxRip previously has quided me to download the missing - could that be possible here as well?

Steen

stax76
26th January 2006, 17:07
You could use XML to store this information, since XML can be backward-compatible (just freeze some basic tags and add new ones for every change you make).


Manual formating is out of question for my complex object graphs and XML serializer in .NET has in my experience serious limitations compared to the binary serializer, it certainly wouldn't work with my code unless I would try to make it work which possible could end up in much of a pain.

Yes that's fine. Did you have that info somewhere in help files?

It's in the menu (right-click or click the dropdown button) and in the help.

But I have one problem. I would like to use staxrip to transcode my TV-captures into divx (or XVID or X264). I capture into Picvideo MJPEG.

But when I try to load one of my captured files into staxrip, Virtualdubmod(dub in progress) starts, and I can see the first frame of the captured video. Then Virtualdubmod closes, and the next thing that happend is an error stating: "Failed to load source" When I click OK on this, then another error pops up:
The preview window states: "Avisource couldn't locate a decompressor for fourcc MJPG "then my filename", line 1.

I don't know what the problem is, but if it is a missing component, then StaxRip previously has quided me to download the missing - could that be possible here as well?

Anything other than DVB and DVD sources need much likely to be configured, see 'Preperation' in the Options and 'Filters' in the main dialog. There is some docs of both of this. Of course that's were stuff get's complicated, messing with command lines, DirectShow and AviSynth filters. Maybe I can help you if you upload a 5-10 seconds sample somewhere, please let my know if you need help on how to do this.

sbp
26th January 2006, 19:51
Stax
Thank you for your offer, I can't figure out how to do it.

I have a small file (less than 25 MB), do you know of a place where I can upload it?

Steen

stax76
26th January 2006, 19:53
There are a couple of upload services e.g.:

http://www.mytempdir.com

http://www.yousendit.com

stax76
26th January 2006, 20:05
0.9.2.7 (2006-01-26)



new: Added possibility to change the AviSynth plugin directory in the settings dialog.
new: Command line preview and info dialog added to container (muxer) dialogs.
fix: A couple of bugs were fixed.
change: A couple of applications were updated.

sbp
27th January 2006, 09:09
Thank you

I have now uploaded a small clip to http://www.mytempdir.com/411879

I hope that you can find a way to transcode this into xvid or x264 using Staxrip

Thanks Steen

L4z4rus
27th January 2006, 10:34
But when I try to load one of my captured files into staxrip, Virtualdubmod(dub in progress) starts, and I can see the first frame of the captured video. Then Virtualdubmod closes, and the next thing that happend is an error stating: "Failed to load source" When I click OK on this, then another error pops up:
The preview window states: "Avisource couldn't locate a decompressor for fourcc MJPG "then my filename", line 1.
Steen

Sounds like a problem with your PicVideo Codec installation - VirtualDub can't find it to decompress your capture (rather than it specifically being StaxRip).

sbp
27th January 2006, 12:25
No I dont think that this is the problem. I can play the clip in VirtualDub without problems (using virtualdub without StaxRip)

Steen

stax76
27th January 2006, 22:21
0.9.2.8 (2006-01-27)



new: Cascading profiles menu.
new: Sharktooth's x264 profiles (thanks to Sharktooth).

swaaye
28th January 2006, 00:12
Ideas for ya Stax:

1- get those vdub windows to startup minimized. I'm always afraid i'm going to hit close on one when they pop up. And, when minimized, they show % done.

2- Add a stop projects button so you can stop Staxrip's entire job queue. I sometimes have 20 jobs in there and hitting abort 20 times is a prob. Maybe also add a shutdown/hiberbate/whatever on completion of queue too.

3- Crop is still messing up my 4:3 TV shows. Wrong aspect. I always use autocrop in my filter stream and turn off your auto crop feature. I use the aspect=-1 option to make autocrop keep the aspect of the source. Works 100% for me.

4- Be able to save the job queue. I've noticed it doesn't get lost if Staxrip crashes, but would be nice to be able to manually save it too.

5- Crazy Idea: a way to search for D2Vs in a folder and autojobify them? Say you used Robot4rip. It makes folders for each rip and makes the d2v. I set up a default Staxrip profile. I have Staxrip go search for those D2Vs and it makes jobs for me with my default profile and puts them in the queue. Now that would be totally mind-blowingly spiffy and reduce a ton of clicking. :)

6- With earlier versions I was using mapped drives to "distribute" my encoding to networked PCs. Sorta a file server setup. The newer versions are telling me only local drives can be used.....


As always, good work man. This program blows AGK and GK out of the water in flexibility and ease of use.

hellfred
28th January 2006, 00:33
0.9.2.8 (2006-01-27)
Hi Stax
What vorbis dlls are being downloaded by v0.9.2.8 and have you heard of the lancer opimized vorbis encoder from Ogg vorbis accelearation project (http://homepage3.nifty.com/blacksword/index_e.htm)? The encoder is really fast, patched with latest aoTuV beta4.5 source (q -1 und -2) and the audio tracks encoded with this encoder are not distinguishable form those encoded with original auTuV. At least that is stated by the gurus from hydrogenaudio.org (link (http://www.hydrogenaudio.org/forums/index.php?showtopic=15049)) AFAIK all you need is a CPU with SSE. I recomend you to give this encoder a try.

Hellfred

P.S.: Being able to use Sharktooths profiles is a great feature! Your tool becomes better and better. If only my PC would encode faster to enjoy the ease of DVD-backups with StaxRip more ...

stax76
28th January 2006, 01:47
1- get those vdub windows to startup minimized. I'm always afraid i'm going to hit close on one when they pop up. And, when minimized, they show % done.


There is a option in the settings dialog.

2- Add a stop projects button so you can stop Staxrip's entire job queue.

Maybe I could modify 'Abort' to abort the entire queue, 'Abort' was recently changed internally (using a exception), I can't even tell you what happens when you abort while using jobs.

Maybe also add a shutdown/hiberbate/whatever on completion of queue too.

That should be executed only when all jobs are done, if it get's executed after every job, then it's a bug.

3- Crop is still messing up my 4:3 TV shows. Wrong aspect. I always use autocrop in my filter stream and turn off your auto crop feature. I use the aspect=-1 option to make autocrop keep the aspect of the source. Works 100% for me.

I checked the AutoCrop docs and don't even understand what aspect=-1 is about.


4- Be able to save the job queue. I've noticed it doesn't get lost if Staxrip crashes, but would be nice to be able to manually save it too.


Joblist is part of the settings, I understand it's not nice to lose settings after a crash. I'm not sure what's the best way to handle but I'll think about it.


5- Crazy Idea: a way to search for D2Vs in a folder and autojobify them? Say you used Robot4rip. It makes folders for each rip and makes the d2v. I set up a default Staxrip profile. I have Staxrip go search for those D2Vs and it makes jobs for me with my default profile and puts them in the queue. Now that would be totally mind-blowingly spiffy and reduce a ton of clicking.

Can you please elaborate, what does that mean: 'I set up a default Staxrip profile.'?

6- With earlier versions I was using mapped drives to "distribute" my encoding to networked PCs. Sorta a file server setup. The newer versions are telling me only local drives can be used.....

Doesn't that mean the working dir is a network drive? Did that really work well?

What vorbis dlls are being downloaded by v0.9.2.8 and have you heard of the lancer opimized vorbis encoder from Ogg vorbis accelearation project? The encoder is really fast, patched with latest aoTuV beta4.5 source (q -1 und -2) and the audio tracks encoded with this encoder are not distinguishable form those encoded with original auTuV. At least that is stated by the gurus from hydrogenaudio.org (link) AFAIK all you need is a CPU with SSE. I recomend you to give this encoder a try.

I'm clueless about SSE, sounds like a feature only newer CPU's have?

davidlt
28th January 2006, 05:14
Could you make something with MKV container and AC3?.. Make it more simple, easier...

swaaye
28th January 2006, 05:44
I checked the AutoCrop docs and don't even understand what aspect=-1 is about.

From the Autocrop v1.2 manual:
aspect - Float - default 0 - Aspect is ignored

-1 - Maintain aspect ratio of the source clip
0 - Aspect is ignored
>0 - Aspect ratio will be set to this. For example for a 4:3 aspect ratio you would pass
4.0/3.0 or 1.33333333333. Note 4/3 won't work the .0 is need to tell AVISynth the value is
a float.

So I just use aspect=-1 and it doesn't change the aspect of the clip. It seems to work by far the best in this mode. I did try 4.0/3.0 once but it ended up 5:4 for some odd reason. -1 has always worked perfectly, at least with this 4:3 stuff.



Can you please elaborate, what does that mean: 'I set up a default Staxrip profile.'?

I'm referring to your default profile in the Staxrip. I always set up a default profile and save it before starting a bunch of jobs on the same source material (episodes of a series). Then I just load the d2v, the saved default profile loads and has all settings, then just add to job queue. By being able to have Staxrip go out and load those D2Vs into the queue for me, while loading your cool default profile, it would be totally automated. It should go load all the D2V's from a folder I tell it and load them from subfolders within that folder (Robot4Rip does this).

Example:
"D:\DVD" is where Robot4rip puts all the DVD rips
"D:\DVD\SERIES1" a ripped DVD disk
"D:\DVD\SERIES1\VTS_02_PGC2" One of the PGCs from the DVD. Each has its own subfolder, 4 per DVD in this show's case. D2Vs are in each of these folders.

So, StaxRip would be told to look in D:\DVD and it would then look into each subfolder for a D2V, assuming that I want it to use its Default Profile for the encoding settings, and make jobs, save them, and add them to the queue. :)


Doesn't that mean the working dir is a network drive? Did that really work well?

Yes I had 3 computers working on the same drives thru a 100MBit network! It was working very well! But now it's giving that 'local drives only' error and won't let me use the mapped drives.

StaxRip is pretty self-contained within its folder so I can just copy the folder onto each comp and I have a little video encoding distrubuted processing lab or something!! Heh. The DVD files are all on the central file server computer, which itself also encodes. The other machines think the mapped drive is their hard drive so they just use the VOBs from there and save their finished file to there too.

stax76
28th January 2006, 08:33
Could you make something with MKV container and AC3?.. Make it more simple, easier...

Can you please elaborate? I don't see much of a problem here. There is a audio profile to mux AC3, it's called 'AC3 - Add Existing File', normally it would be called 'Mux AC3' but it wouldn't be easy then ;), mux means adding without reencoding...

You can overwrite your default project to have that profile available when StaxRip starts. Go to 'File/Default Project/Save'.

So I just use aspect=-1 and it doesn't change the aspect of the clip. It seems to work by far the best in this mode. I did try 4.0/3.0 once but it ended up 5:4 for some odd reason. -1 has always worked perfectly, at least with this 4:3 stuff.

Now I understand it, it will crop both sides to maintain the same aspect ratio, since StaxRip's AR calculations take care of cropping I don't see a problem, even without resizing there shouldn't be a problem since StaxRip automatically uses AR signalling for codecs supporting it. I can only examine the problem if you upload a 5-10 seconds sample.

I'm referring to your default profile in the Staxrip. I always set up a default profile and save it before starting a bunch of jobs on the same source material (episodes of a series). Then I just load the d2v, the saved default profile loads and has all settings, then just add to job queue. By being able to have Staxrip go out and load those D2Vs into the queue for me, while loading your cool default profile, it would be totally automated. It should go load all the D2V's from a folder I tell it and load them from subfolders within that folder (Robot4Rip does this).

Example:
"D:\DVD" is where Robot4rip puts all the DVD rips
"D:\DVD\SERIES1" a ripped DVD disk
"D:\DVD\SERIES1\VTS_02_PGC2" One of the PGCs from the DVD. Each has its own subfolder, 4 per DVD in this show's case. D2Vs are in each of these folders.

So, StaxRip would be told to look in D:\DVD and it would then look into each subfolder for a D2V, assuming that I want it to use its Default Profile for the encoding settings, and make jobs, save them, and add them to the queue.

In StaxRip you probably mean project, not profile ;), StaxRip has a 'Batch Mode' I don't even recall if it's called that way and testing it with a real world scenario is still on my to do list. I simply didn't go through a batch scenario yet but it's pretty popular so I need to work on it.


Yes I had 3 computers working on the same drives thru a 100MBit network! It was working very well! But now it's giving that 'local drives only' error and won't let me use the mapped drives.

It was done because opening a source file directly from DVD can't work and resulted in a crash. I'll fix it.

sbp
28th January 2006, 09:25
Dear stax.

Did you have time to look at my uploaded clip?
I heve been trying different settings, but I can't figure out how to use StacRip on these captured files.

Thanks STeen

stax76
28th January 2006, 09:46
Did you have time to look at my uploaded clip?
I heve been trying different settings, but I can't figure out how to use StacRip on these captured files.

Not yet but I'll do so shortly, thanks for uploading clip.

hellfred
28th January 2006, 10:04
There is a option in the settings dialog.I'm clueless about SSE, sounds like a feature only newer CPU's have?
Hi Stax
SSE(alias ISSE) is an extension to the x86 instruction sets. It allows computing following the idear SIMD (Single Instruction, Multiple Data: multiple data sets are read into special registers and worked on simultanious, resulting in higher computing performance). It was the second SIMD extension to the instruction set of x86 cpus added by Intel. It was introduced with the Pentium III series. (First SIMD instruction extension was MMX - alias Math Matrix eXtension alias MultiMedieXtension, which was integer-only). Wikipedia has some nice articles about all of this and lists of CPUs, that come with those instruction sets.
In English:
SIMD (http://en.wikipedia.org/wiki/SIMD)
SSE (http://en.wikipedia.org/wiki/Streaming_SIMD_Extensions)

In German
SIMD (http://de.wikipedia.org/wiki/Single_Instruction_Multiple_Data) (shorter)
SSE (http://de.wikipedia.org/wiki/ISSE) (with CPU list)

So basically it comes down to saying:
No, some of the user of StaxRip will have CPUs that are older than Pentium III or AMD Athlon XP and the dlls will fail on them.
But hey, then they are running WinXP with Net v2.0 on those slow machines an on top of that trying to encoding videos on those old and slow hardware. Those must be pure masochinsts :). They have to replace the Lancer vorbis dlls with normal ones.

Yes, I expect all of my users to have quite up to date hardware for encoding as otherwise video processing is not practicable on their machines. And if one really wants to encode on an quite old and slow hardware, he is told in the dialogs (External applications) and documentation to manually download and copy regular vorbis dlls to their destination.

Hellfred

EDIT: Changed Pentium II to Pentium III, typing mistake

stax76
28th January 2006, 10:25
@hellfred

That's a good reasoning, I have to agree, thanks.

hellfred
28th January 2006, 11:31
Here some numbers to illustrate the benefit of using lancer:

Encoding 2 WAVs at q 7:
Oggenc Lancer: 7 sec
Oggenc classic (ICL P3 build for Pentium M): 16 sec
Oggenc classic (generic MSVC): 19 sec

Encoding 6 WAVs at q 7:
Oggenc Lancer: 1:33 min
Oggenc classic (ICL P3 build for Pentium M): 3:11 min
Oggenc classic (generic MSVC): 3:58 min

Ogg lancer build was taken from here (oggenc2_lancer20051121.zip) (http://homepage3.nifty.com/blacksword/index.htm)
Ogg classic was taken from here (oggenc28.exe aoTuV beta 4.51 (ICL compile for P3/AMD Athlon)). (http://www.hydrogenaudio.org/forums/index.php?showtopic=15049)
Ogg classic generic was taken from the same place where the P3 build came form. (oggenc28.exe aoTuV beta 4.51 (MSVC compile)).

The P3 build was taken as it fits best for the Pentium M 725A, which was used for the encoding.

Hellfred

P.S.: Lancer 20051121 is based on aotuv-b4.51_20051117, so the comparison should be fair. Comparison was made with Exact Audio Copying, "Tools"->"Compressing WAVs" (in German: Hilfsmittel->Komprimiere WAVs), the durations were taken directly from EAC dialog.

stax76
28th January 2006, 13:16
@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.

hellfred
28th January 2006, 17:33
This numbers were measured on a P4@3.06GHz with other WAVs.
(first 6 tracks from U2 - POP, before it were the first 6 tracks of Metallica - St. Anger and the first 2 track from M. Manson - Golden Age of Grotesque )

Encoding 6 WAVs at q 7:
Oggenc Lancer: 1:01 min
Oggenc classic (ICL P4 build for Pentium 4): 1:40 min
Oggenc classic (generic MSVC): 2:18 min

Ogg lancer build: oggenc2_lancer20051121.zip
Ogg classic P4: oggenc28.exe aoTuV beta 4.51 (ICL compile for P4/AMD Sempron, Athlon 64)
Ogg classic generic: oggenc28.exe aoTuV beta 4.51 (MSVC compile)

The speedup compared to compiler-optimized encoder is still siginficant, the speedup compared to generic encoder even huger

Hellfred

stax76
29th January 2006, 00:11
Here is a build with experimental pause/resume for processing apps:

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

It pauses/resumes the worker thread and only one thread so it might work with all apps with single worker thread and with all normal CPU's, everything else has to be tested...

LRN
29th January 2006, 13:44
Hello again. I have some bad news.
Before muxing chapters, StaxRip converts them to UTF-8. After conversion the chapter-file in Temporary Files does not contain any non-latin symbols in any form (they're just stripped off). However it contains BOM, pointing what this file is indeed UTF-8 text file.
Chapter-file should be plain CP-xxxx text (at least when i manually muxed CP-1251 file with mp4box everything worked fine; Maybe there IS way to mux UTF or other unicode files - but i didn't find it).
Also...
I noticed, what all russian subtitles i mux with StaxRip...Well, they work improperly. For example, first 8 minutes of movie they're shown fine - but after that they disappear. In other movie they disappear on first minute.
English subtitles works perfectly. I'll investigate this. Looks like mp4box produces corrupt mp4 because of some wrong characters in subtitles...I really don't know.

stax76
29th January 2006, 14:22
Before muxing chapters, StaxRip converts them to UTF-8. After conversion the chapter-file in Temporary Files does not contain any non-latin symbols in any form (they're just stripped off). However it contains BOM, pointing what this file is indeed UTF-8 text file.
Chapter-file should be plain CP-xxxx text (at least when i manually muxed CP-1251 file with mp4box everything worked fine; Maybe there IS way to mux UTF or other unicode files - but i didn't find it).
Also...

I noticed, what all russian subtitles i mux with StaxRip...Well, they work improperly. For example, first 8 minutes of movie they're shown fine - but after that they disappear. In other movie they disappear on first minute.
English subtitles works perfectly. I'll investigate this. Looks like mp4box produces corrupt mp4 because of some wrong characters in subtitles...I really don't know.


Can you get this stuff working when you are doing everything by hand, if not then I certainly can't either. I wish StaxRip would have full local support but since not all tools like DGIndex support unicode it's not possible.

sbp
29th January 2006, 15:13
Dear Stax, Thank you for your help.

I managed by adding an extra avisynth filter: defined by adding "direct show source". Than I saw your other post regarding MJEPG support in FFDSHOW, so I enabled this (it was disabled). So now I can open these tv-capture files without any problems.

However, new problems have occured. I would like to try the X264 encoder, but StaxRip wont allow me to do this (I try to use MP3 as audio, in a mp4 container - staxrip tells me that this i wrong).
Then I try to choose aac, but now I havent Nero installed - so no luck here.
Finally, I would try to encode - choosing no audio - but StaxRip tells me that "the audio profile supports the input format - please choose another audio profile" - so basicly I'm not able to encode without audio?

Thanks
Steen

PS: would it be possible to start StaxRip from a bat file, with a input file name, a profile (like TV-show encoding), an output file name. I would realy like this because then I could transcode my tv-recordings unattended overnight. (using dirmon to start the bat file when certain options is fullfilled)

LRN
29th January 2006, 15:42
Can you get this stuff working when you are doing everything by hand, if not then I certainly can't either. I wish StaxRip would have full local support but since not all tools like DGIndex support unicode it's not possible.
at least when i manually muxed CP-1251 file with mp4box everything worked fine
StaxRip converts them to UTF-8. After conversion the chapter-file in Temporary Files does not contain any non-latin symbols in any form (they're just stripped off). However it contains BOM, pointing what this file is indeed UTF-8 text file.
That's it. This mess with chapters - it's only StaxRip's fault.

stax76
29th January 2006, 16:48
@LRN

Sorry for making this a mess, I've now removed changing it to UTF-8 but now don't change it at all, this should work:

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

Then I try to choose aac, but now I havent Nero installed - so no luck here.

Installing the demo should be sufficient, StaxRip will grab then some dll and copy them to the BeSweet dir, the files are neroipp.dll, aac.enc, aacenc32.dll, you should backup those. You don't need Nero to be installed once you got those files in your BeSweet dir, though you should have a Nero license. You could also make a profile to use another free encoder or even use another free codec for which StaxRip already has some profiles.

Finally, I would try to encode - choosing no audio - but StaxRip tells me that "the audio profile supports the input format - please choose another audio profile" - so basicly I'm not able to encode without audio?

Just remove the audio source file.

PS: would it be possible to start StaxRip from a bat file, with a input file name, a profile (like TV-show encoding), an output file name. I would realy like this because then I could transcode my tv-recordings unattended overnight. (using dirmon to start the bat file when certain options is fullfilled)

Currently I don't think it can be done, I have to check it.

wdmalik
29th January 2006, 21:38
any way to 'queue' jobs

asdfsauce
29th January 2006, 22:36
any way to 'queue' jobs

"View" >> "Jobs" >> "Add".

-----
Hi stax,

I really like how your program is coming along. Some problems though - my audio is never in sync when I try to cut out pieces of my M2V + AC3 combo files using the built-in editing interface. It sounds like it's cutting the audio, just not very accurately. Do you know of this, or how I might fix it?

Feature Requests:

SAR in encoder setup. Unless it's somewhere else, I couldn't find it.

Better transport stream support. Shouldn't be hard at all since ProjectX demuxes these into formats Staxrip can handle right now.

Maybe add audio to preview/editing so people know they're not cutting off or into audible sound.

Thanks.

Edit: Oh yeah, is there any way to turn off the compression test?

stax76
29th January 2006, 22:38
any way to 'queue' jobs

Recently I modified the last assistant tip to 'Click on the next button to start the encoding process or click here to add the project to the job list'. I don't remember if it's released already but under 'View/Jobs' (press F6) you can add projects to the job list.

edit: I'm late

I really like how your program is coming along. Some problems though - my audio is never in sync when I try to cut out pieces of my M2V + AC3 combo files using the built-in editing interface. It sounds like it's cutting the audio, just not very accurately. Do you know of this, or how I might fix it?

It cuts the AC3 using VirtualDubMod. Maybe it's already out of sync after demuxing. How did you capture and demux?

SAR in encoder setup. Unless it's somewhere else, I couldn't find it.

See the 'Options/Automation': Auto Aspect Ratio Signaling (Tooltip: In case no resize filter is used StaxRip signals the codec to write the proper aspect ratio to the bitstream so players that support aspect ratio signaling playback still the proper aspect ratio. Aspect ratio signaling is not supported by DivX and also not by every player.)

Better transport stream support. Shouldn't be hard at all since ProjectX demuxes these into formats Staxrip can handle right now.

Can you please elaborate?

Maybe add audio to preview/editing so people know they're not cutting off or into audible sound.

It's hardly possible as the preview don't support playback, it's likely hard to change this and in case of AC3 AviSynth is not even used to cut. Maybe you can temporary add a filter like NicAudio and then launch a real player at the current position which can be done by customizing the menu using the macro %pos_ms% and MPC, see MPC.exe /? for help. I did some very short tests cutting AC3 from VOB sources and here it sounded good. You can also try a old version with the old cutting support to see if there is a difference though it's restricted to AVI.