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


Pages : 1 2 3 4 [5]

flebber
6th November 2010, 23:25
Try eac3to

Famille_CB
7th November 2010, 08:51
Tank's for the tip but I've got the same noise with EAC3to.
I don't understand why the command line talk about Besweet when I choose EAC3to:

EAC3to:
http://www.ouplo.com/img/mini/LSanstitre1.jpg (http://www.ouplo.com/img/LSanstitre1.jpg)

Besweet:
http://www.ouplo.com/img/mini/lSanstitre2.jpg (http://www.ouplo.com/img/lSanstitre2.jpg)

I think it's normal that I've got the same noise if I use the same encoder. Is there a bug I the fabulous StaxRip?

Thank's for your help.

Famille_CB
7th November 2010, 09:36
Hello,

In fact I think I have find the problem with EACto3. It's impossible to encode wav to vorbis with eac3to. It's ok for ACC, AC3, FLAC, DTS.

Does EAC3to have a de-dynamic option like besweet? If it's possible I would lik to use the commande line option like in this screen:

http://www.ouplo.com/img/mini/lSanstitre3.jpg (http://www.ouplo.com/img/lSanstitre3.jpg)

Thank's.

fantasmanegro
8th November 2010, 19:03
does anybody know how to make 5.1 ac3 to 3.1 aac? i mean Left, Center, Right, Surround?

thx!

gottkaiser
9th November 2010, 10:27
@stax76
At first many thanks for developing this great tool. It is a great help for me.
I have a small improvement request. It might be helpful for others too.
You might add an option for the "Default track flag" (see mkvmerge) settings in the subtitle menu. So that you can include a subtitle without it showing up automatically.
At the moment I have to open the created video file with mkvmerge to change the parameter to "no". Would be great to set it right from the beginning.

In any case,
Thanks for the creation of StaxRip.

sneack
10th November 2010, 23:49
hi

I have converted a file from AVI extension to ( MKV ) .. after fininshing the converting I found out that the sound has been cut at the last 10 minutes from the secene ( just to know the duration is about 42 minutes ) .. I think the problem is about the "sound code "m4a , may I have your overtures and suggestions to solve this error ?

Famille_CB
15th November 2010, 09:59
Hello,

I'm back with my noise at the end of an ogg file encoded by besweet via StaxRip.
I used to use Staxrip to create video 720p with x264 (for video) and ogg (for audio). Ogg is for me the must power full encoder for audio.

To make you understand, I upload a file, it is not an 720p file, it's a smaller one, you can find it here :

http://uploading.com/files/3655cff2/San%2Btitre.7z/

In this file youcan find:
* Sans titre.mkv => The audio + video encoded file
* Sans titre.wav => The original wav file.
* Sans titre_Output.OGG => The noisy file encoded by Besweet via Staxrip.
* Sans titre.ogg => The encoded file using Oggenc2 via xrecodeII

I read some forum and I found that this noise is a known problem.
As you can ear, the xrecode file (Sans titre.ogg) is noise less.
I just want to know how I can use Oggenc2.exe with StaxRip; if yes how can I do.
Is there a solution with this version of StaxRip?

Thank's a lot.

PS : I edit the original wav file and the besweet encoded file in SoundForge.

http://www.ouplo.com/img/mini/CopieSoundForge.jpg (http://www.ouplo.com/img/CopieSoundForge.jpg)

As you can see the noise is visible at the end of the file (on the bottom of the image).
What can you tell about this?

Thank's a lot one more time.

Gannjunior
15th November 2010, 16:56
@stax

Hi,

in some occasion (mpeg2 source 576i to h264) staxrip crashes with the error attached.

could you help me?

Thanks!

Ciao

cegy
15th November 2010, 17:43
Hello,

I'm back with my noise at the end of an ogg file encoded by besweet via StaxRip.
I used to use Staxrip to create video 720p with x264 (for video) and ogg (for audio). Ogg is for me the must power full encoder for audio.

To make you understand, I upload a file, it is not an 720p file, it's a smaller one, you can find it here :

http://uploading.com/files/3655cff2/San%2Btitre.7z/

In this file youcan find:
* Sans titre.mkv => The audio + video encoded file
* Sans titre.wav => The original wav file.
* Sans titre_Output.OGG => The noisy file encoded by Besweet via Staxrip.
* Sans titre.ogg => The encoded file using Oggenc2 via xrecodeII

I read some forum and I found that this noise is a known problem.
As you can ear, the xrecode file (Sans titre.ogg) is noise less.
I just want to know how I can use Oggenc2.exe with StaxRip; if yes how can I do.
Is there a solution with this version of StaxRip?

Thank's a lot.

PS : I edit the original wav file and the besweet encoded file in SoundForge.

http://www.ouplo.com/img/mini/CopieSoundForge.jpg (http://www.ouplo.com/img/CopieSoundForge.jpg)

As you can see the noise is visible at the end of the file (on the bottom of the image).
What can you tell about this?

Thank's a lot one more time.

also i've notice staxrip doesn't encode ogg into abr/vbr and only cbr even if i choose abr/vbr i think this is a bug could you please fix this

Arti
17th November 2010, 14:35
Stax - how to fix it?


http://img87.imageshack.us/img87/1355/11111z.png

turok
17th November 2010, 14:53
Stax - how to fix it?


http://img87.imageshack.us/img87/1355/11111z.png

/facepalm

whats the original filename?

get rid of any characters that isnt english and make sure that as far as symbols go use ones that are acceptable. as far i remember, only symbols i can recall atm is ( ) [ ] - _ maybe some more but otherwise yeah.

whats the original filename?

willscarlett
17th November 2010, 16:33
Hello,

I'm back with my noise at the end of an ogg file encoded by besweet via StaxRip.
I used to use Staxrip to create video 720p with x264 (for video) and ogg (for audio). Ogg is for me the must power full encoder for audio.
[...]

I downloaded your file and could not hear a noise. But the file encoded with stax/besweet is something like 0.62 dB louder than the other ogg-file.

Have you tried updating the libvorbis.dll in the staxrip/applications/besweet folder with a newer one from rarewares.org?

greetings
Henrik

Arti
17th November 2010, 18:19
/facepalm

whats the original filename?

get rid of any characters that isnt english and make sure that as far as symbols go use ones that are acceptable. as far i remember, only symbols i can recall atm is ( ) [ ] - _ maybe some more but otherwise yeah.

whats the original filename?

Turok Thanks!

I deleted the entire name and I entered a new and well :)

Famille_CB
17th November 2010, 20:39
I downloaded your file and could not hear a noise. But the file encoded with stax/besweet is something like 0.62 dB louder than the other ogg-file.

Have you tried updating the libvorbis.dll in the staxrip/applications/besweet folder with a newer one from rarewares.org?

greetings
Henrik

Hello,

Thank you for you help but...
In first, you can only ear the noise with some software (media player classic for example). To be sure you can edit the file with some software (Audacity for example). You'll understand that the noise is here because you came see it; look at this file : http://www.ouplo.com/img/mini/CopieSoundForge.jpg (http://www.ouplo.com/img/CopieSoundForge.jpg).


In second, I try to change the "libvorbis.dll" but this is the same problem.

For the difference between the 2 file "Sans titre.ogg" and "Sans titre_Output.OGG" it's normal because I apply a dynamic compression + normalization with the file encoded by besweet.

I really appreciate your help but The problem is not solved for the moment.

Thank's a lot.

myksto
21st November 2010, 13:57
Hello to everybody.
I've been using staxrip for a very long time and recently I need to uncrop some video files (i.e. in a mkv container) to a standard size to make them blu ray compliant. I mean I have a movie whose is 1920x800 and I need to make it 1920x1080 re-encoding it and adding black bars up and down.
I tried with some options in menu but with no result: if the movie is 1920x800 Starip won't let me encode it to any other height beyond 800.

Tools like multiavchhd lets you "uncrop" any source video and it looks like it can do tha with a simple avisinth script row (i.e. addborders(x,x,x,x,) ). I tried to use in staxrip but with no result (I'm not familar with avisinth script).

Is there a way to do what I need using staxrip??

Thanks a lot.

Michele.

sneack
21st November 2010, 22:10
plz guys help me :(

DragooNick
21st November 2010, 23:29
Hey is there a way to make one audio stream louder?
Since i mada an DVD into an MP4 Container [AAC Sound] for my PSP and its way too quiet :/
But the dynamic is great and I dont want to lose it so, I just want to make it louder ;)
I made it with Avidemux, but that can't be a solution to open a container again just to make the audio stream 5db louder, that should also be possible with Staxrip when I make the file for the first time! :thanks: for any help ;)

northerns74r
23rd November 2010, 10:03
At the end of the encoding it came out with this message:
http://forum.videohelp.com/attachments/4255-1290095069/errore.jpg

In the image it says C:\Documents\Frank... but I don't know any Frank

I attach even the ERROR LOG...
LOG (http://forum.videohelp.com/attachments/4256-1290095180/VIRGIN%20-%20VIRGIN%20CHART%202%20-%2011%20-2010%202_StaxRip.log)


Any suggestion?
Thank you in advance.

willscarlett
25th November 2010, 00:39
Hello! I am back with a Problem ^^

I have directories containing multiple mkv-files containing dvd-material, that i would like to compress using almost the same settings for each output file. I understand that "file batch" should be the mode to use. BUT!:
When I open the files in file-batch-mode and have "create jobs" turned on, staxrip does not do the preparations (demuxing/indexing etc.) so I get Jobs that I can not edit or start due to missing files/scripts etc.
When I disable "create jobs" staxrip does the preparations for each file, but closes the files afterwards so that I can't do anything but re-open the files in single-mode. But if I do that, the Preparations are done all over again, so the Batch did not make any sense.

What am I doing wrong? I just would like the preparations being performed and jobs created which I can edit before hitting "start" (I need to apply some manual cutting to some of the files)

Is it a bug or a feature? ^^

Thx in Advance!

Mr_No
25th November 2010, 11:36
I've been having a minor problem since using Staxrip for the first time, the encodes look great and the app is easy to use but...


I've noticed that all of my encodes using x264/ac3/mkv whilst cutting and resizing to 1280x720 suffer from very minor pixelation around 38 seconds in.

The source files are 1080i H264 TS rips from satellite TV via a Dreambox.

I've tried encoding on 3 different PCs and a few older releases of Staxrip and I keep getting the same problem

http://i51.tinypic.com/70gmdz.jpg

Famille_CB
28th November 2010, 23:33
I've been having a minor problem since using Staxrip for the first time, the encodes look great and the app is easy to use but...


I've noticed that all of my encodes using x264/ac3/mkv whilst cutting and resizing to 1280x720 suffer from very minor pixelation around 38 seconds in.

The source files are 1080i H264 TS rips from satellite TV via a Dreambox.

I've tried encoding on 3 different PCs and a few older releases of Staxrip and I keep getting the same problem

http://i51.tinypic.com/70gmdz.jpg

Hello,
Are you sure of the quality of your source files? Do you have a look at the preview window of starip?

Bye...

tasslehoff44
29th November 2010, 07:34
Hi,

I have the same issue, staxrip don't like ts with avc+aac or mpeg2+aac but i don't have issue with ts mpeg2+mp2.

I have the same bug with avc, bad decoding like your screenshot. And with aac audio, staxrip don't demux audio or it demux audio but can't cut it or it cut it but there no sound in aac...

Try to demux before with tsMuxeR GUI, don't often to apply the delay for audio.

I realy love staxrip, but that was a big problem for encoding ts files.

See ya

Mr_No
29th November 2010, 21:58
Hello,
Are you sure of the quality of your source files? Do you have a look at the preview window of starip?

Bye...

Hi,

Yeah it's happens with all of my H264 TS recordings from two different Satellite receiveres (Dreambox DM800 + Vu+ Duo). It happens at 38 seconds everytime also.

turok
8th December 2010, 17:32
looking at above how do ya load up .ts files? loading it directly into staxrip or doing an avs for it then load the avs in? ive worked with .ts files before and i never got problems with them. mostly becuz i do an avs for it first.

and ftr my ts files if i recall were mpeg2 and aac

7ekno
9th December 2010, 08:42
bad decoding like your screenshot.

It's a known Haali glitch with AVC inside TS containers ....

Solution: Remux to MKV before encoding ....

Tek

Pulp Catalyst
9th December 2010, 12:59
hi, i have ripped Avatar, everything is fine, but how do i get staxrip to rip the subs,

staxrip 1.1.7.0 does not rip the subs, vsrip doesn't even run,

i click on the sub bit, it asks me where the subs are, but there are no subs anywhere because staxrip didn't rip them,


could some one offer any advice concerning the Subtitle section in staxrip, subtitles seem quite hidden in staxrip, there's no mention of it in the interface, considering the importance of Forces subs, the subtitles features in staxrip are quite hidden away for the casual user


i ran VSRip manually and ripped the subs, then told staxrip where the subs were, all was fine,

why didn't staxrip do this itself?


i have noticed that Staxrip wants me to point to the VOB files, but VSRip wants me to point to the IFO,

seems there is a missing step somewhere,

once staxrip reads the VOB files, for example VST_05_1 - 5_8, should it not then process the VST_5 IFO file, and automatically check for subtitle pointers and references, and then demux them and ask user what to do with them,

or am i missing something,

i remembered that AutoGK asked for the IFO file, then demuxed the relevant VOB files connected to that IFO file and also the Subs and did it's DGIndex thingy as well as asked what PGC to use (seamless branching)


am i doing something wrong (most likely)


all i want is the Forced subs in Avatar film to show,

i tried manually VSRip (but the forced subs are not showing, ALL Subs are on)
but i only want forced subs

also i want soft subs, as i'm doing MKV container, don't want them burnt in to output file,

hard subs is a thing of the past now right?
AVI limitations are long gone (about time)

flebber
10th December 2010, 11:35
Hi Stax I wanted to build a version of staxrip with updated DGindexNV and X264. I can build staxrip from svn just fine however I cannot seem to find where to define which version of x264 i want to use so I end up with the staxrip unknown version warning.

Edit: update the help.txt and versions.txt looking in applications.vb and x264.vb but unable to build it successfully.

stax76
12th December 2010, 19:17
@flebber

You can press F1 in the applications dialog, tells you about some hidden on purpose features.

@all

I'm still taking a time out but I'll be back sooner or later. :)

PopovN
12th December 2010, 21:09
Due to x264.nl change way to store revisions - i remake autoupdate scripts for x264 in staxrip.

You must paste it as vbscript in edit dialog of menu-items.

You need wget(for download) and winmerge(for visual control of changes) installed in applications folder.

Manual update from menu item:
(tools->edit menu)

Dim o, HelpNow,HelpNew
Set o = createobject("WScript.Shell")
o.run "%COMSPEC% /c %application_dir:x264%..\wget\bin\wget.exe -N -P %application_dir:x264%new\ http://x264.nl/x264/32bit/8bit_depth/",0,true
Set index = CreateObject("Scripting.FileSystemObject").OpenTextFile("%application_dir:x264%new\index.html", 1)

Set regEx = New RegExp
regEx.Pattern = "\/(revision\d*\d\d\d\d)\"""
Set Matches = regEx.Execute(index.ReadAll)

o.run "%COMSPEC% /c %application_dir:x264%..\wget\bin\wget.exe -N -P %application_dir:x264%new\ http://mirror01.x264.nl/x264/32bit/8bit_depth/"+Matches(0).SubMatches(0)+"/x264.exe",0,true
o.run "%COMSPEC% /c %application:x264% --fullhelp > %application_dir:x264%help.now",0,true
o.run "%COMSPEC% /c %application_dir:x264%new\x264.exe --fullhelp > %application_dir:x264%help.new",0,true

Set HelpNow = CreateObject("Scripting.FileSystemObject").OpenTextFile("%application_dir:x264%help.now", 1)
Set HelpNew = CreateObject("Scripting.FileSystemObject").OpenTextFile("%application_dir:x264%help.new", 1)

IF (HelpNow.ReadLine <> HelpNew.ReadLine) then
str1=str
Do While (HelpNow.AtEndOfStream <> True) and (str1=str) and (HelpNew.AtEndOfStream <> True)
str = HelpNow.ReadLine
str=replace(str," ","")
str=replace(str,"-","")
str=replace(str,".","")
str=replace(str,":","")
str=replace(str,",","")
str=replace(str," ","")
str1 = HelpNew.ReadLine
str1=replace(str1," ","")
str1=replace(str1,"-","")
str1=replace(str1,".","")
str1=replace(str1,":","")
str1=replace(str1,",","")
str1=replace(str1," ","")
Loop

If (HelpNew.AtEndOfStream <> True) or (str1<>str) or (HelpNow.AtEndOfStream <> True) then
o.run "%application_dir:x264%..\Winmerge\WinmergeU.exe %application_dir:x264%help.now %application_dir:x264%help.new",3,true
if msgbox (" Update?",4+32,"Staxrip update: x264") = vbYes then
o.run "%COMSPEC% /c COPY /V /Y %application:x264% %application:x264%.old",0,true
o.run "%COMSPEC% /c COPY /V /Y %application_dir:x264%new\x264.exe %application:x264%",0,true
o.run "%COMSPEC% /c COPY /V /Y %application_dir:x264%help.now %application_dir:x264%help.old",0,true
o.run "%COMSPEC% /c COPY /V /Y %application_dir:x264%help.new %application_dir:x264%help.now",0,true
end if
Else
o.run "%COMSPEC% /c COPY /V /Y %application:x264% %application:x264%.old",0,true
o.run "%COMSPEC% /c COPY /V /Y %application_dir:x264%new\x264.exe %application:x264%",0,true
o.run "%COMSPEC% /c COPY /V /Y %application_dir:x264%help.now %application_dir:x264%help.old",0,true
o.run "%COMSPEC% /c COPY /V /Y %application_dir:x264%help.new %application_dir:x264%help.now",0,true
o.Popup "Done.",1,"Staxrip update: x264",64
End If

Else
o.Popup "You have last version. - "+Matches(0).SubMatches(0),1,"Staxrip update: x264",64
END IF

HelpNow.close
HelpNew.close


Autoupdate before encoding if changes in x264-help does not exist:
(tools->event commands)

Dim o, HelpNow,HelpNew
Set o = createobject("WScript.Shell")
o.run "%COMSPEC% /c %application_dir:x264%..\wget\bin\wget.exe -N -P %application_dir:x264%new\ http://x264.nl/x264/32bit/8bit_depth/",0,true
Set index = CreateObject("Scripting.FileSystemObject").OpenTextFile("%application_dir:x264%new\index.html", 1)

Set regEx = New RegExp
regEx.Pattern = "\/(revision\d\d\d\d)\"""
Set Matches = regEx.Execute(index.ReadAll)

o.run "%COMSPEC% /c %application_dir:x264%..\wget\bin\wget.exe -N -P %application_dir:x264%new\ http://mirror01.x264.nl/x264/32bit/8bit_depth/"+Matches(0).SubMatches(0)+"/x264.exe",0,true
o.run "%COMSPEC% /c %application:x264% --fullhelp > %application_dir:x264%help.now",0,true
o.run "%COMSPEC% /c %application_dir:x264%new\x264.exe --fullhelp > %application_dir:x264%help.new",0,true

Set HelpNow = CreateObject("Scripting.FileSystemObject").OpenTextFile("%application_dir:x264%help.now", 1)
Set HelpNew = CreateObject("Scripting.FileSystemObject").OpenTextFile("%application_dir:x264%help.new", 1)

IF (HelpNow.ReadLine <> HelpNew.ReadLine) then
str1=str
Do While (HelpNow.AtEndOfStream <> True) and (str1=str) and (HelpNew.AtEndOfStream <> True)
str = HelpNow.ReadLine
str=replace(str," ","")
str=replace(str,"-","")
str=replace(str,".","")
str=replace(str,":","")
str=replace(str,",","")
str=replace(str," ","")
str1 = HelpNew.ReadLine
str1=replace(str1," ","")
str1=replace(str1,"-","")
str1=replace(str1,".","")
str1=replace(str1,":","")
str1=replace(str1,",","")
str1=replace(str1," ","")
Loop

If (HelpNow.AtEndOfStream = True) and (HelpNew.AtEndOfStream = True) and (str1=str) then
o.run "%COMSPEC% /c COPY /V /Y %application:x264% %application:x264%.old",0,true
o.run "%COMSPEC% /c COPY /V /Y %application_dir:x264%new\x264.exe %application:x264%",0,true
o.run "%COMSPEC% /c COPY /V /Y %application_dir:x264%help.now %application_dir:x264%help.old",0,true
o.run "%COMSPEC% /c COPY /V /Y %application_dir:x264%help.new %application_dir:x264%help.now",0,true
End If

END IF

HelpNow.close
HelpNew.close


Show difference and ask for update after source loaded if was any changes in x264-help:
(tools->event commands)

Dim o, HelpNow,HelpNew
Set o = createobject("WScript.Shell")

Set HelpNow = CreateObject("Scripting.FileSystemObject").OpenTextFile("%application_dir:x264%help.now", 1)
Set HelpNew = CreateObject("Scripting.FileSystemObject").OpenTextFile("%application_dir:x264%help.new", 1)

IF (HelpNow.ReadLine <> HelpNew.ReadLine) then

if msgbox ("Update available - will see?",4+32,"Staxrip update: x264") = vbYes then
o.run "%application_dir:x264%..\Winmerge\WinmergeU.exe %application_dir:x264%help.now %application_dir:x264%help.new",3,true
if msgbox (" Update?",4+32,"Staxrip update: x264") = vbYes then
o.run "%COMSPEC% /c COPY /V /Y %application:x264% %application:x264%.old",0,true
o.run "%COMSPEC% /c COPY /V /Y %application_dir:x264%new\x264.exe %application:x264%",0,true
o.run "%COMSPEC% /c COPY /V /Y %application_dir:x264%help.now %application_dir:x264%help.old",0,true
o.run "%COMSPEC% /c COPY /V /Y %application_dir:x264%help.new %application_dir:x264%help.now",0,true
end if
end if

END IF

HelpNow.close
HelpNew.close


View last difference between x264 relises:
(tools->edit menu)

Dim o, HelpNow,HelpNew
Set o = createobject("WScript.Shell")
Set HelpNow = CreateObject("Scripting.FileSystemObject").OpenTextFile("%application_dir:x264%help.now", 1)
Set HelpNew = CreateObject("Scripting.FileSystemObject").OpenTextFile("%application_dir:x264%help.new", 1)

IF (HelpNow.ReadLine <> HelpNew.ReadLine) then
o.run "%application_dir:x264%..\Winmerge\WinmergeU.exe %application_dir:x264%help.now %application_dir:x264%help.new",3,true
ELSE
o.run "%application_dir:x264%..\Winmerge\WinmergeU.exe %application_dir:x264%help.old %application_dir:x264%help.now",3,true
End if

flebber
13th December 2010, 00:59
@flebber

You can press F1 in the applications dialog, tells you about some hidden on purpose features.

@all

I'm still taking a time out but I'll be back sooner or later. :)

Awesome thanks Stax.

Famille_CB
13th December 2010, 20:40
@flebber

You can press F1 in the applications dialogue, tells you about some hidden on purpose features.

@all

I'm still taking a time out but I'll be back sooner or later. :)

I use your tips to change the x264 version (I change the x264 file (with F11) and the version in StaxRip (with F12).
Will the "Config Codec" tabs be always fully functional?

Thank a lot for this wonderful tool.

DragooNick
27th December 2010, 00:05
Hey is there a way to make one audio stream louder?
Since i mada an DVD into an MP4 Container [AAC Sound] for my PSP and its way too quiet :/
But the dynamic is great and I dont want to lose it so, I just want to make it louder ;)
I made it with Avidemux, but that can't be a solution to open a container again just to make the audio stream 5db louder, that should also be possible with Staxrip when I make the file for the first time! :thanks: for any help ;)

Does noone know a solution to my Problem? :(

Pulp Catalyst
27th December 2010, 05:05
been using Xvid4PSP, and i have noticed that it uses Xvid Encraw, it gives a cpu (3 core AMD) utilization of 70-80%, where as Staxrip (Xvidcore.dll) gives only 35-45%,

i also noticed that Xvid4PSP sets a thread of 5 not 3, maybe by setting more threads it makes up for the huge inefficiencies of Xvid multi-threading which is well known,
1 Core to 1 thread is well known not to scale well with Xvid, Xvid just doesn't have good SMP in place,

questions,

1a. Could staxrip ever use Xvd Encraw,
1b. Is Xvid Encraw more efficient than XvidCore.dll (like x264VFW and X264 CLI)

2. Is it possible to set Xvid Thread count in staxrip rip, i want to try and set the thread count to 5, and see what happens?

3. i noticed that Xvid Encraw seems to get developed still in places, minor granted, but developed none the less, question is..... is Xvid Craw superior to it's .dll cousin?

have a wonderful new year, and a well deserved break,

flebber
6th January 2011, 08:28
Is there an option in settings or via macro to use "original" audio channel detection when encoding. So by default whatever the audio source channels are detected as that's what they are encoded as?

flebber
6th January 2011, 10:56
Pulp catalyst i have xvid_encraw working with staxrip. Not sure if performance is better as I don't really use xvid very much. Anyhow.

I had an installation of Buzzqw's HDC which uses xvid encraw, so I removed the xvid file from my staxrip folder. I copied the xvid_encraw and xivdcore.dll to the staxrip folder(where the xvid encoder was).

Start staxrip go tools applications. Press F11, go to your staxrip folder(or wherever you have your xivdencraw exe) and select that file, you may need to select all files to see it and then okay. Then press F12 and remove 1.2.2 and type xvid_encraw.

now Staxrip should run xvid encraw.

willscarlett
7th January 2011, 12:05
Is there an option in settings or via macro to use "original" audio channel detection when encoding. So by default whatever the audio source channels are detected as that's what they are encoded as?

If I understand you correctly you would like to have the original audio unchanged in the encoded file? Just set the audio streams to "just mux" and the audio will be unchanged. If you want to have that automatically create a template where "just mux" is already chosen.

flebber
7th January 2011, 12:38
Willscarlet thanks but no I knew that one. I am referring to audio channel detection. So that when the file is re-encoded it retains the same number of channels as the source file.

dirk362
8th January 2011, 17:04
Might just be me, but when you perform Cutting (within preview), this gets added to bottom of the filters list. If you move this up in the filters list (in my case above my Fade entries), then right click on Cutting Filter and select Play, this works fine.
If however you do all that, but insterad of right click, you go back into Preview and then play with External (MPC-HC in my case), this puts Cutting back to bottom of filter list and you don't get the cut version of the video in the external preview or indeed in the final encoded file if you don't move it within filter list.
I'm probably not explaining it all that well, but basically Cutting seems to not always "stick" when encoding unless you make sure you've clicked Play so that the AVS is re-written before then going ahead with the encode.

Pulp Catalyst
8th January 2011, 20:59
thanks flebber,

another issue which has caused me many of headaches lately,


for Xmas, i got a Box-set Startrek TNG & DS9


been converting TNG over to x264 using Staxrip, just started DS9, but the DVD structure is different,

I.E.

VTS_02_1.VOB - VTS_02_8.VOB

in those files are 4 Episodes,

but Staxrip doesn't read the IFO files, which is causing me a headache, because after the encode i have to split (i use mkvmerge), this was ok, and a trade off i accepted,


but then came disk 6, this disk has all the extras for season one, 20 different clips all combined in the VOB files,
if there anyway of forcing Staxrip to read the IFO files, and get the relevant information needed to process the individual files on these types of disks?

if not, then can i hereby put in a request for IFO processing for the future, because i can't continue to use Staxrip now, splitting over 20 clips, is too much,

ALSO more importantly, the clips have different aspect ratio's and should be processed individually so the correct calculations can be made, if all the VOB files are treated as one, then Staxrip will only make the one AutoCrop, which has caused problems, some of the clips have different bars in different places, and Autocrop needs to be done on each Chain,

in fact been messing around with staxrip, if staxrip can't access the IFO files, then staxrip is really more tailored for Film DVD's and not EPISODE DVD's, hopefully when Stax returns, he can introduce IFO processing as an option,


EDIT

someone mentioned in another forum to use a DVDRipper that puts the files in separate VOB files, but that is a nightmare, and not really an option, i spent nearly 3 days ripping my DVD box-sets to my two Harddrives, to hell doing that all over again, LOL,

Betsy25
8th January 2011, 22:15
Hi Stax,

Any idea if (and perhaps when) we could see some kind of life in StaxRip development please ?

Please don't take this as a negative comment, I just start to miss the regular bugfixes and improvements, and kind of start to prefer MeGUI lately for just that reason.:)

flebber
9th January 2011, 01:44
thanks flebber,

another issue which has caused me many of headaches lately,


for Xmas, i got a Box-set Startrek TNG & DS9


been converting TNG over to x264 using Staxrip, just started DS9, but the DVD structure is different,

I.E.

VTS_02_1.VOB - VTS_02_8.VOB

in those files are 4 Episodes,

but Staxrip doesn't read the IFO files, which is causing me a headache, because after the encode i have to split (i use mkvmerge), this was ok, and a trade off i accepted,


but then came disk 6, this disk has all the extras for season one, 20 different clips all combined in the VOB files,
if there anyway of forcing Staxrip to read the IFO files, and get the relevant information needed to process the individual files on these types of disks?

if not, then can i hereby put in a request for IFO processing for the future, because i can't continue to use Staxrip now, splitting over 20 clips, is too much,

ALSO more importantly, the clips have different aspect ratio's and should be processed individually so the correct calculations can be made, if all the VOB files are treated as one, then Staxrip will only make the one AutoCrop, which has caused problems, some of the clips have different bars in different places, and Autocrop needs to be done on each Chain,

in fact been messing around with staxrip, if staxrip can't access the IFO files, then staxrip is really more tailored for Film DVD's and not EPISODE DVD's, hopefully when Stax returns, he can introduce IFO processing as an option,


EDIT

someone mentioned in another forum to use a DVDRipper that puts the files in separate VOB files, but that is a nightmare, and not really an option, i spent nearly 3 days ripping my DVD box-sets to my two Harddrives, to hell doing that all over again, LOL,

Possible my favourite solution to your problem would be to use makemkv. http://makemkv.com/

Pulp Catalyst
9th January 2011, 05:56
i dug out DVD Shrink earlier, scanned through my SOFTWARE\VIDEO\ folders, looked at some old tools, there it was, DVD Shrink, dusted of the dust (b)ites, and got it in,

totally forgot DVD Shrink had re-authoring mode, and because of it's maturity, bug free, and no hidden issues, i turned off All decryption capabilities, the ISO's are already decrypted, everything is going like a treat,


it's not all lost, I've removed foreign audio and subtitles in there entirety, approx. 1.2GB shaved off each disk, Staxrip (DGIndex) will obviously process each disk that little faster, and there's something about DVD Shrink which is a real pleasure seeing again, DVD Shrink really was an amazing program for it's time, such a clean interface, modern even by today standards,

I'm just over the moon that I don't have to re-rip the DVD's again, granted I still have to process the current ISO's i have (HD1 to HD2, then back to HD1)

but next time I'll know, don't assume the 2nd boxset "DS9" will be the same as the 1st "TNG"

thanks for your response,


although i still think it would be a good idea for Staxrip to have the ability to identify each chain itself, and do these 3-6 extra step itself,

FUW, AutoGK, Handbrake too name a few,

but Stax is great, and is my number one, produces such great quality ASP & H264,

the one downside it has for me is the subtitle section, the way it's hidden away, and quite often i can't get it too handle forced subs automatically, and the GUI is very reluctant to share any hints regarding Subs, in fact no mention of Subs on the main screen at all, weird why that is,

the startrek films i had to do on "FUW", because i couldn't get Stax to do the forced subs only, (tried before aswell couple of months ago, "Avatar", but like then still couldn't get it too work)

burfadel
9th January 2011, 08:52
The combined vob files aren't uncommon, you just have to use the previes and cut feature for each ep. Basically do the first one, click next, add it to the job queue, then simply change the filename to reflect the new name (say from 'c:\ds9 1x01.mkv', only replacing the 1 to 2, to read 'c:\ds9 1x02.mkv', then use preview again. The cursor position will be where you left it, at the end of the first ep, simply press x to delete that edit, use the buttons to move a few frames forward to just at the beginning of the next ep, and select the next ep. Repeat this process for the 4 eps. Don't use dgindex etc to cut the files, as sometimes you can run into issues with that way, and also make sure you end and especially start the ep and the beginning of the ep, as you may end up with sync issues if you select from the end of the previous ep and there's a couple of seconds of blank screen where the timecodes and ep changes...

Anyways, it is a little bit of hassle, but really doesn't take much time to do it once you are used to it. It would be nice to have an IFO reader though!

Sharc
9th January 2011, 10:42
Another option is to try HDConvertToX. It reads the .ifo and allows to select the PGCs individually.
But yes, DVDShrink's re-authoring mode is incredibly convenient and helpful for may purposes still.

-scallywag-
10th January 2011, 09:18
Hi.

I have problems to change the framerate in staxrip.

I want to convert files from my camcorder (H.264/1080p50) with staxrip. The target video should be H.264 7020p25 (drop every second frame with x264) for vimeo.

Staxrip dont have switches to do this, so i add "--fps 25" to commanline, but the target video is still 50p.

Can anyone help me? Do I have to add more switches?

Sorry for my bad english :)

:helpful:

Pulp Catalyst
10th January 2011, 13:41
staxrip does have "Assume 25 FPS" or "Assume 23.976 FPS"

http://avisynth.org/mediawiki/AssumeFPS

you can add - misc - assume


i have no idea if this is what your looking for, but changing FPS to half is a considerable amount, the audio will also have to be adjusted, the effect that will have on the audio will be staggering.



another way i found with google,

Right-click the Field filter and choose: Advanced > SelectEven

http://avisynth.org/mediawiki/Select



and



I figured it out myself

add the avisynth script command:-

ChangeFPS(25)

to the script and the output now is 25fps

I am so clever Smiley



these were quotes i found from other websites with the exception of the 1st,

liquidskin76
10th January 2011, 16:48
Hi Stax,

I'm getting the following error after demuxing...

Exception has been thrown by the target of an invocation.

Here's the bug report... http://pastebin.com/vTavihZV

I'm seeing this on the last two versions. Any ideas?

Thanks

Remicade
10th January 2011, 17:32
How to make to automatically insert SetMTMode(2,0) in every script ? Options/Filters/Code inserted at top of scripts don't save changes ....

flebber
10th January 2011, 21:26
How to make to automatically insert SetMTMode(2,0) in every script ? Options/Filters/Code inserted at top of scripts don't save changes ....

Start up staxrip, setup stax the way you want filters setmode whatever and then choose save as template.

flebber
10th January 2011, 21:29
Hi Stax,

I'm getting the following error after demuxing...

Exception has been thrown by the target of an invocation.

Here's the bug report... http://pastebin.com/vTavihZV

I'm seeing this on the last two versions. Any ideas?

Thanks

What type of file and settings? can you load the file in virtualdub?

Remicade
11th January 2011, 07:11
The problem is SetMTMode must be in the first line, if I save as a template, load avi, load template SetMTMode is on the third line and don't work. I will use instead MT, is big difference between SetMTMode and MT ?

liquidskin76
11th January 2011, 10:57
It's any BD backup, irrespective of codec. Funny thing is StaxRip was working fine, so i'm thinking maybe it's non-StaxRip related, like maybe a Windows update to .NET. I'm on Win7.

Cheers

Arti
15th January 2011, 13:43
I changed the x264 64bit 8bit-depth and I have this error :(

http://i51.tinypic.com/2iviplt.png

Pulp Catalyst
17th January 2011, 02:37
hi, got a box set of Star Trek TNG, DS9 & Voyager for myself this Xmas,

in the process of converting them,

PAL

DivX Plus (Slow)
ABR 80Kbps
233MB File Size,
No Resize,
croped 720x to 688


the problem is i have noticed a wobble on one or two scenes (maybe more) on the far left of the screen, "only with Voyager"

http://www.mediafire.com/?msknbtbi3oc64d8 (i have cut the section here....only 3mb)


the quality of the encodes are great, but my question is this,

has this issue ever been seen before, & is it related to the Encoder (x264) or is this related to one of the Avisynth filters that Stax is using?


i have checked the source MPEG (VOB) files and no problem, i ripped the DVD again just in case, but it keeps happening, always on this scene,

i have tried now 5 times, it keeps doing it,

i know a lot of things get ignored here....... but PLEASE, this is a strange issue, this wobble on the scene happens to the left of the image, all the way down the left side of the screen,

thanks,

flebber
17th January 2011, 05:31
Are you using ffms2 or dgindexnv ?

Pulp Catalyst
17th January 2011, 06:57
windows XP, stax uses DGIndex i believe,

but in all honesty i have no idea what ffms2 is,

i use staxrip, with practically default settings,


no errors of any-kind occurred, just that weird wobble on the far left of the screen, and it is repeatable,


i have seen many de-interlace problems, telecine issues, etc,

but never a wobble like that and only on the far left of the image in question?

flebber
17th January 2011, 10:27
windows XP, stax uses DGIndex i believe,

but in all honesty i have no idea what ffms2 is,

i use staxrip, with practically default settings,


no errors of any-kind occurred, just that weird wobble on the far left of the screen, and it is repeatable,


i have seen many de-interlace problems, telecine issues, etc,

but never a wobble like that and only on the far left of the image in question?

Okay I tend to use ffms with staxrip as I like the result. In your filters change automatic to FFvideosource and then try your encode.

I am not sure what version of ffms staxrip has by default but I am using 2.14 which is available here http://code.google.com/p/ffmpegsource/downloads/detail?name=ffmpegsource-2.14-mt.7z&can=2&q=

You can check your version in tools -> application -> Source Filters -> ffms2.

If you want to change versions you will find the ffms2 folder here in staxrip subfolders C:\Staxrip\Applications\AviSynth plugins, you might want to rename the ffms2 folder to backup_ffms2. Then create a new ffms2 folder and extract your download to that folder.

Next F11 and select ffms2.dll in your new staxrip location, then okay, then F12 and change version to 2.14. Let staxrip and let me know how result is.

flebber
17th January 2011, 10:29
I changed the x264 64bit 8bit-depth and I have this error :(

http://i51.tinypic.com/2iviplt.png

I am assuing that if you tried to load your script into MPC-HC or Virtual dub it would error. Its an avisynth error.

Pulp Catalyst
17th January 2011, 21:44
thanks flebber, I'll give it a go,

thankyou for responding, this issue really puzzled me!


Staxrip 1.1.7.0 says it comes with 3.27, i have checked, it's wrong, it comes with 2.13

how do i change the automatic source to FFms2?

i have in the list,

Automatic
Mpegsource
Avisource
FFVideosource
DGSource
Advance > mpegsource deblock dgsource x2


not sure where ffms2 is?

fabje
17th January 2011, 22:12
I'm trying to build DGAVCDecDI (http://neuron2.net/dgavcdecdi/dgavcdecdi.html) into Staxrip.
I have it now so far that I see the program in: Tools > Settings > Demuxing and I have add it in Tools > Applications > Demuxing & Muxing and Source Filters.

But now when I load a .ts file it will demux it with ProjectX and DGIndex but after this it should go back to Staxrip, but instead of that it wants to demux it again with DGAVCDecDI.
Someone here knows how I can fix this?

Pulp Catalyst
17th January 2011, 22:15
i looked in the demuxing,

ffms2 is not there either!

fabje
17th January 2011, 23:22
i looked in the demuxing,

ffms2 is not there either!
If you go toTools > Settings > Demuxing you should see something like: Demux MKV, WEBM, MP4, M2TS, MOV and FLV files.

If you uncheck all except that one, it should use FFMS2

Pulp Catalyst
17th January 2011, 23:24
thanks, appreciate it!

fabje
17th January 2011, 23:26
thanks, appreciate it!
Not sure if it works, but that one should be FFMS2.

Someone here that could help me with this:
I'm trying to build DGAVCDecDI into Staxrip.
I have it now so far that I see the program in: Tools > Settings > Demuxing and I have add it in Tools > Applications > Demuxing & Muxing and Source Filters.

But now when I load a .ts file it will demux it with ProjectX and DGIndex but after this it should go back to Staxrip, but instead of that it wants to demux it again with DGAVCDecDI.
Someone here knows how I can fix this?

Pulp Catalyst
18th January 2011, 00:36
Autocrop doesn't work with FFMS2, it hangs, that is a big problem for me (TV footage definitely needs to be cropped!!!)


and to be honest i'm still not convinced that DGIndex is responsible for causing a wobble effect of the far left side of the screen,

i don't see how an index system would be responsible for that, i maybe wrong, but DGIndex doesn't touch the image itself!

i would of thought filters, or encoders would be the cause?


I've also had 2 crashes with staxrip using FFMS2, not exactly a comforting start, definitely not for me, staxrip has become so unstable since using FFMS2, also been looking at forums regarding FFMS2, there does seem to be many reports criticising it's reliability!



i will try looking at the deinterlacer, and the encoder?

i find it hard to believe it's DGIndex, it's used far to much, and widely accepted as the best and most reliable method,

can't find anything on DGIndex causing such dis-configuration of an image,

fabje
18th January 2011, 01:16
Autocrop doesn't work with FFMS2, it hangs, that is a big problem for me (TV footage definitely needs to be cropped!!!)
Disable autocrop, that option should be somewhere.

Pulp Catalyst
18th January 2011, 04:16
i noticed that Staxrip uses version 1.1 Autocrop, yet on this page

http://avisynth.org/warpenterprises/

it's version 1.2, i'm assuming there's a good reason for it, i was just wondering what that reason is?

flebber
18th January 2011, 11:29
@pulp Catalyst
Right click automatic in your filters list select - FFvideosource

@remicade
looking at it, I can save it in profiles and template no problem but its crashing my script. If you have got it working in stax can you show me a copy of your script?

Edit remicade it isn't staxrip its me I have vanilla avisynth installed not MT.

Therefore if you righclick on the filters window and select profiles, scroll down to [Misc] category and type.
SetMTmode = SetMTMode(2,0) and click OK. Then click on the top filter in the list (usually) automatic and select insert misc SetMTmode. then save as template. you should be good to go.

Cantello
18th January 2011, 18:02
Hej all!

Previously having used only kinda "dumbed down" apps like Handbrake, I now ran into problems with audio sync with one DVD backup (Black Books (http://en.wikipedia.org/wiki/Black_books) - great series, btw). Xmedia Recode, my second choice does not have the option to add optional subtitles to the video, which is why I came here to look for alternatives.
As far as I have read, StaxRip seems to support not only forced subtitles but optional ones as well - at least there were some subtitles encoded in my resulting MP4 in a language called "GPAC IsoMedia Handler".

Now the questions: Where can I control which subtitles to use and how to add them to the video? Where can I set what language name is used for the subtitles?

Thanks! :-)

flebber
18th January 2011, 23:48
In the Options you need to ensure subtitles are selected.

http://i988.photobucket.com/albums/af10/Sayth_Renshaw/staxsub.png

Also if you click config container when viewing your project you can add subtitles directly into the container. However the default should be fine.

Cantello
19th January 2011, 08:44
Also if you click config container when viewing your project you can add subtitles directly into the container. However the default should be fine.

Thanks, that was what I was missing!

I 'accidentally' also discovered that I could cut in preview mode and that SR also understands DVB MPEG2 rips. Very powerful programme indeed, just might need interface clarifications... :-)

liquidskin76
25th January 2011, 13:50
Found the problem. .NET 4 had installed via Windows update. Uninstalled and all is good now.

Cheers


Hi Stax,

I'm getting the following error after demuxing...

Exception has been thrown by the target of an invocation.

Here's the bug report... http://pastebin.com/vTavihZV

I'm seeing this on the last two versions. Any ideas?

Thanks


It's any BD backup, irrespective of codec. Funny thing is StaxRip was working fine, so i'm thinking maybe it's non-StaxRip related, like maybe a Windows update to .NET. I'm on Win7.

Cheers

liquidskin76
25th January 2011, 14:08
Any ideas on why this should be happening using my Avatar backup...

http://i.imgur.com/WsuG6.jpg

The backup is good. It's plays fine and re-encodes fine in other apps. I'm only seeing this in StaxRip.

I get it using any profile or container. I can open source and without changing any of StaxRip's settings i get the problem in preview.

Cheers

flebber
25th January 2011, 14:43
You get the effect in preview only? So the final encode is okay?

Homicidalsage
28th January 2011, 00:11
Hi
I'm having a minor issue with my aspect ratio for wide screen dvd backups, when I first open a video with Stax in the Resize window it gives me a DAR of 1.823 and a SAR of 1.250, the SAR is okay I think but the DAR is to wide so I change the PAR in the Source Window to DAR 16:9, and that gives me a DAR of 1.778 in the Resize window which I think is what it should be, but then after I encode the video with Stax and check the aspect ratio of the encoded video its 1025:576 when it should be 1024:576.

I know thats not off by much but I would still like to know whats going wrong, any help would be greatly appreciated and let me know if you need any more info.Thanks

bondiablo
4th February 2011, 19:47
hi, i have ripped Avatar, everything is fine, but how do i get staxrip to rip the subs,

staxrip 1.1.7.0 does not rip the subs, vsrip doesn't even run,

i click on the sub bit, it asks me where the subs are, but there are no subs anywhere because staxrip didn't rip them,

I've found that Staxrip 1.1.7.0 won't automatically rip the subtitles if you change the default Temp Files Directory.

zacharias
25th February 2011, 01:57
hi there. ive been using staz for a couple of years now, and it suits me just fine. i get perfectly hi-res re-condes for back ups. anyways, ive upgraded my hardware and also the version of staxrip. im currently using the latest release. i used to use 1.1.6.7.. since im using 1.1.7 every time i try to reencode (and i always use xvid) wether the source is a dvd wether it is a BDRip i get this weird audio de-synch. and dont even touch the audio, i just mux in as i always did, and this weird thing keeps hapening. any ideas t solve this?
tks in advance.

kudos

zacharias
26th February 2011, 14:35
hi there. ive been using staz for a couple of years now, and it suits me just fine. i get perfectly hi-res re-condes for back ups. anyways, ive upgraded my hardware and also the version of staxrip. im currently using the latest release. i used to use 1.1.6.7.. since im using 1.1.7 every time i try to reencode (and i always use xvid) wether the source is a dvd wether it is a BDRip i get this weird audio de-synch. and dont even touch the audio, i just mux in as i always did, and this weird thing keeps hapening. any ideas t solve this?
tks in advance.

kudos

well, i tryed after this to check if the problem resided on the version so i installed the v1.1.6.7 and the problem resides. any ideas?
kudos

Grossmeister
27th February 2011, 08:54
Hi. I run Windows XP x64 SP2.
When I start StaxRip (tryed 1.1.7.0 and 1.1.6.4) it crashes with this message:
EventType clr20r3, P1 staxrip.exe, P2 1.1.7.0, P3 4c9678f6, P4 staxrip, P5 1.1.7.0, P6 4c9678f6, P7 d59, P8 9b, P9 system.io.filenotfoundexception, P10 NIL.
What can it be?

Mixer73
4th March 2011, 12:46
system.io.filenotfoundexception

Are you using non-english characters in your file names?

Grossmeister
4th March 2011, 18:30
Are you using non-english characters in your file names?
If you mean video files, then it is not important - this crash happens on program load (I didn't even configure anything - just unzipped and tried to start application).

jackiz
7th March 2011, 18:15
How do i enable Multithreaded XviD in staxrip? have been googeling for a long time with no luck :/

-TiLT-
7th March 2011, 21:08
Have avisynth MT installed and add

MT Mode 2 = SetMTMode(2)

in the Misc section of your filter preferences.

Place MT Mode 2 directly after the source line.

jackiz
7th March 2011, 23:12
Have avisynth MT installed and add

MT Mode 2 = SetMTMode(2)

in the Misc section of your filter preferences.

Place MT Mode 2 directly after the source line.

Thanks!

chris1379
20th March 2011, 22:43
I have a great mystery going on here. I am seeing jagged edges on a 720 x 400 Xvid encode but I can't figure out why. I've used 2 sources, one of them progressive so its not a deinterlacing issue. I can encode a small clip of the file or the whole movie without audio and the problem isn't there. It consistently shows up when I try to encode the whole movie with audio. It almost looks like the resolution is way lower than it should be. I only see this on my Phillips DVP-3140 player, not on the PC. This means the player is seeing something different between the files but what? If I'm allowed to post pictures here, I could take one with my camera. I tried vidcaps in Media Player Classic and there is no difference.

w4tt4n4b3
25th March 2011, 04:57
My OS is Windows XP Pro 32 bits. I have tried several versions of staxrip (1.1.8 beta etc) but I get the same error... I tried to encode an AVC ts file.
Complete name : D:\2011_3_25_3_25_29.TS
Format : MPEG-TS
File size : 8.89 GiB
Duration : 1h 39mn
Overall bit rate : 12.7 Mbps
Maximum Overall bit rate : 18.0 Mbps

Video
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L3.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Duration : 1h 39mn
Bit rate : 11.5 Mbps
Width : 720 pixels
Height : 576 pixels
Display aspect ratio : 4:3
Frame rate : 25.000 fps
Standard : PAL
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Interlaced
Scan order : Top Field First
Bits/(Pixel*Frame) : 1.107
Stream size : 8.01 GiB (90%)
colour_primaries : BT.470-6 System B, BT.470-6 System G, BT.601-6 625, BT.1358 625, BT.1700 625 PAL, BT.1700 625 SECAM
transfer_characteristics : BT.470-6 System B, BT.470-6 System G
matrix_coefficients : BT.470-6 System B, BT.470-6 System G, BT.601-6 625, BT.1358 625, BT.1700 625 PAL, BT.1700 625 SECAM, IEC 61966-2-4 601

Audio
ID : 4352 (0x1100)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Duration : 1h 39mn
Bit rate mode : Constant
Bit rate : 384 Kbps
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 48.0 KHz
Video delay : -120ms
Stream size : 274 MiB (3%)

The errors I got...

System.Exception: AVIFileOpen failed
at StaxRip.AVIFile.Open(String path)
at StaxRip.AviSynthDocument.Synchronize()
at StaxRip.MainForm.OpenVideoSourceFiles(List`1 files, Boolean autoMode)

System.Exception: AVIFileOpen failed
at StaxRip.AVIFile.Open(String path)
at StaxRip.AviSynthDocument.Synchronize()
at StaxRip.AviSynthDocument.GetFramerate()
at StaxRip.GlobalClass.GetPreviewPosMS()
at StaxRip.Macro.Solve(String value, Boolean rekursive, Boolean silent)
at StaxRip.GlobalClass.MakeBugReport(Exception e)

System.IO.IOException: Unknown error (0x402)
at Microsoft.VisualBasic.FileIO.FileSystem.ThrowWinIOError(Int32 errorCode)
at Microsoft.VisualBasic.FileIO.FileSystem.ShellFileOperation(SHFileOperationType OperationType, ShFileOperationFlags OperationFlags, String FullSource, String FullTarget, UICancelOption OnUserCancel, FileOrDirectory FileOrDirectory)
at Microsoft.VisualBasic.FileIO.FileSystem.ShellDelete(String FullPath, UIOptionInternal ShowUI, RecycleOption recycle, UICancelOption OnUserCancel, FileOrDirectory FileOrDirectory)
at Microsoft.VisualBasic.FileIO.FileSystem.DeleteDirectoryInternal(String directory, DeleteDirectoryOption onDirectoryNotEmpty, UIOptionInternal showUI, RecycleOption recycle, UICancelOption onUserCancel)
at Microsoft.VisualBasic.FileIO.FileSystem.DeleteDirectory(String directory, UIOption showUI, RecycleOption recycle)
at StaxRip.DirectoryHelp.Delete(String filepath)
at StaxRip.GlobalClass.MakeBugReport(Exception e)

Any ideas where is the problem?

fabje
26th March 2011, 17:39
Do you have Avisynth installed?
And can you open the ts file in windows media player?
And can you open the ts file in VLC?

Try both!

And I have a question for the coders here.
If you open the x264.vb file and go to the line: Sub ApplyDefaults(ByVal profileTunePreset As x264Params)
You see all kinds of presets for x264, now I want to make my own preset but I don't know what I need to put in it and what not.
Right now I'm using this command line:
"""%application:x264%"" --pass 1 --bitrate %video_bitrate% --stats ""%working_dir%%target_name%.stats"" --threads auto --keyint 240 --min-keyint 24 --bframes 3 --me dia --subme 1 --partitions none --output NUL ""%avs_file%""" + CrLf + """%application:x264%"" --pass 2 --bitrate %video_bitrate% --stats ""%working_dir%%target_name%.stats"" --threads auto --keyint 240 --min-keyint 24 --ref 3 --bframes 3 --weightb --subme 6 --trellis 1 --8x8dct --output ""%encoder_out_file%"" ""%avs_file%"""

Someone here that can help me to create the preset thats using these settings?

w4tt4n4b3
27th March 2011, 23:04
[QUOTE=fabje;1487640]Do you have Avisynth installed?
And can you open the ts file in windows media player?
And can you open the ts file in VLC?

Try both!

I have Avisynth installed and the ts file plays fine with VLC.

fabje
27th March 2011, 23:28
I have Avisynth installed and the ts file plays fine with VLC.
But does it play in Windows Media Player?
If not I think I know how to fix that.

w4tt4n4b3
27th March 2011, 23:31
"The selected file has an extension that is not recognised by Windows Media player..." then I proceed to playback the file but it does not play with WMP.

fabje
27th March 2011, 23:43
"The selected file has an extension that is not recognised by Windows Media player..." then I proceed to playback the file but it does not play with WMP.
Ok try this, I do this based on VLC 1.1.8

Start VLC
Media > Advanced Open File
Add > Search for your file, in your case 2011_3_25_3_25_29.TS > Open
Right to the Plat button you have a pulldown menu, select Stream
Next
Add > Browse > put a filename here for your new .ts file > Save
Deselect Activate transcoding
Now we need to select the right profile.
If it is a AVC file select Video - H.264 + AAC (TS)
If it is a MPEG2 file select Video - MPEG-2 + MPGA (TS)
Next
Activate Stream all elementary streams
Stream


Now try to open this new .ts file with Staxrip.

w4tt4n4b3
27th March 2011, 23:56
the new ts file has size of 30,5 mb while the original had 66mb size. I tried a different ts file than the one I posted.

I get errors again mate...
Now even if I don't load any file in StaxRip when I right click on the Filters area of Staxrip gui I get an error again. See the attached image.

thank you for your help though.

datauser
29th March 2011, 20:40
I've moved over to Staxrip from the excellent HDConverttoX(project appears to be finished?) and must say I am very impressed. There was an Avisynth filter I used in HDC and got marvellous results with every avi encoding: SoftSharpen(preset="film") I tried to isolate it, but could not find it in the filter folder(maybe part of a package of scripts?), as I would really like to use it with Staxrip.

The results using this filter combined with hq3dn_denoise filter with Xvid encodings were quite startling and deserve to be in the options of Staxrip.

flebber
30th March 2011, 04:46
I've moved over to Staxrip from the excellent HDConverttoX(project appears to be finished?) and must say I am very impressed. There was an Avisynth filter I used in HDC and got marvellous results with every avi encoding: SoftSharpen(preset="film") I tried to isolate it, but could not find it in the filter folder(maybe part of a package of scripts?), as I would really like to use it with Staxrip.

The results using this filter combined with hq3dn_denoise filter with Xvid encodings were quite startling and deserve to be in the options of Staxrip.

You can add as many filters as you like in Staxrip. Perhaps an easy way is to copy the HDC filters folder(from the application folder you installed HDC to) and paste them into your c:\programs\avisynth\plugins folder.

You can then simply edit your profiles in staxrip to add as many filters in as many configurations as you like.

datauser
30th March 2011, 12:47
Excellent idea! I'm really glad I posted here, as people give superb practical tips which at the time you never seem to think of yourself when struggling for a solution. I originally wrongly thought you would have to place the filters directly into the Staxrip avisynth plugin folder rather than AviSynth's own program folder installed in the system.

You wouldn't have any additional user friendly tutorial handy on editing avisynth profiles specifically in Staxrip would you as I am newish to it? I found one below and it mentions plugins:

http://sourceforge.net/apps/mediawiki/staxmedia/index.php?title=A_guide_to_StaxRip#Copying_the_plugin_to_the_plugin_auto_loading_directory

I found the script for SoftSharpen 7.8(after opening in notepad) and apparently it is a list of tools, so it will be a bit trickier to make the profile. Incidentally I see Fluxsmooth is in Staxrip. I could never get that one to work in HDC as it kept crashing, but it works fine in Staxrip. I used to use Fairusewizard 2.11b after AutoGK. FUW produces good quality, but could do with additional filters built in like the avisynth denoise ones and AutoGK is dated now. Thankyou very much for your help flebber.:)

fabje
30th March 2011, 21:26
Is it possible to use CoreAVC with Staxrip, and if so how?
What do I need to do on my system and in Staxrip to get it working?

datauser
31st March 2011, 20:53
I added to my chosen plugins in editing of profile:

[Additional]
Advanced | SoftSharpen = SoftSharpen(preset="film")

The avi 2 pass Xvid transcoded/encoded well and the Aviscript in temp files showed this editing of mine to the profile, but how do I really know it worked 100%, is the real question?

willscarlett
1st April 2011, 07:58
but how do I really know it worked 100%, is the real question?

Encode your video (or a sample) twice. once with, once without the filter, and look at it? :-D

Pulp Catalyst
1st April 2011, 10:16
any solution on the SUB issue "I've found that Staxrip 1.1.7.0 won't automatically rip the subtitles if you change the default Temp Files Directory. "

i have changed my temp directory, had no choice, my C drive is only 12GB, i have other drives for my video, films, music, pictures and games etc.

(not sure if NTFSLink (junction point) will work), will have to try that out now i think about it.

if anyone could share some light on this however....appreciate it.

dev84
1st April 2011, 12:16
any solution on the SUB issue "I've found that Staxrip 1.1.7.0 won't automatically rip the subtitles if you change the default Temp Files Directory. "

i have changed my temp directory, had no choice, my C drive is only 12GB, i have other drives for my video, films, music, pictures and games etc.

(not sure if NTFSLink (junction point) will work), will have to try that out now i think about it.

if anyone could share some light on this however....appreciate it.



I have no problems with temp; i have StaxRip on D partition, movie for rip also, temp is where movie directory is (as default).

Pulp Catalyst
3rd April 2011, 22:29
strange, i've never been able to get Stax to rip the Subs, subs has always been a issue for me and stax for a good length of time now..... come to think of it, i don't recall Stax ever working with subs.......

Pulp Catalyst
4th April 2011, 11:47
noticed a new problem, staxrip has detected a audio delay of 7639ms, checked in virtual dub mod, there is no delay of anykind,

how do i override stax, and tell it to do a 0ms delay?

a DVDRip ISO mounted in Daemon tools (Startrek TNG season 3 disk 5)

!1st time it's happened, 60% through Voyager, 35% done with DS9, and doing TNG!

datauser
6th April 2011, 11:05
SmoothD help file in the filters does not load after double clicking on the filter "Noise SmoothD", because it does not exist in the avisynth plugins folder. The file can be easily found at:

http://www.funknmary.de/bergdichter/projekte/video/SmoothD/

flebber
6th April 2011, 11:44
SmoothD help file in the filters does not load after double clicking on the filter "Noise SmoothD", because it does not exist in the avisynth plugins folder. The file can be easily found at:

http://www.funknmary.de/bergdichter/projekte/video/SmoothD/

Was this a question you needed help with?

datauser
6th April 2011, 12:56
oWas this a question you needed help with?

Hi, no it was something I ran in to when I was looking at the filters when I was looking for its readme, but you could advise me on something if you would please? I managed to work out things superbly with the SoftSharpen using below script:

[Additional]
Advanced | SoftSharpen = SoftSharpen(preset="film")

Therefore decided to advance onto a little Fluxsmooth experimentation. The medium noise setting has a setting of (4) and heavy(8), so my question is: is it possible for me to insert it as (6) ands work okay for a stronger but not heavy effect? The advanced are again exactly the same settings for FluxsmoothT in filter menu.

The readme info says the default is ("confusingly") for a temporal threshold 7, so I have no idea what the 4 or 8 means! Thanks again flebber .

flebber
7th April 2011, 12:12
@ datauser

forgot to mention I don't use fluxsmooth T or St very often if at all.

My most preferred basic filter is FFT3GPU. http://forum.doom9.org/showthread.php?t=89941&highlight=fft3gpu

Here are a few other basic ones, note dfftest is a good quality filter for me but also very slow.

dfttest = dfttest()
FFT3GPU = FFT3DGPU(sigma=3.5)
SmoothD_Detail = SmoothD(2,5,0,4)
TBilateral = TBilateral(sDevL=1.1, sDevC=1.1, iDevL=5.0, iDevC=5.0)
VagueDenoiser = VagueDenoiser(threshold=2, nsteps=5)

datauser
7th April 2011, 21:07
Thanks Flebber. I most certainly wil now try out your variation of "SmoothD" script as I needed something to focus on detail. A lot of these scripts are touch and go until tested, but that is what makes it interesting. I tried FFT3D sigma = 2.5 and that was quite slow too, with good end result. MVDegrain3 was the slowest of them all for me, but gave some fantastic results on a problemtic video. Some users swear by FluxSmooth. I prefer Hqdn3d and eventually hope to get a script which works for me in Staxrip. Much appreciated.

fantasmanegro
19th April 2011, 02:19
good night..


does anybody know about moeg2source in windows 7 x64? i mean, staxrip just say failed to open the source, after that it tries to open with ffvideosource and nothing happend

burfadel
19th April 2011, 10:28
I've never had any problems with Staxrip in Windows 7 x64, and I've been using it since before Windows 7 actually came out :)

Mpegsource2 works fine, as does ffvideosource/ffmpegsource. Actually at the moment, I'm batch processing around 40 or so in parallel, two video files at a time whilst clearing a backlog of tv recorded stuff. Not only does Mpeg2source work flawlessly (its sill better for MPEG2 stuff than FFVideosource, which works but can be very sluggish in preview etc), but I've never had a problem with parallel encoding either. Its much better than trying to use an Avisynth MT version (instead using a recent Avisynth 2.60 build).

madeinlisboa
19th April 2011, 11:24
Please,

Staxrip always worked well, but suddenly I'm getting this error with every media file. I uninstalled .NET Framework completely and reinstalled with all patches, but it still crashes after analyzing a video. Please, can you help me?

------------------------------------------------------------
Environment
------------------------------------------------------------

StaxRip version: 1.1.7.0
OS Name : Microsoft Windows XP
OS Version : 5.1.2600.196608
OS Type : 32-bit
OS Culture : Portuguese (Portugal)

------------------------------------------------------------
.NET
------------------------------------------------------------

v2.0.50727 : 2.2.30729
v3.0 : 3.2.30729
v3.5 : 3.5.30729.01

------------------------------------------------------------
DGIndex - Demux audio and index MPEG-2
------------------------------------------------------------

"C:\Program Files\StaxRip\Applications\dgindex\DGIndex.exe" -i "P:\TomJerry\A Baleia Dicky Moe.VOB" -ia 2 -fo 0
-yr 1 -tn 1 -om 2 -drc 2 -dsd 0 -dsa 0 -o "P:\TomJerry\A Baleia Dicky Moe temp files\A Baleia Dicky Moe" -hide -exit

Demuxer: DGIndex - Demux audio and index MPEG-2

Start: 11:15:20
End: 11:15:25
Duration: 00:00:04

------------------------------------------------------------
Error opening source
------------------------------------------------------------

Exception has been thrown by the target of an invocation.

MPEG2Source("%source_file%")
Crop(0,0, -Width % 8,-Height % 8)
ConvertToYV12()

------------------------------------------------------------
Exception
------------------------------------------------------------

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: Native handle is 0.
Parameter name: handle
at System.Drawing.Image.SetNativeImage(IntPtr handle)
at System.Drawing.Bitmap.FromGDIplus(IntPtr handle)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig,
MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig,
MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder,
Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder,
Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at StaxRip.AVIFile.GetBMPFromDib(IntPtr pDIB) in C:\Users\Frank\Documents\Visual Studio
2010\Projects\StaxMedia\trunk\StaxRip\General\AVIFile.vb:line 374
at StaxRip.AVIFile.GetBitmap() in C:\Users\Frank\Documents\Visual Studio
2010\Projects\StaxMedia\trunk\StaxRip\General\AVIFile.vb:line 366
at StaxRip.AviSynthDocument.Synchronize() in C:\Users\Frank\Documents\Visual Studio
2010\Projects\StaxMedia\trunk\StaxRip\General\AviSynth.vb:line 139
at StaxRip.MainForm.OpenVideoSourceFiles(List`1 files, Boolean autoMode) in
C:\Users\Frank\Documents\Visual Studio 2010\Projects\StaxMedia\trunk\StaxRip\Forms\MainForm.vb:line 1809

fantasmanegro
19th April 2011, 21:04
I've never had any problems with Staxrip in Windows 7 x64, and I've been using it since before Windows 7 actually came out :)

Mpegsource2 works fine, as does ffvideosource/ffmpegsource. Actually at the moment, I'm batch processing around 40 or so in parallel, two video files at a time whilst clearing a backlog of tv recorded stuff. Not only does Mpeg2source work flawlessly (its sill better for MPEG2 stuff than FFVideosource, which works but can be very sluggish in preview etc), but I've never had a problem with parallel encoding either. Its much better than trying to use an Avisynth MT version (instead using a recent Avisynth 2.60 build).

This is weird. Can you tell me the software you hace installed? I mean xvid ffdshow ac3filter etc ... by the way i have installed avisynth 2.5.8 mt and w7 codec pack by shark007 32 & 64 bits

Gannjunior
21st April 2011, 13:38
Also to me, suddenly staxrip is not working anymore under 7 x64.
It always worked fine!

Ramir Gonzales
21st April 2011, 16:59
Also to me, suddenly staxrip is not working anymore under 7 x64.
It always worked fine!
Staxrip development has stopped permanently. Please use another tool.

Gannjunior
21st April 2011, 17:11
Hi Ramir

since you know Staxrip, if you have any idea, pls answer me here

http://forum.doom9.org/showthread.php?t=160754

tnks ;)

fantasmanegro
21st April 2011, 18:55
Also to me, suddenly staxrip is not working anymore under 7 x64.
It always worked fine!

can you post any error message or image with the message or can you post the list of ptoblems you have with staxrip?

by the way i recently notice that my dgdecode needs to be x64 and not x32, because i installed the avisynth x64 "update" and it changes the default avisynth plugins directory

Gannjunior
21st April 2011, 19:41
one error is (after I dragged an mpeg2 and after dgindex finished to indicize it)

"an error occurred that could be solved by installing ffdshow"

off course ffdshow is isntalled...

After that it appears this message:

FFVideoSource: Can't open 'C:\Users\postazione13\Downloads\030925_real_madid_castilla-leganes_27.03.2011 temp files\030925_real_madid_castilla-leganes_27.03.2011.d2v'
(C:\Users\postazione13\Downloads\030925_real_madid_castilla-leganes_27.03.2011 temp files\030925_real_madid_castilla-leganes_27.03.2011_Source.avs, line 2)


everything always worked great...

fantasmanegro
21st April 2011, 20:01
one error is (after I dragged an mpeg2 and after dgindex finished to indicize it)

"an error occurred that could be solved by installing ffdshow"

off course ffdshow is isntalled...

After that it appears this message:

FFVideoSource: Can't open 'C:\Users\postazione13\Downloads\030925_real_madid_castilla-leganes_27.03.2011 temp files\030925_real_madid_castilla-leganes_27.03.2011.d2v'
(C:\Users\postazione13\Downloads\030925_real_madid_castilla-leganes_27.03.2011 temp files\030925_real_madid_castilla-leganes_27.03.2011_Source.avs, line 2)


everything always worked great...

that's extrange, i still have problems with stax, but yesterday i didn't

are you using ffdshow x64 or x32 and the same for avisynth and others decoders you have installed

or you have a codec pack?

Pulp Catalyst
21st April 2011, 20:06
i thought stax was only taking a break, where is the official word saying that development has "permanently" stopped ?

Gannjunior
21st April 2011, 20:07
tried both x32 and x64
avisynth x32 modified dll to use multicore...
no all in one codec pack, only the codec minimal to let everything work

fantasmanegro
22nd April 2011, 00:34
mmmm nothing work, i've reinstalled every codec and still not working... i have no ideas right know....

datauser
22nd April 2011, 16:03
Staxrip development has stopped permanently. Please use another tool.

And you:confused: are a close friend, have special privy information, a representative, know something we do not to say this etc when no statement of such kind has ever been issued here by Stax..???? Clarify please!:)

fantasmanegro
22nd April 2011, 18:02
i have installed xvid4psps and staxrip started to work as always did, i guess it's yv12 decoder that xvid4psps installs... because i just disabled reinstall avisynth mt and nothing else

Atlantis
25th April 2011, 20:13
I have noticed an error. When my file is on a NAS Synology, StaxRip can not mux the finale result.

Operation failed!

x264 encoding failed

StaxRip.ErrorAbortException: x264 encoding failed
at StaxRip.x264Encoder.Encode() in C:\Users\Frank\Documents\Visual Studio 2010\Projects\StaxMedia\trunk\StaxRip\General\VideoEncoder.vb:line 1563
at StaxRip.MainForm.Encode() in C:\Users\Frank\Documents\Visual Studio 2010\Projects\StaxMedia\trunk\StaxRip\Forms\MainForm.vb:line 2136
at StaxRip.MainForm.RunJobs() in C:\Users\Frank\Documents\Visual Studio 2010\Projects\StaxMedia\trunk\StaxRip\Forms\MainForm.vb:line 3321

The same works on my USB drive. All the files are encoded correctly on NAS, it's only at the muxing that it fails.

I have compared the encoded files on NAS and USB and they are bit by bit the same.

Brandoon
1st May 2011, 17:38
I am wondering if anyone can offer help with my problem. When converting video for ipod/iphone and using mp4 as container, my video ends up freezing and blocky for a second or two during playback. This happens several times a minute, however just by changing the container to mkv everything is perfect.

My only issue is that I cannot play mkv on my ipod, I am dloading videos from youtube and replacing the audio tracks, then converting to mp4 for my ipod.

Is anyone familiar with what could be causing this? Any help is appreciated.

fantasmanegro
2nd May 2011, 02:16
maybe its a decoder problem not muxer nor bad encoding. try to use ffdshow

VincAlastor
2nd May 2011, 08:18
stax76 is missing! avisynth 64bit support, an actully build (update tools) and an option to set forced sub's in mkv container config would be nice.

Baltyshark87
2nd May 2011, 11:03
Hello to everyone!

Yesterday I came across this good program and was suprised by it's fast encoding. I just have one problem I can not solve. I have sorce file MPEG4/AVC with resolution 720x576 (4:3) and display aspect ratio 16:9. While converting it to xvid, i tried to keep ratio at 16:9 but when i play converted file in windows media player or media player classic, it displays in 4:3 allthough in mediainfo says it's AR is 16:9. Can anybody help?

Thanks in advance and sorry for my English (I am not a native speaker).

Sorce file:
General
ID/String : 1 (0x1)
Format : MPEG-TS
Format/Info : Advanced Video Codec
FileSize/String : 28.6 MiB
Duration/String : 1mn 18s
OverallBitRate/String : 2 713 Kbps

Video
ID/String : 120 (0x78)
MenuID/String : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format_Profile : Main@L3.0
Format_Settings_CABAC/String : Yes
Format_Settings_RefFrames/String : 3 frames
CodecID : 27
Duration/String : 1mn 22s
BitRate_Mode/String : Variable
BitRate/String : 2 385 Kbps
BitRate_Maximum/String : 15.0 Mbps
Width/String : 720 pixels
Height/String : 576 pixels
DisplayAspectRatio/String : 16:9
FrameRate/String : 25.000 fps
Standard : PAL
ColorSpace : YUV
ChromaSubsampling : 4:2:0
BitDepth/String : 8 bits
ScanType/String : MBAFF
Bits-(Pixel*Frame) : 0.230
StreamSize/String : 23.3 MiB (81%)

Target file:
General
Format : AVI
Format/Info : Audio Video Interleave
File size : 19.3 MiB
Duration : 1mn 22s
Overall bit rate : 1 979 Kbps
Writing application : VirtualDubMod 1.5.10.2 (build 2540/release)
Writing library : VirtualDubMod build 2540/release

Video
ID : 0
Format : MPEG-4 Visual
Format profile : Advanced Simple@L5
Format settings, BVOP : 2
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Default (H.263)
Muxing mode : Packed bitstream
Codec ID : XVID
Codec ID/Hint : XviD
Duration : 1mn 22s
Bit rate : 1 865 Kbps
Width : 720 pixels
Height : 576 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 fps
Standard : PAL
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.180
Stream size : 18.2 MiB (94%)
Writing library : XviD 1.3.0.dev55

turok
3rd May 2011, 15:54
@Baltyshark87

did u make sure that before u encoded, that u set the PAR to the equivalent to 16:9 ratio? select auto 16:9 or DAR 16:9 when setting the DAR/PAR. auto 16:9 usually does it for me.

lol stax76 did u jump ship? shame as ur program for me is still beast. have yet to hit an error other than audio encoding sometimes.

Lighto
3rd May 2011, 16:45
I thought Stax only went for a hiatus?
Have to agree StaxRip is good at guiding users along.

Baltyshark87
3rd May 2011, 18:10
@Baltyshark87

did u make sure that before u encoded, that u set the PAR to the equivalent to 16:9 ratio? select auto 16:9 or DAR 16:9 when setting the DAR/PAR. auto 16:9 usually does it for me.


Yes i did. It is weird that when I convert it to mkv it displays it right. I have little example here and i would really appreciate if someone tries it for me and tells me where i made a mistake.

Example:
http://www.mediafire.com/?i8m70f16k0j2b06

And thank you all for the help.:)

Selur
3rd May 2011, 22:03
I thought Stax only went for a hiatus?
Agree,.. over in the german doom9/gleitz forum he posted (end of last year):
StaxRip liegt momentan auf Eis source: http://forum.gleitz.info/showthread.php?26177-StaxRip-Encoding-Frontend-(Diskussion)&p=414839&viewfull=1#post414839

Cu Selur

willscarlett
4th May 2011, 08:03
I have little example here and i would really appreciate if someone tries it for me and tells me where i made a mistake.

Example:
http://www.mediafire.com/?i8m70f16k0j2b06

I am not an Expert, but I thought it would help if someone tried your example. My finding: The mpeg-file cannot be opened (on VLC and WMP, no additional codecs installed)

Just a wild guess, as i do not know too much about video encoding, but maybe you are combining the mpeg-container with an incompatible codec? I always thought XviD is meant to be put into an avi or mkv-container?

meshaun
6th May 2011, 15:17
Where can I find an updated Staxrip?
With the latest codecs?

flebber
7th May 2011, 08:35
Where can I find an updated Staxrip?
With the latest codecs?

latest codecs have nothing to do with staxrip you need ffdshow tryouts. http://ffdshow-tryout.sourceforge.net/download.php

meshaun
7th May 2011, 08:59
you mean, if I install FFDshow, staxrip will you the codecs in ffdshow?

flebber
7th May 2011, 11:14
@meshaun - are you having an issue with staxrip or trouble opening a media file?

meshaun
7th May 2011, 13:30
I have no issue.
I would like to use the latest codecs like xvid 1.3.1 or the latest x264 version.

flebber
7th May 2011, 14:22
I have no issue.
I would like to use the latest codecs like xvid 1.3.1 or the latest x264 version.

from Stax.

http://forum.doom9.org/showpost.php?p=1463542&postcount=4028

from me about changing to xvid_encraw but you can change x264 or xvid version using this.

http://forum.doom9.org/showpost.php?p=1468983&postcount=4035

meshaun
8th May 2011, 01:46
so replacing the xvid encraw and the dll will do huh..
what about the x264? and the Megui profiles? can i import them or something?

flebber
8th May 2011, 01:54
so replacing the xvid encraw and the dll will do huh..
what about the x264? and the Megui profiles? can i import them or something?

As above you would do the same thing for doing x264 but with x264 obviously.

Staxrip already has built in profiles you don't need megui profiles. Megui is a good project in its own right if you like the profile system then use megui.

afro1114
16th May 2011, 16:42
Lately every time i put a file batch to encode in staxrip i get this error at least one time, and that interrupt all the queue, looked for the error code in the web and nothing appear.

Anyone have any ideas about what can it be, and how to solve it?

Here is the log of the error:



Operation failed!

x264 failed with exit code -1073741819

avs [info]: 1280x720p 0:0 @ 12567183/524288 fps (cfr)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264 [info]: profile High, level 3.1


StaxRip.ErrorAbortException: x264 failed with exit code -1073741819

avs [info]: 1280x720p 0:0 @ 12567183/524288 fps (cfr)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264 [info]: profile High, level 3.1

en StaxRip.H264CmdlEncoder.Encode(String passName, String exe, String args, String[] logValuesToSkip) en C:\Users\Frank\Documents\Visual Studio 2010\Projects\StaxMedia\trunk\StaxRip\General\VideoEncoder.vb:línea 2011
en StaxRip.x264Encoder.Encode() en C:\Users\Frank\Documents\Visual Studio 2010\Projects\StaxMedia\trunk\StaxRip\General\VideoEncoder.vb:línea 1553
en StaxRip.MainForm.Encode() en C:\Users\Frank\Documents\Visual Studio 2010\Projects\StaxMedia\trunk\StaxRip\Forms\MainForm.vb:línea 2136
en StaxRip.MainForm.RunJobs() en C:\Users\Frank\Documents\Visual Studio 2010\Projects\StaxMedia\trunk\StaxRip\Forms\MainForm.vb:línea 3321

datauser
18th May 2011, 20:43
from Stax.

http://forum.doom9.org/showpost.php?p=1463542&postcount=4028

from me about changing to xvid_encraw but you can change x264 or xvid version using this.

http://forum.doom9.org/showpost.php?p=1468983&postcount=4035

I installed xvid 1.3.1 as default with Staxrip and it works fine most of the time apart from occasional oversized files. If you install the latest build of xvid you should find it also now includes encraw.

Whether or not it has to be included in Stax app folder to work with it, I'm not too sure?

Bug noticed using MKV/MP4 s input sources. Big audio/synch issues after muxing. Obviously Staxrip is not allowing for mkv delay.

stax76
22nd May 2011, 09:55
Hi everybody, I hope everybody is doing fine. I don't spend much time with computers, TV and Video these days. I can't tell about the future, as a sign of life I've updated some applications however:

1.1.7.1 beta (2011-05-22)

Updated MP4Box to version 0.4.6 that hopefully fixes sync problems
Updated ffms2 to version 2.15 mt
Updated x264 to version r1995
Updated mkvtoolnix to version 4.7.0
Fixed bug 'DTS Express' format not detected
Added option to modify existing cut selection, overlapping selections are merged

http://sourceforge.net/projects/staxmedia/

Sharc
22nd May 2011, 10:19
When selecting Blu-Ray as device '--bluray-compat' should be added for x264 revision 1995. It will overwrite any other non-compliant global blu-ray settings.

stax76
22nd May 2011, 10:46
I'll add it, thanks.

VincAlastor
22nd May 2011, 16:55
stax76 is missing! avisynth 64bit support, an actully build (update tools) and an option to set forced sub's in mkv container config would be nice.

a sign of life... thank you for the update stax76 !!!

:thanks:

Mixer73
23rd May 2011, 02:09
Hi everybody, I hope everybody is doing fine. I don't spend much time with computers, TV and Video these days. I can't tell about the future, as a sign of life I've updated some applications however:

STAX! Awesome to see you, hope you're enjoying life away from the project ;)

burfadel
24th May 2011, 03:39
User who don't want to use DGDecNV, or can't use it because they have an AMD GPU etc, click on tools, settings, then demuxing on the left hand side and disable dgindexnv, otherwise you will be prompted for a licence file... I'm not saying dgdecnv isn't any good, just that you can only use it after paying $15 and its useless unless you have an Nvidia GPU.

flebber
24th May 2011, 04:46
User who don't want to use DGDecNV, or can't use it because they have an AMD GPU etc, click on tools, settings, then demuxing on the left hand side and disable dgindexnv, otherwise you will be prompted for a licence file... I'm not saying dgdecnv isn't any good, just that you can only use it after paying $15 and its useless unless you have an Nvidia GPU.

just use ffms instead.

burfadel
24th May 2011, 06:03
I do :)

I just thought i'd let people know! For me anyway, it kept insisting the licence file wasn't present even thought dgdevnv wasn't anywhere in the avisynth chain (was using ffmpegsource). I had disabled it is 1.1.7.0, and when I copied the newer files over from 1.1.7.1 it set the demuxing options back to default (meaning dgdevnv is enabled under the demuxing options). It seems to insist on the dgdecnv being correct even if you aren't using it.

datauser
24th May 2011, 10:23
Hi everybody, I hope everybody is doing fine. I don't spend much time with computers, TV and Video these days. I can't tell about the future, as a sign of life I've updated some applications however:

1.1.7.1 beta (2011-05-22)

Updated MP4Box to version 0.4.6 that hopefully fixes sync problems
Updated ffms2 to version 2.15 mt
Updated x264 to version r1995
Updated mkvtoolnix to version 4.7.0
Fixed bug 'DTS Express' format not detected
Added option to modify existing cut selection, overlapping selections are merged

http://sourceforge.net/projects/staxmedia/

Fantastic news! And the very best regards to you and your family Stax. Thankyou!:)

P.S just a little curious why Staxrip is not using Xvid 1.3.1 with encraw as default?

arto65
25th May 2011, 10:53
Excellent news Stax! That's really good news and thank you very much!
I updated the article at Gizmo's freeware.

Ryo94
25th May 2011, 16:45
Hi, I'm using Staxrip to convert a DVD to Xvid, the problem is that the output file is larger than it should be, I set 1493MB/1550Kbps but I get a file of 1.62GB/1771Kbps. Any idea why happen this and how to solve it, here is the log:
http://www.multiupload.com/TY3ELZ9J3A

Thanks in advance.

datauser
25th May 2011, 21:27
I have had the same issue when I input mp4 in a MKV container. Most of the time okay, but sometimes many mb's over or rarely under target size.

Regarding Xvid using DVD as source it has occasionally happened throwing me over say 10mb over my 700m target, but usually when I was using abr for the audio rate and not allowing for the extra saved bitrate. So you could go over or under your target final size depending on options you set and how source is for compressing. It could be a codec compression issue as well and practically unsolveable. :eek: However, Xvid 1.3.1 latest is pretty good for me in tests and 98% of time accurate.

Having uneven targets from my experience can sometimes confuse the codec with difficult to compress material, so aways keeping it a nice round number bitratewise is good as I see you did. Try lowering your bitrate 10%, make it (1350mb and or even bitrate) and see if any difference as too high can sometimes be detrimental to target size along with a several ac-3 tracks in dvd and Staxrip is having to mux in the 5.1 in as your logs show! Strip the audio menu first! Adding a denoise filter at low/medium setting will help compression too.

Pulp Catalyst
26th May 2011, 01:43
can anyone tell me how i can add "nneedi2" to staxrip

i was reading this on another website

Quote

"1) Install avisynth , download Yadifmod, and NNEDI2.
http://web.missouri.edu/~kes25c/

Copy nnedi2.dll into the avisynth/plugins folder, and dgdecode.dll from DGMPGDec, and they will be autoloading into your script

Yadifmod has to be loaded manually (see below)

2) Use DGIndex to index your vob file. If you have multiple, you can join (append) them in the open dialog box. Set video=>honor pulldown flags, file=>save project. This will produce a .d2v file and demux your audio

3) Create an text file in notepad in the same directory as your video, copy the following, adjusting the filenames and paths to match. Save it, then rename the .txt extension to .avs

Code:

LoadPlugin("PATH\yadifmod.dll")
MPEG2Source("vob.d2v")
interp=nnedi2(field=1) #same rate, keep top field
yadifmod(order=1, field=-1, mode=0, edeint=interp) #TFF, field set to order, same rate
Crop(0,70,0,-78)

If you wanted to, you could add other filters (e..g you said your were concerned about the noise so you might add a denoise filter). I cropped black borders , but if you have different content, you might need different crop values, so play with the script so you understand what's going on.

A good tool to learn about scripts and previewing filters is AvsP.

All of the avisynth and it's filters have full documentation if you need more info on the switches and setting.

4) You can open that .avs file in vdub or any encoder that accepts avs scripts. If you are only using vdub to encode (ie. no vdub filters), you can use video=>fast recompress , which bypasses the YV12=>RGB=>YV12 conversion. If you have other filtering tasks other than simple cutting, you could do them with avisynth, but if you use a vdub filter, you need full processing mode.

Cheers"

End Quote

how would i get this to work in Staxrip,

Staxrip has Yadif already, but it doesn't know "nnedi2"

how do i register this .dll in staxrip, or will it automatically look into the plugins directory if it can't find it in it's own install directory?

thanks.

trying to encode Startrek Voyager PAL (de-interlacing this bitch is a nightmare, some frames need blending, but other need de-interlacing, yadif alone is causing damage on certain frames (has something to do with special effects needs blending, but actual live motion needs yadif, but of course it's either one or the other with yadif, nnedi2 will repair/counteract the damage yadif is causing)

thanks.


EDIT

Found this on google

[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()


will try this stuff,

be adding this one
Deinterlace | Slower - Yadifmod+nnedi2 = YadifMod(edeint=nnedi2())


EDIT 2

Slower = YadifMod(edeint=nnedi3())


the results are astounding

i tired QTGMC 3.32 but was getting error's, and the scripts is quite complex and is powered by a lot of PLUGINS... a lot,

but again,

YadifMod+nnedi3 is an amazing pair, it adds a long time to the encoding process (be upgrading my cpu in the next several months can't wait), and i have only done early tests, but the quality of Xvid's (which for my own reasons i still need to use in certain situations) is amazing, gives my Xvid's a new lease of life i can say.

unless i comeback and say otherwise, consider the above also applies to other encodes i have done (PAL interlaced)

i haven't tried it on the real killers yet "Startrek" series TNG, DS9, & Voyager.

Ryo94
26th May 2011, 02:00
It could be a codec compression issue as well and practically unsolveable. :eek: However, Xvid 1.3.1 latest is pretty good for me in tests and 98% of time accurate.

At first sight it is a problem between Xvid and some avisynth filters (TIVTC & TDeint) that I'm using to deinterlace a movie, I don't have this problem if I use Yadif or decomb, really strange.

datauser
26th May 2011, 11:58
Maybe tweaking the Xvid codec might work. Make a Staxrip test template and just do small encoding sample or you could try the reliably good AutoGK which is still very good for deinterlacing difficult stuff. Has extra options.

Also Handbrake (old Xvid version) has an excellent decomb filter which you might try for deinterlacing hard stuff.

Pulp Catalyst
27th May 2011, 17:32
i am trying to use

LoadPlugin("D:\Program Files\StaxRip\Applications\DGMPGDec\DGDecode.dll")
SetMTMode(5)
SetMemoryMax(512)
MPEG2Source("F:\VIDEOTEMP\Staxrip\3\VTS_02_1 temp files\VTS_02_1.d2v")
Crop(0,0, -Width % 8,-Height % 8)
ConvertToYV12()
YadifMod(edeint=nnedi3())
Crop(20,0,-12,-0)



but staxrip is giving error

"the scripts return value was not a video clip"


does anyone know why this is not working,

my avisynth is 2.5.8 MT,

EDIT

i put the source stuff into the Misc.

[Misc]
Assume 25 fps = AssumeFPS(25, 1, true)
Assume 23.976 fps = AssumeFPS(24000, 1001, true)
Memory Limit = SetMemoryMax(512)
MT Mode 2 = SetMTMode(2)
MT Mode 3 = SetMTMode(3)
MT Mode 4 = SetMTMode(4)
MT Mode 5 = SetMTMode(5)

then did,

LoadPlugin("D:\Program Files\StaxRip\Applications\DGMPGDec\DGDecode.dll")
MPEG2Source("F:\VIDEOTEMP\Staxrip\3\VTS_02_1 temp files\VTS_02_1.d2v")
Crop(0,0, -Width % 8,-Height % 8)
ConvertToYV12()
SetMTMode(5)
SetMemoryMax(512)
YadifMod(edeint=nnedi3())
Crop(20,0,-12,-0)


this works, but i read that setMT needs to be 1st, or the main part of the chain won't be in MT mode,

but i can't put SetMT 1st, because Stax complains about "1st line of script has to be source category" or words to that effect.


given where SetMT is in above script, is that OK? or am i right that it can't go there, and in that case what do i do?

yadifmod+nnedi3 i have been told can really benefit from using MT, but Staxrip is fighting me.

EDIT

MT stuff actually slowed the process down by 8 minutes,
i'll forget the MT stuff i think.

still need to test QTGMC still though,

had trouble getting it to work before, but learnt a few things since that attempt, perhaps in a few days time....perhaps
YadifMod(edeint=nnedi3()) does a nice job and is very stable....

Pulp Catalyst
28th May 2011, 17:27
i have confirmed that in MEgui

# Set DAR in encoder to 4 : 3. The following line is for automatic signalling
global MeGUI_darx = 4
global MeGUI_dary = 3
LoadPlugin("D:\Program Files\MeGUI\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("F:\VIDEOTEMP\MeGUI\VTS_01_1.d2v", info=3)
LoadPlugin("D:\Program Files\MeGUI\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, threads=0)
YadifMod(edeint=nnedi3())
crop( 8, 0, -8, 0)

#resize
#denoise

gave me CPU utilization around 75-85% (DVD to Xvid)

but my modifying the SCRIPT manually to

# Set DAR in encoder to 4 : 3. The following line is for automatic signalling
global MeGUI_darx = 4
global MeGUI_dary = 3
LoadPlugin("D:\Program Files\MeGUI\tools\dgindex\DGDecode.dll")
SetMemoryMax(512)
SetMTMode(5,3)
DGDecode_mpeg2source("F:\VIDEOTEMP\MeGUI\VTS_01_1.d2v", info=3)
SetMTMode(2)
LoadPlugin("D:\Program Files\MeGUI\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, threads=0)
YadifMod(edeint=nnedi3())
crop( 8, 0, -8, 0)

#resize
#denoise

gave me a CPU utilization of 97-100%, a significant increase by all accounts.


can someone help me reproduce this so STAXRIP accepts this script, i always keep getting error's,

"source catogory"

"not a video Clip"

i'm puzzled why staxrip can't run the script, where MEGui can, why is staxrip fighting me on the following script


LoadPlugin("D:\Program Files\StaxRip\Applications\DGMPGDec\DGDecode.dll")
SetMemoryMax(512)
SetMTMode(5,3)
MPEG2Source("F:\VIDEOTEMP\Staxrip\1\VTS_01_1 temp files\VTS_01_1.d2v")
SetMTMode(2)
Crop(0,0, -Width % 8,-Height % 8)
ConvertToYV12()
QTGMC( Preset="Slow", SelectEven())
Crop(18,0,-14,-0)


perhaps i should try modifying the script manually after stax has created the avs file

here's the original untouched

LoadPlugin("D:\Program Files\StaxRip\Applications\DGMPGDec\DGDecode.dll")
LoadCPlugin("D:\Program Files\StaxRip\Applications\AviSynth plugins\Yadif\yadif.dll")
MPEG2Source("F:\VIDEOTEMP\Staxrip\6\VTS_01_1 temp files\VTS_01_1.d2v")
Crop(0,0, -Width % 8,-Height % 8)
ConvertToYV12()
Yadif()
Crop(18,0,-14,-0)


and here's my modded version.

LoadPlugin("D:\Program Files\StaxRip\Applications\DGMPGDec\DGDecode.dll")
SetMemoryMax(512)
SetMTMode(5,3)
MPEG2Source("F:\VIDEOTEMP\Staxrip\6\VTS_01_1 temp files\VTS_01_1.d2v")
SetMTMode(2)
Crop(0,0, -Width % 8,-Height % 8)
ConvertToYV12()
YadifMod(edeint=nnedi3())
Crop(18,0,-14,-0)


it's just running now, had to modify it twice, stax overwritten the AVS file when i clicked on next in STAX,

........

it works, i thought it would, if avisynth says it's ok, then it must be ok,

question is why is staxrip saying complaining about the above script,

or to put it another way, how could i get the above script setup within Staxrip itself,



the other question is why does Staxrip have "ConvertToYV12()"

and MEGui doesn't....... this may explain why i'm only getting 92-96% CPU usage when in MEGui i was getting 97-100%

will have to look into this a bit more,


EDIT,

staxrip will not let me put

[Misc]
MT Mode 5-3 = SetMTMode(5,3)

before the rest,

"the 1st filter must have a category source"

so i then

[Source]
MT Mode 5 = SetMTMode(5,3)

the script's return value was not a video clip



finally did it, i had to keep clicking on "OK" to ignore the constant error's Staxrip was claiming to exists,

i mange to create the following using the GUI,

LoadPlugin("D:\Program Files\StaxRip\Applications\DGMPGDec\DGDecode.dll")
SetMemoryMax(512)
SetMTMode(5,3)
MPEG2Source("F:\VIDEOTEMP\Staxrip\6\VTS_01_1 temp files\VTS_01_1.d2v")
Crop(0,0, -Width % 8,-Height % 8)
ConvertToYV12()
SetMTMode(2)
YadifMod(edeint=nnedi3())
Crop(18,0,-14,-0)


but it's not practical to use, i had about 9 errors coming up on screen,

"the scripts return value was not a video clip"

yes it is, because i can play the AVS file in any player,

any suggestions on how to turn of Staxrips error reporting system would be great.

jsquare
28th May 2011, 21:05
I'll add it, thanks.
Hi Stax, any news on the update to include --bluray-compat switch?
I'm getting a nasty error every time I use --open-gop normal with version 1.1.7.1, had to go back to version 1.1.7.0 although I think it's related to x264 r1995 not supporting than switch anymore.

Pulp Catalyst
30th May 2011, 04:25
i used stax profiles in the end, set the gui first, then save as template,

GUI,

Source Auto
Source Memory Limit
Misc MT Mode 5,3
Misc MT Mode 2
Field Slower (yadifmod+nnedi3)
Crop


now load in the VOB files (this will run ok without error's,


but then in GUI,

move "Source Auto" down two spots (as i'm doing DVD, Automatic becomes MPEG2)

Source Memory Limit
Misc MT Mode 5,3
Source Auto
Misc MT Mode 2
Field Slower (yadifmod+nnedi3)
Crop

now press next to add job,

works with only one warning (better than several right?)
not ideal, but a nice and easy workaround, thanks stax for template saving....whew!

Yadifmod+nnedi3 is amazing, and i'm so glad to get it working with stax.

not perfect for Startrek series Voyager, TNG, but still very good considering, some of the special effects scenes still not done right (needs blending i believe not de-interlacing)

but the de-interlace stuff is really high quality.

datauser
30th May 2011, 11:04
Speaking of warnings: I get avisynth warning from Vdubmod of "number not indivisible by zero.." etc especially when using resolutions of 576x 240, display2.35/2.40 etc. Encoding then crashes!

Happens only on resolution such as this and lower e.g 560x, but not on 592+ yet these resolutions are mathematically acceptable and work fine/resize no problem using other encoders which use the efficient Vdubmod. Strange bug?

I uninstalled xvid 1.3.1 Jawor's build 32bit and installed the Kopei binary newer one of 1.3.2 with additional tools(10mb plus due to QT binary for both 32/64bit installer) anyway it crashes in Staxrip, demuxing fails to open files and a bizarre warning of ... index error inception.. with a load of red line data messages about a page spring up from Staxrip. I uninstalled and installed the Jawor's 1.3.2 build and it works fine hitting target bitrates bang on. This new build of Staxrip for me has fixed mkv/mp4 audio sych issues.

http://jawormat.republika.pl/xvid.html

Encraw works really well in Staxrip, though quality benefits are still debatable. I find using variance masking gives much better results than luminance masking too with specific encodings.

I'm interested why Koepi's build crashes Staxrip? Is it because this build disables other spitters and installs its own avi splitter? Read below:

http://www.koepi.info/
Koepi writes:
A new Xvid version is available, 1.3.2. It is mainly a bugfix release mainly for non-x86 and Unix users. But also, for the Windows users the new installer has some interesting features. In new installations, the tiny encoder xvid_encraw will be put into a new sub-directory "Advanced". For the ease-of-use, a new tool is included as well - Xvid MiniConvert. It will take most playable content and convert it to Xvid with MP3 audio in .avi containers. The installer also fixes a small annoyance which the DivX installer causes - it installs its own .avi and limited .mkv splitter and disables other splitters for these formats. This leads to the situation that many files can't be decoded properly. The situation is even worse on x64 systems, where that splitter is registered but totally missing. The new Xvid installer fixes this issue. Thanks Michael for the new installer and these nice additional tools and features!

Mr901
16th June 2011, 03:58
Any help with this error
http://bigpichost.com/files/capture_n7xd8npc.png

Trying to do a batch.

Single file works just fine, but batch gives me that error?

D9JK
22nd June 2011, 11:09
I wonder if anyone has succeeded in making the Single/Merge option to actually process and merge multiple files together? I can select multiple files, and it goes through the short analyzing pass, but then returns to the main screen. At this point, the only file on the job list is the first one, while the rest are missing.

It bugs me a bit, because if I use MKV Merge to merge individually processed .mkv files, my TV will likely be unable to play these long (or large file size?) video files, requiring me to use Staxrip again to compress the merged video. I'm hoping to get rid of the two extra steps.

tasslehoff44
29th June 2011, 20:35
Hi,

I try to make a vfr with x264 --tcfile-in setting but staxrip make it in the wrong way.

this part isn't good
--output "I:\TEST\test temp files\test_Output.h264"
For make a vfr files, the output must be .mp4 or mkv not .h264, but i don't find how to change it.

If someone can help ?

edit: In fact, i find how to do that, i use commande line.

But now i search after the source loaded, how to automatically launch virtualubmod and open an avs and start playback of the input files.
I try event commande but i just launch virtualdubmod, i don't find how to start the playback of the imput files.

diablo11
1st July 2011, 20:46
hello iam new in staxrip
there is error msg tell me when i open any movie
( filename with international unicode characters are not supported by avisynth and several other application sorry )
i use StaxRip_1.1.7.1_beta
iam use win xp
so plz hlp me
theres somthing i forget staxrip didnt open on my pc i use win xp and other pc open perfectely

Ramir Gonzales
2nd July 2011, 01:00
In case you didn't know yet : Staxrip is DEAD.

flebber
2nd July 2011, 08:09
@ramir

Staxrip isn't dead stax released an update a month or so ago, however I would concur its not actively developed currently.

@ diablo11
If you want to get going on an actively developed simple to use encoder can I suggest Ripbot && Vidcoder. You will get going quickly and get good results.

burfadel
2nd July 2011, 16:32
Stax has said people are quite welcome to add to the development, but it seems nobody has taken him up on that!...

Pulp Catalyst
4th July 2011, 23:27
this isn't the 1st time "STAX" has taken a break, i believe there was a time when he was going to leave but he didn't,

just take it for what it is.

"Why do some people secretly get off on negative outcomes when other people will be the ones effected by that outcome"?

STAX is taking a well deserved break, let's just leave it at that for the time being, if you must worry, then do so in 3 months time from this post if he still hasn't returned.
besides I'm sure if he was calling it day for sure (baring some reason why he couldn't) he would post here and make it official.

datauser
20th July 2011, 14:39
In case you didn't know yet : Staxrip is DEAD.

if memory serves I think it was you who posted earlier a similar comment. Staxrip is still active as only recently he updated the package and is having a well deserved rest, so you should take note and give your comments regarding this a rest too sport, or do something positive(add to the development) and update the package yourself.:)

Lighto
22nd July 2011, 01:32
if memory serves I think it was you who posted earlier a similar comment. Staxrip is still active as only recently he updated the package and is having a well deserved rest, so you should take note and give your comments regarding this a rest too sport, or do something positive(add to the development) and update the package yourself.:)

Based on his previous posts, it would seems that he has been identified as a troll before.

ElMerawesh
24th July 2011, 15:37
Dear Guys !

when i start the converter i found this message

Operation failed!

x264 failed with exit code -1

x264 [error]: could not open output file `<target>'


StaxRip.ErrorAbortException: x264 failed with exit code -1

x264 [error]: could not open output file `<target>'

at StaxRip.H264CmdlEncoder.Encode(String passName, String exe, String args, Boolean isErrorStream, String[] logValuesToSkip)
at StaxRip.x264Encoder.Encode()
at StaxRip.MainForm.Encode()
at StaxRip.MainForm.RunJobs()

What shall i do ? please help me :(

misha0209
1st August 2011, 06:43
hello all,
do not know if this has been brought up before, so here goes:
can someone help me make staxrip work with the latest x264 10 bit encoder? tried replacing the default encoder, but staxrip crashes...
what conditions must be met? is stax delivering wrong stream to the encoder? can this be solved by me, a simple user, or does this require heavy modifications by stax76?
eagerly awaiting feedback :D

flebber
1st August 2011, 08:17
@ misha0209

more info on error please

misha0209
1st August 2011, 15:52
@ misha0209

more info on error please

hi, sorry for the delay, was @ work, did not have access to home pc.

well i have staxrip 1.1.7.0
downloaded latest 10bit x264 from x264.nl

upon closer inspection, it does work.

thing is i had OpenGOP set to normal in some of my presets, and in that case staxrip would crash giving the following error:
------------------------------------------------------------
Error
------------------------------------------------------------

x264 failed with exit code -1


ffms [error]: could not create index
lavf [error]: could not open input file
raw [error]: raw input requires a resolution.
x264 [error]: could not open input file `normal' via any method!
ffms [error]: could not create index
lavf [error]: could not open input file
raw [error]: raw input requires a resolution.
x264 [error]: could not open input file `normal' via any method!

just by going in and setting OpenGOP from normal to none, the presets work just fine :D
and it also seems like i can run the x64 build using the avs4x264.exe :D

flebber
23rd August 2011, 01:28
Hi Stax.

Just a random feature request. Would it be hard to support DVD43 ? So that Staxrip could support direct ripping from DVD.

Edit i found this example code on how to do it. http://www.vb-helper.com/howto_net_get_drive_information.html I have a bit of work on currently but I might see if can get the sources and look at it.

diablo11
31st August 2011, 19:04
hi stax76 i just use StaxRip_1.1.7.1_beta
there is proplem in application of dgdecnv is not installed i log on the site http://neuron2.net/dgdecnv/dgdecnv.html
download the file then nothing change
and the applicatin still missing
i use win7
x86
1 gb ram
motherboard is xfx nforce 610i geforce 7050
in the past i use staxrip 1.1.6
thanks

darkside40
31st August 2011, 19:58
hi stax76 i just use StaxRip_1.1.7.1_beta
there is proplem in application of dgdecnv is not installed i log on the site http://neuron2.net/dgdecnv/dgdecnv.html
download the file then nothing change
and the applicatin still missing
i use win7
x86
1 gb ram
motherboard is xfx nforce 610i geforce 7050
in the past i use staxrip 1.1.6
thanks

1. You need a dedicated Graphic Card to use DGDecNV, at least a Card with G92 CHipset (8800GT 512 or newer).
2. You have to register (buy) DGDecNV to use it.
3. If you prefer using DGIndex instead, which is bundled simply deactivate DGDecNV in Staxrip (Tools->Settings->Demuxing)

Hope this helps

darkside40
31st August 2011, 20:02
Hi Stax.

Just a random feature request. Would it be hard to support DVD43 ? So that Staxrip could support direct ripping from DVD.

Edit i found this example code on how to do it. http://www.vb-helper.com/howto_net_get_drive_information.html I have a bit of work on currently but I might see if can get the sources and look at it.

Maybe stax don't add's this feature because it would make Staxrip illegal in some countries (e.g. Germany, where copyprotection breakers are illegal).

Btw. shouldn't DVD43 just like AnyDVD support on-the-fly decrypting of DVD's?

diablo11
31st August 2011, 20:40
i know how to deactived it but i want to use it
but in DGdecNV is folder x64 binary
my pc is x32
is anyway help me

darkside40
31st August 2011, 21:00
Than why dont you simply use the x86 Binary for 32bit which is in the folder you unpack?
Than in Staxrip go to Tools->Applications->Demuxing&Muxing->DGIndexNV and enter the location where the DGIndexNV.exe on your System resides.

But remeber you have to register DGIndexNV for 15$ on neuron Homepage, else it wont work.
Also you need the right Graphic card, your onBoard IGP will not work.

diablo11
31st August 2011, 22:03
i do that but i not found the folder of x86
when i dow it thers message say " need to copyrith "

flebber
1st September 2011, 00:01
Maybe stax don't add's this feature because it would make Staxrip illegal in some countries (e.g. Germany, where copyprotection breakers are illegal).

Btw. shouldn't DVD43 just like AnyDVD support on-the-fly decrypting of DVD's?

Its only illegal if he ships dvd43 or libdvdcss. If he ships it with dvd enabled and then allows the user to decide whether to use there preferred ripping program then thats okay.

blah123
1st September 2011, 11:21
Yesterday i suddenly had got some problems with StaxRip. I try do encode MPEG-TS/H.264 on Win7x64 into AVI/XviD and I've ffdshow (used libvacodec) and haali media splitter. But, after trying to drag&drop .ts file on the window of SR, I reveive this serious error:

http://i.imgur.com/XTPz7.png

(Translation: StaxRip has stopped working)

2 days ago everything was perfect, but I installed yesterday FormatFactory (just for tests) and I don't know - maybe this is a problem. But I uinstalled this software.

I noticed also that after uinstalling Haali, StaxRip doesn't give me an error, but during cutting the frames aren't accurate, e.g. I mark frame 150 at the beginning and frame 1000 at the end, and this is exactly what i need to cut, but seeking with one frame is kinda delayed and I need to use option " reload " in each frame, to mark cutting points properly...

salazar
14th September 2011, 12:11
I usually save a couple of StaxRip-Jobs to convert DVB-S-recordings in the background. But a StaxRip-windows is popping up after each job and is stealing the window-focus. And there is no difference if I have chosen "minimize window" or not.

This behaviour is particularly annoying, because my StaxRip-encoding-PC is my livingroom-mediacenter-PC as well. And if I watch a movie (I use XBMC and VLC-Player for this) and StaxRip is switching to the next job, the fullscreen-video I watch will be minimized to the background.

By the way, I'm running a Windows 7 Home Premium (64bit) machine. And the tipp I already found in the forum to activate "Don't steal focus" with TweakUI doesn't work with Windows 7.

Hope anyone has an idea how to resolve that problem.

Thanks in advance,
Salazar

fabje
14th September 2011, 12:19
I usually save a couple of StaxRip-Jobs to convert DVB-S-recordings in the background. But a StaxRip-windows is popping up after each job and is stealing the window-focus. And there is no difference if I have chosen "minimize window" or not.

This behaviour is particularly annoying, because my StaxRip-encoding-PC is my livingroom-mediacenter-PC as well. And if I watch a movie (I use XBMC and VLC-Player for this) and StaxRip is switching to the next job, the fullscreen-video I watch will be minimized to the background.

By the way, I'm running a Windows 7 Home Premium (64bit) machine. And the tipp I already found in the forum to activate "Don't steal focus" with TweakUI doesn't work with Windows 7.
Hope anyone has an idea how to resolve that problem.

Thanks in advance,
Salazar
I have the same thing and it is very annoying I hope this can be fixed in the next Staxrip build.

Gannjunior
21st September 2011, 13:51
Hi guys, I would like to see what are ffmpeg string details in staxrip. Where can I get these information? I prepared many presets for different use, so I would like to see ffmpeg details according to these settings.
Could you help me?

thanks in advance
ciao

Mr901
21st September 2011, 16:31
I need help, every time i try and do a video i get a error saying "Failed to open source try another method?" and then"Exception has been thrown by the target of an invocation."

flebber
22nd September 2011, 09:10
I need help, every time i try and do a video i get a error saying "Failed to open source try another method?" and then"Exception has been thrown by the target of an invocation."

Yeah I have had that a lot as well, have reinstalled tried on win7 as well and still get error.

Gannjunior
22nd September 2011, 09:15
anyone could help me about my previous question about ffmpeg string?

thankssss!!!

jsquare
3rd October 2011, 04:00
Is Staxrip development/support dead?
Been waiting for over 4 months for an updated release and so far nothing, really like Staxrip due to the flexibility and stability but any suggestion on a similar application would be appreciated.

Ramir Gonzales
4th October 2011, 12:27
Yep, it is dead, but some people are desperately hanging on to a straw, and will never learn reality.

You better switch to something else, before you have a long gray beard, and just busy still waiting for a sign of life when your own candle extinguishes.

manolito
4th October 2011, 12:54
http://forum.doom9.org/showthread.php?p=1514901#post1514901

Cheers
manolito

Famille_CB
11th October 2011, 23:18
Hello,

Does some body know how to force StaxRip tu use this little line:
ConvertToYV12(matrix="PC.709")
When I try StaxRip say to me to use ConvertToYV12().

Some body give me this tips to have good colours when I encode Canon HV20 rushes from Sony Vegas via DebugMode Frame Server.

Thank you a lot.

Famille_CB
13th October 2011, 18:00
Hello,

I finally find the solution. I just put one line in the "Filter window on the left of Staxrip :

DirectShowSource("%source_file%", audio=false, convertfps=true, fps=%source_framerate_mediainfo%)
Crop(0,0, -Width % 8,-Height % 8)ConvertToYV12(matrix="PC.709")

http://www.ouplo.com/img/mini/xgSw2gIt5PvlNuYKwapg6hC1I.jpg (http://www.ouplo.com/img/xgSw2gIt5PvlNuYKwapg6hC1I.jpg)

Staxrip is really the best!!!!

Chetwood
16th October 2011, 10:03
I've just started fiddling around with Staxrip trying to do my first anamorphic xvid encode of a TV show I ripped from my original DVD. After cropping with mod16 in mind (no resizing) I simply set a certain bitrate around 1100 kb/s. But no matter what bitrate I choose, I never achieve 0.187 Bits/(Pixel*Frame) quality as used in scene rips. Also, despite turning off the packed bitstream setting as demonstrated here (http://forum.doom9.org/showthread.php?p=805678#post805678) in all profiles, it is still set by Staxrip. Any suggestions? Thx.

Selur
16th October 2011, 13:11
@chetwood: lower the resolution or boost the bit-rate and you will archive any Bits/(Pixel*Frame) ratio you judge as quality,....

V1de0Luvr
22nd October 2011, 16:04
I recently enabled UAC in Windows 7 x64 to install the Shark007 codecs, and discovered that StaxRip will not run when installed under Program Files without running as Administrator. That would be fine if I only used the GUI, but I run StaxRip in CLI mode from batch files, where I cannot answer the UAC prompt while away from the computer. Is there any way I can set permission on the StaxRip folder to disble the UAC prompt, or is my only solution to move it out of Program Files and change all of my batch files which run StaxRip and many of the applications installed with it? Thanks!

Jackie
22nd October 2011, 18:28
Hi,

I get the following message:

Unsupported Colorspace

x264 requires YV12 input. Right.click the filters, select, "Add" and coose "Misc/Convert to YV12"

I did that, but that menu entry is not present, all I can select there is "assume 25fps" or "assume 23.96 fps". So how do I get that filter in Staxrip?

TBKHomeworld!
31st October 2011, 02:28
So I have made a new video walk-through on how to do a BluRay encode using StaxRip plus I have all new custom templates.

Info:
DVDFab usage
StaxRip usage for x264 video, AAC (even DTS 7.1) 5.1 vbr, MKV container, edited .sub files, etc.
Complete download package that has everything required to make my video instructions work.

They can all be found at http://www.tbkhomeworld.com/staxrip/. As always, this is for educational purposes only.

Enjoy!

TBKHomeworld!
31st October 2011, 02:36
Hi everybody, I hope everybody is doing fine. I don't spend much time with computers, TV and Video these days. I can't tell about the future, as a sign of life I've updated some applications however:

1.1.7.1 beta (2011-05-22)

Updated MP4Box to version 0.4.6 that hopefully fixes sync problems
Updated ffms2 to version 2.15 mt
Updated x264 to version r1995
Updated mkvtoolnix to version 4.7.0
Fixed bug 'DTS Express' format not detected
Added option to modify existing cut selection, overlapping selections are merged

http://sourceforge.net/projects/staxmedia/

Hey bro, I know it has been a while since you posted on here but I wanted to point out something. I do a lot of directory batch when I do TV series and I have noticed the default FPS is around 30. If the video source is at 23.976 then StaxRip still seems to assume 30fps (29.9**fps) and the video ends much sooner than the audio does. If I manually go through and work each video source and add them to the queue then it works fine, just when I try to do directory batch it messes up.

Seems that directory batch ends up 'assuming' a default Video Rate and keeps with that instead of looking at the source video.

stax76
21st November 2011, 01:45
@TBKHomeworld!

It's been some time... :o, maybe you can upload a sample clip.

@V1de0Luvr

StaxRip checks if it's located in Program Files, if so it shows a error and terminates. I've added this because I was afraid some of the many portable applications included might require full write access to it's start-up directory. You can never be sure unless a application has an installer and Vista/Win7 support, therefore it's generally not the best idea to put portable applications in locations with limited write access.

@Jackie

This profile was removed for some reason, what filters are used and what kind of source is it?

@Chetwood

Do you have the same problems using VirtualDub manually?

@salazar and fabje

It activates after all jobs but I couldn't reproduce it to activate between jobs, please mail me the log file if it happens again.

stax76
23rd November 2011, 14:54
I'll upload a new version very soon so last chance to request a fix or feature! :)

fabje
23rd November 2011, 15:39
I'll upload a new version very soon so last chance to request a fix or feature! :)
Just a function to run Staxrip compleet in the background, only when all jobs are done Staxrip comes to the foreground.

So when it changes passes, or a new virtualdub process starts it will stay on the background.

VoNbArRoN
23rd November 2011, 16:01
I'll upload a new version very soon so last chance to request a fix or feature! :)

That's great news, stax79. :thanks:

If there's not already an option to turn off the "Move crop values into dgi file for GPU cropping" popup box that comes up after cropping when using DGDecNV can you add one and if there is already one where is it. :)

also the audio of a lot of my recordings is a aac file and staxrip doesn't load it like the other audio files it just has the path to the .ts file and the audio comes out all scrambled but if I manually select the .aac file it encodes without any problems so it would be nice if StaxRip could load the aac files like it does with other audios.

SAMPLE (http://www.mediafire.com/?qi8gjs7hqggd1il)

stax76
23rd November 2011, 16:12
@fabje

I don't have much control over GUI application unless they have some background feature, VirtualDubMod used for XviD and cutting don't offer that, there might be some WinAPI tricks but I don't enough time to tinker with it since it would much likely require much time.

Like I wrote I investigated the issue (with redirected console applications) and everything stayed *completely* in background until all jobs were finished.

@VoNbArRoN

DGDecNV crops faster I guess though probably not a big difference, I'll check the audio issue later today.

manolito
23rd November 2011, 16:58
I'll upload a new version very soon so last chance to request a fix or feature! :)

Hi stax, good to see you back...:D

Did you look into this issue which was brought up by jsquare?
http://forum.doom9.org/showthread.php?p=1504083#post1504083


Looking forward for the upcoming version...


Cheers
manolito

stax76
23rd November 2011, 17:43
Hi

Yes, --bluray-compat was added to be used with the Blu-ray device option and the setting has a GUI control.

stax76
23rd November 2011, 20:54
The new built is now online, 6 months after the last, it's mostly some updated applications, some small changes regarding the updated x264, a couple of other minor changes and some cosmetics. I hope I can maybe do a little bit more the next 6 months.

1.1.7.2 beta (2011-11-23)


Updated mkvtoolnix to version 5.0.1
Updated x264 to version r2106
Updated ProjectX to version 0.91.0.00 (still no H.264 support)
Updated MediaInfo to version 0.7.51.0
Updated ffmpeg built at 2011-11-21
Updated ffms2 to version 2.16
Added GUI option for Vorbis 5.1 using ffmpeg
Added setting to define style for menus and toolbars

https://sourceforge.net/projects/staxmedia

Source code was committed too.

fantasmanegro
24th November 2011, 01:02
@stax76

i just want to know where did you learn to develope... because i've seen your code and it's awsome!!!...

by the way thanks for the new beta...

fantasmanegro
24th November 2011, 01:07
@stax76

i just want to know where did you learn to develope... because i've seen your code and it's awsome!!!...

by the way thanks for the new beta...

stax76
24th November 2011, 03:52
Self-taught from books, articles, video tutorials, code from other people, documentation from Microsoft, I started programming about 10 years ago.

fantasmanegro
24th November 2011, 05:49
10 years that is too much, but your code it's very dynamic menus, settings, changing the menu items order and you manage a lot of objects, audio, video, container, filter, encoder, everything is an object, it's really impressive...

willscarlett
24th November 2011, 09:14
Hey Stax! Great to have a new Version! Thank you for your ongoing work, even though you don't really have the time! I am afraid your kind of "just for fun-programmer" will die out soon, as computers become less and less fascinating to people. Great that you are still on it!
I will give it a try tonight as my video-drive is full and some dvd/mkv to x264/mkv encoding needs to be done. I will let you know if any problems come up!

stax76
24th November 2011, 23:07
@willscarlett

I hope your encodes go well, after a long time without seeing a movie worthwhile to backup I recently saw The Fighter and set it up for encoding, doing an encode is always a good opportunity working a little bit on StaxRip which I just did.

If there's not already an option to turn off the "Move crop values into dgi file for GPU cropping" popup box that comes up after cropping when using DGDecNV can you add one and if there is already one where is it.

Done for the next released. :)

manolito
26th November 2011, 01:58
This is only partly related to StaxRip, it is more a general question about encoding with X264...

I do have a lot of experience converting xxx -> DVD, and generally it is recommended to keep interlaced sources interlaced.

For xxx -> XviD conversions it is mostly recommended to deinterlace interlaced sources for maximum compatibility with playback devices.

Now what about conversions with X264? HandBrake and StaxRip both do not provide a GUI setting to tell X264 to do an interlaced encode, but they both give you a couple of options to deinterlace your source. Does this mean that it is basically a good idea to deinterlace your source before encoding with X264?



Now I do have some questions related to StaxRip:

If I decide to deinterlace my source, I basically have the choice to use Yadif, TomsMoComp or FieldDeinterlace (provided by the Decomb package). Both Yadif and TomsMoComp need the correct field order to work properly. If the field order is not specified, they both default to the field order provided by AviSynth.

Here comes my problem:
AviSynth defaults to BFF, and if your source is TFF you have to tell this to AviSynth with "AssumeTFF()". The only exception is if you use DGDecode (MPEG2Source) as your source filter. In this case AviSynth will get the correct field order from DGDecode.

But if I use FFMS2 as my source filter or even "AVISource()" then AVISynth cannot determine my source field order, I have to specify it explicitly with "AssumeTFF()" or "AssumeBFF()".

Real world case:
I have a source MKV which is Interlaced TFF. I specify Yadif (or TomsMoComp) as my deinterlacer. StaxRip will create an AVS script which just calls "Yadif()". No field order is specified so Yadif will use AviSynth's default BFF which will give me a very badly deinterlaced result.


Anything I can do about it within StaxRip?

//Edit//
Found it myself... Under "Tools->ShowFile->AviSynth Script" you can not only view but also edit the AVS script generated by StaxRip.


Cheers
manolito

stax76
26th November 2011, 16:59
Found it myself... Under "Tools->ShowFile->AviSynth Script" you can not only view but also edit the AVS script generated by StaxRip.

That's not a supported scenario, you can find some info in the official wiki at SourceForge:

1.5.7 Editing filter parameters (https://sourceforge.net/apps/mediawiki/staxmedia/index.php?title=A_guide_to_StaxRip#Editing_filter_parameters)

You can always try to double-click, right-click, drag&drop etc. things trying to find out how things works, unfortunately not all features are easy to find and well documented.

@all

This year there were only two releases, I hope I can do a little bit more next year (it's about the tenth year in case you didn't know). I'm thinking about 4 releases.

manolito
26th November 2011, 23:02
Filter parameters can be edited by double-clicking on a filter.
unfortunately not all features are easy to find and well documented.

Thanks for the info, it is true that some StaxRip features are a little hard to find...:o

For the Joe Average Windows user double-clicking an object usually means running or executing it. To change parameters of an object you normally expect that you have to right-click it and select "properties".


Cheers
manolito

stax76
27th November 2011, 01:53
Edit with double-click is common dealing with object lists, Outlook and Thunderbird are examples here, it's used in other locations in StaxRip as well. If I add all features to the menu like edit and reorder the menu would become overloaded so there isn't a easy solution. Sometimes you have to think, search and read the docs or ask if all fails.

manolito
28th November 2011, 13:43
Slowly I am getting a little deeper into the software...:D

For converting interlaced sources with X264 the process seems to be less automatic than it first looks. Right now I see two problems:

1. The source filter automatically adds "ConvertToYV12()" to the script. For interlaced sources this is incorrect, it should be "ConvertToYV12(interlaced=true)" instead. This means that the user has to edit the source filter parameters manually.

2. If Yadif or TomsMoComp are used for deinterlacing, the field order of the source must be specified with "AssumeTFF()" or"AssumeBFF()". This means manually editing the field filter parameters.

My question is if this could be done automatically. The source already gets analyzed by MediaInfo, so the scan type and scan order of the source are known (at least in most cases, I hope). StaxRip would have to introduce 2 new macros called %source_scanorder% and %source_scantype%, and depending on these values the correct commands for field order and color conversion could be set.


If I decide to not deinterlace my source, am I correct that I have to use "Config Codec" and add a custom switch to the commandline which must be either "--tff" or "--bff" ? It looks like the "--interlaced" switch is not supportet by the current X264 any more.


Cheers
manolito

willscarlett
28th November 2011, 19:52
@manolito,
do i understand you right, that you would like to keep your video interlaced while converting?
The question would be why? Unless you use a non-flat tv for watching you just give your viewing equipment a hard time doing a real-time de-interlacing (I am in no way an expert on video-technology but i always thought i had understood that right :-D so feel free to correct me!)
edit: I just had an interlaced source (might be something special, it is bonus material on an otherwis non-interlaced dvd) and it came out just as interlaced as it was. i did not notice the interlace before, so i will now do the encode again with yadif-filter

@stax:
one of my nightly encodes just gave me this right after the start of encoding:

Operation failed!
x264 failed with exit code -1073741819

StaxRip.ErrorAbortException: x264 failed with exit code -1073741819

at StaxRip.H264CmdlEncoder.Encode(String passName, String exe, String args, String[] logValuesToSkip) in C:\Daten\Projekte\StaxMedia\trunk\StaxRip\General\VideoEncoder.vb:line 2015
at StaxRip.x264Encoder.Encode() in C:\Daten\Projekte\StaxMedia\trunk\StaxRip\General\VideoEncoder.vb:line 1550
at StaxRip.MainForm.Encode() in C:\Daten\Projekte\StaxMedia\trunk\StaxRip\Forms\MainForm.vb:line 2133
at StaxRip.MainForm.RunJobs() in C:\Daten\Projekte\StaxMedia\trunk\StaxRip\Forms\MainForm.vb:line 3316

As I do not have those referenced folders on my drive they seem to be yours and I think we could go on speaking Deutsch, but that would not be of too much use for the other visitors :-D

So, the encode was set to the following parameters:
source: mkv (dvd).
Target: mkv (x264), 1pass.
x264 settings: 18, medium, film.
Audio settings: "just mux" (original ac3)
Filters: ffvideosource, (auto)crop

i used no resizing (progressive)

My System is Windows 7 x64.

I loaded and demuxed the source twice in staxrip, the error kept coming.

Greetings
Henrik

manolito
28th November 2011, 22:24
@manolito,
do i understand you right, that you would like to keep your video interlaced while converting?
The question would be why? Unless you use a non-flat tv for watching you just give your viewing equipment a hard time doing a real-time de-interlacing (I am in no way an expert on video-technology but i always thought i had understood that right :-D so feel free to correct me!)
I really am not sure if I should deinterlace interlaced sources for X264 conversions or not...:confused:
From my previous post:
I do have a lot of experience converting xxx -> DVD, and generally it is recommended to keep interlaced sources interlaced.

For xxx -> XviD conversions it is mostly recommended to deinterlace interlaced sources for maximum compatibility with playback devices.

Now what about conversions with X264? HandBrake and StaxRip both do not provide a GUI setting to tell X264 to do an interlaced encode, but they both give you a couple of options to deinterlace your source. Does this mean that it is basically a good idea to deinterlace your source before encoding with X264?
I assume that a real time deinterlacer built into my SAP or TV can never achieve the quality which a good (although slow) software deinterlacer delivers. But some people here on this forum strongly disagree (one of them is Ghitulescu AFAIK).


Cheers
manolito

Doo
1st December 2011, 14:49
guys i need help
when i try to encode a DTS audio with eac3to it doesn't work and get the message program stopped working
this happens with staxrip
any ideas?

chainring
1st December 2011, 22:14
guys i need help
when i try to encode a DTS audio with eac3to it doesn't work and get the message program stopped working
this happens with staxrip
any ideas?What flavor of DTS? There's the HD stuff, then there's the core/lossy.
Are you actually encoding DTS to something else, like AAC?
I might be incorrect, but I'm pretty sure that if you're doing anything other than a straight mux of your DTS audio, then you'll need the ArcSoft DTS components.

burfadel
2nd December 2011, 05:26
Thanks for the update Stax :)

A couple of change in x264 api were missed though:
For the --open-gop command under 'Frame Options', 'bluray' and 'normal' are no longer options. The setting is either just on (--open-gop) or off! Using the settings in Staxrip will cause an error, to use currently you need to set it to 'none' an manually add it in the command line section

Under 'Analysis', Mode 11 is missing under 'Subpixel Refinement'. In x264, mode 11 was added to the 'Subpixel motion estimation and mode decision', and its function is 'Full-RD: disable all early-terminations'

Mode 11 is of limited benefit at the moment, its benefits explained in the commit comment: 'Necessary for a future trellis mode decision/motion estimation patch.'. However, its status is explained at the bottom of the x264 development thread: http://forum.doom9.org/showthread.php?t=108570&page=89

In any case though, its still a changed option :) the -open-gop change is the most important one for now, since in its current state when either option is selected it actually prevents x264 from starting. A simple change to a checkbox without the bluray/normal settings?

Thanks! :)

heldiX
5th December 2011, 08:49
Hello! I am back with a Problem ^^

I have directories containing multiple mkv-files containing dvd-material, that i would like to compress using almost the same settings for each output file. I understand that "file batch" should be the mode to use. BUT!:
When I open the files in file-batch-mode and have "create jobs" turned on, staxrip does not do the preparations (demuxing/indexing etc.) so I get Jobs that I can not edit or start due to missing files/scripts etc.
When I disable "create jobs" staxrip does the preparations for each file, but closes the files afterwards so that I can't do anything but re-open the files in single-mode. But if I do that, the Preparations are done all over again, so the Batch did not make any sense.

What am I doing wrong? I just would like the preparations being performed and jobs created which I can edit before hitting "start" (I need to apply some manual cutting to some of the files)

Is it a bug or a feature? ^^

Thx in Advance!

Hello guys,

i spent some hours trying to fix that issue by myself and looking for a solution here in this thread before disturbing you with it.

I got exactly the same problem like the person i just quoted:

I have many many MKVs to encode. I really love to use Staxrip for that. Did someone find out how you can batch encode files in a way, that you add your files, let them all demux one by one and afterwards edit your jobs in the joblist, do your work like selecting the subtitles, audiotracks etc.?

Lg,
heldiX

fantasmanegro
5th December 2011, 16:17
the batch encode works as you said above... set template and filters for all the movies in directory... but just one time, the first time before you add your files... staxrip takes the same settings for each job, so if you resize to 480p, all the movies you encode will have 480p height...

impei
7th December 2011, 01:45
guys i need help
when i try to encode a DTS audio with eac3to it doesn't work and get the message program stopped working
this happens with staxrip
any ideas?

Maybe I'm missing someting but the only way I've been able to make this work is to use Audioconverter to convert the DTS track to AC3.

http://audioconverter.heartware.dk/

fano
19th December 2011, 21:06
Two question for you :D


I've done a remux in mkv of a BD5 using "just mux" for video and the first audio track /II is recompressed in AAC) the problem I'm having is with subtitles... they're correctly muxed (but I'd say a little difficult to find) but they're always showed... there is an way to have them default off :confused:?
When I add a BD Staxrip starts to demux in its elemnts... then
I show the track(s) to compress/mux, but If I choose my
audio track(s) I've a submenu that says DTS-HD an so on... what's its scope? I expect it converts the track to DTS-HDD,
but it gives me a not very nice error and bails out :mad:


Thanks for your useful program (and it's fast as hell :p) and thanks for you help...

VincAlastor
21st December 2011, 08:36
I'll upload a new version very soon so last chance to request a fix or feature! :)

sorry, i read this message to late... but if it is not to complicated it were great to add an option to set forced sub's in mkv container config.

anyway, thank you for update!

TBKHomeworld!
24th December 2011, 01:15
guys i need help
when i try to encode a DTS audio with eac3to it doesn't work and get the message program stopped working
this happens with staxrip
any ideas?

Follow my tutorial and all of your DTS issues will mysteriously go away. :-)

http://www.tbkhomeworld.com/staxrip Been using StaxRip since V1.1.1.0 days, so I have some experience with it.

TBKHomeworld!
24th December 2011, 01:22
@TBKHomeworld!

It's been some time... :o, maybe you can upload a sample clip.



I have sent you a PM in regards to this issue that includes a complete .log dump.

stax76
25th December 2011, 07:31
@TBKHomeworld!

Unfortunately I don't have a sample file with similar format, most of my sample files are PAL. Maybe you can upload a small sample file and pm me the download link. If the DVD has only big files maybe you can create a smaller one trimming with DVD Shrink.


My question is if this could be done automatically. The source already gets analyzed by MediaInfo, so the scan type and scan order of the source are known (at least in most cases, I hope).


MediaInfo didn't give any info about scan order on all files I tried.

@willscarlett

to quote kemure 9:


the exit code reported is an access violation exception (0xC0000005), which would be caused by hitting the 2GB memory limit for a 32bit process.
as x264 checks its own memory allocations and after the first X frames where x264 has allocated all the frames its going to use it never allocates more memory,
the exception very likely arose from avisynth.


@burfadel

Thanks for the info, it will be fixed.

I have many many MKVs to encode. I really love to use Staxrip for that. Did someone find out how you can batch encode files in a way, that you add your files, let them all demux one by one and afterwards edit your jobs in the joblist, do your work like selecting the subtitles, audiotracks etc.?

It's not supported, for what exactly do you need manual editing?

I've done a remux in mkv of a BD5 using "just mux" for video and the first audio track /II is recompressed in AAC) the problem I'm having is with subtitles... they're correctly muxed (but I'd say a little difficult to find) but they're always showed... there is an way to have them default off ?

Maybe I can reproduce it if you mail me the log file.

When I add a BD Staxrip starts to demux in its elemnts...

You mean the eac3to GUI? I've not used it for a long time since I usualy make MKV files with MakeMKV.

manolito
26th December 2011, 14:34
MediaInfo didn't give any info about scan order on all files I tried.
Really?

I tried 2 VOB files with the current CLI version of MediaInfo 0.7.52, one is progressive, the other one interlaced. Here is what I got within the Video section:

Progressive
Scan type : Progressive
Scan type : Progressive
Interlacement : PPF
Interlacement : Progressive

Interlaced
Scan type : Interlaced
Scan type : Interlaced
Scan order : TFF
Scan order : Top Field First
Interlacement : TFF
Interlacement : Top Field First

I have not tried it with other source formats yet...


Cheers
manolito

bingo
4th January 2012, 21:34
Hi,
I want to rotate a clip and save this in a Template.
I've found that the function TurnRight() should do it, but I can't figure out where to write this in StaxRip.
PLS help me.. I've search for hours...

manolito
14th January 2012, 01:44
In the recent versions of MKVToolNix there has been some confusion about the correct track IDs and track numbering. The current version 5.21 definitely does things differently than earlier versions, it even required an update to MKVExtractGUI2.

This current version 5.21 of MKVToolNix does not work with StaxRip. Audio tracks will not be identified correctly.

So please stick with the version 5.01 which comes with StaxRip.



Cheers
manolito

Navalynt
14th January 2012, 23:28
I work quite extensively with Android OS on tablets and handsets, so I spent several weeks testing different variations to create a more-or-less universal template for encoding. The quality is coming out amazing, but I'm wondering if there is anything I can do to increase the encoding time without sacrificing quality. TBK, any thoughts?

Attached are the two templates I created (one for Blu-Ray, one for DVD). My avisynth plugins folder is an absolute mess from working with different filters, but I did zip it up and upload it to multiupload HERE (http://www.multiupload.com/UM6SRAIDKA).

Edit: Since attachment is still pending approval, here it is from Multiupload.com (http://www.multiupload.com/1E32Y1T067)

I have tested the encoded video files on iPhone 4, iPad, iPad2, Motorola Xoom, Samsung Galaxy S, Samsung Galaxy S2, Galaxy Nexus, LG Optimus 3D (althought not ripped in 3D), Motorola Atrix, HTC Sensation, and HTC Desire.

Stax, one small annoyance I have is that I cannot use the same source audio file for both tracks. I have to make a copy of the audio track and manually select it for the second track. Is that something that could be addressed in a future update? If two audio tracks are specified for encoding that they will both populate in the GUI and encode from the same source file?

For making my templates sort of "universal" the two audio tracks are essential. The first (default) track needs to be Stereo AAC-LC for compatibility with many devices, but the second track is AAC VBR 5.1 so when outputing to my TV I can select to have surround sound. Miraculously, this works perfectly in the MP4 file container as well!

onixvid
19th January 2012, 02:22
I am curious why I cannot "Just Mux" an MKV to mp4 for video passthrough, only re-encoding the audio to AAC (whether 2.0 or 5.1). I can "Just Mux" from MKV to MKV with audio re-encode, but not to MP4. The error I get is that mp4 container does not support this this format and StaxRip will not let me click Next. Any ideas?

Right now I use StaxRip-YAMB in combination to go from MKV to MKV to re-encode the audio and then YAMB to convert it to mp4.

(My apologies, if this has already been asked.)

prorokrak
20th January 2012, 11:14
Hi,
I want to rotate a clip and save this in a Template.
I've found that the function TurnRight() should do it, but I can't figure out where to write this in StaxRip.
PLS help me.. I've search for hours...

There are several ways how to do it.

Important note: Before following this manual, make sure you HAVEN'T loaded any source file. If you have StaxRip running, the safest way is close StaxRip and then run it again.

Just add your function in a project.

In the section "Filters" right-click in the empty space. In the context menu choose "Add" -> "Misc" -> "Assume 25 fps".
(Or right-click on a filter, and in the context menu choose "Insert" -> "Misc" -> "Assume 25 fps".)
Left double-click on newly created row. You'll see "AssumeFPS(25, 1, true)". Replace the text with your function, e. g. "TurnRight()"
Press Ok.
Although you'll still see Assume 25 FPS in the description, it'll do your function "TurnRight()" actually.
Using drag&drop place your function in desired position.

Add it in to avisynth profiles. This is recommended because this way you'll be able to use your function in different projects without a need to change the template.

Right-click in the section "Filters". In the context menu choose "Filter Setup" -> "Edit Profiles".
Window "AviSynth Profiles" will popup. You should see there "Default Filter Setup" profile at least.
In the profile list click on "Default Filter Setup" item.
Click "Clone" button.
Click "Rename" button and enter a new name for your profile, e. g. "Turn right my video". Click "Ok".
Click "Edit" button. The window "Filters" will popup.
Here you can adjust your profile as you wish. If you want you can add or remove items, edit them, change their order with drag&drop. Feel free to experiment (try to right-click, double-click in different columns and in empty space). You can even add optional items and leave them unchecked so usually they wouldn't be used but when you would want them to use you'll just check the checkbox.
After finishing your adjustments click "Close" button in "Filters" window and then "Ok" button in "AviSynth Profiles" window.
Right-click in "Filters" section". In context menu choose "Filter Setup" -> "Turn right my video"

If you wish you can now adjust other settings regarding video or audio or settings in "Options" window. Then save your settings as a new template.
However, this step is not necessary because you'll have your avisynth profile available in all templates.

bingo
22nd January 2012, 21:06
@prorokrak
THX a lot! I've been looking for day for that function. It works great ;)

salazar
25th January 2012, 20:38
[...] StaxRip will create an AVS script which just calls "Yadif()". No field order is specified so Yadif [...] will give me a very badly deinterlaced result.


@manolito: You had this and some more questions about deinterlacing in the past few weeks. I was unhappy about the deinterlacing-results of software-deinterlacers, too. And same as you, I wondered, why my TV gives me a much better deinterlacing-result in realtime-interlacing compared to any software-non-realtime-interlacer.

I don't know much about deinterlacing, but I found out, that the following way delivers nearly perfect results for me:

Add the filter "Field >> Advanced >> Yadif" in StaxRip. Then doubleclick "Yadif" to edit the script and change "Yadif()" to "Yadif(1)".

And that's it. Now the framerate of your video will be doubled, but this doesn't mean that the file size of your video will be doubled, too. But the deinterlacing-result is great. Check it out.

Regards,
Salazar

fantasmanegro
5th February 2012, 03:19
hi!

i was trying to add hardsubs to video but staxrip shrink the vobsub/idx subtitle and i just want to know if there is a way to change subs top position and height without editing the idx file....

devil-strike
28th February 2012, 10:05
Why cant stax cut ac3 correctly whene there are bitrate changes in stream?

Example, Natgeo hd in netherlands use 5.1 audio with bitrate 384 whene there is a show running, but in the breaks they use ac3 2.0 and lower bitrate 192, the problem is that stax wont cut the ac3 correcly, only for 38 min or lower whene show is 44min, so no audio for last 6min.

Complete name : E:\video\drugs.inc.206 temp files\drugs.inc.206 PID 052 3_2ch 48KHz 384Kbps DELAY 143ms_Cutting.ac3
Format : AC-3
Format/Info : Audio Coding 3
File size : 105 MiB
Duration : 38mn 8s
Overall bit rate : 384 Kbps

Audio
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Duration : 38mn 8s
Bit rate mode : Constant
Bit rate : 384 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Stream size : 105 MiB (100%)

you see instead of 44min58sec it only takes 38min.

burfadel
28th February 2012, 10:42
That an issue with virtualdubmod, or at least an issue in combination with virtualdubmod. Since Virtualdubmod hasn't been worked on for a very long time, don't count on a fix. Instead, click on options, open audio, and select 'fmpeg' for force decoding. Then, click on tools, settings, and under demuxing, deselect demux avi, and also demux mkv (etc)...

It should now decode the file directly, and cut it correctly. Keep in mind though it uses a bit more disk space due to the decoding. Keep in mind it will require re-encoding, whether that be to AAC, MP3 etc, and it won't be 5.1. That said, if you have the option of DTS neo:6 or something similar, you don't miss the 5.1 because that info is encoded onto the stereo track when its decoded and re-encoded :) that probably didn't make sense, maybe someone else can discuss it better.

devil-strike
28th February 2012, 16:29
That an issue with virtualdubmod, or at least an issue in combination with virtualdubmod. Since Virtualdubmod hasn't been worked on for a very long time, don't count on a fix. Instead, click on options, open audio, and select 'fmpeg' for force decoding. Then, click on tools, settings, and under demuxing, deselect demux avi, and also demux mkv (etc)...

It should now decode the file directly, and cut it correctly. Keep in mind though it uses a bit more disk space due to the decoding. Keep in mind it will require re-encoding, whether that be to AAC, MP3 etc, and it won't be 5.1. That said, if you have the option of DTS neo:6 or something similar, you don't miss the 5.1 because that info is encoded onto the stereo track when its decoded and re-encoded :) that probably didn't make sense, maybe someone else can discuss it better.

I give it a try, thnx.

manolito
28th February 2012, 17:37
It looks like MP4Box can only use chapter files in the OGM format.

When I try to convert an MKV file with chapters (created by MakeMKV from a DVD source) StaxRip uses mkvextract for chapter extraction. The chapter file is in XML format.

MP4Box is used to create the final MP4 file. The command line has "-chap MyChapterfile.XML" in it. There is no error message, but the resulting MP4 file has no chapters.

Of course I can mux the chapters into the file manually, but I think StaxRip should do that automatically...;)


Cheers
manolito

fabje
29th February 2012, 01:31
I'm trying to encode something with x264 to a mp4 file, but it keeps crashing without an error.

------------------------------------------------------------
Video Encoding
------------------------------------------------------------

"D:\Staxrip\bin\Applications\x264\x264.exe" --crf 18 --preset slow --level 3.1 --threads auto --keyint 250 --min-keyint 24 --output "D:\test temp files\test_Output.h264" "D:\test temp files\test.avs"

------------------------------------------------------------
Video Encoding Statistics
------------------------------------------------------------


Start: 1:23:40
End: 1:23:40
Duration: 00:00:00


------------------------------------------------------------
Muxing using MP4Box
------------------------------------------------------------

"D:\Staxrip\bin\Applications\MP4Box\MP4Box.exe" -fps 25.000 -add "D:\test temp files\test_Output.h264#video:name=Video" -add "D:\test temp files\test_Cutting_Output.m4a:lang=dut" -new "D:\test.mp4"

Cannot find file D:\test temp files\test_Output.h264
Error importing D:\test temp files\test_Output.h264#video:name=Video: Requested URL is not valid or cannot be found


------------------------------------------------------------
Error
------------------------------------------------------------

MP4 muxing failed with exit code 1

Start: 1:23:40
End: 1:23:41
Duration: 00:00:00

fantasmanegro
29th February 2012, 01:48
remove space in directory name...

zacharias
29th February 2012, 13:41
remove space in directory name...

yeah, that should do it, mate.
kudos

fabje
29th February 2012, 14:13
yeah, that should do it, mate.
kudos
So basicly because Staxrip creates a temp dir with a space in the directory name, it won't encode it.

Anyway it is fixed :)

flebber
29th February 2012, 20:57
So basicly because Staxrip creates a temp dir with a space in the directory name, it won't encode it.

Anyway it is fixed :)

Well actually its mp4box

Chetwood
3rd March 2012, 08:09
@Chetwood

Do you have the same problems using VirtualDub manually?
Oop, totally forgot to reply. Thanks but with the current version of Staxrip I got no problems with packed bitstream anymore. Two things I wonder though: when encoding DVDs

- is demuxing really necessary
- can Staxrip automatically create a chapter.txt from the IFOs/VOBs?

flebber
3rd March 2012, 09:01
Oop, totally forgot to reply. Thanks but with the current version of Staxrip I got no problems with packed bitstream anymore. Two things I wonder though: when encoding DVDs

- is demuxing really necessary
- can Staxrip automatically create a chapter.txt from the IFOs/VOBs?

Remixing is necessary so the audio and video is processed separately. Stsxrip should create the chapters for you, has it not been doing this?

manolito
3rd March 2012, 13:55
Remixing is necessary so the audio and video is processed separately. Stsxrip should create the chapters for you, has it not been doing this?
Not for DVD sources. IIRC Stax himself recommends in the Wiki to rip the DVD to MKV first with MakeMKV. When this MKV is used as the source for StaxRip, the chapters will be extracted from the MKV.

If you want to use the VOBs as your source then you have to extract the chapters manually from the IFO (ChapterXtractor or ChapterGen) and export them to the OGG format (probably a good idea to change the .ogm extension to .txt). In StaxRip you can specify to use this chapter file under "Config Container".



Cheers
manolito

Abyssal
7th March 2012, 07:41
Anyone have any idea of how I can get 10bit x264 to work with StaxRip?

When I replace the 8bit x264 that comes with StaxRip with the latest 10bit version I get this error that it's not compatible with my version of windows bla bla bla and I have narrowed it down to the pretty obvious reason for this error to show up and that is the 10bit x264 I added.

flebber
7th March 2012, 07:50
Anyone have any idea of how I can get 10bit x264 to work with StaxRip?

When I replace the 8bit x264 that comes with StaxRip with the latest 10bit version I get this error that it's not compatible with my version of windows bla bla bla and I have narrowed it down to the pretty obvious reason for this error to show up and that is the 10bit x264 I added.

I am driving so I hope I get this right but if you use F11 option in Sfax to defin new version you should be hood

Remicade
7th March 2012, 07:53
How to encode credits with StaxRip ?

Chetwood
7th March 2012, 09:23
Remixing is necessary so the audio and video is processed separately.
Which is done by AutoGK without demuxing.

Not for DVD sources.
That's what I meant. Doing it manually with ChapterXtractor sucks (as does extra conversion to MKV) but oh well...

flebber
7th March 2012, 12:40
Which is done by AutoGK without demuxing.


That's what I meant. Doing it manually with ChapterXtractor sucks (as does extra conversion to MKV) but oh well...

What would make you think autogk doesn't demux? I have never used autogk but a quick google search of "autogk demuxing" brought a many results discussing autogk demuxing and indexing phase. Seems autogk does demux

Abyssal
7th March 2012, 17:09
I am driving so I hope I get this right but if you use F11 option in Sfax to defin new version you should be hood

Thanks, it worked! I had to press F12 as well to specify the revision as well.


I have another problem though and that is with AviSynth... I go Tools > Show File > AviSynth Script and add things to my liking and them save it. If I go back to it, all the stuff I added is still there but when I start the encode I look at the encoding window (where you can see how many frames it encoded, you can check what it did with audio etc. in other words you can follow the encode process in that window) and scroll up a bit and look at the AviSynth script it went back to what it used to be before I added stuff.

Chetwood
8th March 2012, 07:47
What would make you think autogk doesn't demux?
Because encoding with AutoGK appeared to start almost instanteniously compared to Staxrip and it did not put its temp files where one would expect. Apparently it does demux too, though. :o

manolito
8th March 2012, 21:42
I have another problem though and that is with AviSynth... I go Tools > Show File > AviSynth Script and add things to my liking and them save it.
According to Mr. Stax76 himself this is not a supported scenario. Take a look here:
http://forum.doom9.org/showthread.php?p=1541228#post1541228

You should instead work in the filter section of the main window. You can either edit an existing filter or add a new filter which contains your specific commands.


Cheers
manolito

batr22
31st March 2012, 06:16
Hi all, I have a problem to encode 10-bit to 8 bits with StaxRip. Update the latest version of x264 8-bit, allows me to encode a mkv 10-bit to 8 bits without problems, but a mp4 10-bit to 8-bit I get discolored or pixelated. I wonder if someone could encode mp4 10-bit or 8 bit is that it does not support StaxRip encode 10-bit to 8-bit mp4. I tried a thousand ways in the configuration of StaxRip no avail, if anyone wants to have to tell me how you can do to encode mp4 10-bit to 8 bits.

drkwok
2nd April 2012, 00:48
First of all, thanks Stax for making the program, it's helped out in many ways.

I have a question about hardcoded subtitles... how do I get prevent Staxrip from encoding them that way? I removed the "demux and add" subtitles from the options, and I've never used the "tools | hardcode" menu to add them, yet they keep getting hardcoded into the MKV file. During the extraction phase, I see the SRT file in the working folder, and the only way to prevent them from being added seems to be to rename the file.

Any help would be appreciated!

datauser
2nd April 2012, 10:42
Probably because the srt file is already contained in the mkv container(switching it on or off e.g using a media player) but it will be ready for hard encoding and cannot be switched off later if you are processing it for another format.

You will have to extract it either using toolnix or yamb and then place mp4 etc back into its mkv container or just extract to mp4 etc and use that as a sole source instead.

drkwok
3rd April 2012, 00:07
Thanks for the reply datauser, so there is no way i just telling Staxrip to ignore the embedded SRT or other text files?

Is there any script I could edit to remove them?

willscarlett
3rd April 2012, 07:47
just to rule it out, drkwok, it is not just nomal subs which are activated in your player and can be deactivated again while playing? because some people confuse hardcoded and standard-flagged subs.

drkwok
4th April 2012, 00:26
Will,

I have a blu-ray that I converted to MKV with another program, and I made sure the subtitles are soft coded, because then I can turn them off; so, I am working with a file that I know for sure has soft coded titles. I wanted to recompress it to save space as the new x264 codec are supposed to be much more efficient, so I thought, why not?

Staxrip, no matter what I do, will force those titles to be hardcoded into the H264 stream (I just tested it again with another file). I don't want to waste time demuxing the text stream out of the MKV before running Staxrip, and even if I delete or rename the extracted SRT file before Staxrip starts converting, it must be loaded into memory because the subtitles appear. I cannot turn them off as they do not show up in MKV Toolnix or other programs as a separate text stream.

I make MKVs to keep the disc out of the hands of the kidlets, and I want the option of turning the titles off. This has been more of a test for me, but it sure is annoying. Vidcoder works on the same file just fine, but it seems much slower (don't know why) and the output seems visually different to me.

Chetwood
4th April 2012, 06:50
When I select MKV as output container in Staxrip, I manually have to select subs and even then they are not hardcoded.

drkwok
5th April 2012, 01:21
That's odd, Chetwood.... I have explicitly told it not to select subtitles and it's always hardcoded. I'm going to uninstall all other programs that have to do with converting/encoding and see if that works.

Chetwood
5th April 2012, 08:15
Doubtful since Staxrip comes with all it's tools. So what source do you have and what container/template do you use for output?

drkwok
5th April 2012, 23:50
I modified one of the high quality presets and used an MKV container. The source is a blu-ray that was converted to an MKV already (as in, I have the blu-ray, and then converted it to MKV). I'll try the default profiles again, I most likely adjusted something somewhere,which is odd since I explicitly have the subtitles option turned off.

willscarlett
6th April 2012, 09:42
it is really strange, typically Staxrip does not hardcode anything if you don't explicitly tell it to do so (lot's of people ask questions about how to do it ^^). You have to use the tool-option hardcoded subtitle and choose the corresponding file to get a hardcoded subtitle...

maybe it is that option you deactivated (I think you mean "demux and add subtitles"). Maybe it does not work as we understand it when turned off... I would just leave it "on" as the mkv is demuxed in video and audio anyway when adding it to staxrip. You could try clearing the autoload-field below the option to have no subtitles afterwards. you could also delete the sup-files before starting the encode.
If you explicitly want no and need no subtitles you might just unselect them beforehand in makemkv while ripping.

drkwok
7th April 2012, 01:51
So, I tried the default settings and it worked fine, subtitles were muxed into their own stream. As soon as I change the default template, the subtitles are hardcoded. I've tried deactivating the "demux and add subtitles" as well as leaving it on to no effect before. I've also tried removing the SRT files before coding, but I don't want to have to do all of these steps beforehand.

I tried another test, took the short "Banana" from my kids "Despicable Me" video and converted it to an MKV with Vidcoder... no problem, other than manually asking it to put in the subtitles. I reset Staxrip to default and exited the program and then made one change: changed the quality setting in preset "x264 film" from 23 to 51 (just for speed) and encoded the file with the "add subtitles" on, the subtitles were hardcoded. I reset and exited, turned off the subtitles option and tried again; no subtitles, as expected.

I reset everything again, exited and restarted, and turned the subtitle option on to try again. This time I chose the "DivX plus" container and the only change made was to adjust the MKV container so I could just mux the audio. Result: no subtitles. I used mkvtoolinx and noticed the subtitles and "undetermined" as the language to I changed it to "English" and tried again with the same settings. Result: this time the subtitles were soft coded (interesting, the program also asked if I wanted to save the preset... it didn't do that last time). I set the language back to undetermined and tried again, but added "iv" as an auto-load language, and success! Softcoded subtitles, in either "en" or "iv" settings.

Thanks everyone for all your help so far, hope that the hardcoding has gone away for good.

drkwok
8th April 2012, 18:54
@stax,

I may have found a bug with Staxrip and Directshow that may be the cause of the posts I have above. The reason I was getting inconsistent results seems to be a result of Directshow filters, but since I am not an expert, I'll just explain and maybe someone can figure it out.

If Staxrip cannot load with the FFVideoSource filter, it then tries Directshow after 20 seconds, as far as I can tell. When I look at the (FFDshow video decoder configuration icon in my system tray and click on it, it shows the check-box next to subtitles is checked. This makes sense as I have that selected so subtitles are displayed when playing media.

Here's what I have noticed (this is for re-encoding an MKV which I already ripped from a blu-ray, your mileage may vary):

1. If the FFVideoSource filter works, subtitles are soft coded

2. If the FFVideoSource is not selected by Staxrip and Directshow is used, and FFD Video is configured to show subtitles, the resulting file has hardcoded subtitles. I tested this by removing all text streams from the resulting encode with MKVtoolnix and replaying the file, and the subtitles are definitely burned in.

3. If the FFVideoSource is not selected and Directshow is used, and FFD Video is not configured to show subtitles, the resulting file has soft coded subtitles. Subtitles do not appear onscreen until re-enabled in the FFD Video config tray icon.

This behaviour is not affected by the subtitle language setting like I thought earlier, nor is it affected by whether the track is the default or not, as far as I can tell. The behaviour is repeatable.

Any thoughts on what I may be doing wrong or if this is a truly a bug would be appreciated.

SimmianPrime
11th April 2012, 12:27
This may be a stupid question so please forgive m if it is :)

I was wondering if/what is the difference between the 2pass x264 film and the 2pass x264 animation settings?

eg. Does it matter/would it make any difference quality wise if I were to encode an animated tv show that I recorded to .mp4 using 2pass x264 film? (even though it's animated) or should I use 2pass x264 film only for RL shows and use 2pass x264 animation for animated shows?

Thanks

fantasmanegro
11th April 2012, 16:22
2pass x264 film and the 2pass x264 animation difference, the settings and it makes difference in quality and size...

SimmianPrime
12th April 2012, 00:54
2pass x264 film and the 2pass x264 animation difference, the settings and it makes difference in quality and size...

So for animated shows I should use 2pass x264 animation? and for non animated shows I should use 2pass x264 film?

Thanks

willscarlett
12th April 2012, 07:34
As far as I know the animation setting is not for everything "animated" but just for oldschool drawn cartoons like old disney movies or the simpsons. So not for digital (3d-)animation etc.

SimmianPrime
12th April 2012, 11:56
As far as I know the animation setting is not for everything "animated" but just for oldschool drawn cartoons like old disney movies or the simpsons. So not for digital (3d-)animation etc.

So which of the 2 would be better for a modern animated show? Not 3d like toy story and not hand drawn animated like old disney movies, just a modern cartoon. Or doesn't it matter?

Thanks

fantasmanegro
12th April 2012, 14:34
use animation settings...

willscarlett
13th April 2012, 08:30
or even better: make 2 samples using both settings and compare which one you like better.

fantasmanegro
19th April 2012, 15:31
does anybody knows how to encode with Variable Frame Rate to MP4 in staxrip?... script sample is welcome...

PD: i used the VFR template posted in threat but nothing...

Washka
26th April 2012, 16:12
Is anyone seen somewhere some zipped staxrip with x264 64bit, avisynth and rest of files needed for 64bit encoding support?
Or can someone upload his preconfigured staxrip on some share site?
Pack apps what are need to be installed For example: make one zip file like Staxrip64.zip than put few folders inside:
Staxrip whole staxrip with 64bit apps needed to make mkv`s
Install like for avysinth and put avisynth inside a version which work with staxrip i could not find any :(
Config if needed

I need only for x264 encoding blueray to mkv and probably few ppl also want this.
Or link where to find all stuff.
I have x264_64.exe

zacharias
26th April 2012, 16:27
Is anyone seen somewhere some zipped staxrip with x264 64bit, avisynth and rest of files needed for 64bit encoding support?
Or can someone upload his preconfigured staxrip on some share site?
Pack apps what are need to be installed For example: make one zip file like Staxrip64.zip than put few folders inside:
Staxrip whole staxrip with 64bit apps needed to make mkv`s
Install like for avysinth and put avisynth inside a version which work with staxrip i could not find any :(
Config if needed

I need only for x264 encoding blueray to mkv and probably few ppl also want this.
Or link where to find all stuff.
I have x264_64.exe

well mate, never had any trouble on win7 64 with regular packaging. avysinth just installed the one that came with the pack, if i recall. u have any problems?

Washka
26th April 2012, 17:19
well mate, never had any trouble on win7 64 with regular packaging. avysinth just installed the one that came with the pack, if i recall. u have any problems?

I don`t have problem at all with win64 i want Staxrip to use 64bit avisynth and x264 64bit for that 10% faster encoding :)

zacharias
26th April 2012, 17:35
I don`t have problem at all with win64 i want Staxrip to use 64bit avisynth and x264 64bit for that 10% faster encoding :)

well dude, download the x264-64bit from the website and simply put it on the same folder it was. see if that goes well. as for avisinth not sure if there's a specific 64bit edition. afaik, those 10% only depend on the x264.exe ;)
kudos

Washka
27th April 2012, 04:05
well dude, download the x264-64bit from the website and simply put it on the same folder it was. see if that goes well. as for avisinth not sure if there's a specific 64bit edition. afaik, those 10% only depend on the x264.exe ;)
kudos

That`s what i`m talking about. You can`t just put x264.exe 64bit and run staxrip, You need avisynth etc 64bit.


Operation failed!

x264 failed with exit code -1

avs [error]: failed to load avisynth
x264 [error]: could not open input file `F:\NewsBin\!Sample\Public Enemies sample temp files\Public Enemies sample.avs'


StaxRip.ErrorAbortException: x264 failed with exit code -1


That`s why i`m asking if someone have already all set to upload somewhere. Mediafire is fastest atm i think

Atak_Snajpera
27th April 2012, 09:26
why don't you just use ripbot ;) ?

Washka
27th April 2012, 12:10
I try to use it few times but there is what i missing badly in RipBot, here`s few... :)
1. There is no option to uncheck slow first pass, i WANT slow first pass. I know it can be added in custom command line but it will be much easy if you just sellect somewhere.
2. I`m encoding many files to MKV 1280 x xxx and there is NO Load profiles, i mean, load file and just press start and already is pre-set, resolution, bitrate, slow first pass etc. I need everytime readjust all every time i add new file and in many cased i forget something, than need to reencode file again ^^
3. I can`t choose Lanconz3 or Spline64 when resizing because i want my files to stay little bit sharper in that 1280 resolution :)
When RipBot have this i will be first who will switch to RipBot :) since it support 64Bit x264 nicely :)
edit: :)
4: When you are in Picture properties and you actually don`t want to change anything just to leave from there and presed x by accident your file is gone like PUF than i need to load file again and again wait for indexing etc = trashing my hard drive and time :) add cancel button there :)

Atak_Snajpera
27th April 2012, 12:28
1. There is no option to uncheck slow first pass, i WANT slow first pass. I know it can be added in custom command line but it will be much easy if you just sellect somewhere.
edit ripbot264.ini

2. I`m encoding many files to MKV 1280 x xxx and there is NO Load profiles, i mean, load file and just press start and already is pre-set, resolution, bitrate, slow first pass etc. I need everytime readjust all every time i add new file and in many cased i forget something, than need to reencode file again ^^
use BATCH MODE

3. I can`t choose Lanconz3 or Spline64 when resizing because i want my files to stay little bit sharper in that 1280 resolution
Ripbot264 always adds gentle sharpening after resizing (Sharpen 0.2) because For me Spline is a little bit to soft.

4: When you are in Picture properties and you actually don`t want to change anything just to leave from there and presed x by accident your file is gone like PUF than i need to load file again and again wait for indexing etc = trashing my hard drive and time add cancel button there

pressing X = canceling current job . SIMPLE. Get used to it.

Chetwood
28th April 2012, 06:52
why don't you just use ripbot ;) ?
Because Staxrip runs flawlessly on my Win 7 64 bit?

Atak_Snajpera
28th April 2012, 08:00
does it support x264 64bit and 10bit encoding and have distributed encoding mode?

Chetwood
29th April 2012, 08:55
Does Ripbot support easily adding several audio/subtitle streams and setting flags for the resulting MKV?

Atak_Snajpera
29th April 2012, 09:14
multiple subs have been supported from looong time. language flags are added automatically if source had them obviously in first place. you can also set force flag for specific sub.

multiple audio streams are not avaiable because i always prefer original audio track and i also do not care about director's comment.

Chetwood
30th April 2012, 06:26
Right, yet another reason to stay with Staxrip. Many people rip DL, keeping original and dubbed audio stream or keep lossless (DTS-MA) and lossy (AC3) in case some standalone can't handle them.

jse12
1st May 2012, 01:50
Hey guys i have a couple of questions if anyone can help me out.

1 - When creating filters how can I priortise bitrate over filezsize? like I have a few filters I created to take all manual input out of the work but it doesent keep bitrate setting and if I forget to change it before starting a job a get a worthless oversized nuke as a result :|

2 - ac3 location, when I have loaded a video file I then want to load a source ac3 file and just mux. Now of course I have this ac3 file in the same directory as my video.
eg
"X:\Directory\video.ts"
"X:\Directory\video.ac3"

however when you load the video in staxrip, it creates a temp directory as such
"X:\Directory\video temp files"

now when I click to load my ac3 audio, staxrip's default location to look for the file is
"X:\Directory\video temp files" this really annoys me heh, the program must know it
created this directory and that no user files are going to be in there. how can I make it
by default look for the ac3 file in the same directory as the video file?

thanks in advance
for any help.

zacharias
1st May 2012, 12:44
Hey guys i have a couple of questions if anyone can help me out.

1 - When creating filters how can I priortise bitrate over filezsize? like I have a few filters I created to take all manual input out of the work but it doesent keep bitrate setting and if I forget to change it before starting a job a get a worthless oversized nuke as a result :|

2 - ac3 location, when I have loaded a video file I then want to load a source ac3 file and just mux. Now of course I have this ac3 file in the same directory as my video.
eg
"X:\Directory\video.ts"
"X:\Directory\video.ac3"

however when you load the video in staxrip, it creates a temp directory as such
"X:\Directory\video temp files"

now when I click to load my ac3 audio, staxrip's default location to look for the file is
"X:\Directory\video temp files" this really annoys me heh, the program must know it
created this directory and that no user files are going to be in there. how can I make it
by default look for the ac3 file in the same directory as the video file?

thanks in advance
for any help.
im on linux right now, but i believe you can edit that. on a side note:
stax does dat and does i well. when backing up a dvd alot of files are created.try to encode and see whatam talking about.
for instance: u have a dvd on ur hdd.and u want to back it up before burn it in to a dvd. so stax by creating dat folder allows u to maintain the original dvd structure, without harming it. once u backup the dvd, simply delete the temp folder and then burn the original dvd.
its also more practical to have the working files on a seperate folder instead of beiing around with the raw files, imo.

darkw1zard
4th May 2012, 18:56
Hi all,

I just start using staxrip. I've encountered problem with MPEG Audio (.mp3).
When I try to encode to aac, the output has no sound at all.
Would you pls take a look at this log file?


Metadata:
TDRL : 07.02.03
TIT2 : Xenos ‘æ04˜b uŠÄ‹Ö‚³‚ꂽȂ̗Üc•–‹‚Ì—‚Ì”÷ÎIv
TSSE : Lavf53.21.0
Stream #0:0: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, 192 kb/s
Stream mapping:
Stream #0:1 -> #0:0 (copy)
Press [q] to stop, [?] for help
size= 1892kB time=00:01:20.69 bitrate= 192.1kbits/s
size= 2839kB time=00:02:01.10 bitrate= 192.0kbits/s
size= 3960kB time=00:02:48.91 bitrate= 192.0kbits/s
size= 5256kB time=00:03:44.24 bitrate= 192.0kbits/s
size= 6609kB time=00:04:41.96 bitrate= 192.0kbits/s
size= 8637kB time=00:06:08.51 bitrate= 192.0kbits/s
size= 10548kB time=00:07:30.04 bitrate= 192.0kbits/s
size= 13571kB time=00:09:39.02 bitrate= 192.0kbits/s
size= 14762kB time=00:10:29.85 bitrate= 192.0kbits/s
size= 15066kB time=00:10:42.79 bitrate= 192.0kbits/s
size= 15618kB time=00:11:06.38 bitrate= 192.0kbits/s
size= 16911kB time=00:12:01.54 bitrate= 192.0kbits/s
size= 19651kB time=00:13:58.45 bitrate= 192.0kbits/s
size= 20192kB time=00:14:21.51 bitrate= 192.0kbits/s
size= 21558kB time=00:15:19.83 bitrate= 192.0kbits/s
size= 23660kB time=00:16:49.50 bitrate= 192.0kbits/s
size= 25741kB time=00:18:18.28 bitrate= 192.0kbits/s
size= 27128kB time=00:19:17.47 bitrate= 192.0kbits/s
size= 27774kB time=00:19:45.04 bitrate= 192.0kbits/s
size= 28897kB time=00:20:32.97 bitrate= 192.0kbits/s
size= 30449kB time=00:21:39.19 bitrate= 192.0kbits/s
size= 32205kB time=00:22:54.12 bitrate= 192.0kbits/s
size= 34424kB time=00:24:28.78 bitrate= 192.0kbits/s
size= 36438kB time=00:25:54.73 bitrate= 192.0kbits/s
size= 38921kB time=00:27:40.67 bitrate= 192.0kbits/s
size= 40071kB time=00:28:29.75 bitrate= 192.0kbits/s
size= 40542kB time=00:28:49.84 bitrate= 192.0kbits/s
video:0kB audio:40542kB global headers:0kB muxing overhead 0.001667%


Start: 8:22:59 PM
End: 8:23:13 PM
Duration: 00:00:14


------------------------------------------------------------
DirectShow filters used to render the source
------------------------------------------------------------

DirectSound Audio Renderer
Video Mixing Renderer
DMO Wrapper Filter
ffdshow Video Decoder
LAV Splitter Source

------------------------------------------------------------
Audio encoding using BeSweet
------------------------------------------------------------

"A:\StaxRip\Applications\BeSweet\BeSweet.exe" -core( -input "I:\Xenos (2007)\Xenos04 temp files\Xenos04.mp3" -output "I:\Xenos (2007)\Xenos04 temp files\Xenos04.m4a" ) -ota( -norm 0.97 ) -bsn( -vbr 0.4 )

*************************************************************
* *
* Nero AAC Encoder *
* Copyright 2009 Nero AG *
* All Rights Reserved Worldwide *
* *
* Package build date: Feb 18 2010 *
* Package version: 1.5.4.0 *
* *
* See -help for a complete list of available parameters. *
* *
*************************************************************
[00:00:00:000] Initializing...
[00:00:00:000] -- Initializing...

[00:28:49:800] |

[00:28:49:800] Finalizing...
[00:28:49:800] Conversion Completed !
Visit DSPguru's Homepage at :
http://DSPguru.doom9.net/


Start: 8:24:37 PM
End: 8:24:39 PM
Duration: 00:00:01


So the source is mp3 encoded with LAME. I encoded to aac using besweet. Should I change the encoder? (There are eac3to & ffmpeg as other options)
I tried downloading the latest LAME directshow filter (lame.ax), but when I tried to install into windows sys32, it failed to load.


Any input will be very appreciated. Thanks!

darkw1zard
9th May 2012, 18:57
Hi, anybody can help with job queueing in staxrip. I really lost right now.
I have multi videos with different playtime & I want to do batch encoding which target certain bitrate.
I noticed in template you can target only to size.
Anyway to do it with bitrate? Thx.

willscarlett
10th May 2012, 07:32
Hi, anybody can help with job queueing in staxrip. I really lost right now.
I have multi videos with different playtime & I want to do batch encoding which target certain bitrate.
I noticed in template you can target only to size.
Anyway to do it with bitrate? Thx.

you can create your own templates. just set staxrip to the desired options (without opening a file!) and create a new template afterwards.

but...
Opening multiple files at the beginning and doing a "real" batch did never work for me in staxrip (only tried mkv). i set the program for every single job and create a job cue instead and let it run over night. it is a bit more work but it works.

it is also possible to already run the first job and edit the others while the first one is already running. The trick is to cue a job and run it, then open staxrip a second time and create a new job. if that job is cued, it will be applied to the same job list as the first one. Afterwards multiple jobs can be made in the second staxrip-window. saves some time, but of course everything is going sloooow ^^ (maybe it then doesn't save time at all? ^^)

darkw1zard
17th May 2012, 18:17
but...
Opening multiple files at the beginning and doing a "real" batch did never work for me in staxrip (only tried mkv).
Yes me too.


i set the program for every single job and create a job cue instead and let it run over night. it is a bit more work but it works.
I did this. Works.

But the last few encodes yielded a slightly error where video comes quicker than it should be (than the sound & subtitle).

I tried with MeGUI, it doesnt produce this kind of error. (unfortunately MeGUI has another issue with me..)

For those who cares, my words description might not be undestood by all, so here i uploaded samples & where it goes wrong.
http://www24.zippyshare.com/v/75397380/file.html
http://www19.zippyshare.com/v/6143964/file.html

kotuwa
26th May 2012, 16:54
Different ReSize Filters gave Same Results!

I converted a sample video yo see how different re-size filters give the output.
I down-scaled a 1280x720 x264 video into 720x400 XviD.

5 times using 4/5 different re-size filters.

Neutral ------------ BicubicResize(720,400,0,0.5)
VerySHarp ---------- Lanczos4Resize(720,400)
Spline64Resize ----- Spline64Resize(720,400)
GaussResize -------- GaussResize(720,400,99)
GaussResize -------- GaussResize(720,400,p=99)

(yeah was not sure about GaussResize so i did both ways above. tell me the correct way!)

But all 5 output files look same!
Is it normal?
Or did i use it wrong?
(im a noob)
[Don't know about other filters but why neutral and very sharp look same?]

.

datauser
29th May 2012, 10:28
I usually encode audio using default settings in Staxrip which is the Dolby Surround default ,but tried the Dolby 2 setting instead and encoded a track to 112kb/s from 5.1 surround. The end audio was good as expected. Is this Dolby 2 surround downmix setting Dolby Prologic II replication?

I guess that because of the low bitrate I used the default was used in anycase and that it would be just a straight stereo mix anyway rather than D.P II which needs a much greater bitrate eg 256 to 320kb/s? Thankyou for any advice.

ceet12
3rd June 2012, 06:30
hello, again absolutly love this program

thanks stax

ive run in to 2 problems

i opened staxrip, clicked source, chose bluray folder, then chose the largest playlist

i then gave it a name, and chose a save directory

after that i was prompted with a greyed out box, "bluray m2ts demuxing using eac3to"

on one ocasion i was able to close it and chose all the various demux options, and once done clicked ok, but the process was instanlty met with a log i think it was regarding the eac3to? since trying again i could no longer go any futher into the prorogram and am stuck with the greyed out box as descrived above?

any help would greatly be appreciated, im sorry if this is so obvious ive just switched over from handbrake, and trying to grasp how to use it!

Edit: here is what the dialogue box says

------------------------------------------------------------
Demux M2TS using eac3to
------------------------------------------------------------

"C:\Program Files (x86)\Bluray Tools\StaxRip_1.1.7.2\Applications\eac3to\eac3to.exe" "F:\BDMV\PLAYLIST\" 1) 2: "J:\Staxrip\Inception\Untitled.mkv" 3: "J:\Staxrip\Inception\Untitled - ID3 - en-English_Master Audio.dtshd" 1: "J:\Staxrip\Inception\Untitled_Chapters.txt" 8: "J:\Staxrip\Inception\Untitled - ID8 - en-English.sup" -progressnumbers -log="J:\Staxrip\Inception\Untitled_eac3to.log"

i have checked that location unfortunately there is no log


Regards

jult
3rd June 2012, 14:14
ive just switched over from handbrake, and trying to grasp how to use it!
Why? I switched back to HDConverttox and handbrake, precisely because of shitty UIs like this. ;-)

Guest
3rd June 2012, 14:19
@jult

Watch the insults or bad things can happen. Thank you.

Chetwood
4th June 2012, 05:50
Especially funny that anyone would think the Handbrake GUI to be superior. Must be the pineapple...

datauser
4th June 2012, 09:12
Why? I switched back to HDConverttox and handbrake, precisely because of shitty UIs like this. ;-)


How anyone can think this is beyond me????:eek:

Atak_Snajpera
4th June 2012, 11:46
Especially when HDConverttox is dead as dodo ;)

ceet12
8th June 2012, 12:20
@jult, ive never heard of HDConverttox im assuming its an alternative to handbrake? but will look into that, thanks but i would like to try this program first, id like to try something different to handbrake, also im not sure if this does, but id like lossless audio with the converted mkv,(not sure whether this does it) as handbrakes passthru as far as i no isnt the highest quality, although it is in handbrake (i could be wrong)

going back to my original post

can anyone help me regarding the post 4 above?

Thanks

fabje
18th June 2012, 19:20
I have an AC3 file here of 2.4GB and I want to cut this, but form some reason after cutting I get a 0kb file.

VirtualDub.Open("D:\\test PID 044 3_2ch 48KHz 384Kbps DELAY -106ms_Cutting.avs","",0);
VirtualDub.stream[0].SetSource("D:\\test PID 044 3_2ch 48KHz 384Kbps DELAY -106ms.ac3",0x00000203,0);
VirtualDub.stream[0].SetMode(0);
VirtualDub.subset.Clear();
VirtualDub.subset.AddRange(64, 41087);
VirtualDub.subset.AddRange(42421, 32771);
VirtualDub.subset.AddRange(76462, 35188);
VirtualDub.subset.AddRange(112923, 424647);
VirtualDub.subset.AddRange(541112, 27838);
VirtualDub.subset.AddRange(571609, 52330);
VirtualDub.subset.AddRange(625470, 47073);
VirtualDub.subset.AddRange(673949, 38874);
VirtualDub.subset.AddRange(715280, 40842);
VirtualDub.subset.AddRange(758831, 37482);
VirtualDub.subset.AddRange(797760, 52908);
VirtualDub.subset.AddRange(854397, 34543);
VirtualDub.subset.AddRange(891142, 38642);
VirtualDub.subset.AddRange(932868, 44378);
VirtualDub.subset.AddRange(979451, 45084);
VirtualDub.subset.AddRange(1026364, 28553);
VirtualDub.subset.AddRange(1058132, 19600);
VirtualDub.subset.AddRange(1079642, 10207);
VirtualDub.subset.AddRange(1092177, 42890);
VirtualDub.subset.AddRange(1137278, 20710);
VirtualDub.subset.AddRange(1159385, 44538);
VirtualDub.subset.AddRange(1206252, 21442);
VirtualDub.subset.AddRange(1231664, 22650);
VirtualDub.subset.AddRange(1256092, 20349);
VirtualDub.subset.AddRange(1278770, 32887);
VirtualDub.subset.AddRange(1317640, 28612);
VirtualDub.stream[0].Demux("D:\\test PID 044 3_2ch 48KHz 384Kbps DELAY -106ms_Cutting.ac3");

Start: 19:07:48
End: 19:12:33
Duration: 00:04:44
General
Complete name : D:\test PID 044 3_2ch 48KHz 384Kbps DELAY -106ms_Cutting.ac3
File size : 0.00 Byte

Anyone here has an idea how to solve this?

broxburn
18th June 2012, 20:18
I have a recent problem with audio in StaxRip.
The audio sounds clipped or hickuppy.
First I tried different versions of StaxRip, then running in Safe Mode.

I got back to where (I assume) the audio is being demuxed with DGIndex - the problem showed up in the demuxed ac3 file.
I then ran DGIndex directly from it's folder in StaxRip and it sounds OK.
Seems to it's when it's being demuxed from the front end.
You can hear it as the woman starts to speak.


http://www.mediafire.com/?gbdm8l93bho4owp

log
http://www.mediafire.com/?l4e356m886add3e


Resolved:'Tools > Settings > Demux', unchecked ProjectX

CHINASKI
26th June 2012, 03:18
How can I change the subtitle position for a srt subtitle?? Thanks.

Chetwood
26th June 2012, 06:39
You can't, this format does not provide this feature.

Homicidalsage
27th June 2012, 05:32
I'm having a problem every time I cut a video with soft subtitles form the Preview window if I cut the beginning off of a video the subs end up out of sync because they don't cut with the video.

Such as if I cut the video from 5 minutes in the video and sound start at the right time but the subtitles will start from the original start point 5 minutes from the portion I've cut so they'll be 5 minutes out of sync.

Is there settings somewhere that I'm not setting right or is stax not able to cut subs for some reason?

Edit:
The video I'm editing is a DVD ripped to VOB and IFO files, If any more info is needed please let me know

dejong12
1st July 2012, 23:00
I'm having a problem every time I cut a video with soft subtitles form the Preview window if I cut the beginning off of a video the subs end up out of sync because they don't cut with the video.

Such as if I cut the video from 5 minutes in the video and sound start at the right time but the subtitles will start from the original start point 5 minutes from the portion I've cut so they'll be 5 minutes out of sync.

Is there settings somewhere that I'm not setting right or is stax not able to cut subs for some reason?

Edit:
The video I'm editing is a DVD ripped to VOB and IFO files, If any more info is needed please let me know

You should try hardsubbing them into the video. That way the subs will be placed at the right time.

datauser
13th July 2012, 20:20
I was trying to reconvert an avc video with 5.1 surround to Xvid & 160vbr mp3 when using this latest Staxrip build 1.1.7.2. I'm using XP with all the latest service packs and security updates as well as all the NetFramework files up until version 4 installed. This never happened with the last Staxrip build which I am now moving back to. I keep getting this annoying warning from new build Staxrip:

The application has failed to start because libsndfile-1.dll was not found. Reinstalling application may fix this problem.

I eventually realized that placing it in the Vdubmod folder in applications might work and it did only to fail on the 2nd Xvid pass when the stats file was not found.

------------------------------------------------------------
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: 1006
bquant_offset: 100
bquant_ratio: 150
Brightness: 0
chromame: 1
closed_gov: 1
container_type: 1
cpu_flags: 463
curve_compression_high: 0
curve_compression_low: 0
Deblock_UV: 1
Deblock_Y: 1
debug: 0
Decoder_Aspect_Ratio: 0
Dering_UV: 0
Dering_Y: 0
desired_quant: 200
desired_size: 315022
discard1pass: 1
display_status: 0
divx5_user_data: 1
FilmEffect: 1
FlipVideo: 0
ForceColorspace: 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: 2
max_bframes: 2
max_bitrate: 0
max_bquant: 31
max_iquant: 31
max_key_interval: 300
max_pquant: 31
max_vbv_size: 0
min_bquant: 1
min_iquant: 1
min_pquant: 1
minutes: 30
mode: 2
motion_search: 6
num_slices: 1
num_threads: 2
num_zones: 1
overflow_control_strength: 5
packed: 1
par_x: 1
par_y: 1
profile: (unrestricted)
qpel: 0
quality: (User defined)
quant_type: 0
rc_averaging_period: 100
rc_buffer: 100
rc_reaction_delay_factor: 16
seconds: 0
stats: D:\File.S02E03 temp files\File.S02E03.pass
subtitle_size: 0
Supported_4CC: 7
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
use4mv: 1
vbv_peakrate: 0
vhq_bframe: 1
vhq_metric: 0
vhq_mode: 1
Videoinfo_Compat: 0
vop_debug: 0
zone0_bvop_threshold: 0
zone0_cartoon_mode: 0
zone0_chroma_opt: 1
zone0_frame: 0
zone0_greyscale: 0
zone0_mode: 0
zone0_quant: 500
zone0_type: 1
zone0_weight: 100

------------------------------------------------------------
Single, Second or NTh Pass Encoding
------------------------------------------------------------

VirtualDub.Open("D:\\File.S02E03 temp files\\File.S02E03.avs","",0);
VirtualDub.RemoveInputStreams();
VirtualDub.video.SetMode(1);
VirtualDub.video.SetCompression(0x64697678,0,10000,0);
VirtualDub.stream[0].SetSource("D:\\File.S02E03 temp files\\File.S02E03 - iv-Undetermined_Output.mp3",0x00000202,1);
VirtualDub.stream[0].SetMode(0);
VirtualDub.SaveAVI("D:\\File.S02E03.avi");

------------------------------------------------------------
Single, Second or NTh Pass Encoding Statistics
------------------------------------------------------------


Start: 20:07:08
End: 20:07:47
Duration: 00:00:39


------------------------------------------------------------
Error
------------------------------------------------------------

Output file not found

------------------------------------------------------------
Job Complete
------------------------------------------------------------


Start: 18:38:42
End: 20:07:53
Duration: 01:29:10

6ari8
17th July 2012, 07:02
Hey all.
Excuse my ignorance. I'm trying to create a custom macro for the demuxed subtitle file in order to add the following filter to hardcode subs:

[Subtitle]
Hardcode Subs = TextSub("%subtitle_file%")

I know I can hardcode the subtitle file by tools>hardcoded subtitle. But that is only good for hardcoding one file. I want to batch hardcode many mkv files with embedded .ass subs so I can retain the styling when I watch them from my iPad. Only by creating the custom macro correctly would allow me to do this. Basically, I want the value of the custom macro %subtitle_file% to point to the working directory's demuxed subtitle file just like the defualt macro %audio_file1% does for the audio. Thank you.

stax76
19th August 2012, 17:01
Few things I've done so far are in SVN now.

manolito
19th August 2012, 19:10
Hey stax,

this is good news, indeed...
Good to see you back :)


Cheers
manolito

burfadel
19th August 2012, 20:12
Totally agree! :)

Chetwood
20th August 2012, 06:38
Agreed. I'm having trouble with SelectEven getting from 50 FPS to 25. The file gets twice as big and the sound is messed up.

burfadel
20th August 2012, 07:25
Agreed. I'm having trouble with SelectEven getting from 50 FPS to 25. The file gets twice as big and the sound is messed up.

SelectEven is a field selector, not a frame selector. By its function you should still be at 50fps even after its use.

datauser
20th August 2012, 12:46
Great news! Welcome back Stax76!

Chetwood
21st August 2012, 06:01
SelectEven is a field selector, not a frame selector. By its function you should still be at 50fps even after its use.
Really? When I enter

video=selecteven(video)

in RipBot I'm getting 25 FPS. How do this in Staxrip? Assume 25 FPS does not work.

Atak_Snajpera
21st August 2012, 09:11
assumefps does not work because this function only changes speed of the movie. selecteven discards every other frame. the same effect gives changefps(25) function.

burfadel
21st August 2012, 14:37
Really? When I enter

video=selecteven(video)

in RipBot I'm getting 25 FPS. How do this in Staxrip? Assume 25 FPS does not work.

Sorry I was thinking of something else! selecteven() does selected every second frame.

Famille_CB
21st August 2012, 19:42
Hello Stax76!!!:p

I'm really happy to see that Stax76 is back.:p
I try lot of tools and for me none are as good as StaxRip.:p

See you...:p

Chetwood
22nd August 2012, 07:27
Sorry I was thinking of something else! selecteven() does selected every second frame.
It does work on the video but the sound is slowed down when encoding to AAC. Encoding to mp3 has sound and video in sync.

the same effect gives changefps(25) function.
I don't know where to enter this in Staxrip?

zarei
30th August 2012, 11:01
Hello, i need some help in Config Container: how to remove "--default-duration" from MKV Container command line?

zarei
2nd September 2012, 08:42
Hello, i need some help in Config Container: how to remove "--default-duration" from MKV Container command line?

no one? i want to add "--default-duration 0:%source_framerate_mediainfo%" but staxrip add this one "--default-duration 0:%source_framerate%" and i can't change it, please help me

datauser
10th September 2012, 15:31
The application has failed to start because libsndfile-1.dll was not found. Reinstalling application may fix this problem.:(:angry:

After formatting XP and reinstalling still getting that bloody annoying message above and a Staxrip crash. Like a said putting that dll in Vdubmod folder does not solve the issue and registering it was impossible. an installer package proved to be useless. Mystifying bug!:confused:

That said all these problems apparently started after installing NET Framework 4?:mad:

VoNbArRoN
10th September 2012, 17:20
from the ReadFirst! txt file

On Systems prior Win 7 .NET 3.5 must be installed:

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=8cea6cd1-15bc-4664-b27d-8ceba808b28b

might help.

datauser
11th September 2012, 11:54
I have all framework versions prior NET4 installed and I could be wrong about this being the cause. Funny thing is I installed AutoGK, because it has Vdubmod as part of its package and this problem never occurrs. It is probably an XP system specific issue and one which has been bugging me for ages!

manolito
11th September 2012, 15:06
It is probably an XP system specific issue and one which has been bugging me for ages!
I doubt it...:devil:

I have been using StaxRip forever on my Win XP Pro installation without ever getting this error. And neither StaxRip nor VdubMod need this file libsndfile-1.dll.

I just searched my whole drive for this file, and I only have one single instance in my LameXP folder. And it does not come frome LameXP itself, it comes from the Fraunhofer AAC encoder which had been extracted from WinAmp.

I really can't see why Staxrip would complain when this file is missing. StaxRip does not use the FHG encoder, it uses Nero. Strange...:confused:


Cheers
manolito

Kurtnoise
11th September 2012, 15:25
Probably, it comes from soundout avisynth plugin...

Copy "SoundOut.dll" and "libsndfile-1.dll" to your AviSynth plugin directory, usually "c:\program files\avisynth 2.5\plugins". If you want to have "SoundOut.dll" in another location, you should move "libsndfile-1.dll" to your system32 folder, usually "c:\windows\system32".

http://avisynth.org/mediawiki/SoundOut

datauser
11th September 2012, 22:00
I once tried copying that miserable little:devil:dll to the system 32 folder and it failed miserably as all my other tryouts, but I'll certainly give it a bash and copy directly to avisynth plugin folder. Why didn't I think of that one? I copied to VdubMod instead!:o

Hopefully it will work. I've more or less had the same set up and am very careful of what goes in my system) so it is very perplexing to know how this bloody error started up in the first place.
Thankyou for your very helpful advice.:)

I think I know why it started: I installed Avisynth 2.5.8 rev2 along with new Staxrip version. Previously when things worked fine, I was using an older 2.5.8 version where this dll.file may have been included(or if not it this version of Avisynth was certainly more compatible with Staxrip's processes?) in the installer and it worked with the older version of staxrip. Your advice worked. Cheers Kurtnoise I owe you one! Thanks guys!

stax76
9th October 2012, 01:07
@zarei

Do you try to achieve something special? The value StaxRip passes to --default-duration is the frame rate returned by the avisynth script, the script can be modified using the changefps() function.

Chetwood
9th October 2012, 06:34
Stax76, nice to see you're back. I'm having trouble encoding an AVI with mono PCM sound to AAC. When I edit the selected AAC profile to Channels 1 (Mono) the resulting file has doubled in lenght and plays back twice as fast. When I set it back to Stereo, the same file encodes just fine. Any suggestions? Thx!

stax76
10th October 2012, 12:30
When I set it back to Stereo, the same file encodes just fine. Any suggestions?

Leave at stereo :-)

stax76
10th October 2012, 12:56
I've uploaded I built labeled as release candidate, later this week I'll upload it as final to sourceforge.

1.1.7.3 beta (2012-10-10)


Updated mkvtoolnix to version 5.8.0
Updated x264 to version r2216
Updated ffms2 to version 2.16
Updated MediaInfo to version 0.7.51.0
Added Drag & Drop support in text boxes that edit code and command lines
Added option for DGDecodeNV cropping (Ask | Enabled | Disabled)
Added the flat Windows 8 menu style
Added various iPhone and iPad generations to the x264 device option
Fixed various cosmetic problems


slow mirror: http://www.filedropper.com/staxrip1173releasecandidate

very slow mirror: http://www.stax76.bplaced.net/files/applications/StaxRip/StaxRip_1.1.7.3_release_candidate.7z (http://www.filedropper.com/staxrip1173releasecandidate)

fantasmanegro
10th October 2012, 23:18
SWEET!!!... thx for the update Stax!

flebber
11th October 2012, 02:35
@stax76 could there be an autodetect mode for audio channels? So that the audio is encoded via the codec with the original channels.

Chetwood
11th October 2012, 06:58
Leave at stereo :-)
Funny. But seriously, why would I waste space encoding to stereo when the source is mono?

willscarlett
11th October 2012, 07:57
Funny. But seriously, why would I waste space encoding to stereo when the source is mono?

Actually you will not waste too much space, as audio codecs nowadays use technologies such as "joint stereo" to save space on mono or quasi-mono sources.

stax76
11th October 2012, 17:07
@Chetwood

I think BeSweet can't handle mono, I've changed it to use another encoder in such case, eac3to for aac output and ffmpeg for mp3, output will remain mono. Meanwhile you can use the encoder option in the settings to force eac3to usage.

could there be an autodetect mode for audio channels? So that the audio is encoded via the codec with the original channels.

If you have 6 channels in your profile/settings and your source has only 2 it should not cause problems and produce output with 2 channels.

Chetwood
12th October 2012, 07:31
Done, and it works, thanks. However, no matter which encoder is selected, I cannot enter 56 kbit cause bitrate is greyed out?

stax76
12th October 2012, 13:02
It's greyed out because only VBR is supported using the eac3to encoder, I don't remember but guess this is a eac3to limitation, you would have to check the eac3to documentation. Using the BeSweet and ffmpeg encoder there is a ABR mode in the right treeview options.

ney2x
12th October 2012, 15:19
Many thanks for the new update. Keep it coming! :)

stax76
14th October 2012, 17:28
The release candidate binaries and source code is now as 1.1.8 final at SourceForge. I'm not making great progress I know, maybe when I build a new system but probably it won't happen until MS comes up with something less annoying then Metro or ModernUI or what's it called now.

ney2x
14th October 2012, 17:47
Is there a release note or changes the latest version 1.1.8 Final brings to the table? Or is it the same as 1.1.7.3 Beta? Thanks.

Edit: I just tried to convert a matroska video using 1.1.8 Final, there was an error regarding Haali blah, blah, blah [my signature below are the only codecs / filters installed on my system]... I think I'm gonna pass with this version cause I don't want to mess up my system again by installing Haali Splitter. Thanks

stax76
14th October 2012, 18:13
Changes are too minor to mention in the changelog. I'll examine the Haali Splitter requirement, in the past there wasn't a alternative.

stax76
14th October 2012, 18:40
I've uninstalled Haali and enabled LAV instead, StaxRip didn't complain while opening or encoding, I tested a MKV file with DVD content and the default template in StaxRip.

manolito
15th October 2012, 02:52
Thanks very much Stax for the new version...:)
Just did a couple of test conversions, everything works fine.

Thanks again,

Cheers
manolito

idezan
15th October 2012, 20:33
I have tried a number of encoders and so far my two favourite to encode XviD are AutoGK and StaxRip. StaxRip is really good, but I would like it to be more user-friendly to rip directly from DVDs, for instance, allowing the user to choose audio streams and subtitles just like AutoGK does. I have also found it quite hard to join files with StaxRip. For joining files AnyVideoConverter Ultimate seems the best to me. So, if StaxRip could be more friendly to automatically identify audio streams and subtitles and also to join video files, it would be great, and the author could even make it payable I think (BTW, I have already made my donation :) ).

fantasmanegro
15th October 2012, 23:28
I have tried a number of encoders and so far my two favourite to encode XviD are AutoGK and StaxRip. StaxRip is really good, but I would like it to be more user-friendly to rip directly from DVDs, for instance, allowing the user to choose audio streams and subtitles just like AutoGK does. I have also found it quite hard to join files with StaxRip. For joining files AnyVideoConverter Ultimate seems the best to me. So, if StaxRip could be more friendly to automatically identify audio streams and subtitles and also to join video files, it would be great, and the author could even make it payable I think (BTW, I have already made my donation :) ).

i guess you need to read the guide again :o...

staxrip is friendly enough IMO...

(BTW, I have not already made my donation:D )

idezan
16th October 2012, 00:57
That's what I am talking about: I didn't read any guide to use AutoGK. :)

So, OK, I'll try to read it, because I have not done so far.

willscarlett
17th October 2012, 08:25
AutoGK is very easy indeed, but also very outdated. So is xvid in my opinion. For x264 encodes, staxrip is just perfect in my opinion. There might be some tools that look and feel easier (like handbrake), but those do not let you control every parameter as staxrip does. Once in a while one will encounter a dvd that is not properly mastered and then the ability to make changes to all parts of the staxrip presets is just great. Most of the times the presets work just fine or you just invest some time in creating your own preset once.
Staxrip will probably never have the ability to rip dvd's , as this has to do with providing tools to circumvent copy protection, which is highly illegal in germany (where i suppose staxrip is developed ?). Also offering a ripping program is very time consuming for the programmer as those publishers invent something new everyday to bother their customers. Just look at makeMKV, which has a new update every few weeks concerning new "badly mastered discs"...
By the way: just use that for ripping your dvd's, as staxrip just LOVES mkv to work with ;-)

fantasmanegro
17th October 2012, 16:03
tokin bout somthing easy as AutoGK is VidCoder/EasyBreak (using handbrake "engine") or ASXGui (outdate)... easier no more...

Chetwood
18th October 2012, 05:39
There might be some tools that look and feel easier (like handbrake)
I don't know any, not even Handbrake. Stax has managed to design a very simple interface yet leaving power users enough switches to tweak their encodes if necessary. The only thing (I'm?) missing is the option to encode more than two audio streams (which I use rarely).

manolito
18th October 2012, 05:45
The only thing (I'm?) missing is the option to encode more than two audio streams (which I use rarely).
Still 100% better than Ripbot264 which only supports 1 audio stream...:D


Cheers
manolito

dejong12
18th October 2012, 14:47
I also love the feature where you can select which part of the video you want to encode. AFAIK I don't know any other who have this feature.

Chetwood
19th October 2012, 07:19
Still 100% better than Ripbot264 which only supports 1 audio stream...
Absolutely.

alter4
29th October 2012, 20:24
I see staxrip 1.1.8.0 released. Is it the same as 1.1.7.3beta?

totya
31st October 2012, 10:04
I see staxrip 1.1.8.0 released. Is it the same as 1.1.7.3beta?

Hi!

I think not, see changelog.

totya
31st October 2012, 10:10
Hi!

Thanks for the final 1.1.8 version. But simple function need for me, "clear" button from the Jobs window. I think this is simple function...

This is not big problem with this excellent application, because -Perform/ClearJobs parameter is working, but app restart is required if I want use this parameter.

idezan
4th November 2012, 23:22
StaxRip is crashing now every time I try to encode something. I have no idea of what's going on:

------------------------------------------------------------
Error opening source
------------------------------------------------------------

Exception has been thrown by the target of an invocation.

AVISource(%source_files_comma%, audio=false)
Crop(0,0, -Width % 8,-Height % 8)
ConvertToYV12()


Any idea of how to fix this? I have tried reinstalling K-lite and resetting all configurations and also reinstalling AviSynth but nothing has changed.

Crash report:

StaxRip has crashed!

Exception has been thrown by the target of an invocation.

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: Native handle is 0.
Parameter name: handle
at System.Drawing.Image.SetNativeImage(IntPtr handle)
at System.Drawing.Bitmap.FromGDIplus(IntPtr handle)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at StaxRip.AVIFile.GetBMPFromDib(IntPtr pDIB) in D:\Projekte\StaxMedia\trunk\StaxRip\General\AVIFile.vb:line 374
at StaxRip.AVIFile.GetBitmap() in D:\Projekte\StaxMedia\trunk\StaxRip\General\AVIFile.vb:line 366
at StaxRip.AviSynthDocument.Synchronize() in D:\Projekte\StaxMedia\trunk\StaxRip\General\AviSynth.vb:line 139
at StaxRip.MainForm.OpenVideoSourceFiles(List`1 files, Boolean autoMode) in D:\Projekte\StaxMedia\trunk\StaxRip\Forms\MainForm.vb:line 1835

3Three3
5th November 2012, 02:12
StaxRip is crashing now every time I try to encode something. I have no idea of what's going on:

------------------------------------------------------------
Error opening source
------------------------------------------------------------

Exception has been thrown by the target of an invocation.

AVISource(%source_files_comma%, audio=false)
Crop(0,0, -Width % 8,-Height % 8)
ConvertToYV12()


Any idea of how to fix this? I have tried reinstalling K-lite and resetting all configurations and also reinstalling AviSynth but nothing has changed.

Crash report:

StaxRip has crashed!

Exception has been thrown by the target of an invocation.

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: Native handle is 0.
Parameter name: handle
at System.Drawing.Image.SetNativeImage(IntPtr handle)
at System.Drawing.Bitmap.FromGDIplus(IntPtr handle)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at StaxRip.AVIFile.GetBMPFromDib(IntPtr pDIB) in D:\Projekte\StaxMedia\trunk\StaxRip\General\AVIFile.vb:line 374
at StaxRip.AVIFile.GetBitmap() in D:\Projekte\StaxMedia\trunk\StaxRip\General\AVIFile.vb:line 366
at StaxRip.AviSynthDocument.Synchronize() in D:\Projekte\StaxMedia\trunk\StaxRip\General\AviSynth.vb:line 139
at StaxRip.MainForm.OpenVideoSourceFiles(List`1 files, Boolean autoMode) in D:\Projekte\StaxMedia\trunk\StaxRip\Forms\MainForm.vb:line 1835

Hi there Idezan. I was also having the same/similar issues and after some days of frustration, trying this that and the other I randomly fixed the issue by installing the Helix YV Codecs from here (http://forum.doom9.org/showthread.php?s=&threadid=56972). . .Not sure why this fixed the problem exactly since I have never installed it previously and Stax had always worked fine before.

Anyway. All fixed so I can quit epic failing with MeGui etc. Hope this will also fix it for you. Let me know. Cheers! :)

idezan
6th November 2012, 12:42
Hi there Idezan. I was also having the same/similar issues and after some days of frustration, trying this that and the other I randomly fixed the issue by installing the Helix YV Codecs from here (http://forum.doom9.org/showthread.php?s=&threadid=56972). . .Not sure why this fixed the problem exactly since I have never installed it previously and Stax had always worked fine before.

Thank you very much. It works! I suspect the problem started after running simultaneously avi.NET and StaxRip. Whatever... Cheers!

dejong12
8th November 2012, 22:30
Stax, your program is most of the time cutting out the last ~2 seconds of an encoded video. This happens when I've recorded something with Windows Media Center, remux the .wtv into a .ts and then encode it with StaxRip. If I demux the .ts with tsMuxeR and use the two produced files in StaxRip, then there's no problem. How is this possible? Is there some problem with ProjectX?

ditche
12th November 2012, 02:04
Hi there Idezan. I was also having the same/similar issues and after some days of frustration, trying this that and the other I randomly fixed the issue by installing the Helix YV Codecs from here (http://forum.doom9.org/showthread.php?s=&threadid=56972). . .Not sure why this fixed the problem exactly since I have never installed it previously and Stax had always worked fine before.

Anyway. All fixed so I can quit epic failing with MeGui etc. Hope this will also fix it for you. Let me know. Cheers! :)
You are my hero !!! :) I had this problem for months.

3Three3
12th November 2012, 22:20
You are my hero !!! :) I had this problem for months.

Thanks for letting me know. Glad it worked for you both!!! :)

Famille_CB
18th November 2012, 20:29
Hello,

I use StaxRip (wonderfull tool) for a long time.
I put a normalization option for the audio. Look at this command line:
BeSweet -core( -input "<source>" -output "<target>" ) -ota( -norm 1 ) -ssrc( --rate 44100 ) -ogg( -q 0.3 )The problem is that the output is not normalized.

With this command line it's the same problem:
BeSweet -core( -input "<source>" -output "<target>" ) -ota( -norm 1 ) -ssrc( --rate 44100 ) -bsn( -vbr 0.3 )

With this it's OK:
eac3to "<source>" "<target>" -quality=0.3 -normalize -down2 -resampleTo44100 -progressnumbers

Besweet doesn't understand the option "-norm 1 ".
What's wrong? Can you help me?

Thank's a lot.

Famille_CB
19th November 2012, 17:15
Hello,

It's me again. I'm under Windows 7. I try to encode my audio only with Besweet and the problem is still there.
StaxRip isn't the problem.
Somebody can tell me why Besweet doesn't normalize my files on Win7?

Thank you.

flebber
19th November 2012, 22:47
Hello,

It's me again. I'm under Windows 7. I try to encode my audio only with Besweet and the problem is still there.
StaxRip isn't the problem.
Somebody can tell me why Besweet doesn't normalize my files on Win7?

Thank you.
What file and audio type. Be sweet settings you use?

Famille_CB
20th November 2012, 11:07
Hello,

Input are wav files at 48 kHz.
I put this command line :
BeSweet -core( -input "<source>" -output "<target>" ) -ota( -norm 0.99 ) -ssrc( --rate 44100 ) -ogg( -q 0.3 )

A file is created but no normalization. A comment in the "Dos Window" appear named "Overall Track Gain : 10dB" (10dB for example) but there no change in the sound. When I put the result in an audio editor (Audacity) the wave forme is unchanged, there no normalization.

I put the same file in Megui (see attached file) and the result is OK.

What I can do?

Besweet seems to be not really Win7 compliant...

Thank you for your help.

LastQuestion
22nd November 2012, 07:11
I'm having an issue with Staxrip doing x264 encodes where it's removing some pixels at the bottom of my video and then stretching from the top down in order to fill the missing content.

The source content is a 1680x1050 Lagarith YV12 file. When I open it in Stax is sets the res to 1680x1048. Initially I was trying to resize the content to 1920x1200 via Lancos4. No other filters are applied. This reduction and stretch that's occurring happens when encoding with or without resizing however. Is there some settings I'm missing in order to properly encode 16:10 content?

bloodman
24th November 2012, 13:09
hello i have a question :)
can i stop the convert after pas1 and then when i start again its start from pas2, not again from pas1 ?

Melvelet
9th December 2012, 00:32
Since a few days StaxRip always "freezes" at VirtualDub.SaveAVI("...") no matter the source. It comes to 100% in VirtualDub but won't finish the first pass.
The first time I got this problem was right after another successful rip (without rebooting and without any changes to my system that I'm aware of).
Is anybody having the same problem or has an idea?

PS: Reinstalling Windows didn't help either.

EDIT: My Windows explorer and any other program shows that certain VOB files on every single DVD have a duration of at least 25 hours (while VLC player says they are around 20 minutes), usually the last VOB file. oO

S.D
18th December 2012, 20:15
i have this error

Exception has been thrown by the target of an invocation.

StaxRip has crashed!

Exception has been thrown by the target of an invocation.

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: Native handle is 0.
Parameter name: handle
at System.Drawing.Image.SetNativeImage(IntPtr handle)
at System.Drawing.Bitmap.FromGDIplus(IntPtr handle)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at StaxRip.AVIFile.GetBMPFromDib(IntPtr pDIB) in D:\Projekte\StaxMedia\trunk\StaxRip\General\AVIFile.vb:line 374
at StaxRip.AVIFile.GetBitmap() in D:\Projekte\StaxMedia\trunk\StaxRip\General\AVIFile.vb:line 366
at StaxRip.AviSynthDocument.Synchronize() in D:\Projekte\StaxMedia\trunk\StaxRip\General\AviSynth.vb:line 139
at StaxRip.MainForm.OpenVideoSourceFiles(List`1 files, Boolean autoMode) in D:\Projekte\StaxMedia\trunk\StaxRip\Forms\MainForm.vb:line 1835


------------------------------------------------------------
Environment
------------------------------------------------------------

StaxRip version: 1.1.8.0
OS Name : Windows Server (R) 2008 Enterprise
OS Version : 6.0.6001.65536
OS Type : 32-bit
OS Culture : English (United States)

------------------------------------------------------------
.NET
------------------------------------------------------------

v2.0.50727 : 2.0.50727.3053
v3.0 : 3.0.30618.00
v3.5 : 3.5.21022.08
v4\Client : 4.0.30319

------------------------------------------------------------
Source file MediaInfo
------------------------------------------------------------

C:\Users\Administrator\Downloads\2.Broke.Girls.S02E12.720p.HDTV.X264-DIMENSION.mkv

General
Unique ID : 208184672879747039536189426949353934739 (0x9C9EE8D80454D81A8F8C79B751E08F93)
Complete name : C:\Users\Administrator\Downloads\2.Broke.Girls.S02E12.720p.HDTV.X264-DIMENSION.mkv
Format : Matroska
Format version : Version 2
File size : 665 MiB
Duration : 21mn 21s
Overall bit rate : 4 352 Kbps
Encoded date : UTC 2012-12-17 22:29:20
Writing application : mkvmerge v3.1.0 ('Happy up here') built on Jan 19 2010 12:09:24
Writing library : libebml v0.7.9 + libmatroska v0.8.1

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 8 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 21mn 21s
Bit rate : 3 881 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.176
Stream size : 593 MiB (89%)
Writing library : x264 core 129 r2230 1cffe9f
Encoding settings : cabac=1 / ref=8 / deblock=1:-2:-2 / analyse=0x3:0x113 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=18 / lookahead_threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=5 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=18.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Language : English
Default : No
Forced : No

Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : A_AC3
Duration : 21mn 21s
Bit rate mode : Constant
Bit rate : 384 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Delay relative to video : 100ms
Stream size : 58.7 MiB (9%)
Default : Yes
Forced : No


------------------------------------------------------------
mkvinfo
------------------------------------------------------------

+ EBML head
|+ Doc type: matroska
|+ Doc type version: 2
|+ Doc type read version: 2
+ Segment, size 697017981
|+ Seek head (subentries will be skipped)
|+ EbmlVoid (size: 4027)
|+ Segment information
| + Timecode scale: 1000000
| + Muxing application: libebml v0.7.9 + libmatroska v0.8.1
| + Writing application: mkvmerge v3.1.0 ('Happy up here') built on Jan 19 2010 12:09:24
| + Duration: 1281.316s (00:21:21.316)
| + Date: Mon Dec 17 22:29:20 2012 UTC
| + Segment UID: 0x9c 0x9e 0xe8 0xd8 0x04 0x54 0xd8 0x1a 0x8f 0x8c 0x79 0xb7 0x51 0xe0 0x8f 0x93
|+ Segment tracks
| + A track
| + Track number: 1 (track ID for mkvmerge & mkvextract: 0)
| + Track UID: 1
| + Track type: video
| + Enabled: 1
| + Default flag: 0
| + Forced flag: 0
| + Lacing flag: 0
| + MinCache: 1
| + Timecode scale: 1
| + Max BlockAddition ID: 0
| + Codec ID: V_MPEG4/ISO/AVC
| + Codec decode all: 1
| + CodecPrivate, length 43 (h.264 profile: High @L4.1)
| + Default duration: 41.708ms (23.976 frames/fields per second for a video track)
| + Language: eng
| + Video track
| + Pixel width: 1280
| + Pixel height: 720
| + Interlaced: 0
| + Display width: 1280
| + Display height: 720
| + A track
| + Track number: 2 (track ID for mkvmerge & mkvextract: 1)
| + Track UID: 414820002
| + Track type: audio
| + Enabled: 1
| + Default flag: 1
| + Forced flag: 0
| + Lacing flag: 1
| + MinCache: 0
| + Timecode scale: 1
| + Max BlockAddition ID: 0
| + Codec ID: A_AC3
| + Codec decode all: 1
| + Default duration: 32.000ms (31.250 frames/fields per second for a video track)
| + Language: und
| + Audio track
| + Sampling frequency: 48000
| + Channels: 6
|+ EbmlVoid (size: 1024)
|+ Cluster

------------------------------------------------------------
Demux MKV using mkvextract
------------------------------------------------------------

"C:\StaxRip_1.1.8.0\Applications\MKVtoolnix\mkvextract.exe" tracks "C:\Users\Administrator\Downloads\2.Broke.Girls.S02E12.720p.HDTV.X264-DIMENSION.mkv" 1:"C:\Users\Administrator\Downloads\2.Broke.Girls.S02E12.720p.HDTV.X264-DIMENSION temp files\2.Broke.Girls.S02E12.720p.HDTV.X264-DIMENSION ID1 - iv-Undetermined 200ms.ac3" --ui-language en

Extracting track 1 with the CodecID 'A_AC3' to the file 'C:\Users\Administrator\Downloads\2.Broke.Girls.S02E12.720p.HDTV.X264-DIMENSION temp files\2.Broke.Girls.S02E12.720p.HDTV.X264-DIMENSION ID1 - iv-Undetermined 200ms.ac3'. Container format: Dolby Digital (AC3)


Start: 10:54:16 PM
End: 10:54:26 PM
Duration: 00:00:09


------------------------------------------------------------
Error opening source
------------------------------------------------------------

Exception has been thrown by the target of an invocation.

FFVideoSource("%source_file%", cachefile="%working_dir%%source_name%.ffindex")
AssumeFPS(23.976)
Crop(0,0, -Width % 8,-Height % 8)
ConvertToYV12()

------------------------------------------------------------
Exception
------------------------------------------------------------

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: Native handle is 0.
Parameter name: handle
at System.Drawing.Image.SetNativeImage(IntPtr handle)
at System.Drawing.Bitmap.FromGDIplus(IntPtr handle)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at StaxRip.AVIFile.GetBMPFromDib(IntPtr pDIB) in D:\Projekte\StaxMedia\trunk\StaxRip\General\AVIFile.vb:line 374
at StaxRip.AVIFile.GetBitmap() in D:\Projekte\StaxMedia\trunk\StaxRip\General\AVIFile.vb:line 366
at StaxRip.AviSynthDocument.Synchronize() in D:\Projekte\StaxMedia\trunk\StaxRip\General\AviSynth.vb:line 139
at StaxRip.MainForm.OpenVideoSourceFiles(List`1 files, Boolean autoMode) in D:\Projekte\StaxMedia\trunk\StaxRip\Forms\MainForm.vb:line 1835

help

dj-big
1st January 2013, 15:47
i want to add my encode very small text ( tag ) in 5-6 second ( same as tv series encoder BOB minishare or ... ) i searched about avisynth and i make mine :

Subtitle("My Text", font="Comic Sans MS", size=15, text_color=$0FFFFFFF, align=2, spc=6 , halo_color=0 , first_frame=400 , last_frame=600)

ok i add this to megui it shown in encode BUT my problem is i want to encode with staxrip when i load my video in staxtrip then from tools>Show File > Avisynth Script i add my script to it and save it the i preview my video the tag was there BUT when i encode my video and see it No Tag there whats the problem ?! im so confused i checked crop no crop no resize nothing i dont have problem with this code in megui but i cant use it in stax rip can anyone help me ?

sry for my english but i need help .

Glarioo
2nd January 2013, 11:23
Since a few days i got this audio encoding error:

------------------------------------------------------------
Audio encoding using eac3to
------------------------------------------------------------

"C:\Users\Gebruiker\Documents\Blu Ray\StaxRip_1.1.8.0\Applications\eac3to\eac3to.exe" "D:\BLU-RAY\THE_BOURNE_LEGACY\Temp\THE_BOURNE_LEGACY - ID3 - en-English_Master Audio.dtshd" "D:\BLU-RAY\THE_BOURNE_LEGACY\Temp\THE_BOURNE_LEGACY - ID3 - en-English_Master Audio_Output.ac3" -640 -down16 -down6 -resampleTo48000 -progressnumbers -log="D:\BLU-RAY\THE_BOURNE_LEGACY\Temp\THE_BOURNE_LEGACY - ID3 - en-English_Master Audio_Output_eac3to.txt"

DTS Master Audio, 5.1 channels, 24 bits, 48kHz
(core: DTS, 5.1 channels, 24 bits, 1509kbps, 48kHz)
The ArcSoft and Sonic decoders don't seem to work, will use libav instead.
The libav DTS decoder doesn't decode the full DTS-HD information.
Extracting DTS core...
Decoding with libav/ffmpeg...
Resampling to 48kHz...
You can switch to r8brain instead by using the "-r8brain" option.


Start: 11:09:42
End: 11:09:44
Duration: 00:00:02

What's my problem? Never got this before...

MrSqueezles
4th January 2013, 02:55
First, great application. I've been using it for years and the editing features are second to none.

Recently, when I load large input files, StaxRip selects FFVideoSource, which always produces output out of sync with audio, video is way too fast. When I change to DGSource, it creates an invalid avs file, passing the mkv file instead of the dgi. Is there any way to fix this? It's forcing me to use Handbrake, which always works, but doesn't have the amazing set of features in StaxRip I have come to rely on.

I have the recommended setup, MakeMKV and DGDecNV. It is the only configuration that has worked reliably for me, without synchronization problems. I've donated twice in the past and will continue to support it, provided I can continue to use it. That's not a bribe, just feel bad asking for unpaid assistance for a free and open app :-)

stax76
4th January 2013, 16:46
@MrSqueezles

Thanks for the support, if you mail a log file I can take a look at it.

MrSqueezles
6th January 2013, 05:15
Sure. Thanks!

https://gist.github.com/4465156

I published a couple small open source apps and it's not easy to have a life and a job and do development and free email support, so I'll kick a little something over to you.

stax76
6th January 2013, 14:39
@MrSqueezles

Thanks for the great support. When I was working much on StaxRip I spent much time investigating sync problems, one of the reasons I like MakeMKV much is it solved sync problems where older tools had problems.

In your log file I can't yet find a problem, I successfully tried a similar source file with similar settings. In your case StaxRip did't pick up the dgi file, was that file actually created at the right location?

"C:\Program Files (x86)\DGDecNV\DGIndexNV.exe" -i "D:\video\title01.mkv" -o "D:\video\title01 temp files\title01.dgi" -e

MrSqueezles
6th January 2013, 19:10
@stax76

Yeah, the dgi file is there. Strangely, everything works for smaller files.

I'll try a few things here...

With FFVideoSource, avs is ...

LoadPlugin("C:\staxrip\Applications\AviSynth plugins\ffms2\ffms2.dll")
LoadCPlugin("C:\Users\Connor\lib\StaxRip\Applications\AviSynth plugins\Yadif\yadif.dll")
FFVideoSource("D:\video\title01.mkv", cachefile="D:\video\title01 temp files\title01.ffindex")
AssumeFPS(29.970)
Crop(0,0, -Width % 8,-Height % 8)
ConvertToYV12()
Yadif()
Crop(8,54,-8,-58)


Changed FFVideoSource to DGSource -> Error: DGSource: Invalid index file! (D:\video\title01 temp files\movie_Source.avs, line 2)
With DGSource, avs is ...

LoadCPlugin("C:\staxrip\Applications\AviSynth plugins\Yadif\yadif.dll")
LoadPlugin("C:\Program Files (x86)\DGDecNV\DGDecodeNV.dll")
DGSource("D:\video\title01.mkv",deinterlace=0,resize_w=0,resize_h=0)
Yadif()
Crop(8,54,-8,-58)


Loaded up a smaller mkv (maybe size isn't the problem, but so far 3 long videos failed and around 12 shorter videos were fine).

With the smaller file, DGSource was selected by default. avs looks like this...

LoadCPlugin("C:\staxrip\Applications\AviSynth plugins\Yadif\yadif.dll")
LoadPlugin("C:\Program Files (x86)\DGDecNV\DGDecodeNV.dll")
DGSource("D:\video\name_t03 temp files\name_t03.dgi",deinterlace=0,resize_w=0,resize_h=0)
Crop(0,0, -Width % 8,-Height % 8)
ConvertToYV12()
Yadif()
Crop(418,140,-238,-84)


Went back to the longer movie and manually changed the avs from "mkv" to "dgi" after setting DGSource, but StaxRip didn't recognize it and eventually overwrote it.

I had a space and parentheses in the output file name, so tried removing them, no change.

I'm on StaxRip 1.1.8.0
Video was generated by MakeMKV 1.7.9 (I think)
Tried DGDecNV 2042 and 2044.

My profiles look like this (defaults)

FFVideoSource = FFVideoSource("%source_file%", cachefile="%working_dir%%source_name%.ffindex")%newline%AssumeFPS(%source_framerate_mediainfo%)%newline%Crop(0,0, -Width % 8,-Height % 8)%newline%ConvertToYV12()
DGSource = DGSource("%source_file%",deinterlace=0,resize_w=0,resize_h=0)

I hope this helps. Thanks for the assistance.

stax76
6th January 2013, 20:28
I don't have a idea yet but will further investigate it, it's always possible to open d2v and dgi files as you would open other source files, meanwhile I hope at least this works.

SeeManRun
28th January 2013, 00:04
Hey Stax,

Love the program, but was wondering if the source is available? I would like to add a feature (or at least try) where you can process multi titles from a disc with the same settings. For example, a disc with episodes of a show where you want to rip multiple titles with all the same settings and queue them up for ripping.

Thanks!

manolitoabrogado
30th January 2013, 05:50
Could really use x64 compatibility. The workarounds listed above aren't viable, the wrapper file's not available any longer.

x64 saving me 10-12% encoding time using other encoder GUIs.

What's the possibility we ca get this?

Otherwise, been using the programme for 5 or so years, love it. Thanks for all the hard work.

icezellion
30th January 2013, 12:30
I am using "Just Mux" for my audio but the end result is always a .WAV (PCM) file though the source audio is AC3. I'm using DirectShowSource since the source is a .ts consisting of AVC/AC3. Any suggestions how to have it demux the AC3 and not do any conversions? Note: This happens infrequently but it happens, always been perplexed by it. All suggestions welcome.

PeterTheMaster
6th February 2013, 02:02
hi. i need a movie to be much louder because it needs to be played on a device which obviously has no dynamic range compression.

i wanted to have the encoder compress the range instead, using -azid( -c heavy ).

staxrip already has a gui element that lets me set drc to heavy, but this doesnt change the command line.

staxrip also has a gui element that lets me set -azid parameters, but this doesnt change the command line either.

so i have to add "-azid( -c heavy )" as a special parameter.

this is added after the -ota() section, so i wonder, does besweet compress the range before it normalizes or afterwards? i think before would be more effective but this is not reflected by the order in which staxrip passes the parameters.


edit: sorry, i have to restate my problem. i just read that -azid() only works for ac3 input while my input is aac. so my question now is: how do i do drc on that?

Selur
6th February 2013, 06:03
You could run it through sox,..
DECODE -> MODIFY WITH SOX -> REENCODE TO TARGET FORMAT
for example:
DECODE:ffmpeg -y -analyzeduration 500000000 -threads 8 -v -10 -i "PATH TO INPUT" -f sox -
MODIFY:sox --multi-threaded --temp "H:\Temp" --buffer 524288 -S -t sox - -t wav - compand 0.3,1 5:-80,-79,-46 -7 -90 0.2
REENCODE:neroAacEnc -br 128000 -ignorelength -if - -of "H:\Temp\_iId_1_aid_1_DELAY_-55ms_05_32_07_0110_02.aac"
Regarding applying dynamic range compression with sox see: http://forum.doom9.org/showthread.php?t=165807
I'm no StaxRip user, so if StaxRip allows to add Custom sox compand calls, simply adding the compand part that you want should also to the job.

Cu Selur

PeterTheMaster
7th February 2013, 10:38
thanks for the pointer to sox. i determined that

sox "audiofile.wav" "audiofile_out.wav" compand 0.0,1 6:-70,-43,-20 -6 -90 0.1

does exactly what i want.

now what is the best way to integrate that into staxrip? via an event command? a .wav file is created during my normal processing (seems to be a step in the aac reencoding). i need to sox that wav file and then let the process continue as it would normally.

how do i do that? are there other suggestions?

just loading my source file in staxrip demuxes the audio into an m4a file. my target is aac 96, when i click edit and execute, it says input format not supported, convert to wav first. without executing manual command lines, all i can do at this point is hit next, which then creates (in that order) a .wav, a .m4a and then the video file, then muxing.
so i cant use an event command "after source loaded", i need an event command "if a wav file appears in the temp folder". is there a way i can express that in staxrip?

mayto to the author of staxrip: add sox to the applications, because it seems right now staxrip cannot drc arbitrary files.

PeterTheMaster
9th February 2013, 15:08
and another question/feature request:

how can i specify the target path relative to the source path? i want my converted files appear in a the '_converted' subdirectory of their original directory.

found it: %source_dir%\_converted\

JasonR
17th February 2013, 03:50
Question about cropping and resizing. When I convert DVD's with a 1.85:1 aspect ratio to XVID/AVI, sometimes they have a small black border of a few pixels that I like to crop off so that the AVI file completely fills my screen. In StaxRip I select the Crop and Resize filters and resize to 720x400. The problem is, it looks like StaxRip is resizing before cropping. The resulting AVI file ends up with a resolution of 720x384 which still displays the black border on TV when I play them. Is there anyway to set StaxRip up so that it crops the border first, and then resizes it to 720x400?

PeterTheMaster
17th February 2013, 04:18
it crops before it resizes, you can verify that by looking at the generated avisynth script.

JasonR
17th February 2013, 04:27
That's weird. I would have thought that if it was cropping before resizing, I would get the specified resolution of 720x400. The reason that I thought that it was resizing first is that it seemed like it was resizing to 720x400 and then cropping of the border giving the reduced resolution. Any ideas how to fix it?

JasonR
17th February 2013, 05:49
After further investigation, this might just be an issue with batch converting. I tried converting a few files individually and they appeared to come out fine. I noticed this because I set the resolution first and then when I load the vob file, it auto changes the resolution to 384, and I have to manually change it back to 400. So, probably when batch converting, it's auto changing all the files to 384 and I don't have a chance to change it back to 400. Does anybody know on batch converting if there is a way to lock in the resolution, so that StaxRip can't change it?

PeterTheMaster
17th February 2013, 14:01
it tries to resize while keeping the original aspect ratio as closely as possible.
scaling to a given resolution would either mean distortion of the image (i.e. changing the ar) or cropping into the image.
which one do you want and why? black bars at two edges of the screen are normal, since it would be rather lucky to have content and screen ar match exactly.
i would recommend to not do weird things during encoding, but rather during playback. i think in mpc you can do both, scale disregarding ar and "touch screen from outside", which keeps ar but crops away part of the image to completely fill the screen.

JasonR
17th February 2013, 18:43
It's not like I'm trying to crop the black bars off of a 2.35:1 AR movie and then stretching the frame to fill my screen. These are 1.85:1 AR movies that usually fill the screen but sometimes they have really thin borders around them that I like to crop off. They are so thin that they don't distort the picture at all when cropped, but they just annoy me.

icezellion
19th February 2013, 05:32
I am using "Just Mux" for my audio but the end result is always a .WAV (PCM) file though the source audio is AC3. I'm using DirectShowSource since the source is a .ts consisting of AVC/AC3. Any suggestions how to have it demux the AC3 and not do any conversions? Note: This happens infrequently but it happens, always been perplexed by it. All suggestions welcome.

Anyone know why Staxrip decodes AC3 to PCM/WAV when 'Just Mux' is selected? (happens often enough that I'd like to know how to solve this, using latest version)

PeterTheMaster
19th February 2013, 09:43
what is your target container? i think not every container can hold every format.

Melvelet
19th February 2013, 11:26
I have a problem with x264 ripping:

Since a few days I get a Windows message "H.264 (MPEG-4 AVC) encoder has stopped working" (APPCRASH in x264.exe v0.128.2216.9, module yadif.dll v1.7.0.0) every time I try to rip a HD x264 (mkv) to a lower resolution/bitrate one. Preset is 2Pass -> x264 Film Slower. The error occurs at around 40% of the first pass.

I replaced the StaxRip folder with a redownloaded version. I tried a newer version of the x264.exe. Both didn't help.

Any suggestion?

Thank you

brusno
26th February 2013, 23:21
I think StaxRip is a great encoder program, it's just a pity that the audio is coming out of sync often when converting DVD. It's strange that only some DVD causes this. Do you have any tips to overcome this problem? I'm converting the sound from AC3 to AAC, 192 kb/s, VBR. And the audio is equally out of sync whether I'm using eac3to, besweet, or ffmpeg.

Chetwood
27th February 2013, 07:16
Rip the main movie only with DVDfab, is audio still out of sync if you encode this?

brusno
27th February 2013, 16:08
@Chetwood:
I've ripped with DVDShrink (movie only) and anyDVD. But if you mean that DVDFab do a better job at this, I sure can try that one too.

manolito
27th February 2013, 17:16
Stax himself recommends to rip DVDs with MakeMKV to avoid sync problems. Works for me...


Cheers
manolito

brusno
27th February 2013, 18:57
Stax himself recommends to rip DVDs with MakeMKV to avoid sync problems. Works for me...


Cheers
manolito

It's just that I convert to mp4. So I guess that means that I cannot use MakeMKV to rip DVD's. None of the ripped DVD's have sync problems. It's only when converting to mp4 with StaxRip. When converting the same DVD's with Handbrake, they are in sync!

manolito
27th February 2013, 19:52
It's just that I convert to mp4. So I guess that means that I cannot use MakeMKV to rip DVD's.

Of course you can. MakeMKV just rips the DVD into an MKV container, it does not do any encoding by itself.

Look here:
http://forum.doom9.org/showthread.php?p=1609334#post1609334


Cheers
manolito

brusno
27th February 2013, 21:06
Ok, then I'll try MakeMKV. Does it demux the video and sound before putting it in the mkv container?
I have managed to isolate the problem a bit with StaxRip and audio-out-of-sync. I demuxed the video with DGIndex, and the ac3 sound-file which it came out with is out of sync. In the film the sound starts at 3 sec. While in the demuxed .ac3 it starts at 1.42 sec. So it is DGIndex which has a audio problem. And StaxRip use DGIndex.

manolito
27th February 2013, 21:16
Ok, then I'll try MakeMKV. Does it demux the video and sound before putting it in the mkv container?
No it doesn't.

I have managed to isolate the problem a bit with StaxRip and audio-out-of-sync. I demuxed the video with DGIndex, and the ac3 sound-file which it came out with is out of sync. In the film the sound starts at 3 sec. While in the demuxed .ac3 it starts at 1.42 sec. So it is DGIndex which has a audio problem. And StaxRip use DGIndex.

With an MKV source StaxRip uses mkvextract to demux the source. And IIRC it indexes the files using ffms2 instead of DGIndex.


Cheers
manolito

Chetwood
28th February 2013, 07:58
But if you mean that DVDFab do a better job at this, I sure can try that one too.
I had sync issues back then with AutoGK I attributed to "leftovers" from some of the more aggressive copy protections. Fengtao wrote on his board that ripping main movie only would definitely remove any copy protection from a movie and since I'm doing this I've run into no sync issues with my encodes.

brusno
28th February 2013, 20:54
Now I've tried a solution that worked. I re-encoded the .ac3 sound in MeGUI, and added a delay (the difference in sec.). I re-encoded to .ac3 using the ffmpeg choice in MeGUI. And then I used the fixed audio in StaxRip when encoding the video. Finally I got a video with the audio (aac) in sync! I converted the sound to aac in StaxRip.


I've also tried MakeMKV to ripp the dvd, and then I used MKV extract GUI-2 to demux mpeg2 video and ac3 sound. But when I play the mpeg2 video it doesn't look nice.

brusno
1st March 2013, 22:38
13311


But, when I play the files while they're in the mkv container it shows well. And audio and subtitle are in sync too. And also when encoding with staxrip directly from mkv container, the result is good. So I guess it's not wise to extract mpeg2 and sound from mkv container with mkv extract gui.

fabje
7th March 2013, 00:08
How can I make from a 1080i recording with 25 fps a 720p 50fps version?

Bogg
9th March 2013, 19:32
Hi,

I'm trying to use the auto crop function and it doesn't seem to work properly. After loading the source file it always disables cropping and my aspect ratio error is over my limit of 2

(Please see the log attached)

Have you ever encountered this?

Regards

brusno
10th March 2013, 18:50
Why do you want to crop?
Why not just encode for 1280x720 without cropping.
Make sure that you fill in right DAR=16:9=1.78.
Is the source blu-ray?
And are you coding to divx?

lib3rty1
12th March 2013, 15:21
For first nice app for second. Does any of you managed to run it on Windows server 2008 ?

manolitoabrogado
16th March 2013, 07:32
How can I make from a 1080i recording with 25 fps a 720p 50fps version?


Use Yadif(1,-1) as your deinterlacer. Use resizer and drag bar so it's 1280,720.

manolitoabrogado
16th March 2013, 07:33
For first nice app for second. Does any of you managed to run it on Windows server 2008 ?

You need .NET.

JasonR
7th April 2013, 17:37
I've been encoding all of my movies to XVID/AVI files with a resolution on 720x400 so that it keeps it's widescreen AR, becuase as you know 720x480 in XVID/AVI will result in a 4:3 AR. Lately, though, the 720x400 resolution has been bothering because videos are losing some detail when downsizing the vertical resolution from 480 to 400. Off-hand, does anybody know what a good horizontal resolution would be to pair with the 480 vertical resolution to keep the WS AR and not lose any detail? Let me know and thanks in advance.

pussipiru
12th May 2013, 02:48
Off-hand, does anybody know what a good horizontal resolution would be to pair with the 480 vertical resolution to keep the WS AR and not lose any detail? Let me know and thanks in advance.

You could use resolution: 848 x 480

In following post there is more discussion about this and some other resolution examples as well if you would like to try, http://forum.doom9.org/showthread.php?t=141663

gonwk
25th May 2013, 22:40
Hi folks,

Stax76, first of all I LOVE your program.

I by chance decided to download your program and use it today for the first time. I happen to download StaxRip 1.1.8.0, so I expanded the folder and I chose to place the folder under a Different Directory C:\Program Files Z\ and Not the C:\ ... I use that Z Directory for my Standalone Portable Proggies ...

BTW, my laptop runs on Vista Home Prem., X64.

So, I started StaxRip and walked me thru the Setup ... only asked my to redo AviSynth ... which I allowed it.

I had made a Clip that I made from my main file (which I made from my DVD) ... an MKV Clip ... I wanted to see if I can compress it from 7799KB to almost half size, approx. 3900KB ... with Not Too Much of a Quality Loss (not to my eyes anyway) the conversion went thru ... BUT, I have NO Audio.

BTW, I tried the complete file 3.35GB and I got no Errors but I did Not want to Encode it yet until I can decide on Quality setting 21, 22, or 23 ... u know.

So then, I happen to see someone's comment on VideoHelp ... he said he had to revert to StaxRip 1.1.6 ... so, I went to that version and viola now my new Recode HAS Audio.

Q1: May be you can check and see why 1.1.8.0 has No Audio but 1.1.6 gives Audio!?!?

Q2: Or is it my setup's problem?

Thanks!

G! :)

fantasmanegro
29th May 2013, 19:49
Hi folks,

Stax76, first of all I LOVE your program.

I by chance decided to download your program and use it today for the first time. I happen to download StaxRip 1.1.8.0, so I expanded the folder and I chose to place the folder under a Different Directory C:\Program Files Z\ and Not the C:\ ... I use that Z Directory for my Standalone Portable Proggies ...

BTW, my laptop runs on Vista Home Prem., X64.

So, I started StaxRip and walked me thru the Setup ... only asked my to redo AviSynth ... which I allowed it.

I had made a Clip that I made from my main file (which I made from my DVD) ... an MKV Clip ... I wanted to see if I can compress it from 7799KB to almost half size, approx. 3900KB ... with Not Too Much of a Quality Loss (not to my eyes anyway) the conversion went thru ... BUT, I have NO Audio.

BTW, I tried the complete file 3.35GB and I got no Errors but I did Not want to Encode it yet until I can decide on Quality setting 21, 22, or 23 ... u know.

So then, I happen to see someone's comment on VideoHelp ... he said he had to revert to StaxRip 1.1.6 ... so, I went to that version and viola now my new Recode HAS Audio.

Q1: May be you can check and see why 1.1.8.0 has No Audio but 1.1.6 gives Audio!?!?

Q2: Or is it my setup's problem?

Thanks!

G! :)

it has never happened to me with 1.1.8 or any older version... so i guess my choice is B!

gonwk
30th May 2013, 04:03
it has never happened to me with 1.1.8 or any older version... so i guess my choice is B!

Hi Fantasmanegro,

Thanks for replying ...

You know I am thinking is the 1.1.8 version; it might be Missing some of the Programs ... but I downloaded the Portable file from VH Forum which I Totally Trust.

I know when I use 1.1.6 version I get couple of pop-ups windows, which tells me that it is probably Encoding the Audio ... BUT, I don't get those pop-up windows with version 1.1.8 ... so I assume that the Portable Folder somehow it lacks some of the Programs!

May be Stax76 will come up with version 1.1.8.1 or something! :D

Thanks again,

G! :thanks:

dejong12
31st May 2013, 11:25
Hi Fantasmanegro,

Thanks for replying ...

You know I am thinking is the 1.1.8 version; it might be Missing some of the Programs ... but I downloaded the Portable file from VH Forum which I Totally Trust.

I know when I use 1.1.6 version I get couple of pop-ups windows, which tells me that it is probably Encoding the Audio ... BUT, I don't get those pop-up windows with version 1.1.8 ... so I assume that the Portable Folder somehow it lacks some of the Programs!

May be Stax76 will come up with version 1.1.8.1 or something! :D

Thanks again,

G! :thanks:

Have you tried downloading from his SourceForge page?
http://sourceforge.net/projects/staxmedia/
It's also a portable version.

fantasmanegro
31st May 2013, 18:20
Hi Fantasmanegro,

Thanks for replying ...

You know I am thinking is the 1.1.8 version; it might be Missing some of the Programs ... but I downloaded the Portable file from VH Forum which I Totally Trust.

I know when I use 1.1.6 version I get couple of pop-ups windows, which tells me that it is probably Encoding the Audio ... BUT, I don't get those pop-up windows with version 1.1.8 ... so I assume that the Portable Folder somehow it lacks some of the Programs!

May be Stax76 will come up with version 1.1.8.1 or something! :D

Thanks again,

G! :thanks:

mmm... this is weird... can you post a screenshot of audio encoding configuration?... besides do you use ffdshow or maybe a codec pack?...

Euph0ria
2nd June 2013, 09:39
Off-hand, does anybody know what a good horizontal resolution would be to pair with the 480 vertical resolution to keep the WS AR and not lose any detail? Let me know and thanks in advance.

Don't resize at all. If anything, clip the letterboxing in videos if necessary, and encode as is, and simply specify the AR in metadata. Best way to keep all maximum original detail and playback at the correct AR.

Don't resize the video, specify AR Ratio instead in the metadata of the container format.

icezellion
9th June 2013, 06:38
Anyone know why Staxrip decodes AC3 to PCM/WAV when 'Just Mux' is selected? (happens often enough that I'd like to know how to solve this, using latest version)


what is your target container? i think not every container can hold every format.

I select Just Mux and target container MKV which for some encodes as I said AC3 have no problem, but sometimes I end up with the WAV file which I can't understand. The source audio is confirmed AC3.

encody
22nd June 2013, 21:54
hello everybody!

does a higher percentage in compressibility´s "aimed quality" make any difference to quality?

I did a test with a 2 hour vid in bitrate mode, one with it at 50% (balanced) and the other at
95% (extremely good quality, huge file size). the end files are the same size, the encoding
took almost the same time, the 95% one just 12 minutes less...... I thought this one would
take a lot more.... the picture quality looks the same, I don´t know, I can´t tell there is
any difference.

thanks!

gonwk
25th June 2013, 01:15
Have you tried downloading from his SourceForge page? http://sourceforge.net/projects/staxmedia/
It's also a portable version.

Thanks dejong12 ... will try ... Appreciate the Help!

G! :)

datauser
29th June 2013, 17:10
does a higher percentage in compressibility´s "aimed quality" make any difference to quality?...



Good question! Maybe in regards to how a specific encoder using the final stats to work things out, but visually I have never noticed any great improvements.

Schattenspieler
30th June 2013, 11:35
I never used that option, because it's under the tab "Compressability Check" and that can be run manually if you choose a two or three pass encoding mode. It seems to serve as a guideline to modify your encoding settings, as (after you run a Comp. Check) you get quality and compressability results displayed within the "Target" area of the programmes ui (and at the bottom in the "Quality" area). As I see it, it doesn't affect the actual encoding in any way.

But I have some other questions myself:
- Will there be a x64 version of StaxRip (or one supporting the 64bit version of x264) any time soon? Afaik the limiting factor currently is the 32bit implementation of AviSynth.
- Will there be an update function for used programmes like x264, mkvtoolnix or ffmpeg? I know that compatibility issues may arise, though.
-> Alternatively it would be nice to be able to configure programme locations outside the StaxRip folder, so that one doesn't need to install them and then copy the files manually to StaxRips applications folder.
- Would it be possible to make audio streams selectable for TS input files? Currently I have to remux the created MKV with the audio from the source, if that has more than two audio streams - or feed StaxRip sources with 2 or less audio streams. (Setting the audio streams language within StaxRip would also be nice. ^^)

- Sometimes I get async files when encoding MKVs, though audio is set do "Just Mux". When remuxing the created video stream with the audio from the original MKV everything is in sync. Any ideas on that?

stax76
30th June 2013, 16:54
Will there be a x64 version of StaxRip (or one supporting the 64bit version of x264) any time soon? Afaik the limiting factor currently is the 32bit implementation of AviSynth.

There are no plans. Yes, AviSynth is the biggest problem, I've not yet compared the 32-Bit performance to workarounds yet.

Will there be an update function for used programmes like x264, mkvtoolnix or ffmpeg? I know that compatibility issues may arise, though.

Definitely no, you have to replace the applications manually and go to the Applications dialog, select the updated application and press F12 to edit the version.

Alternatively it would be nice to be able to configure programme locations outside the StaxRip folder, so that one doesn't need to install them and then copy the files manually to StaxRips applications folder.

I don't understand what you mean exactly. There is a somehow hidden feature in the Applications dialog to point to alternative locations, press F1 in the Applications dialog. Showing a file browser to edit the location was needed to locate the exe and dll for DGDecNV which isn't included, it can be used for other applications too though you have to be careful because certain applications must be in certain locations like nero in the besweet folder, AviSynth in the system folder via setup etc., the feature is hidden for a reason. The next version will verify that it's in the right location.

Would it be possible to make audio streams selectable for TS input files? Currently I have to remux the created MKV with the audio from the source, if that has more than two audio streams - or feed StaxRip sources with 2 or less audio streams. (Setting the audio streams language within StaxRip would also be nice. ^^)

Possibly if you provide a sample source and a problem description.

Sometimes I get async files when encoding MKVs, though audio is set do "Just Mux". When remuxing the created video stream with the audio from the original MKV everything is in sync. Any ideas on that?

I would need a sample source and a StaxRip log file, possibly the split feature of mkvmerge and mmg can be used to create a short source sample but after splitting you have to verify if the problem still exist with the sample.

@icezellion

Please mail the log file.

@gonwk

Not all download locations can be trusted to have the latest and unmodified application. StaxRip is distributed without a setup, it's never smart to put a application without a setup to 'C:\Program Files...' since such application ofter require write access to their startup location and since Vista it's a read only location, some applications included with StaxRip require write access to their startup location.

@brusno

You would just rip with MakeMKV and open the MKV file with StaxRip, the next version has a changed dialog making it clearer that a single source file is the best source type, especially when it's MKV with all the powerful tools behind MKV:

http://thumbnails105.imagebam.com/26305/a9d3da263048886.jpg (http://www.imagebam.com/image/a9d3da263048886)

StaxRip by default demuxes everything so usually manual demuxing is not required, previously it demuxed some video like AVI from MKV but I've disabled this in the next version and I changed AVI to be handled by FFVideoSource to avoid problems with missing and non working VFW decompressors.

AMiR9!WV
1st July 2013, 06:13
every time , i try add something
i get this error
http://www.pic.lilup.net/images/ui9ed4zniy0b87k8hi89.png

i can't add anything

fantasmanegro
1st July 2013, 16:49
@Stax79

than you very much for the new release!!!!

stax76
1st July 2013, 17:55
@AMiR9!WV

There is error handling built in which don't seem to work in your case since it's supposed to show a more detailed error description (stack trace) and it's supposed to instruct mailing me the error description. You can try the version released yesterday and mail me the log file in case there is one.

encody
1st July 2013, 17:58
@Stax79

than you very much for the new release!!!!


yeah, thanks for the new release!

but, what´s new? and how do you update the previous version with this new one? I have
StaxRip 1.1.8.0 configured as I like it, so is there a way to import the configuration or
settings? or do you have to start 1.1.9.0 from scratch?

stax76
1st July 2013, 18:13
There is a changelog and a feature to open the settings directory in the main menu:

Main Menu > Help > Changelog
Main Menu > Tools > Directories > Settings

Learning Windows in general you can use sites such as www.sevenforums.com.

manolito
1st July 2013, 18:59
Thank you very much for the new version...:)

One question, though:
According to this post
http://forum.doom9.org/showthread.php?p=1634254#post1634254
all ffmpeg versions later than March 2013 do not get along with AviSynth 2.58 or 2.57.

The ffmpeg version used by the new StaxRip version is from June 2013, so I would like to ask if this has been tested. Or is it safer to use an older ffmpeg version?


Cheers
manolito

stax76
1st July 2013, 20:40
It's not used for avs files I think though it could be configured I guess. I didn't change code so older versions can be used.

encody
2nd July 2013, 00:08
There is a changelog and a feature to open the settings directory in the main menu:

Main Menu > Help > Changelog
Main Menu > Tools > Directories > Settings

Learning Windows in general you can use sites such as www.sevenforums.com.

so if someone wants to know what is new in a new version of staxrip in order to decide if the upgrade is worth it, he is forced to install it and then check the menu to see the changelog. why not posting a changelog txt along with the zip file of the new version of the program as all developers do?

learning how to distribute your software in general you can use sites such as http://www.opencandy.com/2011/02/11/software-marketing-best-practices-distribute-your-download/

(tip for staxrip users that still want to update to new versions: regarding importing the settings, or rather opening the directory where the settings file is located, as the developer says (in case you haven´t deleted the installation folder of your old copy of staxrip), just copying it over to the new program´s folder, doesn´t work well if you have set up a new startup template. in order to make it work, you have to copy over first your templates and then the settings file. this is the first problem I just encountered. who knows if by just copying over the settings file is right to keep your old configuration...)

Chetwood
2nd July 2013, 06:48
Someone posted this to German Doom 9:

1.1.9.0
Updated mkvtoolnix to v6.3.0
Updated x264 to r2334
Updated eac3to to 3.27
Updated MediaInfo to version 0.7.63
Updated ffmpeg
Various minor changes

BellesFesses
2nd July 2013, 09:23
Hail to all :wave:,

I have exactly the same problem as Jackie :confused: Staxrip must have changed in the meantime. I searched the forum for response in vain. Please help me add this filter in Staxrip ;)

Thanks in advance for your time and knowledge :)

EDIT : I added MediaInfo for the original file to encode. I am trying to change container MKV or MP4. Please Help. :thanks:
_______________________________________________

Hi,

I get the following message:

Unsupported Colorspace

x264 requires YV12 input. Right.click the filters, select, "Add" and coose "Misc/Convert to YV12"

I did that, but that menu entry is not present, all I can select there is "assume 25fps" or "assume 23.96 fps". So how do I get that filter in Staxrip?
_______________________________________________

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.
_______________________________________________

Schattenspieler
2nd July 2013, 10:44
I've not yet compared the 32-Bit performance to workarounds yet.Me neither, but I assume that there are some and they might be relevant on a 3,4GHz 8-core machine. ^^
I could test it using Hybrid, which supports 64 bit.
There is a somehow hidden feature in the Applications dialog to point to alternative locations, press F1 in the Applications dialog.That's exactly what I meant. But it would be nicer to have that either documented or even a button. Or just having to click on to the path to open the dialogue (same for the version). I think that would be easy to do and it would be more convenient/intuitive.

I don't know when I'll find the time, but I will provide the needed samples/sources for the before mentioned problems. Danke schon mal für die schnelle Antwort. (:
regarding importing the settings, ..., just copying it over to the new program´s folder, doesn´t work well if you have set up a new startup template.
Copying over worked just fine for me. Where are your settings stored? Mine are in the users folder of windows (8).

Edit: One additional question just arose with 1.9.0.0: Is it no longer possible to use an already installed YUV-codec? I have K-Lite installed with a YUV-codec. With 1.8.0.0 StaxRip used to ask which to use (ffshow or another, I do not remember, I guess huffyuv). And why not use Helix YUV 1.3 (http://forum.doom9.org/showthread.php?t=56972)? (Though according to the changelog the only difference is the supported resolution up to 8192².)

encody
2nd July 2013, 13:18
Copying over worked just fine for me. Where are your settings stored? Mine are in the users folder of windows (8).


this piece of software, at least the versions I´ve tried so far, 1.1.8.0 and 1.1.9.0, is installed (no installation needed really, it´s extract only) on a xp machine. I first did a search in c: for any staxrip settings/config file but there was no trace of any leftover files. the settings file is in the root folder of the program. I can see it by simply opening manually staxrip´s folder or through its menu link. I tested it a couple of times: if I copy over the settings file before my templates, my startup template doesn´t open at startup. it does though if I first copy over the templates and then the settings file.

ok, so I guess this is the right way to update the program keeping your old settings, by just copying over the settings file of a previous version of staxrip.

encody
2nd July 2013, 14:00
Someone posted this to German Doom 9:

1.1.9.0
Updated mkvtoolnix to v6.3.0
Updated x264 to r2334
Updated eac3to to 3.27
Updated MediaInfo to version 0.7.63
Updated ffmpeg
Various minor changes

thank you. I already saw it after having had to install it.

it would be nice if the changelog of newer versions could
be posted along with the zip file once released. anyway,
thanks again to the developer of staxrip for this, although
not perfect, very useful and nice piece of software, indeed.

stax76
2nd July 2013, 16:53
so is there a way to import the configuration or
settings?

To try again, when StaxRip don't find settings it asks where to create new settings or load old settings.

@BellesFesses

If the latest version gives this warning using default settings the please upload a sample.

Edit: One additional question just arose with 1.9.0.0: Is it no longer possible to use an already installed YUV-codec? I have K-Lite installed with a YUV-codec. With 1.8.0.0 StaxRip used to ask which to use (ffshow or another, I do not remember, I guess huffyuv). And why not use Helix YUV 1.3? (Though according to the changelog the only difference is the supported resolution up to 8192².)

I've changed code in this regard because many prefer LAV Filters, ffdshow should still be recognized as YV12 decoder, maybe it don't work because of the codec pack. I guess I missed the newest Helix version.

But it would be nicer to have that either documented or even a button.

Some things are better prohibited or at least hidden.

burfadel
2nd July 2013, 21:20
What is faster, the Helix YV12 decoder or FFDshow? I got a feeling with the latest FFDshow installed that using the FFDshow YV12 decoder is faster.

gonwk
2nd July 2013, 21:32
mmm... this is weird... can you post a screenshot of audio encoding configuration?... besides do you use ffdshow or maybe a codec pack?...

Hi fantasmanegro,

Sorry I have not responded any sooner ... just saw your post.

Fantasmanegro, I do have ffdshow, I am running v1.14257, I believe I went back to this since the newer versions were giving me some kind problem, can't recall what though.

Also, since thru my readings most experts recommend Not to install any kind of Codec Packs ... I have never bothered with Codec Pack of any kind. I do have some XviD, AviSynth and other regular stuff that you need to run some Video proggies.

BTW, I did also download 1.1.8.0 from SourceForge ...same thing.

So, I see Stax76 has released 1.1.9.0 ... so, I will just try that.

Thanks!

G! :)

fantasmanegro
3rd July 2013, 00:13
Hi fantasmanegro,

Sorry I have not responded any sooner ... just saw your post.

Fantasmanegro, I do have ffdshow, I am running v1.14257, I believe I went back to this since the newer versions were giving me some kind problem, can't recall what though.

Also, since thru my readings most experts recommend Not to install any kind of Codec Packs ... I have never bothered with Codec Pack of any kind. I do have some XviD, AviSynth and other regular stuff that you need to run some Video proggies.

BTW, I did also download 1.1.8.0 from SourceForge ...same thing.

So, I see Stax76 has released 1.1.9.0 ... so, I will just try that.

Thanks!

G! :)

no problem, ... just one question... by no audio you mean that there is an audio channel/track with no wave or not audio file is muxed to video file?

BellesFesses
3rd July 2013, 11:02
How to add "Misc/Convert to YV12" Filter in Staxrip

To try again, when StaxRip don't find settings it asks where to create new settings or load old settings.

@BellesFesses

If the latest version gives this warning using default settings the please upload a sample.



I've changed code in this regard because many prefer LAV Filters, ffdshow should still be recognized as YV12 decoder, maybe it don't work because of the codec pack. I guess I missed the newest Helix version.

Thank you so much for your answer Stax 76,

You can see MediaInfo on my previous post. My original HD file is 2.91Go and made with a Z10 Panasonic Lumix Camera. They call it AVCHD lite. Extension is .MTS

Some things are better prohibited or at least hidden.


Thank you so much Stax 76 for your answer. :thanks:

Please look at the MediaInfo uploaded on my previous post.

The HD file is 2.91Go and made with a Panasonic Z10 Lumix Camera. The format is called AVCHD lite and consists in

Container ? :
Format : BDAV
Format/Info : Blu-ray Video
Video :
Format : AVC
Format profile : High@L4.0
Codec ID : 27
Audio :
Format : AC-3
Codec ID : 129

I do not know how to cut and make a sample :confused: with this format. Please indicate a guide on how to cut this type of file or maybe give me the info here if you have the time.

I can see you are quite busy and am very grateful for your help :thanks:

EDIT 1 : Found a way to make a sample using tsMuxerGUI.exe and a tuto here avchdvideos.blogspot.fr (http://avchdvideos.blogspot.fr/p/trimming-my-avchd-files.html)

I can't upload 30 seconds sample. I shall try again in second edit ....

http://img835.imageshack.us/img835/3505/zu8q.jpg

EDIT 2 : samples 00002.m2ts.rar & 00002 sample 10 sec.rar files are impossible to upload. Might need some permission ? Will try and mind some URL to stock on edit 3

EDIT 3 : Here are two links to the same 10 second file :
00002sample10sec (http://www.filedropper.com/00002sample10sec)
&
<a href=http://www.filedropper.com/00002sample10sec><img src=http://www.filedropper.com/download_button.png width=127 height=145 border=0/></a><br /><div style=font-size:9px;font-family:Arial, Helvetica, sans-serif;width:127px;font-color:#44a854;> <a href=http://www.filedropper.com >online backup</a></div>

fantasmanegro
3rd July 2013, 15:32
How to add "Misc/Convert to YV12" Filter in Staxrip




Thank you so much Stax 76 for your answer. :thanks:

Please look at the MediaInfo uploaded on my previous post.

The HD file is 2.91Go and made with a Panasonic Z10 Lumix Camera. The format is called AVCHD lite and consists in

Container ? :
Format : BDAV
Format/Info : Blu-ray Video
Video :
Format : AVC
Format profile : High@L4.0
Codec ID : 27
Audio :
Format : AC-3
Codec ID : 129

I do not know how to cut and make a sample :confused: with this format. Please indicate a guide on how to cut this type of file or maybe give me the info here if you have the time.

I can see you are quite busy and am very grateful for your help :thanks:

EDIT 1 : Found a way to make a sample using tsMuxerGUI.exe and a tuto here avchdvideos.blogspot.fr (http://avchdvideos.blogspot.fr/p/trimming-my-avchd-files.html)

I can't upload 30 seconds sample. I shall try again in second edit ....

http://img835.imageshack.us/img835/3505/zu8q.jpg

EDIT 2 : samples 00002.m2ts.rar & 00002 sample 10 sec.rar files are impossible to upload. Might need some permission ? Will try and mind some URL to stock on edit 3

EDIT 3 : Here are two links to the same 10 second file :
00002sample10sec (http://www.filedropper.com/00002sample10sec)
&
<a href=http://www.filedropper.com/00002sample10sec><img src=http://www.filedropper.com/download_button.png width=127 height=145 border=0/></a><br /><div style=font-size:9px;font-family:Arial, Helvetica, sans-serif;width:127px;font-color:#44a854;> <a href=http://www.filedropper.com >online backup</a></div>

use server like m3di@fir3 or 4sh@r3d...

BellesFesses
3rd July 2013, 16:01
use server like m3di@fir3 or 4sh@r3d...

Is fil3dropp3r.com not good ?

Here is the link on 4sh@r3d :

00002 sample 10 sec.m2ts MediaInfo.txt (http://www.4shared.com/office/1B4zNrJI/00002_sample_10_secm2ts_MediaI.html)


00002 sample 10 sec.m2ts.rar (http://www.4shared.com/rar/1oLfniom/00002_sample_10_sec.html)

Schattenspieler
3rd July 2013, 23:27
You might want to quote only that part of a post, you are actually referring to. Atherwise it's a waste of space (and time needed to scroll over it). (:

fantasmanegro
4th July 2013, 00:41
You might want to quote only that part of a post, you are actually referring to. Atherwise it's a waste of space (and time needed to scroll over it). (:

you are right... sorry...

BellesFesses
4th July 2013, 10:25
use server like m3di@fir3 or 4sh@r3d...

Hail to all,
Looks like my answer yesterday never got posted. Thank you for the tip fantasmanegro :goodpost:
My links to fil3dropper.com weren't used and I had posted yesterday the 4sh@r3d links here below.

To try again, when StaxRip don't find settings it asks where to create new settings or load old settings.

@BellesFesses

If the latest version gives this warning using default settings the please upload a sample.

I've changed code in this regard because many prefer LAV Filters, ffdshow should still be recognized as YV12 decoder, maybe it don't work because of the codec pack. I guess I missed the newest Helix version.

Some things are better prohibited or at least hidden.

Here are the 4sh@r3d links to a 10 sec sample made with tsMuxerGUI.exe + MediaInfo :

00002 sample 10 sec.rar (https://www.4shared.com/rar/1oLfniom/00002_sample_10_sec.html)

00002 sample 10 sec.m2ts MediaInfo.txt (https://www.4shared.com/office/1B4zNrJI/00002_sample_10_secm2ts_MediaI.html)

Thanks in advance for your precious time and knowledge :thanks:

fantasmanegro
4th July 2013, 16:13
Hail to all,
Looks like my answer yesterday never got posted. Thank you for the tip fantasmanegro :goodpost:
My links to fil3dropper.com weren't used and I had posted yesterday the 4sh@r3d links here below.



Here are the 4sh@r3d links to a 10 sec sample made with tsMuxerGUI.exe + MediaInfo :

00002 sample 10 sec.rar (https://www.4shared.com/rar/1oLfniom/00002_sample_10_sec.html)

00002 sample 10 sec.m2ts MediaInfo.txt (https://www.4shared.com/office/1B4zNrJI/00002_sample_10_secm2ts_MediaI.html)

Thanks in advance for your precious time and knowledge :thanks:

i can open the file and encode but not in mkv container... i missed the point... what was the question?... :confused:

BellesFesses
5th July 2013, 08:57
How to add "Misc/Convert to YV12" Filter in Staxrip

i can open the file and encode but not in mkv container... i missed the point... what was the question?... :confused:

Good morning to all :wave: (please add wave smiley :))

The point fanta is in the title of my posts. I'm losing the thread of my posts so I will recapitulate :

This is the title :
Unsupported Colorspace ::: x264 requires YV12 input StaxRip error message
How to add "Misc/Convert to YV12" Filter in Staxrip ? question to : research and fix found on this forum not working du to old version of StaxRip

I am trying to make two video files (maybe one serving both purposes is enough) : one recognised by Facebook upload and a second to be read on a Samsung TV PS51D550 3D. My caméra is a Panasonic Z10 Lumix making AVCHD lite files.

That means change container, here I am guessing, to mp4 or MKV***. Leave video format AVC and change audio AC3 to AAC. I am what you call a newbie. But I hope you may say an alert one :)

***I have tried with MKVmerge but it doesn't work. It seems to make a MKV version 2 file container not recognised on the TV and that is why I switched to StaxRip

POST 1 : original post #4447 (http://forum.doom9.org/showpost.php?p=1635158&postcount=4447) with links to research on this forum and MediaInfo for original file.

POST 2 : answer to Stax76 #4455 (http://forum.doom9.org/showpost.php?p=1635299&postcount=4455) with MediaInfo for samle file

POST 3 : answer to fantasmanegro fil3dropp3r.com #4457 (http://forum.doom9.org/showpost.php?p=1635346&postcount=4457) link to 4sh@r3d 10 sec sample made with tsMuxerGUI.exe + MediaInfo

I hope all this editing is useful and you catch my purpose. I tried to be as complete as possible. You guys don't have much time and I wouldn't want to abuse your time. I don't usually speak English living in France. So that is maybe a difficulty in getting across ?

Have a great day to you all :cheers: (please add :cheers: smiley) lol

PS please indulge and feel free to ask any question possible. I am eager to learn ;)

fantasmanegro
5th July 2013, 12:56
How to add "Misc/Convert to YV12" Filter in Staxrip



Good morning to all :wave: (please add wave smiley :))

The point fanta is in the title of my posts. I'm losing the thread of my posts so I will recapitulate :

This is the title :
Unsupported Colorspace ::: x264 requires YV12 input StaxRip error message
How to add "Misc/Convert to YV12" Filter in Staxrip ? question to : research and fix found on this forum not working du to old version of StaxRip



to add this just click on FILTERS -> PROFILES...

and search for [MISC], then add this line

ConvertToYV12 = ConvertToYV12()


the result is like

[Misc]
Assume 25 fps = AssumeFPS(25, 1, true)
Assume 23.976 fps = AssumeFPS(24000, 1001, true)
ConvertToYV12 = ConvertToYV12()

and click on OK button

now you can add this through FILTERS -> INSERT -> MISC

as i said before i could encode your sample with staxrip

BellesFesses
5th July 2013, 15:54
How to add "Misc/Convert to YV12" Filter in Staxrip

Hail to all :wave:

Thank you Fanta for your kind guidance. Have tried out your method unsuccessfully :

Convert to YV12 through "your profile"
http://img9.imageshack.us/img9/7694/83kh.jpg

Message pops up :
How should MTS-AVC be opened
http://img153.imageshack.us/img153/9522/qgqa.jpg

I chose ffmpeg to start

Same problem Unsupported Color Space :
StaxRip
http://img833.imageshack.us/img833/6273/awv2.jpg

I checked the filter if the added line was still there and yep it was :
[Misc]
Assume 25 fps = AssumeFPS(25, 1, true)
Assume 23.976 fps = AssumeFPS(24000, 1001, true)
ConvertToYV12 = ConvertToYV12()

next I chose DirectShowSource
Failed to open
http://img694.imageshack.us/img694/3157/f3bw.jpg

This is so painful not to succeed. I really thought you had found the way around using "your profile" I am so sorry to bother you.
You said you were able to encode. To what did you encode to ?

If you have any other solution I would be very happy to try. Hope you still have the time. Thanks again for your help :thanks:

BellesFesses
5th July 2013, 22:06
How to add "Misc/Convert to YV12" Filter in Staxrip

to add this just click on FILTERS -> PROFILES...
and search for [MISC], then add this line
ConvertToYV12 = ConvertToYV12()
the result is like
[Misc]
Assume 25 fps = AssumeFPS(25, 1, true)
Assume 23.976 fps = AssumeFPS(24000, 1001, true)
ConvertToYV12 = ConvertToYV12()
and click on OK button
now you can add this through FILTERS -> INSERT -> MISC
as i said before i could encode your sample with staxrip

Hail to all :wave:

Looks like a second post has been deleted :confused: I wrote back this morning using the quick reply and no quote. I had added pictures (5 in all) of all I had done to explain. It's now evening and it still hasn't been published :devil:

I don't like complaining but delay between writing and posting is terribly long. And what about the lost posts :(

I was saying this morning that it didn't work again. But I had missed out part of your explanation :
now you can add this through FILTERS -> INSERT -> MISC

Now it seems to be encoding. Another problem is it stops when the computer goes to sleep. I can't stay around and wait. I'm busy and have work to do. Is there an option for StaxRip to keep working even if my computer turns off the screen ?

Hoping my encode will work ... 20% done in 12 hours lol

Thanks again Fanta :thanks: Have a great night :see ya tomorrow: :)

EDIT 1 : threads are too slow to be authorised

My post has been authorised HOURRA !!!

The encode failed around 5 o'clock this morning. I am adding error message and log. If you still have a little time Fanta, could you please see what I did wrong ?

error message :
Operation failed!

x264 encoding failed

StaxRip.ErrorAbortException: x264 encoding failed
à StaxRip.x264Encoder.Encode() dans D:\Projekte\StaxMedia\trunk\StaxRip\General\VideoEncoder.vb:ligne 1564
à StaxRip.MainForm.Encode() dans D:\Projekte\StaxMedia\trunk\StaxRip\Forms\MainForm.vb:ligne 2170
à StaxRip.MainForm.RunJobs() dans D:\Projekte\StaxMedia\trunk\StaxRip\Forms\MainForm.vb:ligne 3354

Please look at log uploaded too :thanks:

PS I addes ".txt" to be able to upload. Still opens on my computer ;)

fantasmanegro
6th July 2013, 14:56
My post has been authorised HOURRA !!!

that is the reason to use other servers to attach files to post :devil:

near the end of log there is a text

encoded 44978 frames, 1.83 fps, 3427.71 kb/s


here says it encoded the file

maybe staxrip does not mux, if you check the temp folder and look for an aac and h264 file... try to mux them

by the way try to use ffmpeg

manolito
6th July 2013, 23:02
My source is an MP4 file with AVC video and AAC audio. StaxRip uses MP4Box to demux the file, but this fails miserably...:eek:

Here's the log:

------------------------------------------------------------
Environment
------------------------------------------------------------

StaxRip version: 1.1.9.0
OS Name : Microsoft Windows XP
OS Version : 5.1.2600.196608
OS Type : 32-bit
OS Culture : German (Germany)

------------------------------------------------------------
.NET
------------------------------------------------------------

v2.0.50727 : 2.2.30729
v2.0.50727\1031 : 2.2.30729
v3.0 : 3.2.30729
v3.0\1031 : 3.2.30729
v3.5 : 3.5.30729.01
v3.5\1031 : 3.5.30729.01
v4\Client : 4.0.30319
v4\Full : 4.0.30319

------------------------------------------------------------
Source file MediaInfo
------------------------------------------------------------

I:\test.mp4

General
Complete name : I:\test.mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42
File size : 41.3 MiB
Duration : 15mn 5s
Overall bit rate mode : Variable
Overall bit rate : 383 Kbps
Writing application : Lavf54.59.106

Video
ID : 201
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Baseline@L2.1
Format settings, CABAC : No
Format settings, ReFrames : 1 frame
Format settings, GOP : M=1, N=50
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 15mn 5s
Bit rate : 240 Kbps
Width : 432 pixels
Height : 240 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 25.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.093
Stream size : 25.8 MiB (62%)
Writing library : x264 core 129 r2 bc13772
Encoding settings : cabac=0 / ref=1 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=2 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=1 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=50 / keyint_min=5 / scenecut=40 / intra_refresh=0 / rc_lookahead=10 / rc=cbr / mbtree=1 / bitrate=240 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=240 / vbv_bufsize=480 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00
Language : English
Tagged date : UTC 2013-06-27 21:35:59

Audio
ID : 101
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 15mn 4s
Bit rate mode : Variable
Bit rate : 123 Kbps
Maximum bit rate : 256 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 KHz
Compression mode : Lossy
Stream size : 13.2 MiB (32%)
Language : English
Tagged date : UTC 2013-06-27 21:35:59


------------------------------------------------------------
Demux MP4 using MP4Box
------------------------------------------------------------

"E:\Programme\StaxRip\Applications\MP4Box\MP4Box.exe" -raw 1 "I:\test.mp4"

Cannot extract systems track ID 1 in raw format - use NHNT
Error: Feature Not Supported


Start: 23:36:52
End: 23:36:53
Duration: 00:00:01

"E:\Programme\StaxRip\Applications\MP4Box\MP4Box.exe" -single 2 "I:\test.mp4"




Start: 23:36:53
End: 23:36:54
Duration: 00:00:00

"E:\Programme\StaxRip\Applications\MP4Box\MP4Box.exe" -raw 3 "I:\test.mp4"

Extracting AC3 Audio


Start: 23:36:54
End: 23:36:55
Duration: 00:00:00

"E:\Programme\StaxRip\Applications\MP4Box\MP4Box.exe" -raw 4 "I:\test.mp4"

Extracting AC3 Audio


Start: 23:36:55
End: 23:36:55
Duration: 00:00:00

"E:\Programme\StaxRip\Applications\MP4Box\MP4Box.exe" -raw 5 "I:\test.mp4"

Extracting AC3 Audio


Start: 23:36:55
End: 23:36:56
Duration: 00:00:00

"E:\Programme\StaxRip\Applications\MP4Box\MP4Box.exe" -raw 6 "I:\test.mp4"

Extracting AC3 Audio


Start: 23:36:56
End: 23:36:57
Duration: 00:00:00


------------------------------------------------------------
Index with ffmsindex
------------------------------------------------------------

I:\test.mp4
"E:\Programme\StaxRip\Applications\AviSynth plugins\ffms2\ffmsindex.exe" "I:\test.mp4" "I:\test temp files\test.ffindex"

Writing index... done.


Start: 23:36:57
End: 23:37:00
Duration: 00:00:02


------------------------------------------------------------
Source Macros
------------------------------------------------------------

Source Directory: I:\
Source Directory Name:
Source Directory Parent: I:\
Source File Path: I:\test.mp4
Source Files Blank: "I:\test.mp4"
Source Files Comma: "I:\test.mp4"
Source Framerate: 25.00
Source Framerate MediaInfo: 25.000
Source Frames: 22627
Source Image Height: 240
Source File Name: test
Source Seconds: 905
Source Image Width: 432

------------------------------------------------------------
Autocrop
------------------------------------------------------------

Autocrop sometimes hangs depending on source file and source filter.
In case it hangs uncheck the crop filter or disable it in the options.

FFVideoSource("%source_file%", cachefile="%working_dir%%source_name%.ffindex")
AssumeFPS(25.000)
Crop(0,0, -Width % 8,-Height % 8)
ConvertToYV12()
AutoCrop(mode=2,samples=20)



It seems like MP4Box has no way to demux this file (the file was downloaded from an adult site, it plays flawlessly in all the software players I have installed).

This is not a problem of the latest StaxRip version 1.9.0.0, previous versions had the same issue. I also tried to use different versions of MP4Box and MediaInfo, but the problem did not disappear.

The only way so far to transcode this clip was to convert it to MKV first (using mkvmerge). The MKV file was converted by StaxRip without the slightest problem.


Is there anything I could do to work around this MP4Box issue? Is there a way to force StaxRip to use ffmpeg to demux MP4 files? Under "Tools->Settings->Demuxing" the entry for demuxing MKV, WEBM, MP4 is not editable.



Cheers
manolito

manolito
6th July 2013, 23:58
I think I found the problem...:sly:

The stream IDs in the source file are 201 for video and 101 for audio. And these IDs make MP4Box choke.

I found out about this by loading the source file into AviDemux, specifying "Copy" for video and audio and saving the file into an MP4 container with a different file name. This new file had the ID 1 for video and 2 for audio. And guess what... this file was converted by StaxRip without any problems.



This means that I have some new questions:

Are these stream IDs in the original file legal? Obviously the file was created by Lavf54.59.106.

Is there any software which lets me edit stream IDs in MP4 files?

Could StaxRip take care of this problem by correcting stream IDs in MP4 files?



Cheers
manolito

duplakappa
7th July 2013, 05:13
10 bits support? please...

stax76
7th July 2013, 08:10
@manolito

Maybe it's more than just the numbering, the only file I've found with 'Codec ID : mp42' demuxes here so such files should be rare, first I thought it's probably an old file because of the low resolution but the tag date is new and the profile is baseline so I guess it's a mobile version of a clip and there should also be a HD version on the site. If it's really so rare then I don't want to spent time on it and rather suggest the mkvmerge workaround.

@BellesFesses

I never had a NAS so I've no experience how encoding works in such an environment, you can try a local source drive with StaxRip 1.9.0.0 using all default values and send a log file per email if it still fails.

joearmstrong
7th July 2013, 08:56
In v1.1.6.0 I could easily configure compressibility check for my xvid encodings. There were 2 options - "Compressibility Check" (to edit codec settings) and "Run Compressibility Check". In later version this options is gone. No matter what codec settings I choose for 1st and 2nd pass - compressibility check always uses its default settings. I tried with choosing another matrix (mpeg instead of h.263) and compared with the file produced by compressibility check - it doesn't take the settings whatever you choose.

Is this a bug produced by versions later than 1.1.6.0 or is this option really gone (so compressibility check is useless when you want to use your own codec settings)? :eek:

stax76
7th July 2013, 09:17
It could be both, I'm sorry but I don't have enough time to support legacy features.

AMiR9!WV
7th July 2013, 09:54
@AMiR9!WV

There is error handling built in which don't seem to work in your case since it's supposed to show a more detailed error description (stack trace) and it's supposed to instruct mailing me the error description. You can try the version released yesterday and mail me the log file in case there is one.

i download new version
but i steel get this error
http://www.pic.lilup.net/images/ui9ed4zniy0b87k8hi89.png

I tried many files and i get this same error all the time

stax76
7th July 2013, 10:03
Maybe it generates a log file with more error details.

BellesFesses
7th July 2013, 12:10
that is the reason to use other servers to attach files to post :devil:
near the end of log there is a text
encoded 44978 frames, 1.83 fps, 3427.71 kb/s

here says it encoded the file
maybe staxrip does not mux, if you check the temp folder and look for an aac and h264 file... try to mux them
by the way try to use ffmpeg

I found just as you said : .h264 & .wav & .m4a here is the link to mediainfo (no uploads on forum any more;)).

http://www.4shared.com/rar/jzQsRkQZ/130706_MediaInfo_temp_files.html

I asked Staxrimp to make a video with mp4 container AVC video and AAC audio file. That has nothing to do with the result. But as you say I can work from here

Audio : Wav container and PCM file 29mn 59s
m4a is a MPEG-4 container and AAC file 29mn 59s also

Video : .h264 AVC container and AVC file but no length ?

I shall try and put them together (remux) with what Staxrip ?

Do you have an example (template) for putting chapters every 5 minutes txt or xml ?

So here goes I load the .h264 and i get the question on 130705 How should H264/AVC be opened and I chose, as you asked me ffmpeg. Then another pop-up and I will copy this one. Already uploaded MediaInfo and tired :

"Failed to open source, try another method?
Source: Invalid pts and dts
(W\encodage\Conversions0002\00002 temp
files\0000_Output_Source.avs line 2)
OK"

Loaded all by itself the m4a audio file so I didn't chose between wav and m4a. It was the biggest file anyway so probably the best.

It is using the wav file anyway ?

Operation failed!

x264 encoding failed

StaxRip.ErrorAbortException: x264 encoding failed
à StaxRip.x264Encoder.Encode() dans D:\Projekte\StaxMedia\trunk\StaxRip\General\VideoEncoder.vb:ligne 1564
à StaxRip.MainForm.Encode() dans D:\Projekte\StaxMedia\trunk\StaxRip\Forms\MainForm.vb:ligne 2170
à StaxRip.MainForm.RunJobs() dans D:\Projekte\StaxMedia\trunk\StaxRip\Forms\MainForm.vb:ligne 3354

Don't have time to upoad the staxRip log file to 4share. Will edit later ... :thanks:

BellesFesses
7th July 2013, 12:22
I see we can post logs. I think it takes up too much space on the thread though. Tell me what you think please ?
Got this message :
The text that you have entered is too long (17097 characters). Please shorten it to 16000 characters long.
Here is the report :
------------------------------------------------------------
Environment
------------------------------------------------------------
StaxRip version: 1.1.8.0
OS Name : Windows 7 Professional
OS Version : 6.1.7601.65536
OS Type : 64-bit
OS Culture : French (France)
------------------------------------------------------------
.NET
------------------------------------------------------------
v2.0.50727 : 2.0.50727.5420
v2.0.50727\1036 : 2.0.50727.5420
v3.0 : 3.0.30729.5420
v3.5 : 3.5.30729.5420
v3.5\1036 : 3.5.30729.5420
v4\Client : 4.0.30319
v4\Client\1036 : 4.0.30319
------------------------------------------------------------
Source file MediaInfo
------------------------------------------------------------
W:\00002_Output.h264
General
Complete name : W:\00002_Output.h264
Format : AVC
Format/Info : Advanced Video Codec
File size : 735 MiB

Video
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.1
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Writing library : x264 core 128 r2216 198a7ea
Encoding settings : cabac=1 / ref=5 / deblock=1:-1:-1 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-3 / threads=3 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=21.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
------------------------------------------------------------
DGIndexNV - Demux audio and index
------------------------------------------------------------
"W:\Tools VdO\Staxrip\DGIndexNV\DGIndexNV\DGIndexNV.exe" -i "W:\00002_Output.h264" -o "W:\00002_Output temp files\00002_Output.dgi" -a -e
Demuxer: DGIndexNV - Demux audio and index
Start: 01:09:53
End: 01:09:53
Duration: 00:00:00
------------------------------------------------------------
DGAVCIndex - Demux and index AVC
------------------------------------------------------------
"W:\Tools VdO\Staxrip\Applications\DGAVCDec\DGAVCIndex.exe" -i "W:\00002_Output.h264" -o "W:\00002_Output temp files\00002_Output.dga" -a -e
Demuxer: DGAVCIndex - Demux and index AVC
Start: 01:09:54
End: 01:11:59
Duration: 00:02:05
------------------------------------------------------------
Index with ffmsindex
------------------------------------------------------------
W:\00002_Output.h264
"W:\Tools VdO\Staxrip\Applications\AviSynth plugins\ffms2\ffmsindex.exe" "W:\00002_Output.h264" "W:\00002_Output temp files\00002_Output.ffindex"
Indexing error: Invalid initial pts and dts
Start: 01:12:23
End: 01:12:24
Duration: 00:00:01
------------------------------------------------------------
Error opening source
------------------------------------------------------------
FFVideoSource: Invalid initial pts and dts
(W:\00002_Output temp files\00002_Output_Source.avs, line 2)
FFVideoSource("%source_file%", cachefile="%working_dir%%source_name%.ffindex")
AssumeFPS(25.000)
Crop(0,0, -Width % 8,-Height % 8)
ConvertToYV12()
------------------------------------------------------------
Source Macros
------------------------------------------------------------
Source Directory: W:\
Source Directory Name: Conversion 00002 NEW
Source Directory Parent: W:\encodage\
Source File Path: W:\00002_Output.h264
Source Files Blank: "W:\00002_Output.h264"
Source Files Comma: "W:\00002_Output.h264"
Source Framerate: 25.00
Source Framerate MediaInfo: 25.000
Source Frames: 58839
Source Image Height: 720
Source File Name: 00002_Output
Source Seconds: 2354
Source Image Width: 1280
------------------------------------------------------------
AviSynth Filters
------------------------------------------------------------
DirectShowSource("W:\00002_Output.h264", audio=false, convertfps=true, fps=25)
Yadif()
------------------------------------------------------------
Audio Source File MediaInfo
------------------------------------------------------------
General
Complete name : W:\00002_Output.m4a
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42
File size : 19.4 MiB
Duration : 29mn 59s
Overall bit rate mode : Variable
Overall bit rate : 90.3 Kbps
Encoded date : UTC 2013-07-05 19:53:56
Tagged date : UTC 2013-07-05 19:55:23
Audio
ID : 1
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : HE-AAC / LC
Codec ID : 40
Duration : 29mn 59s
Bit rate mode : Variable
Bit rate : 89.5 Kbps
Maximum bit rate : 118 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz / 24.0 KHz
Compression mode : Lossy
Stream size : 19.2 MiB (99%)
Writing library : Nero AAC codec 1.5.4.0
Encoding settings : -q 0.30
Encoded date : UTC 2013-07-05 19:53:56
Tagged date : UTC 2013-07-05 19:55:23
Menu
------------------------------------------------------------
Audio Decoding using ffmpeg
------------------------------------------------------------
"W:\Tools VdO\Staxrip\Applications\ffmpeg\ffmpeg.exe" -i "W:\00002_Output.m4a" -y -ac 2 -ar 48000 "W:\00002_Output temp files\00002_Output.wav"
ffmpeg version N-35057-g2c44aed, Copyright (c) 2000-2011 the FFmpeg developers
built on Nov 21 2011 02:36:31 with gcc 4.6.2
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 51. 26. 0 / 51. 26. 0
libavcodec 53. 36. 0 / 53. 36. 0
libavformat 53. 21. 0 / 53. 21. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 49. 0 / 2. 49. 0
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'W:\00002_Output.m4a':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: M4A mp42isom
creation_time : 2013-07-05 19:53:56
encoder : Nero AAC codec / 1.5.4.0
Duration: 00:29:59.33, start: 0.000000, bitrate: 90 kb/s
Chapter #0.0: start 0.097333, end 1799.338667
Metadata:
title :
Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 89 kb/s
Metadata:
creation_time : 2013-07-05 19:53:56
handler_name :
Output #0, wav, to 'W:\00002_Output temp files\00002_Output.wav':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: M4A mp42isom
creation_time : 2013-07-05 19:53:56
encoder : Lavf53.21.0
Chapter #0.0: start 0.097333, end 1799.338667
Metadata:
title :
Stream #0:0(und): Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 2 channels, s16, 1536 kb/s
Metadata:
creation_time : 2013-07-05 19:53:56
handler_name :
Stream mapping:
Stream #0:0 -> #0:0 (aac -> pcm_s16le)
Press [q] to stop, [?] for help
video:0kB audio:337376kB global headers:0kB muxing overhead 0.000013%
Start: 01:15:09
End: 01:15:27
Duration: 00:00:18
General
Complete name : W:\00002_Output temp files\00002_Output.wav
Format : Wave
File size : 329 MiB
Duration : 29mn 59s
Overall bit rate mode : Constant
Overall bit rate : 1 536 Kbps
Audio
ID : 0
Format : PCM
Format settings, Endianness : Little
Codec ID : 1
Duration : 29mn 59s
Bit rate mode : Constant
Bit rate : 1 536 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Stream size : 329 MiB (100%)
------------------------------------------------------------
Audio encoding using BeSweet
------------------------------------------------------------
"W:\Tools VdO\Staxrip\Applications\BeSweet\BeSweet.exe" -core( -input "W:\00002_Output temp files\00002_Output.wav" -output "W:\00002_Output temp files\00002_Output_Output.m4a" ) -ota( -norm 0.97 ) -bsn( -vbr 0.3 )
[00:00:00:000] Initializing...
[00:00:00:000] -- Initializing...
[00:15:47:200] |
[00:02:15:520] transcodin*************************************************************
* Nero AAC Encoder *
* Copyright 2009 Nero AG *
* All Rights Reserved Worldwide *
* Package build date: Feb 18 2010 *
* Package version: 1.5.4.0 *
* See -help for a complete list of available parameters. *
*********************************************
Process ...
Pro...
[00:10:25:984] transcodicessed 466 seconds...
[00:13:10:880] transcodin
[00:18:32:224] tranconds...
[00:21:12:896] ts...
[00:23:49 1274 seconds...
[0..
[00:29:57:184] t
ranscoding ...
[00:29:59:338] Finalizing...
[00:29:59:338] Conversion Completed !
Visit DSPguru's Homepage at :
http://DSPguru.doom9.net/
Start: 01:15:27
End: 01:17:13
Duration: 00:01:46
General
Complete name : W:\00002_Output temp files\00002_Output_Output.m4a
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42
File size : 19.4 MiB
Duration : 29mn 59s
Overall bit rate mode : Variable
Overall bit rate : 90.6 Kbps
Encoded date : UTC 2013-07-06 23:15:30
Tagged date : UTC 2013-07-06 23:17:12
Audio
ID : 1
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : HE-AAC / LC
Codec ID : 40
Duration : 29mn 59s
Bit rate mode : Variable
Bit rate : 89.8 Kbps
Maximum bit rate : 117 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz / 24.0 KHz
Compression mode : Lossy
Stream size : 19.3 MiB (99%)
Writing library : Nero AAC codec 1.5.4.0
Encoding settings : -q 0.30
Encoded date : UTC 2013-07-06 23:15:30
Tagged date : UTC 2013-07-06 23:17:12
Menu
------------------------------------------------------------
x264
------------------------------------------------------------
"W:\Tools VdO\Staxrip\Applications\x264\x264.exe" --preset slow --tune film --crf 21 --output "W:\00002_Output temp files\00002_NEW_Output_Output.h264" "W:\00002_Output temp files\00002_NEW_Output.avs"
avs [info]: 1280x720p 0:0 @ 25/1 fps (cfr)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264 [info]: profile High, level 3.1
x264 [info]: frame I:236 Avg QP:15.68 size: 92853
x264 [info]: frame P:16548 Avg QP:19.39 size: 23427
x264 [info]: frame B:42055 Avg QP:23.04 size: 7886
x264 [info]: consecutive B-frames: 2.5% 3.9% 8.4% 85.2%
x264 [info]: mb I I16..4: 20.9% 55.4% 23.7%
x264 [info]: mb P I16..4: 9.9% 11.6% 1.9% P16..4: 33.6% 10.6% 7.0% 0.0% 0.0% skip:25.5%
x264 [info]: mb B I16..4: 1.8% 2.2% 0.3% B16..8: 23.2% 3.5% 0.8% direct:11.8% skip:56.4% L0:50.9% L1:40.6% BI: 8.5%
x264 [info]: 8x8 transform intra:50.3% inter:77.6%
x264 [info]: direct mvs spatial:100.0% temporal:0.0%
x264 [info]: coded y,uvDC,uvAC intra: 35.9% 77.5% 32.4% inter: 15.9% 36.8% 2.5%
x264 [info]: i16 v,h,dc,p: 42% 29% 17% 12%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 13% 31% 5% 6% 7% 6% 6% 6%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 16% 8% 6% 9% 11% 9% 9% 8%
x264 [info]: i8c dc,h,v,p: 45% 28% 21% 5%
x264 [info]: Weighted P-Frames: Y:29.3% UV:24.8%
x264 [info]: ref P L0: 45.3% 8.4% 20.6% 10.6% 10.4% 3.8% 0.9%
x264 [info]: ref B L0: 68.3% 17.8% 9.4% 4.5%
x264 [info]: ref B L1: 94.0% 6.0%
x264 [info]: kb/s:2519.49
encoded 58839 frames, 2.42 fps, 2519.49 kb/s
Start: 01:17:13
End: 08:02:35
Duration: 06:45:21
------------------------------------------------------------
Error
------------------------------------------------------------
x264 encoding failed

manolito
8th July 2013, 00:34
@manolito

Maybe it's more than just the numbering, the only file I've found with 'Codec ID : mp42' demuxes here so such files should be rare, first I thought it's probably an old file because of the low resolution but the tag date is new and the profile is baseline so I guess it's a mobile version of a clip and there should also be a HD version on the site. If it's really so rare then I don't want to spent time on it and rather suggest the mkvmerge workaround.
Well, those files are not so rare if you sometimes download clips from YouPorn...:devil:
And there is really no way to make StaxRip demux such files with ffmpeg?


Cheers
manolito

manolito
8th July 2013, 03:34
Update:

I just found out that StaxRip handles those (sometimes not so) "rare" files very well if you disable the "Demux Source File" option under "Options->Misc".

Question:
What is the catch if I disable this option "Demux Source file" globally for all my templates? This option is active by default, am I asking for trouble if I disable it?



Cheers
manolito

joearmstrong
8th July 2013, 15:00
It could be both, I'm sorry but I don't have enough time to support legacy features.

That's disappointing. Staxrip was the best tool for ripping DVDs and BDs to xvid with its compressibility check. Without the option to configure codec settings the compressibility check is useless. Latest working version was 1.1.6.0, so I have to stay at this version. But why is this a legacy feature? I guess many people are using staxrip's compressibility check...

fantasmanegro
8th July 2013, 15:24
I found just as you said : .h264 & .wav & .m4a here is the link to mediainfo (no uploads on forum any more;)).

http://www.4shared.com/rar/jzQsRkQZ/130706_MediaInfo_temp_files.html

I asked Staxrimp to make a video with mp4 container AVC video and AAC audio file. That has nothing to do with the result. But as you say I can work from here

Audio : Wav container and PCM file 29mn 59s
m4a is a MPEG-4 container and AAC file 29mn 59s also

Video : .h264 AVC container and AVC file but no length ?


I shall try and put them together (remux) with what Staxrip ?

I guess yes and not, try to use mkvmerge (in StaxRip/Applications/Mkvtoolinx/mmg.exe) to mux or another mux tool as mp4box; use the h264 video and aac audio.:)

Do you have an example (template) for putting chapters every 5 minutes txt or xml ?


sorry about this... i do not use chapters with staxrip, i mean, i dont know how to do it...:o

stax76
8th July 2013, 15:30
@manolito

I don't remember it but according to the help I guess it skips the entire demuxing chain defined in the global settings, for most sources demuxing makes sense. Because 'Demux Source file' is a project option a possibility would be to make a project template for a special file type.

Is there a special software needed to download from that site and do you know for what exactly Writing application: Lavf54.59.106 stands for?

@joearmstrong

I consider XviD and 2 pass legacy because I see little to no sense in it compared to x264 and single pass quality/crf mode.

joearmstrong
8th July 2013, 20:19
@manolito

I don't remember it but according to the help I guess it skips the entire demuxing chain defined in the global settings, for most sources demuxing makes sense. Because 'Demux Source file' is a project option a possibility would be to make a project template for a special file type.

Is there a special software needed to download from that site and do you know for what exactly Writing application: Lavf54.59.106 stands for?

@joearmstrong

I consider XviD and 2 pass legacy because I see little to no sense in it compared to x264 and single pass quality/crf mode.

I appreciate your opinion and of course you are right: x264 is far better than xvid! But keep in mind that mpeg4 has more compatibility than x264. Most devices don't support x264 like my bluray-player and my ps3. And there are a lot of people out there wich still prefer xvid encodings because of compatibility.
By the way: Staxrip is still my favorite encoding tool. Thanks for your good work!

fantasmanegro
9th July 2013, 00:41
I appreciate your opinion and of course you are right: x264 is far better than xvid! But keep in mind that mpeg4 has more compatibility than x264. Most devices don't support x264 like my bluray-player and my ps3. And there are a lot of people out there wich still prefer xvid encodings because of compatibility.
By the way: Staxrip is still my favorite encoding tool. Thanks for your good work!

Bluray and PS3 do support x264...

i have a Bluray about 1 year old and i can play mp4 and mkv files encoded with x264.... about PS3 i guess you need to use AVCHD "disc" but at the end of the day it is h264...:eek::eek::eek::eek::eek:

joearmstrong
9th July 2013, 07:28
Bluray and PS3 do support x264...

i have a Bluray about 1 year old and i can play mp4 and mkv files encoded with x264.... about PS3 i guess you need to use AVCHD "disc" but at the end of the day it is h264...:eek::eek::eek::eek::eek:

Not for me. XviD is still good enough for me and it plays fine on all my devices - x264 does not.

BellesFesses
9th July 2013, 10:58
I guess yes and not, try to use mkvmerge (in StaxRip/Applications/Mkvtoolinx/mmg.exe) to mux or another mux tool as mp4box; use the h264 video and aac audio.:)

sorry about this... i do not use chapters with staxrip, i mean, i dont know how to do it...:o

Hail to all :wave:

Sorry for the delay. I have been quite busy and had already tried Staxrip. Postd MediaIfon directly in forum.

I shall try mmg which usually only recognise .mkv files ? and mp4box as soon as I have the time and keep you informed.

Thanks for the help and have a great day :thanks:

PS hope the message isn't posted at night lol then I would say have a great night :)

EDIT 1 : PPS : that posted immediately ? bravo !

fantasmanegro
9th July 2013, 12:32
XviD is still good enough for me and it plays fine on all my devices

i agree with that... :)

Schattenspieler
9th July 2013, 23:48
Even many mobile (smart) phones do x264, like my DEFY, which btw isn't exactly the latest out there. For XviD I use Hybrid (http://www.selur.de/).

BellesFesses
10th July 2013, 10:50
Hail to all :wave:

I guess yes and not, try to use mkvmerge (in StaxRip/Applications/Mkvtoolinx/mmg.exe) to mux or another mux tool as mp4box; use the h264 video and aac audio.:)

sorry about this... i do not use chapters with staxrip, i mean, i dont know how to do it...:o

Fanta I am starting with my version :
mmg.exe mkvmerge GUI v5.8 ('No Sleep / Pillow')
error message :
Command line used:
"C:\Program Files (x86)\Tools VdO\MKVtoolnix\mkvmerge.exe" --output-charset UTF-8 --identify-for-mmg "W:\encodage\Conversions 0002\00002 temp files\00002_Output.h264"
Output:
Error: The source file 'W\c\\encodage\\Conversions\s0002\\00002\stemp\sfiles\\00002_Output.h264' could not be opened successfully, or retrieving its size by seeking to the end did not work.

StaxRip version Staxrip/Applications/MKVtoolnix/mmg.exe
mkvmerge GUI v3.3 ('Language')
error message :
You're adding an AVC/h.264 elementary stream to the output file. mkvmerge cannot determine the number of frames per second for files itself. Therefore you have to set this parameter yourself on the 'format specific option' page.

If you don't do this then mkvmerge will assume 25fps

This message will only be shown once unless you have enabled mmg's warnings on it's 'settings' page [OK]

Loaded

Frame rate on original file : 25.000 fps so I change nothing.

use the h264 video and aac audio

Loading 00002_Output.m4a OK

Output file name : 00002_Output.mkv

Copy to clipboard button
"C:\Program Files (x86)\Tools VdO\MKVtoolnix\mkvmerge.exe" -o "W:\\encodage\\Conversions 0002\\00002 temp files\\00002_Output.mkv" "--forced-track" "0:no" "-d" "0" "-A" "-S" "-T" "--no-global-tags" "--no-chapters" "W:\\encodage\\Conversions 0002\\00002 temp files\\00002_Output.h264" "--forced-track" "1:no" "-a" "1" "-D" "-S" "-T" "--no-global-tags" "W:\\encodage\\Conversions 0002\\00002 temp files\\00002_Output.m4a" "--track-order" "0:0,1:1"

Looks perfect starting to mux :
mkvmerge v3.3.0 ('Language') built on Mar 24 2010 14:59:24
'W:\encodage\Conversions 0002\00002 temp files\00002_Output.h264': Using the AVC/h.264 ES demultiplexer.
'W:\encodage\Conversions 0002\00002 temp files\00002_Output.m4a': Using the Quicktime/MP4 demultiplexer.
'W:\encodage\Conversions 0002\00002 temp files\00002_Output.h264' track 0: Using the MPEG-4 part 10 ES video output module.
'W:\encodage\Conversions 0002\00002 temp files\00002_Output.m4a' track 1: Using the AAC output module.
The file 'W:\encodage\Conversions 0002\00002 temp files\00002_Output.mkv' has been opened for writing.


Everything went fine ... Have to check. Will keep you informed. Thanks Fanta :thanks:

fantasmanegro
10th July 2013, 15:00
Everything went fine ... Have to check. Will keep you informed. Thanks Fanta :thanks:

you are welcome.. :)

datauser
11th July 2013, 18:36
Is it okay to xvid_encraw with this new version. Having some trouble pointing app to folder? Followed this procedure below but Staxrip fails to find it, as it says(error message in red)

application has to be located at C:WINDOWS\system32\

The following procedure does not work for me in XP with new 1.1.9.0, but it worked great with all previous versions of Staxrip:

copy the xvid_encraw and xivdcore.dll to the staxrip folder(where the xvid encoder was).
Start staxrip go tools applications.
Press F11, go to your staxrip folder(or wherever you have your xvid encraw exe)
and select that file, you may need to select all files to see it and then okay.
Then press F12 and remove 1.2.2 and type xvid_encraw.
Now Staxrip should run xvid encraw.

Schattenspieler
11th July 2013, 23:49
May be related to this (http://forum.doom9.org/showthread.php?p=1634964#post1634964).

datauser
12th July 2013, 18:40
May be related to this (http://forum.doom9.org/showthread.php?p=1634964#post1634964).

Possibility! Also might explain why avisyth is not working for me(I'm using XP pro sp3 updated 32 bit system) now despite using scripts which worked perfectly well before. I used asharp before in older builds, but now crashes in new Staxrip 1.1.9.0 showing syntax red error message. Also does not allow me to make a log of error crashes so I can't post them here as whole program GUI crashes. Have to say this new build is frustrating me a bit. I will revert to previous one I think.

BellesFesses
12th July 2013, 21:55
you are welcome.. :)

Hail to all :wave:

Second goal is achieved. The encode is uploading on FB :)

First goal was to play on : TV Samsung PS51D550 3D (http://www.lcd-compare.com/televiseur-SAMPS51D550-SAMSUNG-PS51D550.htm) and that is not recognised :(

Could you help me encode please ? Thanks in advance if you can, for your time and knowledge.

I think the problem comes from the MKV version 2 ? But I am not sure.

TV Specs in French:
Codecs Vidéo lus: MPEG1 • MPEG2 • MPEG4 • DivX® • XviD • WMV9 • H.264 (MPEG4 AVC) • Motion JPEG (MJPEG)
_______________ Codecs vidéo HD supportés
_______________ Vidéos en 3D supportées

Formats Vidéo lus: MPEG2-PS • MPEG2-TS • AVI • DivX® HD • MKV • MP4 • ASF • VOB

Codecs Audio lus : MP3 • WMA • AAC • LPCM • ADPCM • AC3 (Dolby Digital) • Dolby Digital Plus • HE-AAC • DTS Core

Formats d'images lus : JPEG

Autres informations : Ce téléviseur dispose de la fonction "ConnectShare Movie" (lecture de vidéo par l'USB).
_______________ Autres extensions de fichier lues : .wmv / .3gp / .vro / .mpg / .mpeg / .ts / .tp / .trp

_______________ Formats de sous-titres pris en charge :
_______________ - MPEG-4 time-based text : ".ttxt" (XML)
_______________ - SAMI : ".smi" (HTML)
_______________ - SubRip : ".srt" (chaînes)
_______________ - SubViewer : ".sub" (chaînes)
_______________ - Micro DVD : ".sub" ou ".txt" (chaînes)

_______________ Notes :
_______________ => Vidéo :
_______________ - GMC n'est pas pris en charge.
_______________ - Les normes H.264 FMO / ASO / RS, VC1 SP / MP / AP L4 et AVCHD ne sont pas prises en charge.
_______________ - La résolution maximale des vidéos AVI, MKV et ASF encodées en Motion JPEG est de 640 x 480 pixels.
_______________ - Toutes les autres vidéos supportent la résolution 1920 x 1080.
_______________ - Le codec H.264 est pris en charge jusqu'au niveau 4.1.
_______________ => Audio :
_______________ - Seuls les fichiers de MP3 sont lus en tant que fichiers seuls (pas le format WMA).
_______________ - Le codec WMA est pris en charge, associé à des vidéos dans des fichiers de type ASF et WMV.
_______________ - Ce modèle prend en charge le WMA version 7, 8, 9 et standard.
_______________ - WMA 9 PRO ne prend pas en charge l'audio deux canaux, multicanaux ou sans perte.
_______________ - Le taux d'échantillonnage WMA 22050 Hz mono n'est pas pris en charge.

Codecs Vidéo lus = Video codecs read
sous-titres = subtitles

please tell me what you need me to translate. I have the feeling all is comprehensible ...

:thanks:

fantasmanegro
12th July 2013, 22:41
Hail to all :wave:

Second goal is achieved. The encode is uploading on FB :)

First goal was to play on : TV Samsung PS51D550 3D (http://www.lcd-compare.com/televiseur-SAMPS51D550-SAMSUNG-PS51D550.htm) and that is not recognised :(

Could you help me encode please ? Thanks in advance if you can, for your time and knowledge.

I think the problem comes from the MKV version 2 ? But I am not sure.



media info of muxed file (the one that you mux)... and try to remux to mp4 file...

BellesFesses
13th July 2013, 10:19
media info of muxed file (the one that you mux)... and try to remux to mp4 file...

Hail to all :wave:
Thank you Fanta for still following me :thanks:
MediaInfo here (http://www.4shared.com/office/UMwqwvjE/00002_Outputmkv_MediaInfo.html)

lancing mp4 I'll keep you informed :)

Have a nice weekend

manolito
14th July 2013, 00:23
Possibility! Also might explain why avisyth is not working for me(I'm using XP pro sp3 updated 32 bit system) now despite using scripts which worked perfectly well before. I used asharp before in older builds, but now crashes in new Staxrip 1.1.9.0 showing syntax red error message. Also does not allow me to make a log of error crashes so I can't post them here as whole program GUI crashes. Have to say this new build is frustrating me a bit. I will revert to previous one I think.

Sorry, I cannot reproduce this. Asharp is in use here all the time, and it works perfectly with the current version. I am also on WinXP SP3, the aharp.dll resides in the AviSynth plugin folder (so it will autoload), and I added "asharp(1,4)" to my filter profile.


Cheers
manolito

datauser
14th July 2013, 21:04
@manolito

I agree. Beats me too! Script works great with last(any previous in fact) version of Staxrip, but something is amiss. Hell it should be working with new version:devil:

P.S I occasionally get halo effects from it. Which script is best to run in conjunction with it e.g below?

LoadPlugin("C:\Documents and Settings\Owner\Desktop\StaxRip_1.1.9.0\Applications\AviSynth plugins\UnDot\UnDot.dll")
LoadPlugin("C:\Documents and Settings\Owner\Desktop\StaxRip_1.1.9.0\Applications\AviSynth plugins\FluxSmooth\FluxSmooth.dll")
LoadPlugin("C:\Documents and Settings\Owner\Desktop\StaxRip_1.1.9.0\Applications\AviSynth plugins\asharp\asharp.dll")
UnDot()
FluxSmoothT(2)
asharp(1.5,4.25,-0.1)


I have used asharp(1.5,4.25,-0.1)and halo effect has manifested as with (1.5,2,1,false) to a lesser effect, however the clarity of video using this sharpener is great.
asharp(1.4,4.7,-0.1) I'm testing now using older Staxrip version as author recommended this himself on his old Doom 9 page. Thanking you.:)

BellesFesses
14th July 2013, 23:25
Hail to all :wave:

Hi Fanta. Didn't work for the TV. It won't recognise the file.

Here is the MediaInfo for the mp4 file :
mp4 file (http://www.4shared.com/office/RjPPLK7r/00002_Outputmp4_MediaInfo.html)

Don't really know what to do. Do you have an idea ?

Hope you had a good wwekend and are ready for this new week :)

fantasmanegro
15th July 2013, 02:01
Hail to all :wave:

Hi Fanta. Didn't work for the TV. It won't recognise the file.

Here is the MediaInfo for the mp4 file :
mp4 file (http://www.4shared.com/office/RjPPLK7r/00002_Outputmp4_MediaInfo.html)

Don't really know what to do. Do you have an idea ?

Hope you had a good wwekend and are ready for this new week :)

i want to try those files in my old samsung tv (mkv and mp4) so ... can you upload please?...

by the way... how are you trying to watch the files... with some media server like serviio and ps3ms or via usb stick?

EDIT: please upload the source files too, i mean the h264 and aac you used to...

EDIT 2: what is message that your tv shows in screen ?

EDIT 3: besides mkvtoolnix... what software did you use to create the mp4 file?...

BellesFesses
15th July 2013, 09:51
Hail to all :wave:

Hi Fanta,

I am making 30 second samples of the files mkv and mp4 I think the sample h264 is already made. I will upload on 4shared and edit this post to tell you they are ready.

I have a network on which TV is connected. I have many HD downloaded video files on the network that I can see. Maybe I should send you a MediaInfo of one that is read by TV ?

To read the files I use the TV. The files are not shown / not recognised as files. They just don't appear on the TV even though I can see them on a computer. No media server or serviio and ps3ms nor USB stick. I could try on a USB stick though but I have big doubts the files will be recognised there and not on network.

Will edit asap Have a nice day

fantasmanegro
15th July 2013, 13:09
Maybe I should send you a MediaInfo of one that is read by TV ?


yes please... send the media info


I could try on a USB stick though but I have big doubts the files will be recognised there and not on network.


maybe maybe not... it is just to get more info about this "weird behavior"...

nudelbubu
15th July 2013, 16:57
I'm on Win7x64 SP1 and recently switched from 1.1.8 to 1.1.9. I had problems with java not being recognized. The java.exe was located at c:\windows\system32 and shown in Windows Explorer. When navigating there from the dialog opened by pressing F11 in the Java status page, it was not shown (several other files weren't shown as well). Same thing in 1.1.8, but as 1.1.8 doesn't check, if the file exists, BDSup2Sub e.g. still worked fine.
It seems this is not related to user rights, as I set a copy of java.exe to the same rights and ownership as ipconfig.exe (same folder and being shown). Still nothing.

After comparing the setup to my other PC, I saw that there was no folder "Program Files (x86)\Java" on the one, that caused problems. So I installed the current JRE from the java homepage (http://www.java.com/de/download), which finally solved the problem. Might have been related to my java having been the version, that comes with Windows and was 64bit therefore, but that's just a guess. Maybe this can help others.

Sometimes I get async files when encoding MKVs, though audio is set do "Just Mux". When remuxing the created video stream with the audio from the original MKV everything is in sync. Any ideas on that?
Don't know, if this has been answered yet, but I had the same problem sometimes. For me, it always came from segmented mkv files. Which means, the mkv is actually made up of several video files, that all have their own audio. Audio for a segment does not need to be the exact length of the video. So for the output, they can overlap or have a gap. The problem is, that demuxing those streams will output a file, where they are written one after the other, without paying attention to their actual offset.
If you want to reencode those files, you can do that with eac3to directly from the video file:
//show, what's inside the file
eac3to segmented.mkv
//encode stream 2 and 3 to aac, options are per output file
eac3to segmented.mkv 2:Output_stream2.m4a -quality=0.5 -otheroptions 3:output_stream3.m4a -quality=0.4 ...

BellesFesses
16th July 2013, 10:32
yes please... send the media info
maybe maybe not... it is just to get more info about this "weird behavior"...

Hail to all :wave:

Hi Fanta,

I can't get to upload the files. Connection problem ? I am going to search for the other site you suggested a week ago, more or less. Can't remember the name.

Hope to get back very soon

http://www.4shared.com/download/R2I0oQ6R/130716_4shared.jpg?tsid=20130716-092808-1f7daf74

http://www.4shared.com/download/EfxHr3L8/130716_files.jpg?tsid=20130716-092546-fe3840eb

EDIT 1 : seems to be working with fil3dropp3r hourray

BellesFesses
16th July 2013, 11:12
Hi Fanta,

Here is the filedropper link. Worked fine :

filedropper (http://www.filedropper.com/130715mkvmp4h26430secsamples)

Hope you can help out :thanks:

datauser
16th July 2013, 11:18
I'm on Win7x64 SP1 and recently switched from 1.1.8 to 1.1.9. I had problems with java not being recognized. The java.exe was located at c:\windows\system32 and shown in Windows Explorer. When navigating there from the dialog opened by pressing F11 in the Java status page, it was not shown (several other files weren't shown as well). ...[/CODE]

Interesting, I'm having similar issues with xvid_encraw not being unrecognised, using F11, but things worked fine in 1.1.8.
It's almost like Staxrip has found everything is A okay in the system and will not allow a user change, which really could mean user permissions/rights in Win7, but in XP I'm not sure how this could be same thing, maybe registry?

fantasmanegro
16th July 2013, 13:09
Hi Fanta,

Here is the filedropper link. Worked fine :

filedropper (http://www.filedropper.com/130715mkvmp4h26430secsamples)

Hope you can help out :thanks:

hello and sorry...

it plays just fine in my samsung tv via usb stick...

BellesFesses
16th July 2013, 22:39
hello and sorry...
it plays just fine in my samsung tv via usb stick...

I sent you a file "Avatar" (A720 (1)-001.mkv) and it's MediaInfo that works well on my TV. Did you try the other files ?

00002_Output (mkv sample)-002.mkv
00002_Output (mp4 sample)-002.mkv

I'll try the USB stick to see.

:thanks: for your help

Good night to all

fantasmanegro
16th July 2013, 23:33
I sent you a file "Avatar" (A720 (1)-001.mkv) and it's MediaInfo that works well on my TV. Did you try the other files ?

00002_Output (mkv sample)-002.mkv
00002_Output (mp4 sample)-002.mkv

I'll try the USB stick to see.

:thanks: for your help

Good night to all

yes... every file plays fine.... in usb stick:confused:

BellesFesses
17th July 2013, 14:39
yes... every file plays fine.... in usb stick:confused:

hail to all :wave:

Second issue on the way to be solved

You are absolutely right Fanta. They all work for me too on the stick :devil: I am moving the encoded files (2,41Go) from the photo directory to the movie directory (4h45min) and see if the TV recognises the files there. If so, I shall move the original MTS files, much bigger (5.69Go), too !

While encoding with mkvmerge v3.3.0 ('Language') the MTS 30min 2.91Go to mkv 754Mo file there must be a loss in quality ?
Is there a way to do it without any loss ?

4 hours later : It works both mkv and mp4 files are read on the video directory. i shall move at least one MTV file to see if it is read as well. Documentation says AVCHD is not read but AVCHD lite might be ?

:thanks: again for your help Fanta

fantasmanegro
17th July 2013, 16:04
hail to all :wave:

Second issue on the way to be solved

You are absolutely right Fanta. They all work for me too on the stick :devil: I am moving the encoded files (2,41Go) from the photo directory to the movie directory (4h45min) and see if the TV recognises the files there. If so, I shall move the original MTS files, much bigger (5.69Go), too !

While encoding with mkvmerge v3.3.0 ('Language') the MTS 30min 2.91Go to mkv 754Mo file there must be a loss in quality ?
Is there a way to do it without any loss ?

4 hours later : It works both mkv and mp4 files are read on the video directory. i shall move at least one MTV file to see if it is read as well. Documentation says AVCHD is not read but AVCHD lite might be ?

:thanks: again for your help Fanta


as far as i remember AVCHD is h264 but with "structure"... i've never try to read the format with tv, just with bluray and it worked very well...

good to know you problem is almost solved...:)

BellesFesses
18th July 2013, 11:42
as far as i remember AVCHD is h264 but with "structure"... i've never try to read the format with tv, just with bluray and it worked very well...

good to know you problem is almost solved...:)

Hail to all :wave:

Hi Fanta,

You missed my question on the quality of re encoding when file loses 2/3 of it's size ? :rolleyes:

I have tried the mts "AVCHD lite" file and it works too :eek:

Just for your information I shall upload the MediaInfo :
MedianInfo MTS (http://www.filedropper.com/00002mtszonedeturbulences)

:thanks: again for all your help and have a wonderful day :)

fantasmanegro
18th July 2013, 14:38
Hail to all :wave:

Hi Fanta,

You missed my question on the quality of re encoding when file loses 2/3 of it's size ? :rolleyes:

I have tried the mts "AVCHD lite" file and it works too :eek:

Just for your information I shall upload the MediaInfo :
MedianInfo MTS (http://www.filedropper.com/00002mtszonedeturbulences)

:thanks: again for all your help and have a wonderful day :)

sorry about that question... i guess you mean encoding with staxrip and the output is using mkv container...

so, for keeping same size requires 2 pass encoding using target size OR no recompression... maybe increasing crf value helps to keep size but at the end of the day it will be quality loss...

BellesFesses
19th July 2013, 09:28
sorry about that question... i guess you mean encoding with staxrip and the output is using mkv container...

so, for keeping same size requires 2 pass encoding using target size OR no recompression... maybe increasing crf value helps to keep size but at the end of the day it will be quality loss...

Hail to all :wave:

Yes, that is what I meant Fanta. I had left the recompression at 100% (last page of options). crf was between 19 and 21 as recommended for Film HQ (not HD i guess HD=HQ) if I recall well. I did the 2 pass as well at least on one of the two encodes (container mkv and mp4). Both finished around 700Mo for an original around 2.2Go. So I got a size decrease of 2/3.

Looks like I will search for target size. But that's probably on the second or third page that seemed to complicated for me.

I will have a try and keep you informed. :thanks:

fantasmanegro
19th July 2013, 12:25
Hail to all :wave:

Yes, that is what I meant Fanta. I had left the recompression at 100% (last page of options). crf was between 19 and 21 as recommended for Film HQ (not HD i guess HD=HQ) if I recall well. I did the 2 pass as well at least on one of the two encodes (container mkv and mp4). Both finished around 700Mo for an original around 2.2Go. So I got a size decrease of 2/3.

Looks like I will search for target size. But that's probably on the second or third page that seemed to complicated for me.

I will have a try and keep you informed. :thanks:

last page option is for compession test...

what you need to use is in first page... MODE: Quality is for cfr and Two Pass is for fixed size

Q-the-STORM
20th July 2013, 02:34
i download new version
but i steel get this error
http://www.pic.lilup.net/images/ui9ed4zniy0b87k8hi89.png

I tried many files and i get this same error all the time

have the same issue after updating to 1.1.9.0

I'm getting this though:

StaxRip has crashed!

Exception has been thrown by the target of an invocation.

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: Native handle is 0.
Parameter name: handle
at System.Drawing.Image.SetNativeImage(IntPtr handle)
at System.Drawing.Bitmap.FromGDIplus(IntPtr handle)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at StaxRip.AVIFile.GetBMPFromDib(IntPtr pDIB) in D:\Projekte\StaxMedia\trunk\StaxRip\General\AVIFile.vb:line 374
at StaxRip.AVIFile.GetBitmap() in D:\Projekte\StaxMedia\trunk\StaxRip\General\AVIFile.vb:line 366
at StaxRip.AviSynthDocument.Synchronize() in D:\Projekte\StaxMedia\trunk\StaxRip\General\AviSynth.vb:line 139
at StaxRip.MainForm.OpenVideoSourceFiles(List`1 files, Boolean autoMode) in D:\Projekte\StaxMedia\trunk\StaxRip\Forms\MainForm.vb:line 1835

happens after indexing with ffms2 or immediately when using DirectShowSource.... sometimes stax crashes because of this, sometimes it's only a failed operation..

then the same thing happened in the old version of staxrip...

after some looking and backtracking I came to helix yuv codecs....

so I changed the VIDC.YV12 value back to ff_vfw and then the old version finally worked again...

since the new version of StaxRip requires you to use helix, I can't use it until there is a workaround... and since I'm not the only one with this problem, it should have some priority, I hope..

BellesFesses
22nd July 2013, 08:03
last page option is for compession test...

what you need to use is in first page... MODE: Quality is for cfr and Two Pass is for fixed size

Hail to all :wave:

Fanta I am trying to load a new file to try out new specifications. MediaInfo here -> mediainfo (http://www.filedropper.com/titanic1997dtshd-ma51dtsmamediainfo)

I have tried the x264, XviD & DivX Plus templates and StaxRip won't load the file ? Would you know how to load the file ? mmg won't load the file either :( Error log :
Error: The source file '\\\\DISKSTATION\\video\\0000\sVdO\sPersos\set\sre\sencodage\\Titanic\s1997\sFrench.DVDRip.avi' could not be opened successfully, or retrieving its size by seeking to the end did not work.

You say Two Pass on first option page is for fixed size. Where do you fix the size ?

:thanks: for your time and knowledge. Hope you all have a great day;

fantasmanegro
22nd July 2013, 15:26
Hail to all :wave:

Fanta I am trying to load a new file to try out new specifications. MediaInfo here -> mediainfo (http://www.filedropper.com/titanic1997dtshd-ma51dtsmamediainfo)

I have tried the x264, XviD & DivX Plus templates and StaxRip won't load the file ? Would you know how to load the file ? mmg won't load the file either :( Error log :
Error: The source file '\\\\DISKSTATION\\video\\0000\sVdO\sPersos\set\sre\sencodage\\Titanic\s1997\sFrench.DVDRip.avi' could not be opened successfully, or retrieving its size by seeking to the end did not work.

You say Two Pass on first option page is for fixed size. Where do you fix the size ?

:thanks: for your time and knowledge. Hope you all have a great day;

about avi file it coult be read and write permission... are you using network drive?... try to copy the file to your internal HD.

for 2pass encoding you need to change the profile from Quality mode to 2pass, in main form... then StaxRip will 'ask' for target Size.

i will check the mediainfo at home...

manolito
22nd July 2013, 17:50
For AVI file input StaxRip uses the AviSource source filter by default. This does not always work for DivX or XviD sources (Packed bitstream, FourCC code and other things).

You should try to manually change the source filter to FFVideoSource (maybe even DirectShowSource).


Good luck
manolito

BellesFesses
23rd July 2013, 16:24
about avi file it coult be read and write permission... are you using network drive?... try to copy the file to your internal HD.

for 2pass encoding you need to change the profile from Quality mode to 2pass, in main form... then StaxRip will 'ask' for target Size.

i will check the mediainfo at home...

Hail to all :wave:

Hi Fanta I tried moving the file from network to local HD and the file loads but I still have difficulties with specifications. 2 pass selected on loading file. Here are the error messages :

01 Virtual Dub error (http://www.filedropper.com/130723-01virtualduberror)
http://img163.imageshack.us/img163/556/gx1x.jpg

02 failed to open error (http://www.filedropper.com/130723-02failedtoopenerror)
http://img4.imageshack.us/img4/237/i519.jpg

03 main StaxRip window (http://www.filedropper.com/130723-03mainstaxripwindow)
http://img854.imageshack.us/img854/515/v507.jpg

04 Sylia script error (http://www.filedropper.com/130723-04syliascripterror)
http://img40.imageshack.us/img40/5359/jzhg.jpg

Last but not least StaxRip log with MediaInfo included here : StaxRip Log + MediaInfo (http://www.filedropper.com/titanic1997frenchdvdripnewstaxrip)

So I'm trying to change codec to DivX and leave the avi container. Couldn't see if the size would stay the same because it never finished.

Hope you can help :thanks:

Guest
23rd July 2013, 20:15
@BellesFesses

This is looking like rule 6 material. Where did you get the source AVI file?

BellesFesses
24th July 2013, 13:45
@BellesFesses

This is looking like rule 6 material. Where did you get the source AVI file?

Hail to all:wave:

Hi Neuron2

What is rule 6 material ? The file was given to me by a friend. I don't know where he got it and he is away on holiday.

Is this important to re encode the file ? I would like to see it on a Plasma TV Samsung PS51D550

:thanks: for your help

Guest
24th July 2013, 15:59
What is rule 6 material ? When you signed up to this forum you agreed to abide by our forum rules, which are linked at the top of every page. So don't pretend you don't know about our forum rules.

The file was given to me by a friend. I don't know where he got it and he is away on holiday. You can't discuss such material here and further violations will receive strikes. Do not follow up about this here. Use PM if you have any further questions.

@all

No more help is to be given for this issue.

BellesFesses
25th July 2013, 14:21
Hail to all :wave:

Hi Fanta,

I am terribly sorry but we can't use last file for an example. I will have to find a new one with known origin before we can continue.

I am leaving for a holiday Saturday so guess I will get back only end of August.

:thanks: again for all your help and have a great holiday to :)

PS : Neuron2 sent you a PM for apologies.

Guest
25th July 2013, 14:25
I will have to find a new one with known origin before we can continue. You have to legitimately own the material, not just know where it came from. Followup to PM please if needed.

BellesFesses
26th July 2013, 09:02
Hail to all :wave:

Hi Neuron2,

Got the message, hope you have a swell august & holiday maybe ?

See you all soon :)

stax76
26th July 2013, 13:13
since the new version of StaxRip requires you to use helix, I can't use it until there is a workaround... and since I'm not the only one with this problem, it should have some priority, I hope..

Next version will only support helix and ffdshow, forcing to install helix wasn't intended but rather a bug.

Anakunda
3rd August 2013, 19:24
There's something wrong with StaxRip 1.1.9. It forces lookup avisynth.dll in Windows\System32 directory
Tho it's 32bit app and works with 32bit avisynth version. Therefore it can't be used on 64bit OS with 64bit avisynth present in Win\System32.
Workaround?

fantasmanegro
4th August 2013, 04:14
There's something wrong with StaxRip 1.1.9. It forces lookup avisynth.dll in Windows\System32 directory
Tho it's 32bit app and works with 32bit avisynth version. Therefore it can't be used on 64bit OS with 64bit avisynth present in Win\System32.
Workaround?

use avisynth 32 bits in 64bits OS

Anakunda
4th August 2013, 04:35
I do so
AviSynth 32bit installed into Win\SysWow64

abban270
14th August 2013, 18:48
my version is StaxRip 1.1.1.0
i like it because i have a profil work only with this version
please how can i install this version on windows 2008
thanks in advance

Morix
18th August 2013, 19:39
Hi To All

first of all sorry for my poor english :D

(Right Pictures +40% saturation Changes in Media Player Classic)

http://uploadax.com/images/88066713858410301540.jpg

So My Question is how i encode anime like right pictures on StaxRip 1.1.9.0 Or lower version's ???
How To Edit Colors Without change in brightness in video files on StaxRip??? :confused:

:thanks:

fantasmanegro
19th August 2013, 03:15
Hi To All

first of all sorry for my poor english :D

(Right Pictures +40% saturation Changes in Media Player Classic)

http://uploadax.com/images/88066713858410301540.jpg

So My Question is how i encode anime like right pictures on StaxRip 1.1.9.0 Or lower version's ???
How To Edit Colors Without change in brightness in video files on StaxRip??? :confused:

:thanks:

AvsP using avisynth tweak filter as far as i remember...

Morix
19th August 2013, 09:18
AvsP using avisynth tweak filter as far as i remember...

Tnx for answering fantasmanegro :)

Your Mean This Tweak codes ???

Tweak(bright=-20)
Tweak(cont=1.10)
Tweak(sat=1.50)

I tried but did not get the result like the picture on the right :(

There is Tweak code for the colors only ???

Guest
19th August 2013, 12:50
There is Tweak code for the colors only ??? Yes, use only the line with the "sat" parameter.

Morix
19th August 2013, 13:42
Yes, use only the line with the "sat" parameter.

Thanks :rolleyes:

skolde
2nd September 2013, 03:48
Is there a way to specify the output directory for mkvmerge when selecting "Merge Files" option for source?

I've tried setting the paths in Project Options, as well as going to Tools>Launch>mkvmerge GUI and specifying the output directory there.

I frequently merge many 4GB avi files together - having the same drive being accessed for reading and writing data at the same time seems like a poor idea when I have an additional drive that can be used for writing the merged .mkv file into.

edit:

attached screenshots to show specifically when I'm referring to.

fabje
5th September 2013, 19:25
Where can I find the last source code of Staxrip? I only can find the code for v1.1.8.0

Hacker?pcs
14th September 2013, 18:36
I am trying to use Staxrip with SEt's latest MT avisynth but I can't because it doesn't allow me to put other filters above Source ones. Is there a switch to disable "The first filter must have the category Source" warning? I tried putting SetMTMode under Source category through Profiles but it gives me "The script's return value was not a video clip, (Is the undefined value).".
I want it very much because I want to use QTGMC deinterlacing (without multithreading it's very slow).

detmek
15th September 2013, 10:07
Go to Options - Filters and you have "Code inserted at top of scripts". Put there SetMTMode(3) or SetMTMode(5), whatever works with QTGMC. I think this is per-project setting.

Hacker?pcs
15th September 2013, 10:54
Go to Options - Filters and you have "Code inserted at top of scripts". Put there SetMTMode(3) or SetMTMode(5), whatever works with QTGMC. I think this is per-project setting.
Thanks a ton man, now all cores run at 100%. It can also be set as a generic option on a templete with not opening a source and setting it.

datauser
16th September 2013, 16:05
I've reverted back to 1.1.7.0 build which seems to work with any source. For some reason builds 1.1.8.0 and 9 crash using ffmeg when using dvd as source. Everything went a bit haywire after the forced install of that helix thing in 1.1.9.0.

Hacker?pcs
18th September 2013, 00:12
Can I edit the automatic ConvertToYV12() so I can add interlaced flag ( ConvertToYV12(interlaced=true) )?

raffriff42
18th September 2013, 03:15
>Can I edit the automatic ConvertToYV12()

Yes! Method 1 - one-time changes: Double click on the Source filter and edit the Avisynth directly.
Method 2 - custom source filters: Right click on the "Source" filter;
Scroll down to Profiles...
A text editor opens with all your filters in a special, one-filter-per-line format;
Scroll down to the Source section;
Add new source filters, modify existing ones. Go nuts.The syntax takes a little getting used to.
It's easier if you get your Avisynth source scriptlet working outside of StaxRip first, and then
translate it to StaxRip syntax - replace newlines with %newline%, etc.

Hacker?pcs
18th September 2013, 10:37
Thank you very much, I will use Method 2 to make it a serate filter so I can manage my projects better.

stonehedge
26th September 2013, 06:02
Hi Stax,

1st: your software is great, i love Staxrip. :-)

What I want to ask you: Are you planning to add 3D-BluRay support? This would be very great!

Regards
Stonehedge

burfadel
26th September 2013, 15:02
I've reverted back to 1.1.7.0 build which seems to work with any source. For some reason builds 1.1.8.0 and 9 crash using ffmeg when using dvd as source. Everything went a bit haywire after the forced install of that helix thing in 1.1.9.0.

Yeah I noticed a few dodgy things relating to that too. Can't something like LAV filters do YV12 decoding?

JasonR
2nd October 2013, 04:22
Is there a way to set up a template or filter to crop only sides?

fantasmanegro
2nd October 2013, 18:19
Is there a way to set up a template or filter to crop only sides?

yup, i guess you have to edit crop "filter" with values for top and bottom to zero (0)...

JasonR
8th October 2013, 04:08
It sounds like you're describing how to manually crop the sides of a video in the actual crop dialog. I want to set up a template to do this automatically. The usual crop script to crop all sides is:

Crop(%crop_left%,%crop_top%,-%crop_right%,-%crop_bottom%)

I tried to change it to crop only the sides like this:

Crop(%crop_left%,-%crop_right%)

But when I run that script, I get the following error:

Script error: Invalid arguments to function "Crop" (C:\Movies\Conversions\Test temp files\Test.avs, Line 7)

Here are the crop arguments from the script file:

Crop(0,0, -Width % 8,-Height % 8)
Crop(20,-0)

Any ideas on how to correct this?

fantasmanegro
8th October 2013, 16:56
It sounds like you're describing how to manually crop the sides of a video in the actual crop dialog. I want to set up a template to do this automatically. The usual crop script to crop all sides is:

Crop(%crop_left%,%crop_top%,-%crop_right%,-%crop_bottom%)

I tried to change it to crop only the sides like this:

Crop(%crop_left%,-%crop_right%)

But when I run that script, I get the following error:

Script error: Invalid arguments to function "Crop" (C:\Movies\Conversions\Test temp files\Test.avs, Line 7)

Here are the crop arguments from the script file:

Crop(0,0, -Width % 8,-Height % 8)
Crop(20,-0)

Any ideas on how to correct this?

i dont have staxrip arround so i cannot test what you are saying but in fact you have to manually edit the crop function and after that save the template...

M+AUDIO
11th October 2013, 15:57
..
I tried to change it to crop only the sides like this:

Crop(%crop_left%,-%crop_right%)

But when I run that script, I get the following error:

Script error: Invalid arguments to function "Crop" (C:\Movies\Conversions\Test temp files\Test.avs, Line 7)
..
Any ideas on how to correct this?

Hello

those values like "%crop_left%" are StaxRip valuse i think and they are replaced in action (final AviSynth script) by values reported by autocrop function of StaxRip. (i think). the final syntax should be in this form : Crop(left,top,-right,-bottom)

So if you want to make a template for left and right only you can try something like this on your template:
Crop(%crop_left%,0,-%crop_right%,-0)

did you know how to make a template for this or (-;

fantasmanegro
11th October 2013, 22:39
Hello

those values like "%crop_left%" are StaxRip valuse i think and they are replaced in action (final AviSynth script) by values reported by autocrop function of StaxRip. (i think). the final syntax should be in this form : Crop(left,top,-right,-bottom)

So if you want to make a template for left and right only you can try something like this on your template:
Crop(%crop_left%,0,-%crop_right%,-0)

did you know how to make a template for this or (-;

yup, that was what i said in other words...:goodpost:

JasonR
12th October 2013, 07:01
Hello

those values like "%crop_left%" are StaxRip valuse i think and they are replaced in action (final AviSynth script) by values reported by autocrop function of StaxRip. (i think). the final syntax should be in this form : Crop(left,top,-right,-bottom)

So if you want to make a template for left and right only you can try something like this on your template:
Crop(%crop_left%,0,-%crop_right%,-0)

did you know how to make a template for this or (-;

That worked perfectly! Thank you so much for your help!

jms801
20th October 2013, 02:31
Please. Staxrip don't see xvid. I proof installed xvid in Archivos de programas\Xvid, in Archivos de programas 64\Xvid but Staxrip in status put "The application has to be located at: Windows\system32.

http://i1195.photobucket.com/albums/aa384/jms801/Sintiacutetulo1_zps64ac900b.png

Please. Could you help me with this problem.

Sorry muy bad english please.

Thanks!

jms801
24th October 2013, 17:55
Help me please!!

manolito
26th October 2013, 01:37
You can try the following:
When you are in this window you posted, press F11. This lets you change the location of the application.

If your Windows is a 64bit Version, the Xvid files should be in the folder Windows\Syswow64.



Good luck
manolito

corvaxmuzzy
29th October 2013, 09:11
:readfaq::)Whom do I contact about broken links in the Staxrip Wiki?

datauser
4th November 2013, 08:50
Yeah I noticed a few dodgy things relating to that too. Can't something like LAV filters do YV12 decoding?

Not sure on that at all. I reinstalled op system thinking something was screwed up and same issues occurred again. Helix seems to cause decoding conflicts in XP. Win 7 users of Staxrip may not experience same issues? These codecs are all very touch and go at times and can decimate a system. Evil!:devil:

Less is better, if any at all. Preferably none!:)

manolito
5th November 2013, 04:07
Sorry, I cannot reproduce these Helix related errors...:confused:

WinXP SP3, Helix YV12 codec has been installed forever. StaxRip 1.1.9.0 does not crash at all when I use ffdshow as the source filter for DVD sources.

As Stax already mentioned it is of course a bug that StaxRip insists on installing the Helix codec. ffdshow works fine without it. But most people who use StaxRip will also have XviD or DivX installed on their systems, and both of them already do provide a YV12 decoder, no need to install Helix additionally.

For the crashes you encounter I can only speculate. Bad version of ffdshow? I always use the version recommended by jdobbs for his BD-Rebuilder (see http://forum.doom9.org/showthread.php?p=1227473#post1227473 ), and make sure that MPEG2 decoding is enabled.

Other codecs getting in the way? For WinXP I always rely on FilMerit by Paul Glagla to make sure that my filter chain is not corrupt.


Cheers
manolito

resides
6th November 2013, 12:16
I have an MKV rip with DTS Master HD audio and I want to convert it to a DVD size rip with DTS. StaxRip is not splitting the audio nor the core DTS files.

Any pointers on how to proceed?

datauser
6th November 2013, 19:34
@Manolito 'bad version of ffdshow'

Maybe! I'll certainly look into that possibility as something is amiss. Thanks.

abban270
9th November 2013, 03:01
Hi all
i have a probleme with staxrip 1.1.1.0
in my pc at home work fine
but in another pc who have 64bit + CPU multi core send me an Error
x264 encoding failed
-------------------
probleme at the x264 Third Pass this is the log file

dejong12
9th November 2013, 18:57
I'd say try the newest version first (1.1.9.0), you're using a very old version.

D9JK
9th November 2013, 21:28
I'm having a bit of trouble merging these four clips together. I'm thinking it may be because one of the clips has no audio (audio recording was accidentally disabled in camera).

Clip1 = QTInput("0802 Haajuhla 1.MOV", audio = 0).AudioDub(WavSource("Silence.wav")).Trim(0,5290)
Clip2 = QTInput("0802 Haajuhla 2.MOV", audio = 1).Normalize()
Clip3 = QTInput("0802 Haajuhla 3.MOV", audio = 1).Normalize().Trim(0,20030)
Clip4 = QTInput("0802 Haajuhla 4.MOV", audio = 1).Normalize().Trim(0,13000)
Dissolve (Clip1, Clip2, Clip3, Clip4, 30)

Because the first clip has no audio, Virtualdub first didn't want to load the script, but I worked around the issue by inserting the "Silence.wav" using AudioDub(). With that working, I wanted to proceed using Staxrip. However, when I attempt to load the .AVS file into Staxrip, I'm seeing "audio=false" in the log file, and the final video file then has no audio in any of the four clips.

The log file also contains this:

Error opening source
------------------------------------------------------------
Unable to Open Movie, err=-50 :
H:\Pakkaamattomat\Process video B temp files\0802 Haajuhla 1.MOV
(H:\Pakkaamattomat\Process video B temp files\Process video B_Source.avs, line 3)

Despite the error message, the video stream looks good. But why would Staxrip not load the audio, if I can hear it in VirtualDub? What should I try to fix this?

chrisgwd
29th November 2013, 18:26
Hi Stax...

I've been using StaxRip for years...great work, thanks! I am moving my setup to a new system. OS is Windows Server 2008 (64 bit). Microsoft .NET Framework 4 is installed.

I extracted the latest StaxRip into Programs folder. When I try to run it, it immediately fails. There is no startup screen to set locations of templates, etc. What is it looking for before that?

Microsoft Visual C++ 2010 is installed...but not Microsoft Visual Basic...Do I need that?

Thanks,
Chris

UPDATE - I think I got it..

I found that some other things were not working either, so I found how to enable .NET framework 3.5.1 and Desktop Experience - I assume the Framework is the one that worked, but I did them both together, so...

Then I found this as am using Server 2008 as more of a workstation...it includes instructions for the above.
http://www.zdnet.com/blog/igeneration/convert-student-free-windows-server-2008-r2-into-windows-7/5593

kamalhwk
25th January 2014, 15:34
hello I have a movie I want to edit and compreser by StaxRip I have 1.1.7.0 beta, the film is 2.25 gb in size I want it 800 mb am and they did not lose its original quality what this configuration to do thank you

thomy22
8th February 2014, 00:48
I have this Problem Today:

Not An Avisynth 2 C Plugin: C:\Users\Thomas\Downloads\StaxRip_1.1.7.0_beta\Applications\AviSynth plugins\Yadif\yadif.dll
(C:\enc\VTS_01_PGC_02_1 temp files\VTS_01_PGC_02_1.avs, line 2)


I Install Avisynth new but not work again :-(

Can everybody help me?

fantasmanegro
10th February 2014, 16:33
I have this Problem Today:

Not An Avisynth 2 C Plugin: C:\Users\Thomas\Downloads\StaxRip_1.1.7.0_beta\Applications\AviSynth plugins\Yadif\yadif.dll
(C:\enc\VTS_01_PGC_02_1 temp files\VTS_01_PGC_02_1.avs, line 2)


I Install Avisynth new but not work again :-(

Can everybody help me?

i have the same problem as you...

a workaround is to create an avsi loading yadif plugin and modify staxrip template to load the avsi instead of yadif plugin

Google
4th April 2014, 04:04
There's a glitch in StaxRip when using DGSource and DGDecNV to decode. When you load the video file (say a 1080i file), open the crop window and crop it the way you want, then add the values to the dgi file, StaxRip glitches and sets the video input resolution to something like 832/32 or another random values. Of course, this is absurd and usually not a possible resolution for an encode. I don't get the glitch too often, but it does happen at random times.

someoneXgr
14th May 2014, 16:12
Will there be x265 support for StaxRip?

datauser
3rd June 2014, 07:38
Any news yet on a new version of Staxrip on horizon with bug fixes? Thanks.

kotuwa
13th June 2014, 22:54
Can we Use Different Titles when batch encoding MKVs....
Either using Wildcards, Variables or Filenames.... :confused:

I use Staxrip (http://www.videohelp.com/tools/StaxRip) to convert batch MKVs and I can create a template by giving a specific Title for MKV file... But then the same title applied to all files that uses the template....

Can we set it to use the file name in each file.... or similar solution?
Are there any MKVMerge (http://www.videohelp.com/tools/MKVtoolnix) switches to set titles from file names or .... :rolleyes:
.

chrisgwd
13th July 2014, 05:55
Hi,

I have a configuration problem with my computer and Staxrip. The PC is running Windows Server 2008 R2. I've had Staxrip working just fine for a year or so...but now it's not???

I am encoding blurays to .mkv. It looks like DGAVCIndex indexes properly, then x264 fails the process when loading to encode.

I can encode the same demuxed files on anther PC using staxrip.

I have demuxed content that I previously encoded using the same set-up that I can no longer encode.

So, I am pretty sure it has something to do with an operating system update or something similar, but I don't know where to look.

Any thoughts?

Thanks,
Chris

jse12
12th August 2014, 16:29
Hey all, I'm trying to encode some PAL 576i Anime DVD's to x264, because the content on the disk was originally NTSC-J content the frame rate should be 23.976 instead of 25fps so when I do an encode I end up with Ghosting.

http://i.imgur.com/AtWDeXw.jpg <-- example of the ghosting.

So I'm trying to use FixBlendIVTC(post=3) to fix it, but it doesent seem to be working in staxrip, I get the error

"Script Error: There is no function named "FixBlendIVTC"
in T:\test temp files\test.avs line 11"

I have in my avisynth plugin directory the required dll's and FixBlendIVTC.avs, can some one help me get this to work?

Thanks in advance jse12

Emulgator
12th August 2014, 21:00
chrisgwd and maybe jse12:

I had a similar occasion where two .net 3.5 dependent applications
wouldn't start anymore after a recent Windows update (Win7U64).

A:Sony Vegas Pro10 32bit, but VegasPro 10 64bit works on the same machine.
B:Touchbutton/Volume swiper driver for this particular notebook (ClevoX8100, rebranded as mysn XMG8.c)

Uninstalling any .net and installing .net 4.52 brought at least B back for me. For Sony Vegas 10 32bit I am still searching for a solution.

StaxRip is one of those apps that need .net 3.5

someoneXgr
22nd August 2014, 09:23
Bumping for this question
Will there be x265 support for StaxRip?

Fidelix
22nd September 2014, 04:08
Where can I find Stax's source code?

I want to find a way to remove the dialog that asks you to save the project when you close the program.

Right now I can't batch encode because of this - I'm using another software to monitor a directory for new files and run stax automatically on that file.

raffriff42
22nd September 2014, 04:42
https://sourceforge.net/p/staxmedia/code/HEAD/tree/

flebber
22nd September 2014, 06:40
Where can I find Stax's source code?

I want to find a way to remove the dialog that asks you to save the project when you close the program.

Right now I can't batch encode because of this - I'm using another software to monitor a directory for new files and run stax automatically on that file. there are other configuration options, can't quite remember but I think it's f11 or ctrl+f11

Fidelix
22nd September 2014, 12:52
https://sourceforge.net/p/staxmedia/code/HEAD/tree/

That's old, not updated since 2012

there are other configuration options, can't quite remember but I think it's f11 or ctrl+f11

Tried F11 and CTRL+F11, nothing

foxyshadis
30th September 2014, 00:57
Where can I find Stax's source code?

I want to find a way to remove the dialog that asks you to save the project when you close the program.

Right now I can't batch encode because of this - I'm using another software to monitor a directory for new files and run stax automatically on that file.

No one but Stax has ever seen the code to 1.1.9.0, and he isn't around anymore. You can try messaging him.

stax76
4th October 2014, 18:18
Will there be x265 support for StaxRip?

Yes, I will be back soon with quite a few ideas for improvements and new features!

someoneXgr
5th October 2014, 02:57
Yes, I will be back soon with quite a few ideas for improvements and new features!
That's great! Looking forward for it.

Chetwood
5th October 2014, 05:51
Sounds promising. I love how Hybrid does not demux any files when loading them but the GUI is too crowded compared to Staxrip.

Fidelix
5th October 2014, 23:00
stax76, any chance you might release the source code of Staxrip?

Or perhaps give me some tips on how to disable some dialogs so that we can do proper automation?

Thanks!

manolito
6th October 2014, 00:06
The second best thing is probably to use a tool like ClickOff to answer those dialog windows automatically. ClickOff by Johannes Hübner is in constant use on my computer, and it failed me only once (a window without a window title).


Cheers
manolito

jkilez
6th October 2014, 03:44
I want to find a way to remove the dialog that asks you to save the project when you close the program.
In a similar vein, can anyone tell me how to turn off tooltips for the main application? They constantly pop up right when I am about to select something, thereby nullifying my click. The changelog indicates that there is a way to disable them, but I have yet to find it.

stonehedge
8th October 2014, 15:10
Yes, I will be back soon with quite a few ideas for improvements and new features!

Very happy to read this, thanks a lot! Staxrip is super, i really love it! :thanks:

Glarioo
15th October 2014, 07:44
Yes, I will be back soon with quite a few ideas for improvements and new features!

Nice, an update is on the way. Thanks!

detmek
15th October 2014, 09:30
Yes, I will be back soon with quite a few ideas for improvements and new features!

Great, Stax! I really like your program as it allows me do define custom Avisynth filters and scripts and it is very good for cutting files.

P.S. Will you continue to use VirtualDubMod or you will switch to CLI tools?

Sivar
24th October 2014, 02:01
Yes, I will be back soon with quite a few ideas for improvements and new features!

Whether or not Staxrip updates are coming, I want to sincerely thank you for all your work on Staxrip. It is such a insanely well-designed tool with such a well thought-out UI, I have kept using it over others even when it appeared to be on the way out.
While I do not know VB.NET, I know its sister language, C#. If I can be of some help with minor enhancements, please let me know. It is the least I can do for all the use I've gotten out of Staxrip.

Chetwood
24th October 2014, 05:36
I too love the UI, it's almost as simple as DVD Shrink's. I'd love to see updates of the program.

Havokdan
26th October 2014, 09:29
When?Where?Roadmap?

jkilez
30th October 2014, 03:16
When?Where?Roadmap?
Are we there yet? :)

AMED
1st November 2014, 22:29
I really never gave Staxrip a really good try since i was more a MeGUI person. It took 10 - 20 minutes to understand the Staxrip way of thinking. I have to admit Staxrip is excellent, the interface is simple but still allows you to customize and tweak .

I downloaded Staxrip v1.1.9 and have updated the following;

FFMS to v2.20
EAC3TO to v3.27
MkvToolnix to v7.3.0 (64bit)
x264 to build 2479
MediaInfo to v0.7.70.0

everything is still working fine.

One feature I miss from MeGUI is the multiple workers. if you are encoding a 1080p bluray and keeping the same resolution and denoising more often than not you will only be using 60 - 70% CPU. So allowing 2 encoding sessions at once allows you to maximize the CPU.

A big thank you to stax76 for all your hard work and time you have invested in to Staxrip.

Sivar
3rd November 2014, 05:32
One feature I miss from MeGUI is the multiple workers. if you are encoding a 1080p bluray and keeping the same resolution and denoising more often than not you will only be using 60 - 70% CPU. So allowing 2 encoding sessions at once allows you to maximize the CPU.
I use Staxrip for multiple encodes. It does require running more than one Staxrip instance, but I don't find that much of a disadvantage.

I am running 9 encodes now, since there's a slight x264 benefit to encoding single-threaded.

AMED
3rd November 2014, 07:46
So you need to start a staxrip batch job, launch a second instance of staxrip and then launch another batch job?

So there is no clashing when running 2 instances with multiple jobs each? e.g. If one of the batch jobs is aborted can it be restarted?

Sivar
3rd November 2014, 23:09
So you need to start a staxrip batch job, launch a second instance of staxrip and then launch another batch job?

So there is no clashing when running 2 instances with multiple jobs each? e.g. If one of the batch jobs is aborted can it be restarted?

Yes.

- I have never had a problem with any sort of clashing.
- Each instance can do the same thing (e.g. encoding) or something different (some encoding, some indexing, etc.)
- Each instance of Staxrip is independent. If one fails, needs to be aborted, etc. it does not affect the others.
- If you index a video with Staxrip and want to add it to an existing instance, just click on the window of the instance you want to add it to, then when asked if you want to add to the running copy of Staxrip, say that you do. Somehow Staxrip or Windows remembers the last Staxrip instance that you clicked on.

If you start a new instance by middle-clicking a running instance, the new instance will have the same batch job as the old one, which you delete. It's easy to tell -- when you add a new item, StaxRip shows you the batch queue.

I have run up to 12 instances at a time.

stax76
5th November 2014, 14:01
@Sivar

Do you have particular interests in regard of features and .NET programming?

@all

I'm glad to know you still like using StaxRip while this long pause and unknown future, here is what I've done so far:

- removing the YV12 decoder requirement using AviSynth's ConvertToRGB instead in preview/crop dialog

- removing XviD/DivX encoding

- internal cleanup and refactoring breaking backward compatibility to settings/projects

- implemented a replacement for treeview settings and migrated the complete options dialog. The UI is still built dynamically from code but the UI looks and feels like a very well form designed UI, other dialogs will be migrated too. First I wanted to implement the x265 UI on top of this, that's how I come to the idea for building it, but later I realized to do it best similar to the x264 dialog improving the design if possible.

The big problem are health issues (mostly joints and general poor health) that got much worse just lately so until I recover development will be paused, I'm sure next year will be much better.

jkilez
5th November 2014, 16:11
- removing XviD/DivX encoding
Noooooooooo! :eek: :(

The fact that StaxRip can do both h.263 and h.264 is (a large part of) what makes it great. Some of us still use Xvid for standard resolution encodes, as the resultant avi files work on everything. If you take that feature away, StaxRip starts to look more like a version of HandBrake.

Sivar
5th November 2014, 17:07
@Sivar
Do you have particular interests in regard of features and .NET programming?


In terms of features, I am interested in x265 support and have noted a number of minor glitches/annoyances over the years that I think should be fairly easy to fix. Of course, I am unfamiliar with the code base and intent, so some of what I consider glitches may be by design.

In terms of .NET, I write backend analysis, database, and some web code for a major semiconductor company. In terms of media-related code, I wrote a .NET wrapper to MediaInfo and a program to analyze images and determine whether they should be saved as PNG/GIF or JPEG since I am mildly irritated with websites posting screen captures and clip art using the inappropriate JPEG format.

I have never used VB.NET or Windows Forms, though I expect they are well-designed and easy to pick up.

stax76
5th November 2014, 17:43
@jkilez

I'm sorry, Win XP support is gone too. Working on the application think of it as weight difficult to carry taking away much development time that could otherwise be spent on much more important things.

MS dropped XP support from the .NET framework for exactly the same reason, StaxRip will require .NET 4.5 which don't support XP, Win 10 will have that preinstalled and it's available as download for Win 7.

@Sivar

I encoded only three movies this year, last year it was seven and eight the year before so my usage for StaxRip is limited today and I'm still fine with H.264, all my music is MP3. In the future it would be nice to use it more often and use new stuff like x265 and 4k too as well, I want to maintain StaxRip for everybody and have fun while doing so.

Basic x265 support might not even be hard to add except for the UI exposing all the x265 options, the implementation of the x264 UI is OK though I would like to improve it and use identical designs for x264 and x265.

I'm glad people are willing to contribute, most important thing is experience with video encoding and .NET, I can add you as developer to sourceforge but probably it's better to move to github first, I've little experience with either SVN or GIT, I have read many many good things about GIT.

someoneXgr
6th November 2014, 00:28
I mainly do h264 2pass encodes using QTGMC deinterlacer, I've done many converts for 1 year now that I moved from Yadif. I didn't have the slightest problem, I want though h265 support (basic, I don't do exotic settings, just -tune film for my encodes that sources are mainly sports DVB-T captures or MPEG2 DVDs).

Chetwood
6th November 2014, 06:40
The only thing I'm missing in Stax is Hybrid's ability not to remux the entire file to be encoded. Or am I missing something?

AMED
6th November 2014, 07:33
Yes.

- I have never had a problem with any sort of clashing.
- Each instance can do the same thing (e.g. encoding) or something different (some encoding, some indexing, etc.)
- Each instance of Staxrip is independent. If one fails, needs to be aborted, etc. it does not affect the others.
- If you index a video with Staxrip and want to add it to an existing instance, just click on the window of the instance you want to add it to, then when asked if you want to add to the running copy of Staxrip, say that you do. Somehow Staxrip or Windows remembers the last Staxrip instance that you clicked on.

If you start a new instance by middle-clicking a running instance, the new instance will have the same batch job as the old one, which you delete. It's easy to tell -- when you add a new item, StaxRip shows you the batch queue.

I have run up to 12 instances at a time.Thanks for your help.

Running one instance gives me 6.98FPS
Running two instances gives me 4fps x 2 (8FPS)

EDIT: looks like i spoke too soon, it seems that when running two instances i have no Audio or Subititles added to the output.

Sivar
13th November 2014, 04:10
Thanks for your help.

Running one instance gives me 6.98FPS
Running two instances gives me 4fps x 2 (8FPS)

EDIT: looks like i spoke too soon, it seems that when running two instances i have no Audio or Subititles added to the output.

Did you add them before starting the encode job? (just making sure!)
I have encoded literally over 1,000 movies with multiple concurrent encodes, and my system still has 10 concurrent copies running right now, all without problem.

AMED
13th November 2014, 05:59
I had a feeling i'm doing it wrong.

I don't really understand what you mean by middle clicking a running instance.

1. Start staxrip
2. Choose template
3. Open source, file batch mode.
4. Load in all episodes for this file batch and click ok
5. Start the batch, minimize this instance to tray.
6. Open new instance of staxrip via taskbar shortcut
7. Choose template
8. Open source, file batch mode.
9. Load in all episodes for this file batch and click ok
10. Delete jobs that were included in the previous batch.
11. click start to start the second batch

Is this the correct procedure?

IbrahimKh
14th November 2014, 07:42
Please add x64 support and BPP calculator on next version :thanks:

Sivar
15th November 2014, 01:14
I had a feeling i'm doing it wrong.

I don't really understand what you mean by middle clicking a running instance.

1. Start staxrip
2. Choose template
3. Open source, file batch mode.
4. Load in all episodes for this file batch and click ok
5. Start the batch, minimize this instance to tray.
6. Open new instance of staxrip via taskbar shortcut
7. Choose template
8. Open source, file batch mode.
9. Load in all episodes for this file batch and click ok
10. Delete jobs that were included in the previous batch.
11. click start to start the second batch

Is this the correct procedure?

My process is:
1) Click on the taskbar shortcut or, if already running Staxrip, middle-click on the taskbar icon for the running instance, which will start a new copy.
2) Open source file (usually a single MKV file or Blu-ray folder, but multiple files in batch mode work, too. Some steps below do not apply to batch).
3) Add audio, etc..
4) Preview the video using the subtitle preview. This way, if the source isn't very sharp, I know to have Staxrip shrink the video to make it smaller with no or insignificant loss of fidelity. Videos from my NEX-5N for example are closer to 900p in true image quality.
5) Click Next. I am then asked, "Do you want to add this to the existing Staxrip instance" (or similar). If I select "No", it shows me the queue where I can run a new instance. If I select "Yes" it adds the video(s) to the queue of the last Staxrip instance you clicked on.

I always use the same template so I set Staxrip to open that template up automatically (which you can do when you save a template with project -> Save As...).

I usually add one video at a time because I want to be able to resize since most videos are not really 1080p quality.

Here's a screen capture of my desktop right now. Note the low encoding speed is because I use "Placebo" for encoding and set every instance to use one thread, because adding threads reduces image quality or increases size (though by less than half a percent per thread). Since I encode about one video per HT core, there's no benefit to multi-threading the encode:



http://i.imgur.com/JM4uJi8.png

raffriff42
15th November 2014, 02:51
AMED, I don't think there is a "Windows-standard" middle click action - it has lots of different uses.
http://i.stack.imgur.com/NK8uD.png
BTW, "middle-click" is also known as "wheel button click."

brusno
1st December 2014, 05:56
Why does the newest Version of StaxRip 1.1.9.0 use DGAVCDec and not DGDecNV (or DGAVCDecDI), and what is the difference between those programs?
Do you have to have Nvidia Graphic card to use DGDecNV?
And is DGAVCDec equal good as those 2 other programs?

stax76
13th January 2015, 00:04
StaxRip just resurrected, there is a new release available. :)

http://sourceforge.net/projects/staxmedia/files/StaxRip%20beta/StaxRip_1.2_Technical_Preview.7z/download

mirror since sourceforge is broken atm.:

http://1drv.ms/17BSnYT

@brusno

there are some settings in

Tools/Applications

and

Tools/Settings/Demuxing

The only thing I'm missing in Stax is Hybrid's ability not to remux the entire file to be encoded. Or am I missing something?

You mean automatic demuxing directly after opening the source? It can now be avoided.

Please add x64

I'll give it a shot, for x265 it might be a matter of replacing the executable since it already uses piping.

Betsy25
13th January 2015, 01:17
:):thanks:

Sivar
13th January 2015, 03:34
StaxRip just resurrected, there is a new release available. :)
You made my day! Awesome! Thank you so much! You rock!

As I mentioned earlier in the thread, I would be happy to help. I may be of limited used since I don't know a thing about VB.Net, but I know C# so I hope other .NET languages won't have too awful a learning curve.

stax76
13th January 2015, 18:52
here is a hotfix for disabled visual styles aka classic style: http://1drv.ms/1xkDmiR

As I mentioned earlier in the thread, I would be happy to help. I may be of limited used since I don't know a thing about VB.Net, but I know C# so I hope other .NET languages won't have too awful a learning curve.

Thanks for offering help. Regarding new features I don't have great plans atm., only some minor things and minor requests. Lot's of people gave up StaxRip so I try to make at minimum 2 releases every year like before the big hiatus. One thing missing for instance is aac cutting.

VB.NET should be pretty easy to learn if you know C# and the .NET framework. It's as powerful as C#, some differences are better, others are worse. I've used converters like InstantVB and SharpDevelop often, normally they work very well.

The WinForms API is pretty easy and feature rich but not perfect so extending it with custom drawing and Win32 is quite common, I've built a numeric up down control for the latest release for instance, it looks better then the .NET one, the resizable height is useful for automatic layout giving all control types the same height. For some reason I decided to build all new dialogs from code not using a form designer, it's a quick and easy way to add some options. The new x265 dialog is based on a simple framework making it very easy to build a GUI for any command line application, adding a new switch is (almost) done in a single location with like 7 lines of code on average, everything, GUI, command line, help etc. is then built and wired together automatically :). For x264 it was like 10 different locations everything hand crafted so building it was very very boring with all the switches, no chance doing this again with even more x265 switches, for the x265 GUI I even wrote code to parse the documentation and generate code from it.

Bluedraft
14th January 2015, 00:32
Noooooooooo! :eek: :(

The fact that StaxRip can do both h.263 and h.264 is (a large part of) what makes it great. Some of us still use Xvid for standard resolution encodes, as the resultant avi files work on everything. If you take that feature away, StaxRip starts to look more like a version of HandBrake.

Totally agree, not many programs can encode h.263 and h.264 so flawless, Xvid is still be very useful to output files for dvd players, please Stax bring it back!

manolito
14th January 2015, 02:47
I totally agree, but it seems unlikely that Stax will change his mind...

I use StaxRip 1.1.90 all the time, and for XviD conversions I prefer it a lot to MeGUI or AutoGK. And since I am on WinXP I won't have a chance to upgrade StaxRip anyways...

But this is not a great loss to me. With version 1.1.90 I can upgrade most helper applications easily, and for X.265 there are other applications which do work under WinXP (like dmMediaEncoder).

One thing I found very funny is that the new StaxRip version has no WinXP support any more because XP is such an outdated and ancient operating system. But at the same time it still depends on helper applications like BeSweet or VDubMod which are both from 2005. Go figure...


Cheers
manolito

stax76
14th January 2015, 05:56
I wrote the XviD/DivX code 15 years ago as programming beginner, it was a lot VFW based code difficult to maintain so I removed it. VirtualDubMod is still used for AC3/MP2/MP3 cutting and to decode audio from avisynth so it's used for DVD/DVB MPEG-2 sources. There was a small function to demux AVI with VirtualDubMod which I replaced with a ffmpeg function because the ffmpeg function is generic working with any ffmpeg supported source format. AVI is now not demuxed when the source it opened but when the encoding starts instead.

Bringing back XviD using ffmpeg would be easy to do but I'll only make it if there are some more user requests.

XP was removed in favor of .NET 4.5, I like using new .NET features as much as anybody likes new features, in the latest release I used async/await 2-3 times, other programmers write async code everyday. Async/await is a new language feature and I have some interest in programming languages learning different languages and language innovations from time to time.

Visual Studio 2012 introduces a simplified approach, async programming, that leverages asynchronous support in the .NET Framework 4.5 and the Windows Runtime. The compiler does the difficult work that the developer used to do, and your application retains a logical structure that resembles synchronous code. As a result, you get all the advantages of asynchronous programming with a fraction of the effort.

jones1913
15th January 2015, 21:52
Thanks for the update. I still prefer Staxrip instead of MeGui all the time. Maybe you can add xvidencraw as commandline xvid encoder for the people who want that.
FFMPEG of course works also but then people may ask "why not enable VP9 encoder and Theora and UT and whatnot..."
And there are plenty of FFMPEG Guis out there...


If I could make a few more suggestions:

- remove DGAVCDecode because it is old and not recommened anymore

- add LSMASHSource/LWLibAVSource instead, for some file types it is maybe even better than FFMPEGSource, the disadvantage is it has no standalone indexer application

- use wavi (http://sourceforge.net/projects/wavi-avi2wav/) or avs2wav instead of VirtualDubMod for Avisynth audio decoding
(of course there is no difference, but I think doing the work in background is recommened instead of plopping additional windows)

- replace bdsup2sub with bdsup2sub++, so at least for this we can get rid of the annoying java dependency

- you provide: "x265 [info]: build info [Windows][GCC 4.6.3][64 bit] 16bpp", which is build with quite old gcc and has 16 bits precision,
with H.265 10 bit precision (16 bit internal) may become standard, but best is to provide both 8 bit and 10 bit builds and make it selectable in x265 config window
(I dont know anything about the prerequisites of the processing chain to utilize 10 bit precision though)

- use x64 builds of x264 and x265 on 64 bit systems, maybe with avs4x26x (http://forum.doom9.org/showthread.php?t=162656)?


Thanks again for developing this over the years.

AMED
15th January 2015, 23:25
I think a proper system to allow more than 1 encode at once would be very helpful for the people encoding at 1080 or using very slow AVS scripts so they can use the CPU at 100%.

stax76
16th January 2015, 00:54
@jones1913

Thanks for the tips, basic ffmpeg encoding with different codecs is completed and a option for different x264/x265 encoders is in the works, I'll check out the rest.

@AMED

It's not possible without rewriting half of the application which is hardly a option because it's very large, it's a weak spot.

IbrahimKh
16th January 2015, 01:41
awesome!
Thanks for update and thanks for x265 support!
------------
edit: please add x264 10 bit option. Thanks.

stax76
16th January 2015, 16:00
There were two crashes so I uploaded the next build:

http://1drv.ms/15cKyHy

http://sourceforge.net/projects/staxmedia/files/StaxRip%20beta/StaxRip_1.2.0.1_beta.7z/download


Added generic ffmpeg video encoder with Xvid, VP9 and Theora enabled
Added generic ffmpeg muxer with option to use any ffmpeg supported target container
Added 4 different x264 builds and 4 different x265 builds, 32/64-Bit, 8/10-Bit. Which build to use can be defined at Tools/Settings/System. The version string at Tools/Applications shows version, compiler version and source/website of the build.
Fixed crash using Windows 98 classic theme


http://i62.tinypic.com/2wml84h.png
http://i58.tinypic.com/2ym8zdv.png
http://i57.tinypic.com/4vff37.png
http://i59.tinypic.com/x279k8.png

IbrahimKh
16th January 2015, 17:10
awesome. Just awesome!

Bluedraft
17th January 2015, 01:09
Thanks a lot Stax76!!!

cegy
17th January 2015, 02:22
i would like to update my staxrip from 1.1.8 but since the changes in 1.1.9 (and newer) of removing the crf numbering (very useful) and the cropping which was once white is now orange/yellow which isn't nice on my eyes at all :confused:

http://i.imgur.com/xsdXbeP.png

would it be possible to bring it back to how was or even give the user the option to pick between them maybe (old vs new style)?

jones1913
17th January 2015, 13:45
of removing the crf numbering (very useful) ...
I aggree with that, showing the crf numbers was much better

@stax
in audio configuration window (AAC):
- can you set the Quality numeric updown to 0.01 density instead of 0.1 when using the arrows? It would be more comfortable when entering values like 0.25
And mouse wheel seems general not to work in these numeric controls?
- when using BeSweet as encoder the options "Dynamic Compression" and "Stereo Downmix" seems to have no effect on commandline
EDIT: of course works only when using azid as decoder, my bad

- x265 with mp4 as container show warning, but mp4box should support H265 fine

btw. ffmpeg feature is nice... :thanks:

Jeroi
17th January 2015, 18:17
Found bug in batch processor:

Even if default tmp and output dir is defined, the directory strcture batch processor trys to save to CD or EXT2 HDD temp files in encode to same folder.

Expected result:

1. Define defualt tmp
2. Define default target
3. encode from dvd or hdd to tmp and reuslt in target folder.

Produced error:
Cannot creat tmp file in batch and brings hundrets error messages when dealing a lot of video files.

stax76
18th January 2015, 15:09
remove DGAVCDecode because it is old and not recommened anymore

Maybe people still use it for raw avc streams extracted with eac3to, I've no experience with this method since I use (and recommend) MakeMKV.

- add LSMASHSource/LWLibAVSource instead, for some file types it is maybe even better than FFMPEGSource, the disadvantage is it has no standalone indexer application

How does the indexing work then, adding a source filter to StaxRip requires some integration work so it's a option for the future.

- use wavi or avs2wav instead of VirtualDubMod for Avisynth audio decoding
(of course there is no difference, but I think doing the work in background is recommened instead of plopping additional windows)

For new features I try to avoid VirtualDubMod and I try to add optional alternatives, next release will have a new mkvmerge based cutting option so finally AAC can be cutted too, I've not thoroughly tested this feature, only once with DTS-MA where it worked perfectly.

- replace bdsup2sub with bdsup2sub++, so at least for this we can get rid of the annoying java dependency

Done

but since the changes in 1.1.9 (and newer) of removing the crf numbering (very useful)

I somehow missed it too so I've put it back. I've made more changes favoring more experienced users, new users will have it a little bit harder then before.

and the cropping which was once white is now orange/yellow which isn't nice on my eyes at all

I've changed it now to use colors derived from the menu's and toolbars, I do this now more often in other places, there is a setting, either window color (default), blue which is the standard menu color in Windows and the color of the standard menu in .NET (which is named 'professional' in .NET), atm. I use some yellow window color looking easy everywhere, not sure yet about other combos.

- can you set the Quality numeric updown to 0.01 density instead of 0.1 when using the arrows? It would be more comfortable when entering values like 0.25

I've changed it to step 0.05, in order to provide a option for such detail I would need to build some system first, it might look like about:config in Firefox.

And mouse wheel seems general not to work in these numeric controls?

I've built this control putting 2 buttons over a textbox and some custom drawing and forgot to add wheel support, next release will have it.

x265 with mp4 as container show warning, but mp4box should support H265 fine

I've enabled it now but mp4box seem to be broke, after I muxed two ac3 streams the play time doubled. I hope the problems is not my command line arguments. If anybody can point me to a new build that would be great.

@Jeroi

One problem is some demuxing/indexing applications are integrated in a generic and customizable way, you can see this at Tools/Settings/Demuxing -> Edit so I have limited control plus some of this applications are hard-coded to write to the source directory without giving a option.

Next is generally everything not be a local HD isn't well tested if at all and might generally not be a good idea. Old featured and methods and methods I don't use are more likely to cause problems, best support has mkv input and output coming from mkvmerge and MakeMKV, then comes MP4 input and output, I test and use other formats as well but ripping methods other then MakeMKV hardly ever. With a detailed description and log files via mail or pastebin maybe I can do something.

jones1913
18th January 2015, 22:06
How does the indexing work then, adding a source filter to StaxRip requires some integration work so it's a option for the future.

Indexing is started when the avs script is invoked.
I use L-SmashSource already for a while with StaxRip but when opening a video the Staxrip window freezes until the index file is written. It is more a cosmetic problem.

It can also be forced manually eg. with: x264.exe --frames 1 --preset ultrafast -o NUL script.avs

Not sure if "NUL" output works in .net environment, creating a temporary file would work in any case.
Once the process has finished the indexing is done, but there is no progress output meanwhile.

If anybody can point me to a new build that would be great.
I dont know any location with current builds except the official website, they provide it only as installer but can be extracted with 7zip.
http://gpac.wp.mines-telecom.fr/downloads/gpac-nightly-builds/#Windows%2032%20bits

stax76
18th January 2015, 22:49
I dont know any location with current builds except the official website, they provide it only as installer but can be extracted with 7zip.

Thanks, I tried the latest mp4box build from there which fortunately don't has the bug I encountered.

Regarding L-SmashSource I put it on my radar. :)

IbrahimKh
20th January 2015, 11:28
Please add bit per pixel calculator showing beside bitrate and filesize calculator

Jeroi
21st January 2015, 23:47
Found again bug in batch file template handling.

Even if I have 2pass 600kbit x264 setting for video encoder saved as template, when Files are added thrue batch processing files and I select my template it forces bitrate still 1200kbit for the video encoder. This is bad as now filesizes seem to be almoust as big as mpg orginal files in vob.

I can tho use my template to encode single file but this take too much time to add all files properly.

Even if I have 600kbit in the front template box selected this is encoder setting used instead:

"C:\Users\Jeroi\Desktop\StaxRip\Applications\avs4x26x\avs4x26x.exe" --x26x-binary "C:\Users\Jeroi\Desktop\StaxRip\Applications\x264\x264 64-Bit 8-Bit.exe" --tune film --pass 1 --bitrate 14725 --sar 12:11 --stats "R:\movie\movie123 temp files\movie123.stats" --output NUL "R:\movie\movie123 temp files\movie123.avs"

It would be wise also to add bitrate selector to x264 template ui to chose your x264 target bitrate there.

stax76
22nd January 2015, 02:12
Please add bit per pixel calculator showing beside bitrate and filesize calculator

for what?

@Jeroi

The whole point of two pass is a fixed size if I remember correctly, I've almost never done 2 pass other then while adding support for a new codec to StaxRip so I don't know too much about it. You could use the thread search feature to search this thread, it was likely discussed 10 years ago when 2 pass was more popular, I hardly remember how everything works, it can probably be done with the event command feature or somehow else or I resisted to add it because I thought it don't make sense.

Jeroi
22nd January 2015, 08:21
Well atm the moment my backup project is stalled because megui cant handle batch prosesses, handbrake is like it's name handly broken what comes to batch processing and only one that works is single pass staxrip but atm it produces default settings quite big filesizes for realtime movie clips like sd videos from my dad.

I tried whole night yesterday to make staxrip 2 pass 600kbit encode to work but noooo. Can you please check why 2pass makes default bitrates?

I have encoded a lot and usually I do target bitrate or target filesize encoding and use a punch of filters to produce quality in small file size but for this project I really need a good batch worker. Since I have almoust 7000 video clips to work with.

stax76
22nd January 2015, 14:00
I remember it now, open the encoder options and enter it as custom command line switch, in the x264 encoder there is a command line tab. Alternatively go to Tools/Advanced/Run specific command... and set the bitrate after the source it loaded. The reason why there isn't a direct option for it is 2 pass just don't make sense in batch mode, if you ask me I would say it never makes sense.

Sources can vary greatly in complexity and sources can have different image sizes. A source with much colors, light and action will require a much higher bitrate then a source with much darkness and little action, like 3 times more for instance. With quality mode you get reasonable results regardless of complexity and image size, 2 pass won't produce better quality at the same file size, hitting a exact file size is the only purpose, I can't think of a situation where it's useful.

Jeroi
22nd January 2015, 18:36
Yes that spesifig command worked, Now I have another problem, since now suddenly the temp file delete from options started to work but instead it adds filename.log files for each video. How can I make job control to not write these log files?

The reason why there isn't a direct option for it is 2 pass just don't make sense in batch mode, if you ask me I would say it never makes sense.

Yes it adds total of about 30sec more encoding time for 3-5min video clip. This is not much Here is results:

Original mpg: 75mb
Single pass: 35mb
2pass target 600kbit: 16mb

Audio 192khz cbr mp3 about 5-7mb.

Quality is same in each file

stax76
22nd January 2015, 21:01
How can I make job control to not write these log files?

You can't.

At same file size quality is said to be about the same for quality based and 2 pass, really.

Google
23rd January 2015, 04:28
The "demux and add subtitles" feature has never worked for me. I use Stax to demux .ts files with DGSource and encode them to .mkv with x264. But the text tracks (usually 1 or 2) that are inside each .ts file never get demuxed or included in the final encode. Any ideas?

stax76
23rd January 2015, 04:45
Automatic subtitle handling is only supported for DVD, MKV and MP4, MKV being of course best supported container, ts is the most difficult container to work with, DGSource much likely don't support any subtitle related feature so you have to look for another demuxing utility.

Jeroi
23rd January 2015, 09:56
You can't.

Is there reason why there is no option to delete logfiles after job is done without error?

Also future feature suggestion:

Please could you separate encoder/job control from main thread to it's own thread. It would be nice to be able to add jobs and edit options while encoding jobs. After all, there is multiple cores in prosessors these days and internet can be used while encoding, so i believe one could add jobs and edit settings of encoder while encoding. At the moment I need to abort job control, this means I need to manually either remove already done jobs from jobs or delete already encoded files, because I want to add more files to queve, where jobcontrol aborts all job strips so it want to encode whole job queve again, even if it was done couple of videos already. I believe this is related to jobcontrol log files also, because it generates those after each encode, thus remembering what was used at job queve.

What I would like to see: suspend queve, browse some new files, add to queve -> resume or if one has powerfull prosessor the just adding while encoding support.

stax76
23rd January 2015, 14:37
Is there reason why there is no option to delete logfiles after job is done without error?

No, just a small missing feature with low priority to add.

Regarding Job processing I plan to add a option to the start button like "Start in new instance", for threads I would need to rewrite half of the code which will never happen.

Jeroi
24th January 2015, 12:18
One more "BUG" that annoys me is template saving. Currently you can select settings and save them as template. How ever there is no option to edit template. I mean when I open template it removes all my edited template settings. I would like to save the template settings again to add edited options to the template.

VfBFan
24th January 2015, 12:24
After opening and demuxing a vob-source with the option "Merge Files" I get this error message.

StaxRip has crashed!

Error
failed with exit code 2

StaxRip.ErrorAbortException: Error
failed with exit code 2
bei StaxRip.Proc.Start() in C:\Daten\Projekte\VS\VB\StaxRip\General\Proc.vb:Zeile 259.
bei StaxRip.MainForm.DemuxVobSubSubtitles(Boolean isVobSource) in C:\Daten\Projekte\VS\VB\StaxRip\Forms\MainForm.vb:Zeile 2131.
bei StaxRip.MainForm.OpenVideoSourceFiles(List`1 files, Boolean autoMode) in C:\Daten\Projekte\VS\VB\StaxRip\Forms\MainForm.vb:Zeile 1908.

stax76
24th January 2015, 13:04
One more "BUG" that annoys me is template saving. Currently you can select settings and save them as template. How ever there is no option to edit template. I mean when I open template it removes all my edited template settings. I would like to save the template settings again to add edited options to the template.

Is there a more intuitive way for a template system? You can save a template, you can load a template, and of course you can overwrite a template.

After opening and demuxing a vob-source with the option "Merge Files" I get this error message.

Are you new to opening vob files? I think there are still people who use it over the favored MakeMKV ripping method, there is a bug with vsrip (fixed in next release) but generally this method should still work well. If there is a log file please mail it or save it on pastebin.

VfBFan
24th January 2015, 13:17
It's not so important anymore, after this error I use makemkv for all new sources. ;-)

Feature request: Checkboxes in container options to force subtitles and set as default.

stax76
24th January 2015, 15:05
Feature request: Checkboxes in container options to force subtitles and set as default.

Wouldn't reordering be just fine? I think mkvmerge sets the first stream to be default, you can check with the built in MediaInfo feature.

Lentzeris
24th January 2015, 20:30
Hello.

I try to encode an mkv episode from a tv show to mp4 using the version 1.2.0.1 beta and I get an error right before the compressibility test starts. I am using the 64bit 8 bit x264 encoder.

The error is the following:

"StaxRip has crashed!

Error Compressibility Check

Compressibility Check failed with exit code -1

E:\My Documents\Downloaded Programs\Video (Play-Convert)\StaxRip_1.2.0.1_beta\Applications\x264\x264 64-Bit 8-Bit.exe: unknown option -- x26x-binary


StaxRip.ErrorAbortException: Error Compressibility Check

Compressibility Check failed with exit code -1

E:\My Documents\Downloaded Programs\Video (Play-Convert)\StaxRip_1.2.0.1_beta\Applications\x264\x264 64-Bit 8-Bit.exe: unknown option -- x26x-binary

at StaxRip.Proc.Start() in C:\Daten\Projekte\VS\VB\StaxRip\General\Proc.vb:line 259
at StaxRip.x264Encoder.RunCompCheck(String executable, String arguments, String[] logValuesToSkip) in C:\Daten\Projekte\VS\VB\StaxRip\General\x264.vb:line 95
at StaxRip.x264Encoder.RunCompCheck() in C:\Daten\Projekte\VS\VB\StaxRip\General\x264.vb:line 69
at StaxRip.MainForm.OpenVideoSourceFiles(List`1 files, Boolean autoMode) in C:\Daten\Projekte\VS\VB\StaxRip\Forms\MainForm.vb:line 1928"

I have attached the logfile of the encode along with the avisynth script I am using.

This script is from a template I create which I have been using for the past years through my many encodes with the latest stable version we had. This error appears during any file I try to convert only with the latest beta version. If I use the 32bit version of the x264 encoder, there is no error.

Can anyone identify the error?

Jeroi
25th January 2015, 02:26
Couble feature request:

Jobs->ADD: Remember last used folder

File batch: Add folder with recursive seek.

Issues and needs:

Because it annoys when adding files to queve it remembers last opened single file folder but not remember the add files dialog last opened folder. Second one is to help adding more files in single step. If recursive folder adding is added, files on different folders are much easier to add.

Lentzeris
25th January 2015, 09:55
Video preview is crashing for most videos in latest beta when I use the next avisynth filter:

textsub((LeftStr("Y:\New Movies & Series\Series\American Horror Story\S04E02 - Massacres And Matinees.mkv", StrLen("Y:\New Movies & Series\Series\American Horror Story\S04E02 - Massacres And Matinees.mkv")-4))+ ".ass")

The example is for an episode of a tv series, and what I am trying to do is add the .ass subtitle file which has the same name as the video file. This command was working normally with previous versions. This is happening with .srt files as well. If I try to hardcode the subtitle or if I remove completely the textsub filter, there is no error.

Brother John
25th January 2015, 16:13
Wouldn't reordering be just fine? I think mkvmerge sets the first stream to be default, you can check with the built in MediaInfo feature.
Not it all situations. Consider a multi-language MKV: English audio, German audio, English subs, German subs (streams in that order). No forced subs or anything, just plain old normal full subtitle tracks. Without manual intervention MKVMerge will flag both English audio and subs as default:yes. That means by default players will display the English subtitles.

To prevent the subtitles from showing up automatically (maybe because you understand English well enough and only include them as an optional feature) you need to manually flag the English subs as default:no.

stax76
25th January 2015, 17:23
@Lentzeris

Next release fixes some comp check crashes.

Jobs->ADD: Remember last used folder

Which folder?

File batch: Add folder with recursive seek.

Batch processing has low priority because it don't seem to be used by many. The dialog to add files in file batch mode has drag & drop support so you can search for files recursively with windows explorer and then drag them on the dialog.

Because it annoys when adding files to queve it remembers last opened single file folder but not remember the add files dialog last opened folder. Second one is to help adding more files in single step. If recursive folder adding is added, files on different folders are much easier to add.

I'm not sure if I understand it correctly, often I don't remember many details of features added long time ago and rarely used by myself. I'll take a look at it.

Video preview is crashing for most videos in latest beta when I use the next avisynth filter:

I've ass sample I can test, is there a stack trace in the log file or a message box where you can export a stack trace?

@Brother John

Good to see you around and thanks for the explanation, it's added and will be released within the next couple of days.

davizator
25th January 2015, 19:09
Hello...

About audio....How can I convert from 6ch AC3 to 6ch AAC? In this 1.2 version automatically convert 6ch AC3 to 2ch WAV and then to 2ch AAC.... but I can do the conversion directly copying the command line to a dos window and changing the wav file name to sourcefilename.ac3...

Thanks for that great program....

Patman
25th January 2015, 20:05
Hello community...

I've found a bug in audio conversion. For AC3 conversion i've set the encoder automatic and the bitrate to 448 kbit/s but when i started the process, the bitrate is set to 640 kbit/s. Is this a bug?

Please update the avisynth filters and all applications to the latest and project x to version 0.91.08. So java isn't required for Staxrip.

Nice to see that the development will continued...

Greets Pat

stax76
25th January 2015, 20:56
@Patman & davizator

I've overhauled audio processing by much hoping to eliminate some reported problems, it just needs a little bit more testing.

Please update the avisynth filters and all applications to the latest and project x to version 0.91.08. So java isn't required for Staxrip.

9 MB only for this app is way to much, I would like to include MPC 32-Bit for avs preview but it's another 10 MB.

stax76
25th January 2015, 23:44
@Lentzeris

I've tried my ASS sample with the code below not getting a crash.

TextSub((LeftStr("%source_file%", StrLen("%source_file%")-4))+ ".ass")

stax76
26th January 2015, 02:01
Here is a test build for everybody having a problem with the previous release or anybody wanting to help removing bugs from the next release coming in in 2-3 days.

https://www.dropbox.com/s/flf1s6x622yz1qp/StaxRip_1.2.0.2_2015.01.26.7z?dl=0

I've not taken care migrating settings like in the past so I recommend to delete the content of the settings directory with every build.

cegy
26th January 2015, 18:04
Here is a test build for everybody having a problem with the previous release or anybody wanting to help removing bugs from the next release coming in in 2-3 days.

https://www.dropbox.com/s/flf1s6x622yz1qp/StaxRip_1.2.0.2_2015.01.26.7z?dl=0

I've not taken care migrating settings like in the past so I recommend to delete the content of the settings directory with every build.

i've not really used it to encode with if i was to be honest but mainly to see if the changes was made which i asked about here (http://forum.doom9.org/showpost.php?p=1706183&postcount=4626)

however there is one minor thing i've notice which is still nice to be able to see at a quick look then having to blind guess the numbers..

http://i.imgur.com/b42joO5.png

the cropping colours (cropping part) seems much better on how its able to change based on the colour of your windows theme but i do wonder if the classic style will come back via a option (hardcoded maybe?):confused:

the ffmpeg encoding part seems like a nice idea but a suggestion would maybe add a edit box so the user can add there own options if that's possible?

keep up the good work stax76 :cool:

stax76
26th January 2015, 19:32
however there is one minor thing i've notice which is still nice to be able to see at a quick look then having to blind guess the numbers..

changed it too now

the cropping colours (cropping part) seems much better on how its able to change based on the colour of your windows theme but i do wonder if the classic style will come back via a option (hardcoded maybe?)

You mean Windows 98/MPC-HC style? If you enable this in Windows then StaxRip should use classic style otherwise it's a bug.

There is a option at Tools/Seetings/System/Menu Style, the menu drawing is from me so I hope it looks OK and works.

the ffmpeg encoding part seems like a nice idea but a suggestion would maybe add a edit box so the user can add there own options if that's possible?

I think I can add it, also for audio encoding.

stax76
26th January 2015, 21:21
@Alexander

I tried to answer your private message but for some reason the system don't allow to send it. You can also mail me or use the German doom9 forum, it has a StaxRip support thread (http://forum.gleitz.info/showthread.php?26177-StaxRip-Encoding-Frontend-%28Diskussion%29/page155) too.

Jeroi
26th January 2015, 21:43
Huge bug report:

Staxrip delete moves 4gb temp files to recylce bin which fullfills entirely soon C: . Please put force delete to your code to avoid moving to recycle bin. Also could you please add delete log files option also?

Also couple features for audio tracks needed:

- Remove second audio track option. At the moment it encodes automatically second audio track if source have mutliple audio tracks. Please add option to encode only single audio track to mp4 or mkv format.
- Please add more audotracks possibilites. I have few video containing 6 audio tracks and would need quite many tracks to the encoder.

stax76
26th January 2015, 22:04
My drive is only 1 GB (2.5" is more silent) and I never had problems with the recycle bin, I don't know what Windows uses as default, I defined it to use 50 GB, default or customized there should be a sane upper limit and Windows shouldn't exceed it, I would like to help but don't understand where the problem is. I might add another option but it's not simple because for such specialized issues I consider to build a settings dialog similar to about:config in Firefox.

Patman
26th January 2015, 22:50
Hi Stax ...

I've tested the new version with some audio formats. The result was good in this release. No matter what encoder I have chosen or what format and bit rate, the output file reflected the settings. The only problem was the conversion of some TrueHD audio tracks to AC3. For example, Dolby Atmos can only be converted with ffmpeg. If the selection of the encoder is set to automatic, then the conversion of some TrueHD audio tracks is displayed as an error, but the process goes on and is not interrupted. In TrueHD audio tracks ffmpeg should be preferred as the encoder when the setting is set to automatic.

Greets Pat

stax76
27th January 2015, 03:32
@Jeroi

I've added a setting at:

Tools/Settings/System/Use recycle bin when temp files are deleted

Log file will also be deleted by default (using recycle bin).

Remove second audio track option. At the moment it encodes automatically second audio track if source have mutliple audio tracks. Please add option to encode only single audio track to mp4 or mkv format.

There is a audio profile called 'No Audio' for this.

Please add more audotracks possibilites. I have few video containing 6 audio tracks and would need quite many tracks to the encoder.

It don't fit well with the program architecture and I'm unsure how hard it will be. I will try it but I don't know when.

@Patman

Thanks for testing, I got to look for a sample and info on Dolby Atmos then.

davizator
27th January 2015, 12:23
When encode again a movie (opening a existing project), now I cannot choose the video file in the "Just mux" option, the program get the source file but I need the output encoded file....

stax76
27th January 2015, 13:18
It checks for output, if non existing uses input, I would guess it's probably a incompatibility (encoded with a older build).

davizator
27th January 2015, 20:20
Are you sure it checks the output correctly? I am using your last version in post #4657 creating a new project and then open this project and changing some parameters to test different outputs (with x265).. and when Just mux in audio always merge the wav file but I choose the AAC output file...

stax76
27th January 2015, 20:30
I thought you mean video muxing, audio might be a bug, there were some audio bugs I fixed meanwhile that possibly could relate.

stax76
27th January 2015, 20:53
Here is a build from today: https://www.dropbox.com/s/r1v4fp1kb23r6cg/StaxRip_1.2.0.2_2015.01.27.7z?dl=0

I moved the audio and subtitle demuxing options from the project options dialog to Tools/Settings/Demuxing, it's now global and everything in one place.

Audio had some bugs like when you load a audio profile the stream selection in the context menu was gone, if there are demuxed files the menu now always shows them. The audio textbox never shows a file name but always media info. The audio play feature plays now the correct stream when demuxing is disabled (default), this works only with FFVideoSource because it uses FFAudioSource for stream selection. If you use a audio encoder that handles delay (eac3to or BeSweet) StaxRip removes the delay from the output filename, when you later then open this file for muxing it won't extract the delay from the filename and pass it to the muxer like in previous versions.

Carpo
28th January 2015, 13:23
Little crash error using the version from your post Stax, although this same .avs file opens fine in the 1.2.0.1 beta, in 1.2.0.2 it crashes instantly when loading the .avs file

.avs file

SetMTMode(5, 4)
LoadPlugin("D:\dgindex\DGDecode.dll")
DGDecode_mpeg2source("E:\Evanescence - My Immortal.d2v", info=3)
SetMTMode(2)
QTGMC( Preset="Slower", NoiseProcess=1, NoiseRestore=0.0, Denoiser="dfttest", DenoiseMC=true, NoiseTR=2, Sigma=4.0 )
SelectEven()
crop(8, 58, -6, -60)
#resize
#denoise

crash.log

------------------------------------------------------------
Environment
------------------------------------------------------------

StaxRip version: 1.2.0.2
OS Name : Windows 8.1 Pro
OS Version : 6.2.9200.0
OS Type : 64-bit
OS Culture : English (United Kingdom)

------------------------------------------------------------
.NET
------------------------------------------------------------

v2.0.50727 : 2.0.50727.4927
v3.0 : 3.0.30729.4926
v3.5 : 3.5.30729.4926
v4\Client : 4.5.51650
v4\Full : 4.5.51650
v4.0\Client : 4.0.0.0

------------------------------------------------------------
Source file MediaInfo
------------------------------------------------------------

E:\Evanescence - My Immortal.avs

General
Complete name : E:\Evanescence - My Immortal.avs
File size : 436 Bytes


------------------------------------------------------------
Exception
------------------------------------------------------------

System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException()
at System.Collections.Generic.List`1.get_Item(Int32 index)
at StaxRip.AudioProfile.SetStreamOrLanguage() in C:\Daten\Projekte\VS\VB\StaxRip\General\AudioProfile.vb:line 83
at StaxRip.MainForm.AudioTextChanged(TextBox tb, AudioProfile ap) in C:\Daten\Projekte\VS\VB\StaxRip\Forms\MainForm.vb:line 2672
at StaxRip.MainForm.tbAudioFile0_TextChanged() in C:\Daten\Projekte\VS\VB\StaxRip\Forms\MainForm.vb:line 2723
at StaxRip.MainForm._Lambda$__108(Object a0, EventArgs a1) in C:\Daten\Projekte\VS\VB\StaxRip\Forms\MainForm.vb:line 0
at System.Windows.Forms.Control.OnTextChanged(EventArgs e)
at System.Windows.Forms.TextBoxBase.OnTextChanged(EventArgs e)
at System.Windows.Forms.Control.set_Text(String value)
at System.Windows.Forms.TextBoxBase.set_Text(String value)
at System.Windows.Forms.TextBox.set_Text(String value)
at StaxRip.MainForm.OpenVideoSourceFiles(IEnumerable`1 files, Boolean autoMode) in C:\Daten\Projekte\VS\VB\StaxRip\Forms\MainForm.vb:line 1758

stax76
28th January 2015, 17:14
@Carpo

Thanks for posting, it happened with all sources not containing audio.

@all

I fixed Dolby Atmos handling which again resulted in heavy editing of the audio processing, there were bugs with TrueHD, EAC3, various issues with muxing, avs decoding uses now ffmpeg instead of VirtualDubMod. Previously StaxRip would just abort if any audio processing fails, now it tries a alternative method in most cases, it now ignores delay when DirectShowSource is used, the audio text box shows better media info now, there are so many different formats, tools, and things to handle like delay, cutting, many special cases. I feel it's getting into a good shape.

https://www.dropbox.com/s/8tclme8xy6d8i7p/StaxRip_1.2.0.2_2015.01.28.7z?dl=0

Patman
28th January 2015, 20:30
Hi Stax...

Is it possible to include the gmkvextract gui?
For now your last release works very fine for me.

stax76
28th January 2015, 22:32
I might add it or make a simple demuxing GUI with mkvextract, mp4box and ffmpeg support.

If you like this GUI you might want to forward to the author to use code like this:

Application.EnableVisualStyles()
Application.SetCompatibleTextRenderingDefault(False)
SetProcessDPIAware()
Application.Run(New MainForm())

Right now the app operates in a compatibility mode in High DPI environments making it look blurry. The app wasn't designed for High DPI so the window manager puts it into a compatibility mode doing bitmap based upscaling and this causes the blurry look. The cure for this is declaring the app as High DPI aware and fix the layout if it wasn't built for High DPI to start with, for such a small app it's easy, for large apps it can be work. Some other popular .NET based encoding GUI has room for improvements in this department as well...

Patman
30th January 2015, 23:39
Hello,

here is a link to a small update package for some apps and avisynth-plugins.

Apps and Plugins (http://www.4shared.com/zip/CVDpHbQice/Apps_Plugins.html)

stax76
31st January 2015, 08:46
Hello Patman,

thanks for the package, except for autocrop, deen and AviSynth I'll include it.

Patman
31st January 2015, 12:13
Hello Stax,

I've found another audio format, which makes problems with the conversion to AC3. Eac3to and besweet produce an incorrect audio file. The audio format which causes these problems are DTS-ES (6.1) audio tracks. Only ffmpeg produced a correct audio file (AC3 5.1 448 kbit/s) without a "peep" tone. The easiest way to fix that problem is to set ffmpeg as default for DTS-ES audio. I hope you can check this and change that.

Greets Pat

stax76
31st January 2015, 13:11
I don't have a disc to test, did you use MakeMKV or another ripper?

I uploaded a release however, hopefully without too many bugs. :)

1.2.0.2 beta (2015-01-31)


Added new audio cutting method using mkvmerge and made it default for all audio formats.
Added many small improvements in audio processing
Added more x265 switches, there is a GUI option for more then 80 switches now, a search feature searching label, switch and help and a option for additional custom switches
Added feature to the x265 dialog to easily reset numeric values and option values to their default value by double clicking on the label
Added L-SMASH-Works AviSynth source filter, DGAVCDec removed
Added C++/QT based BDSup2Sub++, removed Java based BDSup2Sub
Added latest versions of ffms2 and MP4Box
Added setting to define which source filter will be used for a given source container in case the source filter is automatic
Added option to jobs dialog to either run job processing in the current or a new StaxRip instance, job processing works completely different now
Added ts to mkv remuxing configuration using Haali's dsmux, it works better then using TS directly or remuxing with mkvmerge
Improved GUI and help in various locations
Improved usability in eac3to demuxing dialog
Fixed compressibility check being broken in various configurations
Fixed bug with idx file containing multiple subtitles and fixed a vsrip related crash
Fixed bug Java not being found, if ProjectX is enabled in the settings Java is required.


https://www.dropbox.com/s/0i2zmsovraf3gb3/StaxRip_1.2.0.2_beta.7z?dl=0

https://sourceforge.net/projects/staxmedia/files/StaxRip%20beta

VfBFan
31st January 2015, 15:23
I found a folder called "Neuer Ordner" in the MP4Box folder, I think it is unnecessary.

Patman
31st January 2015, 16:09
I found a folder called "Neuer Ordner" in the MP4Box folder, I think it is unnecessary.

I think this is a backup folder with the old version. I've deleted this folder and no problems so far.

cegy
31st January 2015, 16:17
just to point out support for aac (just mux using aac-lc (adts) in this case) in a mkv/mp4 container is fully supported yet this says other wise... encoding to aac it doesn't kick up a fuss
http://i.imgur.com/E69nJxS.png

also why can't i see nor read the file name of the audio file any more another great option took away which means the user could end up muxing/encoding the incorrect file due to not being able to see/read it :eek: a game of blind guessing anyone ?:mad:
http://i.imgur.com/OGgldYd.png

stax76
31st January 2015, 18:40
@VfBFan

Thanks for the hint, Patman is probably right, backup I forgot to remove.

@cegy

The situation with aac is ugly because you never know if it's sbr unless you use a container such as m4a or mka. I should probably enable aac again, it would assume sbr in case the filename contains sbr, that's how a internal routine already work and I would check if it's applied everywhere necessary.

Some useful info is better like a filename especially when the filename is very long and meaningless, when StaxRip demuxes with eac3to it would for instance create a filename like so:

VC1 DTS HRA Core - ID2 - English.dtshr

'VC1 DTS HRA Core' is the m2ts filename, a random file in my test collection, there are three things StaxRip writes to demuxed audio filenames: stream ID, language and delay, in this case there is no delay. Different demuxing routines should use the same naming pattern. When such audio files are later opened StaxRip will detect stream ID, language and delay from the filename and display and handle it. A possible improvement could be instead of removing the complete filename is removing only the obvious part that is identical with the video source file, what do you think?

cegy
31st January 2015, 19:51
for me i liked how it was before as at least i'm able to see the file name fully and what you've suggested sure seems like a good idea aswell but maybe give a option to a user to pick between them at least you'll have best of both and the user can pick which option that they like

Patman
31st January 2015, 20:36
I don't have a disc to test, did you use MakeMKV or another ripper?

...

That happens during a conversion, wasn't a ripping prozess.

stax76
1st February 2015, 15:22
@cegy

Here is a hotfix with some adjustments according your feedback: https://www.dropbox.com/s/evh5c3fwcrss30i/StaxRip_hotfix_2015.02.01.7z?dl=0

@Patman

I used mkvmerge to remux atmos from m2ts to mkv, then opened the mkv with StaxRip and encoded using a AAC encoding profile, it worked.

Patman
1st February 2015, 15:38
@cegy

Here is a hotfix with some adjustments according your feedback: https://www.dropbox.com/s/evh5c3fwcrss30i/StaxRip_hotfix_2015.02.01.7z?dl=0

@Patman

I used mkvmerge to remux atmos from m2ts to mkv, then opened the mkv with StaxRip and encoded using a AAC encoding profile, it worked.

Yes, AAC conversion worked but AC3 doesn't work.

stax76
1st February 2015, 15:50
AC3 muxing or encoding?

Patman
1st February 2015, 16:00
AC3 muxing or encoding?

Encoding, muxing worked. It happens during the encoding process of DTS-ES 6.1 tracks. With forced ffmpeg encoder it worked but with automatic encoder settings the output file was incorrect.

stax76
1st February 2015, 16:17
Please let me see your log, mine is here: http://pastebin.com/K6ZX5CPw

Patman
1st February 2015, 17:26
Please let me see your log, mine is here: http://pastebin.com/K6ZX5CPw

A log will not be help for that. With eac3to as encoder the process will be done but with a corrupted audio file. There is the whole time a "peep" tone over the real sound. With ffmpeg as encoder the audio file is correct.
And i use Arcsoft DTS Decoder for eac3to.

cegy
1st February 2015, 18:08
@cegy

Here is a hotfix with some adjustments according your feedback: https://www.dropbox.com/s/evh5c3fwcrss30i/StaxRip_hotfix_2015.02.01.7z?dl=0

@Patman

I used mkvmerge to remux atmos from m2ts to mkv, then opened the mkv with StaxRip and encoded using a AAC encoding profile, it worked.

i like the change ;)

stax76
1st February 2015, 18:13
@Patman

I don't have a special DTS decoder installed. MediaInfo just shows TrueHD for my Atmos stream exactly the same as it would on a normal TrueHD stream so I don't know what else to do, you could ask the MediaInfo author (Zenitram) for help, he has a thread here.

Patman
1st February 2015, 19:04
@Patman

I don't have a special DTS decoder installed. MediaInfo just shows TrueHD for my Atmos stream exactly the same as it would on a normal TrueHD stream so I don't know what else to do, you could ask the MediaInfo author (Zenitram) for help, he has a thread here.

DTS-ES 6.1 isn't an atmos stream. Is a dts stream with a back center chanel. I've found the problem with the dts-es streams. Staxrip works very fine but the arcsoft dts decoder package was the malefactor. I've downgrade the version of the decoder and everything is fine. Thanks www for that info ;)

And the hotfix for staxrip is a great solution. Please implement this in the next version.

mpfiorv
1st February 2015, 21:36
Hey guys...brand new to stax rip....been using handbrake for some time.....But for some reason, stax rip does not detect Java which is installed on my computer.

I am running windows 8.1 64 bit....can anyone please point me in the right direction??? I have tried running both 32 and 64 bit versions of java and still nothing worked. I am lost for answers.

thanks a ton.

stax76
1st February 2015, 21:44
Hi and welcome,

are running the latest StaxRip release? There was a Java detection fix lately, does StaxRip ask for Java or ProjectX or does it simply skip ProjectX processing (it's intended to just ignore ProjectX if Java isn't found), maybe your source can be handled without ProjectX well so you can just disable it.

dejong12
3rd February 2015, 16:47
The latest StaxRip (and the older ones) aren't loading some of my source files correctly. I've got a Full HD AVC .ts recording and when I load this video into StaxRip, the first ~30 frames equal to the the frame after those ~30 frames. Why this behaviour? When playing the source files, everything is fine.

EDIT: This does not happen when using elementary streams, in this case, .h264 and .mpa. But now arises another problem, the encoded video is slowed down double. The source video is 40 seconds (1000 frames), but now it is 1 min 20 seconds (2000 frames). FPS is still showing 25.

EDIT2: I can correctly use the .h264 elementary stream in StaxRip 1.1.9.0. I don't know if this is because of Helix or DGAVCIndex, but it think it is because the latter one is missing in 1.2.0.2. I tried adding it manually in 1.2.0.2 but it seems to be missing AVCSource (I think)(which is used in 1.1.9.0) and it gives me the "Index does not match the source file" error.

EDIT3: Version 1.1.9.0 also doesn't encode the elementary streams well. It's flickering blocks on all frames and there's no audio attached.

EDIT4: Strange, when remuxing the source file (.wtv) to .mp4, everything works correctly and I can encode the source file fine. So there might be some bugs when reading some containers.

cegy
4th February 2015, 23:33
stax76 the new start button sure is nice however would it be possible to keep the "idea" there but if the user does click start it does start whiles clicking on the drop down thing will bring up the other options.. is this possible as i've seen it in other apps ?

stax76
5th February 2015, 05:25
The latest StaxRip (and the older ones) aren't loading some of my source files correctly. I've got a Full HD AVC .ts recording and when I load this video into StaxRip, the first ~30 frames equal to the the frame after those ~30 frames. Why this behaviour? When playing the source files, everything is fine.

Full HD AVC TS is with default settings handled with DirectShowSource, your player might not use the same filters because of the following reasons:


StaxRip uses 32-Bit AviSynth, this means DirectShowSource will use 32-Bit DirectShow filters, your player might use 64-Bit filters, depending on which DirectShow filters you have installed this might result in a completely different filter graph. Two useful tools to tweak and diagnostic DirectShow are 'Codec Tweak Tool' and GraphStudio (expert tool).

Your player might prefer internal filters which would be different from system filters used by DirectShowSource, there are various player preferring internal filters most prominent is MPC.

Your player might not be DirectShow based at all (VLC being a popular example).


EDIT: This does not happen when using elementary streams, in this case, .h264 and .mpa. But now arises another problem, the encoded video is slowed down double. The source video is 40 seconds (1000 frames), but now it is 1 min 20 seconds (2000 frames). FPS is still showing 25.

Elementary streams are now handled with the FFVideoSource source filter (ffms2 plugin), I don't have much experience with elementary streams, never versions of FFVideoSource supporting them is one reasons DGAVCDec was released. Seeking/cutting don't seem to work very well with FFVideoSource and elementary streams, have you cut your recordings before? In which application? If possible please upload a 100 mb sample with DropBox's share feature. There are various AviSynth filters regarding frame processing like SelectEven/AssumeFPS etc.

EDIT2: I can correctly use the .h264 elementary stream in StaxRip 1.1.9.0. I don't know if this is because of Helix or DGAVCIndex, but it think it is because the latter one is missing in 1.2.0.2. I tried adding it manually in 1.2.0.2 but it seems to be missing AVCSource (I think)(which is used in 1.1.9.0) and it gives me the "Index does not match the source file" error.

It should be because of DGAVCIndex, adding it manually could be possible but difficult, you would have to add a demuxer at Tools/Settings/Demuxing with proper settings, then you would have to add a source filter by right-clicking the AviSynth filter list and chose 'Profiles' and last you would have to tell StaxRip which source filter profile to use for your demuxers output file, this new feature is at Tools/Settings/Filters.

EDIT3: Version 1.1.9.0 also doesn't encode the elementary streams well. It's flickering blocks on all frames and there's no audio attached.

Didn't you demux audio manually or didn't StaxRip demuxer demux audio? DGAVCDec can demux audio.

EDIT4: Strange, when remuxing the source file (.wtv) to .mp4, everything works correctly and I can encode the source file fine. So there might be some bugs when reading some containers.

From my experience FFVideoSource/ffms2 work best with MP4 and MKV and worst with TS, how did you remux? You can also mux ts to mkv, with mkvmerge these files are playing fine here but when I cut them in StaxRip audio goes async. Muxing with dsmux works better, it seems it does some stream fixing and don't add timestamps tags like mkvmerge. dsmux is enabled by default in StaxRip but it requires Haali's splitter to be installed, Haali's ts splitter seem to be much better then LAV's TS splitter so I recommend it everybody playing ts. To get the best out of Haali and LAV I recommend 'Codec Tweak Tool' and GraphStudio (advanced tool).

stax76 the new start button sure is nice however would it be possible to keep the "idea" there but if the user does click start it does start whiles clicking on the drop down thing will bring up the other options.. is this possible as i've seen it in other apps ?

It would be some work since it's not part of my standard UI elements and I never liked or understood the concept much. There might be other options like a checkbox at the bottom 'Start in separate instance' or a second button, also it might be better to move all buttons to the bottom.

dejong12
5th February 2015, 11:53
Elementary streams are now handled with the FFVideoSource source filter (ffms2 plugin), I don't have much experience with elementary streams, never versions of FFVideoSource supporting them is one reasons DGAVCDec was released. Seeking/cutting don't seem to work very well with FFVideoSource and elementary streams, have you cut your recordings before? In which application? If possible please upload a 100 mb sample with DropBox's share feature. There are various AviSynth filters regarding frame processing like SelectEven/AssumeFPS etc.

I record with Windows Media Center, which uses the .wtv container. I use VideoRedo TVSuite 5 to cut and remux, literally the best software to edit .wtv. I can upload you a sample, do you want it in a container (.ts or something else) or in elementary streams?

Also, like mentioned here, remuxing into .mkv solves all problems. No double length or frame hangs. I will probably remux it into .mkv from now on.


It would be some work since it's not part of my standard UI elements and I never liked or understood the concept much. There might be other options like a checkbox at the bottom 'Start in separate instance' or a second button, also it might be better to move all buttons to the bottom.
Yeah, I was wondering if you could put the option for this instance or another instance somewhere else, because honestly I don't like the extra click.

fabje
6th February 2015, 23:47
I have a small problem with Staxrip in combination with my TV recordings.

When I open my recordings in Staxrip and are getting processed by DGIndexNV I notice that the audio is always getting a huge delay, think of -600ms until -1500ms.
After the encode is done the start is fine, but at the end I'm always missing the amount of audio that's equal to the delay.

So if I have an audio thats get a delay of -1000ms I know already that I will miss 1000ms of audio at the end.

Is there a way this fix this in the code of Staxrip, to put the actual end cut point in the audio a little bit further so I won't miss any audio at the end?
Just guessing here about a solution...

Patman
7th February 2015, 10:37
I have a small problem with Staxrip in combination with my TV recordings.

When I open my recordings in Staxrip and are getting processed by DGIndexNV I notice that the audio is always getting a huge delay, think of -600ms until -1500ms.
After the encode is done the start is fine, but at the end I'm always missing the amount of audio that's equal to the delay.

So if I have an audio thats get a delay of -1000ms I know already that I will miss 1000ms of audio at the end.

Is there a way this fix this in the code of Staxrip, to put the actual end cut point in the audio a little bit further so I won't miss any audio at the end?
Just guessing here about a solution...

Hi,

i use the application delaycut to fix the delay. Works very well.

Patman
7th February 2015, 13:18
hi Stax,

is there a possibility to reimplement the load button in the window where all jobs are listed? If you forgot to set something special you must load the whole project over main.

MikeTR
8th February 2015, 10:24
Stax, good to see you back at it. v1.1.9.0 is still going strong here, but I cannot deny that manually updating the components has been a pita at times :p. Will try the beta asap. BTW, any chance you can add a 'prevent windows standby' checkbox in a newer version? I still haven't figured out a reliable way to prevent my system goint into standby during a batch run.

VfBFan
8th February 2015, 11:00
...add a 'prevent windows standby' checkbox...
+1 and a option to send the system to standby after the complete batch is done, and not only the current process.

MikeTR
8th February 2015, 11:46
+1 and a option to send the system to standby after the complete batch is done, and not only the current process.
The "when finished do:" option sometimes is there after loading a previously aborted job que (F6) but not when going straight to processing after making the batch list. Maybe a glitch? Or it might be just my config. Try and see what it does for you.
EDIT: doesn't seem to work when resuming a large batch list, but it does with only a few jobs in the list.

stax76
8th February 2015, 18:01
I record with Windows Media Center, which uses the .wtv container. I use VideoRedo TVSuite 5 to cut and remux, literally the best software to edit .wtv. I can upload you a sample, do you want it in a container (.ts or something else) or in elementary streams?

The form that caused problems.

Yeah, I was wondering if you could put the option for this instance or another instance somewhere else, because honestly I don't like the extra click.

I made separate button and moved all buttons to the bottom.


I have a small problem with Staxrip in combination with my TV recordings.

When I open my recordings in Staxrip and are getting processed by DGIndexNV I notice that the audio is always getting a huge delay, think of -600ms until -1500ms.
After the encode is done the start is fine, but at the end I'm always missing the amount of audio that's equal to the delay.

So if I have an audio thats get a delay of -1000ms I know already that I will miss 1000ms of audio at the end.

Is there a way this fix this in the code of Staxrip, to put the actual end cut point in the audio a little bit further so I won't miss any audio at the end?
Just guessing here about a solution...


I might be able to find the reason if I see a log file, you can send it with pm, email or pastebin.

is there a possibility to reimplement the load button in the window where all jobs are listed? If you forgot to set something special you must load the whole project over main.

I'd like to keep it as it's not much different, to change something you are in the main dialog anyway and from there loading the project is simple enough.

Stax, good to see you back at it. v1.1.9.0 is still going strong here, but I cannot deny that manually updating the components has been a pita at times . Will try the beta asap. BTW, any chance you can add a 'prevent windows standby' checkbox in a newer version? I still haven't figured out a reliable way to prevent my system goint into standby during a batch run.

I've added it but always on while encoding without option, if and where to make a option I'm not sure, how do browsers handle this for instance?

and a option to send the system to standby after the complete batch is done, and not only the current process.

I'll change it so only the last instance will execute it.

MikeTR
8th February 2015, 18:21
I've added it but always on while encoding without option, if and where to make a option I'm not sure, how do browsers handle this for instance?
I'm not sure how browers do it, but this (https://msdn.microsoft.com/en-us/library/aa373208(v=vs.85).aspx) seems to be the WINAPI involved and used by some devs.

stax76
8th February 2015, 18:41
I found code using a newer API called PowerSetRequest, what I'm not sure is if I can enable it always or if a option is required and where to put the option.

MikeTR
8th February 2015, 22:53
I'm not sure were or how to use it exactly, but I've recently seen a similar solution as an on/off option in XMedia Recode. Maybe the source code of Insomnia (http://dlaa.me/blog/post/9901642) can help out.

resides
9th February 2015, 08:54
Hey guys,

I'm using StaxRip and I'm wondering how to encode with DTS HD 7.1? I'm at best getting only DTS core or DTS 5.1... but no HD audio?

MikeTR
9th February 2015, 10:31
AFAIK eac3to can do 7.1 only after some manipulation (search the eac3to treads for details); StaxRip itself has no option for it. Probably since it's not a standard eac3to conversion. You could try encoding the audio manually and remux with StaxRips video output.

MACKerMD
9th February 2015, 14:02
Great to see StaxRIP back alive with implementation of x265 [and x264] 64 bit.

However, I miss the feature to -also- use the High Efficiency profile for AAC audio (HE-LC, 48/24bit etc). This way x265 comes more to it's official right, rather than using 'regular' AAC; which can be quite bigger compared to the HE-LC profile.

I really hope to see this little feature added in the drop-down-box in the audio-settings ;)

fabje
9th February 2015, 20:05
Anyone that has a clue, normally when you delete the Settings.dat file and start Staxrip back up the file will be created automatic.
But for some reason it doesn't do that on my system anymore, I have tried it in Windows Xp mode/with administrator rights but no change at all.

Any idea what is going on here, I'm lost?

stax76
9th February 2015, 21:04
@MikeTR

I took the code from a article comparing the new and old API. It will always be enabled, if it's a problem I can still add a option.

@fabje

Are you sure you aren't in the wrong directory? You can find it with Tools/Directories/Settings

MikeTR
9th February 2015, 23:17
I took the code from a article comparing the new and old API. It will always be enabled, if it's a problem I can still add a option.

I think it would be a welcome feature, even when always enabled. That way StaxRip will always keep the PC alive while jobs are running and if you add a "close StaxRip": option to the "when finished do" dropdown menu, the PC's normal power save settings can take over again when finished.

stax76
10th February 2015, 09:13
@MikeTR

It starts suppressing standby when encoding starts and releases it when encoding finishes but it's difficult to test with one or more instances.

@all

Here is a test build with minor changes:

https://www.dropbox.com/s/4f05k4f59fb1zss/StaxRip_2015.02.10.7z?dl=0


Added feature preventing standby mode while encoding (experimental)
Changed Standby/Shutdown feature to be executed by the last instance only
Improved AviSynth filter profiles editor


it resets the filter profiles which support multiline now like so:


[Source]
MPEG2Source =
MPEG2Source("%source_file%")
Crop(0, 0, -Width % 8, -Height % 8)
ConvertToYV12()
(framerate == 50) ? SelectEven() : last

DirectShowSource =
DirectShowSource("%source_file%", audio = false, convertfps = true, fps = %original_framerate%)
Crop(0, 0, -Width % 8, -Height % 8)
ConvertToYV12()
(framerate == 50) ? SelectEven() : last

FFVideoSource =
FFVideoSource("%source_file%", cachefile = "%working_dir%%source_name%.ffindex")
Crop(0, 0, -Width % 8, -Height % 8)
ConvertToYV12()
AssumeFPS(%original_framerate%)
(framerate == 50) ? SelectEven() : last

MikeTR
10th February 2015, 18:03
Will give the new build a try tomorrow and see how it works out.

EDIT: standby mode seems to be working OK, just missing the option to terminate StaxRip when job/batch finished. Will do a bigger batch run this weekend for a more thorough test.
I noticed I couldn't import settings from v1.1.9.0. Error on my part or a consequence of changing the template structure?

Patman
13th February 2015, 00:16
Hi Stax,

i think your last test build is a little buggy. The demuxing of chapters from mkv takes a long time. I had some errors with .NET framework caused by staxrip. Please check the code on errors.

stax76
13th February 2015, 02:44
I noticed I couldn't import settings from v1.1.9.0. Error on my part or a consequence of changing the template structure?

Recently I just reset most settings, one problem is supporting old settings is quite a bit work and the other is the users wouldn't see improved default settings like the new multiline source filter profiles.

i think your last test build is a little buggy. The demuxing of chapters from mkv takes a long time.

I guess it's mkvextract being slow, you can test it running the command line from the log file manually. The second time there should some disc access caching going on though.

I had some errors with .NET framework caused by StaxRip.

Without details I can't do much.

NikosD
13th February 2015, 11:58
Sorry if my question has been asked and replied before, but is there any way to import a source file of Y4M format ?

stax76
13th February 2015, 17:53
@NikosD

So far it's unkown to StaxRip, I can examine it.

edit: I don't know about the latest public builds but unknown source file types load in my current development build so there is a good chance you can open it without problems.

Patman
14th February 2015, 11:30
I guess it's mkvextract being slow, you can test it running the command line from the log file manually. The second time there should some disc access caching going on though.

Demuxing of chapters with StaxRip 1.2.0.2_beta takes milliseconds, but with your last test build demuxing takes some minutes. I've tested it with different files and different file sizes in 1.2.0.2_beta and your last test build. Everytime same result. It's an simple xml file which is being extracted.

Without details I can't do much.

Everything is fine with last test build. After a restart of my computer everything was fine. I think an update of windows was the reason for that. Sorry Stax. Good work also.

stax76
15th February 2015, 06:21
@Patman

Chapters extraction is only a very very basic command line so there isn't much that can go wrong from StaxRip's side, please check the log file to see if it's really the chapter extraction.

It's still working here:

------------------------------------------------------------
Demux chapters using mkvextract
------------------------------------------------------------

"C:\Daten\Projekte\VS\VB\StaxRip\bin\Applications\MKVtoolnix\mkvextract.exe" chapters "C:\Daten\Temp\Rips\101Dalmations.mkv"
--redirect-output "C:\Daten\Temp\Rips\101Dalmations temp files\101Dalmations_Chapters.xml"

Start: 06:05:58
End: 06:05:58
Duration: 00:00:00

edit: It was silently indexing, problem solved. :)

Patman
15th February 2015, 10:10
@Patman

Chapters extraction is only a very very basic command line so there isn't much that can go wrong from StaxRip's side, please check the log file to see if it's really the chapter extraction.

It's still working here:

------------------------------------------------------------
Demux chapters using mkvextract
------------------------------------------------------------

"C:\Daten\Projekte\VS\VB\StaxRip\bin\Applications\MKVtoolnix\mkvextract.exe" chapters "C:\Daten\Temp\Rips\101Dalmations.mkv"
--redirect-output "C:\Daten\Temp\Rips\101Dalmations temp files\101Dalmations_Chapters.xml"

Start: 06:05:58
End: 06:05:58
Duration: 00:00:00

edit: It was silently indexing, problem solved. :)

Hi,

nice to see that you found the problem and know what i meant. Here are some pics to explain the "little bug" ;)
Have a look at the time in log file and the time in the taskbar.

http://s17.postimg.org/4oc7fsuzv/Demux_1.jpg (http://postimg.org/image/4oc7fsuzv/)

http://s9.postimg.org/6z4ak798r/Demux_2.jpg (http://postimg.org/image/6z4ak798r/)

http://s30.postimg.org/6jnlffv1p/Demux_3.jpg (http://postimg.org/image/6jnlffv1p/)

TalasNetrag
15th February 2015, 11:05
When "Temp Files Directory" is set to "Source File Directory", right-clicking into the audio-textbox results in a crash, when no source file is opened.
StaxRip has crashed!

Ein Teil des Pfades "C:\Program Files (x86)\StaxRip Beta\%source_dir%%source_name% temp files" konnte nicht gefunden werden.

System.IO.DirectoryNotFoundException: Ein Teil des Pfades "C:\Program Files (x86)\StaxRip Beta\%source_dir%%source_name% temp files" konnte nicht gefunden werden.
bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
bei System.IO.FileSystemEnumerableIterator`1.CommonInit()
bei System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
bei System.IO.Directory.GetFiles(String path)
bei StaxRip.MainForm.UpdateAudioFileMenu(ContextMenuStrip m, Action a, AudioProfile ap, TextBox tb) in C:\Daten\Projekte\VS\VB\StaxRip\Forms\MainForm.vb:Zeile 5650.
bei StaxRip.MainForm.tbAudioFile0_MouseDown(Object sender, MouseEventArgs e) in C:\Daten\Projekte\VS\VB\StaxRip\Forms\MainForm.vb:Zeile 5612.
bei System.Windows.Forms.Control.OnMouseDown(MouseEventArgs e)
bei System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.TextBoxBase.WndProc(Message& m)
bei System.Windows.Forms.TextBox.WndProc(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Patman
15th February 2015, 18:51
I've got the following massage with latest StaxRip test build:

Informationen über das Aufrufen von JIT-Debuggen
anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.

************** Ausnahmetext **************
System.InvalidOperationException: Diesem Objekt ist kein Prozess zugeordnet.
bei System.Diagnostics.Process.EnsureState(State state)
bei System.Diagnostics.Process.get_HasExited()
bei StaxRip.ProcessForm.WndProc(Message& m) in C:\Daten\Projekte\VS\VB\StaxRip\Forms\ProcessForm.vb:Zeile 443.
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Geladene Assemblys **************
mscorlib
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.34209 built by: FX452RTMGDR.
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll.
----------------------------------------
StaxRip
Assembly-Version: 1.2.0.2.
Win32-Version: 1.2.0.2.
CodeBase: file:///F:/Progz/StaxRip_1.2.0.2_beta/StaxRip.exe.
----------------------------------------
System.Windows.Forms
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.34209 built by: FX452RTMGDR.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.
----------------------------------------
System.Drawing
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.34209 built by: FX452RTMGDR.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
----------------------------------------
System
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.34239 built by: FX452RTMGDR.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll.
----------------------------------------
Microsoft.VisualBasic
Assembly-Version: 10.0.0.0.
Win32-Version: 12.0.20806.33440 built by: FX45W81RTMREL.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll.
----------------------------------------
System.Core
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.34209 built by: FX452RTMGDR.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll.
----------------------------------------
System.Configuration
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.34209 built by: FX452RTMGDR.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll.
----------------------------------------
System.Xml
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.34230 built by: FX452RTMGDR.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll.
----------------------------------------
mscorlib.resources
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.34209 built by: FX452RTMGDR.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_de_b77a5c561934e089/mscorlib.resources.dll.
----------------------------------------
System.resources
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.34209 built by: FX452RTMGDR.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.resources/v4.0_4.0.0.0_de_b77a5c561934e089/System.resources.dll.
----------------------------------------
System.Windows.Forms.resources
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.34209 built by: FX452RTMGDR.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
----------------------------------------

************** JIT-Debuggen **************
Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der
Konfigurationsdatei der Anwendung oder des Computers
(machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden.
Die Anwendung muss mit aktiviertem Debuggen kompiliert werden.

Zum Beispiel:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

Wenn das JIT-Debuggen aktiviert ist, werden alle Ausnahmefehler an den JIT-Debugger gesendet, der auf dem
Computer registriert ist, und nicht in diesem Dialogfeld behandelt.

That's a .net-framework error. can somebody help?

stax76
15th February 2015, 20:33
@TalasNetrag

Since Windows Vista 'C:\Program Files (x86)' is write protected, setups and installers put applications in there, setups can write to it because they run with elevated/admin privileges. Portable applications are applications that don't have a setup or installer, this includes StaxRip and the majority of applications it contains. You can never now or make assumptions if a portable application writes to it's directory (the directory where the application is located, also called startup directory). If you put a portable application in a write protected directory it potentially might try to write to it and it might not have robust error handling but might just crash or stop working correctly. StaxRip checks on startup if it's located in the Program Files directory, if so it makes a write check and shows a message telling to move it somewhere else in case the write test fails.

Did you move StaxRip yourself to Program Files or is there somebody bundling StaxRip with a setup? Did you disable UAC?

@Patman

It's simply a crash (unhandled exception), milliseconds before you tried to minimize the process form the process has finished causing StaxRip trying to access a terminated process, this should happen very rarely, it will be fixed in the next release (coming soon).

TalasNetrag
15th February 2015, 23:17
@stax76

I moved StaxRip myself (so that it is in the same folder as any other program) and disabled UAC. Same thing happens if I move StaxRip to another drive and/or enable UAC.

I am puspecting it has something to do whith %source_dir% %source_name% beeing empty at this point (since I didnt open a source file yet) and right-clicking the audio-textbox causes StaxRip to open a non existing directory/file.

stax76
15th February 2015, 23:49
@TalasNetrag

I'll try your "Source File Directory" setting then.

edit:

I am puspecting it has something to do whith %source_dir% %source_name% beeing empty at this point (since I didnt open a source file yet) and right-clicking the audio-textbox causes StaxRip to open a non existing directory/file.

Exactly, the new feature listing audio streams/files in the menu uses a API to list all files in the temp files directory and this API was throwing a exception since the directory don't yet exist.

stax76
16th February 2015, 15:59
1.2.0.3 beta (2015-02-16)


Added qaac encoder, Apple library not included
Added nvidia GPU encoder supporting H.265 encoding with GTX 960 card
Added setting to prevent windows entering standby mode while encoding
Fixed shutdown feature not executed by the last instance only
Improved eac3to GUI
Improved AviSynth filter profiles editor
Improved audio encoding GUI
Improved MediaInfo GUI
Improved command line audio and video encoding GUI, processing as batch now supporting piping
Updated x265 builds to version 1.5 and updated x265 GUI
Updated mkvtoolnix to version 7.6.0


https://www.dropbox.com/s/fnlc7a1gacc63cw/StaxRip_1.2.0.3_beta.7z?dl=0

http://sourceforge.net/projects/staxmedia/files/StaxRip%20beta/StaxRip_1.2.0.3_beta.7z/download

qaac requires Apple libraries downloaded and installed manually. The numeric control for the quality uses now the same values like the CLI, for instance 0-10 for Vorbis, for Nero AAC it does now 0.01 steps, for Flac and WAV it calculates the bitrate using 55% for Flac, the automatically generated profile names are more detailed now.

http://s23.postimg.org/4vkd08hvv/Unbenannt.png

The filter profiles editor supports multiline profiles now and the weird selection behavior was fixed and a new context menu for cut/copy/paste was added everywhere the RichTextControl is used else.

http://s23.postimg.org/tssbuvvrf/Unbenannt2.png

nvidia encoder for H264 and H265 (GTX 960) was added using the generic command line GUI, I don't know which cards work, with GTX 960 both codecs work here, with DGDecNV and nv encoder I encoded a 720p movie around 700 fps. The help file for CLI instructions for the nvencc.exe is included at Tools/Applications/nvencc or Help/Applications/Tools/nvencc.

This generic encoder processes now by using a bat file so multiline and piping works now in the generic batch video encoder GUI as well as the generic batch audio encoder GUI, with this encoder type any command line application and format or codec can be integrated into StaxRip. Few other improvements in those GUIs were made like access to the macros dialog.

http://s23.postimg.org/ncerr1xu3/Unbenannt3.png

The media info GUI is now also based on the RichTextControl for easier text copying, maybe looks better now too. Expert users might be interested to integrate it into the windows explorer shell context menu using the following command:

StaxRip.exe -mediainfo <input media file>

There is application called Open++ for explorer shell context menu integration, many years ago I made a application which does the same as Open++, maybe even better I don't know since I never used Open++. I never bothered to release the application because this kind of application are usually not very popular I believe, the GUI is VB.NET and the shell part C++, I use it probably over 100 times every day with other tools and scripts made for personal use.

The search feature in the media info GUI is very useful for listing and finding rare properties , it searches both property name and value.

http://s23.postimg.org/pv0grqjkb/Unbenannt4.png

The audio text box has more details now and the main dialog shows the source video codec and profile now.

http://s16.postimg.org/50sivaof9/Unbenannt.png

dejong12
16th February 2015, 17:16
Thanks for the new release!

MikeTR
16th February 2015, 17:32
Will give the new build a try tomorrow and see how it works out.

EDIT: standby mode seems to be working OK, just missing the option to terminate StaxRip when job/batch finished. Will do a bigger batch run this weekend for a more thorough test.
I noticed I couldn't import settings from v1.1.9.0. Error on my part or a consequence of changing the template structure?
After some more testing I noticed each ecoding created a persistent gpac_#########.tmp file in AppData/Local/Temp. I can't quite figure out where it comes from exactly, other than that is used in MP4box.

EDIT: identical issue with 1.2.0.3beta. It also creates recover.srip in the same location as well as an .htm and 2 .gif files when viewing help>info.

Lupissimo
16th February 2015, 18:35
I tried the new encoding feature : nvidia h264 encoding with my Geoforce 9500 GT without changing the built in batch line and got the following crash log:


Something unexpected happened

Error Encoding video command line encoder: nvidia H.264 Encoder



StaxRip.ErrorAbortException: Error Encoding video command line encoder: nvidia H.264 Encoder

Encoding video command line encoder: nvidia H.264 Encoder failed with exit code 1

C:\StaxRip_1.2.0.3_beta>"C:\StaxRip_1.2.0.3_beta\Applications\avs2pipemod\avs2pipemod.exe" -y4mp "D:\DVBRECORD\Sonne, Mord und Sterne Krimireihe GB 2012 temp files\Sonne, Mord und Sterne Krimireihe GB 2012.avs" | "C:\StaxRip_1.2.0.3_beta\Applications\NVEncC\NVEncC.exe" --y4m -c h264 -i - -o "D:\DVBRECORD\Sonne, Mord und Sterne Krimireihe GB 2012 temp files\Sonne, Mord und Sterne Krimireihe GB 2012_out.h264"
nvEncodeAPI.dll‚ªƒVƒXƒeƒ€‚É‘¶Ý‚µ‚Ü‚¹‚ñB
NVIDIA‚̃hƒ‰ƒCƒo‚ª“®ìðŒ‚ð–ž‚½‚µ‚Ä‚¢‚é‚©Šm”F‚µ‚ĉº‚³‚¢Bavs2pipemod[info]: writing 267219 frames of 50/1 fps, 1280x720,
sar 0:0, YUV-420-planar progressive video.
avs2pipemod[info]: finished, wrote 0 frames [0%].
avs2pipemod[info]: total elapsed time is 0.000 sec [-1.#IOfps].
avs2pipemod[error]: only wrote 0 of 267219 frames.

bei StaxRip.Proc.Start() in C:\Daten\Projekte\VS\VB\StaxRip\General\Proc.vb:Zeile 246.
bei StaxRip.BatchEncoder.Encode() in C:\Daten\Projekte\VS\VB\StaxRip\General\VideoEncoder.vb:Zeile 371.

dejong12
16th February 2015, 19:27
I tried the new encoding feature : nvidia h264 encoding with my Geoforce 9500 GT without changing the built in batch line and got the following crash log:


Something unexpected happened

Error Encoding video command line encoder: nvidia H.264 Encoder



StaxRip.ErrorAbortException: Error Encoding video command line encoder: nvidia H.264 Encoder

Encoding video command line encoder: nvidia H.264 Encoder failed with exit code 1

C:\StaxRip_1.2.0.3_beta>"C:\StaxRip_1.2.0.3_beta\Applications\avs2pipemod\avs2pipemod.exe" -y4mp "D:\DVBRECORD\Sonne, Mord und Sterne Krimireihe GB 2012 temp files\Sonne, Mord und Sterne Krimireihe GB 2012.avs" | "C:\StaxRip_1.2.0.3_beta\Applications\NVEncC\NVEncC.exe" --y4m -c h264 -i - -o "D:\DVBRECORD\Sonne, Mord und Sterne Krimireihe GB 2012 temp files\Sonne, Mord und Sterne Krimireihe GB 2012_out.h264"
nvEncodeAPI.dll‚ªƒVƒXƒeƒ€‚É‘¶Ý‚µ‚Ü‚¹‚ñB
NVIDIA‚̃hƒ‰ƒCƒo‚ª“®ìðŒ‚ð–ž‚½‚µ‚Ä‚¢‚é‚©Šm”F‚µ‚ĉº‚³‚¢Bavs2pipemod[info]: writing 267219 frames of 50/1 fps, 1280x720,
sar 0:0, YUV-420-planar progressive video.
avs2pipemod[info]: finished, wrote 0 frames [0%].
avs2pipemod[info]: total elapsed time is 0.000 sec [-1.#IOfps].
avs2pipemod[error]: only wrote 0 of 267219 frames.

bei StaxRip.Proc.Start() in C:\Daten\Projekte\VS\VB\StaxRip\General\Proc.vb:Zeile 246.
bei StaxRip.BatchEncoder.Encode() in C:\Daten\Projekte\VS\VB\StaxRip\General\VideoEncoder.vb:Zeile 371.
The Geforce 9500 GT is too old to use the Nvidia H264 Encoder (NVEnc). You would need a Geforce 600 series or up in order to use NVEnc.

stax76
16th February 2015, 20:00
After some more testing I noticed each ecoding created a persistent gpac_#########.tmp file in AppData/Local/Temp. I can't quite figure out where it comes from exactly, other than that is used in MP4box.

I believe mp4box is responsible, the developer likes the # character using it in his command line syntax resulting in using file paths with # character isn't possible! Very nice example algorithm programmer failing on something very simple, it's not the only mp4box glitch I'm aware and StaxRip don't bother to work around all rather adding new mkv features, fortunately I'm not using MP4. Every second porn movie would just result in an error so StaxRip checks it and warns the user, it also has new diagnostics and prevention for filenames potentially getting bigger then 260 chars, both of this was added just recently. I noticed the # char issue encoding a huge batch collection in order to find bugs, some dubstep and trap music clips from youtube had the # char in the filename causing the batch encode to fail. I remember StaxRip writing srip htm and gif to the temp dir but since those files are small I think it's legit, that's what the temp dir is here for after all.

@Lupissimo

not many posts but many years. :)

I thought I changed StaxRip that it would just abort but not crash and terminate in this case, maybe the encoder app works only on certain new cards, I had intel only graphics for some years so I bought a GTX 960 recently, both included encoding profiles work with my card amazingly fast, combining them with DGDecNV works too.

MikeTR
16th February 2015, 21:32
To be more precise: the .tmp files are named "gpac_"followed by 8 random digits, like gpac_00334850.tmp and are similar in size to the final MP4 file created by Staxrip. It looks like MP4Box is using the AppData/Local/Temp folder instead of the Temp folder specified in StaxRip and also forgets to delete the temp file. The batch run I used to test the beta generated over 9GB of these .tmp files.
AFAIK you added some files to the MP4Box folder that weren't part of v1.1.9.0. It used to be only MP4Box.exe & libgpac.dll. The config of those might be the problem. Can you replicate this happening on your system?

Second issue: when I start a batch run and immediately minimize the Staxrip window (to tray), the log pops up again when starting audio encoding. Only minimizing it a second time keeps it down.

EDIT: I replaced the entire MP4box folder with the one from v1.1.9.0 which seems to work. So the new Mp4Box is responsible as you already thought.

FWIW the standby prevention works fine, thanks for adding; if you could add an option for Staxrip to close itself after all jobs are finished that would be perfect.

Lupissimo
16th February 2015, 22:45
@dejong12 + Stax:
Would this card work: Asus VGA GT730-2GD3-BRK NVIDIA Grafikkarte (PCI-e, 2GB, GDDR3 Speicher, VGA 1, GPU) ?
What are the criteria to look for?
I would prefer a fanless passive only card.
Thank you for your answer!
@Stax: I have used your program since that time and had only few "complaints" ! :sly:

burfadel
16th February 2015, 23:11
1.2.0.3 beta (2015-02-16) Issue

Issue found:
Under options --> image, the Auto resize image size can not be set any higher than 32767. That means the resize slide is right at the bottom end, actually below the smallest size able to be set by the slider.

dejong12
16th February 2015, 23:46
@dejong12 + Stax:
Would this card work: Asus VGA GT730-2GD3-BRK NVIDIA Grafikkarte (PCI-e, 2GB, GDDR3 Speicher, VGA 1, GPU) ?
What are the criteria to look for?
I would prefer a fanless passive only card.
Thank you for your answer!
@Stax: I have used your program since that time and had only few "complaints" ! :sly:
I THINK that one works but I'm not sure. Try to look around if it supports NVEnc. Make sure it's a card based on Kepler.

NikosD
17th February 2015, 10:52
* Added nvidia GPU encoder supporting H.265 encoding with GTX 960 card

nvidia encoder for H264 and H265 (GTX 960) was added using the generic command line GUI, I don't know which cards work, with GTX 960 both codecs work here, with DGDecNV and nv encoder I encoded a 720p movie around 700 fps. The help file for CLI instructions for the nvencc.exe is included at Tools/Applications/nvencc or Help/Applications/Tools/nvencc.


Is it in your plans to add a HW encoding option for Intel's QuickSync encoder too ?

stax76
17th February 2015, 14:09
@MikeTR

One bug with the previous MP4Box build was when I added two AC3 track (other types maybe also affected) it resulted in doubled play time and that's pretty severe.

Second issue: when I start a batch run and immediately minimize the Staxrip window (to tray), the log pops up again when starting audio encoding. Only minimizing it a second time keeps it down.

With a quick test encoding a very small sample I couldn't reproduce it, at which processing step exactly does it happen?

if you could add an option for Staxrip to close itself after all jobs are finished that would be perfect.

https://www.dropbox.com/s/7pfas4v3m217prh/StaxRip_hotfix_2015.02.17.7z?dl=0

Would this card work: Asus VGA GT730-2GD3-BRK NVIDIA Grafikkarte (PCI-e, 2GB, GDDR3 Speicher, VGA 1, GPU) ?

There is thread started by Selur in the videohelp forum, I believe someone said there at least Kepler is needed.

I would prefer a fanless passive only card.

I would at least go for maxwell, only the GTX 960 does H265 encoding, I don't think there is great choice if you want a good silent card, you got the passive 750/750 TI KalmX models and the silent semi passive MSI GTX 960.

http://geizhals.de/?fs=kalmx&in=

I have used your program since that time and had only few "complaints" !

I believe we met in a forum of a software that is called odsoft today around 2001 were StaxRip originated as VBScript, I was a very enthusiastic DVB user at that time, I still could use this oddsoft because it shipped with the good old KNC1 DVB-C card I use, I record with DVBViewer and open mpg with DGMPGDec and convert AVC TS now with dsmux to mkv or open it directly with DGDecNV.

Under options --> image, the Auto resize image size can not be set any higher than 32767

Turned out it was Int16.MaxSize which is nothing compared to what is actually needed.

https://www.dropbox.com/s/7pfas4v3m217prh/StaxRip_hotfix_2015.02.17.7z?dl=0

Is it in your plans to add a HW encoding option for Intel's QuickSync encoder too ?

For StaxRip the nvidia encoder was just another CLI tool, supporting dozens of formats and tools result in a generic program design, it was little to no effort needed to add it, if there is a small CLI tool for QS I can add it no problem, I don't have interest to build a QS encoding tool myself.

NikosD
17th February 2015, 14:48
For StaxRip the nvidia encoder was just another CLI tool, supporting dozens of formats and tools result in a generic program design, it was little to no effort needed to add it, if there is a small CLI tool for QS I can add it no problem, I don't have interest to build a QS encoding tool myself.

This one is the best AFAIK

http://sourceforge.net/projects/qstranscode/

HarryMason
17th February 2015, 17:47
Hi Stax, i finally managed to make an account here.

First of this is one of the best encoding tools i used in a while, simple, stable and yet i can customize pretty much anything the way i want it to be.

Anyway i want to share some things that i encountered:

1.

I had some color matrix issues. For example the preview window had slightly different colors than the input video or the encode had different colors than the input video etc.. but i finally figured out what the problem was here.

All your source filters do a "ConvertToYV12()" which is fine when the input is already yuv, then it just gets passed through, but if it actually has to convert to yuv then it uses always the default color matrix "Rec601" which should be "Rec709" when the input is hd. The other way around at the end of your "_Preview.avs" you put ConvertToRGB() which always converts to "Rec601" as default and makes all hd footage been displayed with wrong colors too.

Long story short, to fix all this and make the input/preview/output all look the same i changed the "ConvertToYV12()" line of all source filters to:

(%source_height% <= 576) \
? ConvertToYV12(matrix="Rec601") \
: ConvertToYV12(matrix="Rec709")


Also the "ConvertToRGB()" line that is generated in the "_Preview.avs" should be changed to: (or maybe don't convert to rgb at all?)

(%source_height% <= 576) \
? ConvertToRGB(matrix="Rec601") \
: ConvertToRGB(matrix="Rec709")

I know i can pretty much fix all this myself (which i did obviously :) ) but i thought i share this information so you could make this the default behavior like it should be in my opinion.

2.

Would it be possible to add for "Run specific command at specific event" a "Perform | Load Encoder Profile"

3.

When i change aac to mono in the audio settings it still says "AAC 2.0" in the automatically generated profile name. maybe a tiny bug?

And...
I think thats all for now keep doing your great work ;)

stax76
17th February 2015, 19:50
@NikosD

Thanks, I hope I can add it but I'll pause coding for a while and I can't tell when I continue but command line applications can generally be integrated by users, so you or somebody else just might integrate it and if somebody posts how it's done I'm sure it would be helpful for people who don't yet have mastered StaxRip customizability capabilities.

@HarryMason

Hello, welcome and thanks for the great feedback. I'll work on everything I promise but want to recover first from long coding sessions in recent weeks.

The RGB conversion is necessary for grabbing frames from the Window's avifile API otherwise a VFW YV12 decoder is required and that was great trouble for years, I need to research the topic first before I can improve it.

burfadel
17th February 2015, 23:10
Turned out it was Int16.MaxSize which is nothing compared to what is actually needed.

https://www.dropbox.com/s/7pfas4v3m217prh/StaxRip_hotfix_2015.02.17.7z?dl=0


Thanks, much appreciated! It works properly now :).

A separate issue, the current job gets removed from the queue at the beginning of its encode, not the end as previously. This means that if the current job is cancelled for whatever reason it is no longer in the queue to continue encoding. You might need to cancel a job to reboot for some reason, or people may simply have several jobs in the queue that they wish to continue the next time their computer is on.

The previous 1.1.x Staxrip the jobs remained at the beginning of the queue.

The ability to move items in the queue would be handy if there are a large number of queued items, either as individual selections or selecting multiple items to move up or down.

detmek
18th February 2015, 22:54
Hi Stax. I tried to encode a short clip using VP9 codec in 2-pass mode and I got an error. Here is the log:

------------------------------------------------------------
Environment
------------------------------------------------------------

StaxRip version: 1.2.0.3
OS Name : Windows 8.1 Pro
OS Version : 6.2.9200.0
OS Type : 64-bit
OS Culture : English (United States)

------------------------------------------------------------
.NET
------------------------------------------------------------

v2.0.50727 : 2.0.50727.4927
v3.0 : 3.0.30729.4926
v3.5 : 3.5.30729.4926
v4\Client : 4.5.51641
v4\Full : 4.5.51641
v4.0\Client : 4.0.0.0

------------------------------------------------------------
Source file MediaInfo
------------------------------------------------------------

C:\ST\ST.mkv

General
Unique ID : 236655423009656780220686120388429212235 (0xB20A2D3388A3C694A50562984AE9EA4B)
Complete name : C:\ST\ST.mkv
Format : Matroska
Format version : Version 4 / Version 2
File size : 36.2 MiB
Duration : 1mn 31s
Overall bit rate : 3 310 Kbps
Movie name : Star Trek 2009 By 3Li
Encoded date : UTC 2014-09-07 09:40:08
Writing application : mkvmerge v7.1.0 ('Good Love') 32bit built on Jul 27 2014 12:59:18
Writing library : libebml v1.3.0 + libmatroska v1.4.1
Attachements : Star Trek Poster.jpg
DURATION : 00:01:31.717000000
NUMBER_OF_FRAMES : 2199
NUMBER_OF_BYTES : 37516858
_STATISTICS_WRITING_APP : mkvmerge v7.1.0 ('Good Love') 32bit built on Jul 27 2014 12:59:18
_STATISTICS_WRITING_DATE_UTC : 2014-09-07 09:40:08
_STATISTICS_TAGS : BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 1mn 31s
Bit rate : 3 244 Kbps
Nominal bit rate : 4 180 Kbps
Width : 1 280 pixels
Height : 532 pixels
Display aspect ratio : 2.40:1
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.199
Stream size : 35.5 MiB (98%)
Title : Star Trek 2009 By 3Li
Writing library : x264 core 129 r2245 bc13772
Encoding settings : cabac=1 / ref=5 / deblock=1:-3:-3 / analyse=0x3:0x113 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=18 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=3 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=0 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=4180 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
Language : English
Default : Yes
Forced : No


------------------------------------------------------------
Index with ffmsindex
------------------------------------------------------------

"D:\PROGRAMI\StaxRipNew\Applications\AviSynth plugins\ffms2\ffmsindex.exe" "C:\ST\ST.mkv" "C:\ST\ST temp files\ST.ffindex"

Writing index... done.

Start: 10:48:55 PM
End: 10:48:57 PM
Duration: 00:00:01


------------------------------------------------------------
AviSynth Filters
------------------------------------------------------------

FFVideoSource("C:\ST\ST.mkv", cachefile = "C:\ST\ST temp files\ST.ffindex")
Crop(0, 0, -Width % 8, -Height % 8)
ConvertToYV12()
AssumeFPS(23.976000)

------------------------------------------------------------
AviSynth Properties
------------------------------------------------------------

source frame count: 2199
source frame rate: 23.976000
source duration: 00:01:31.7170000
target frame count: 2199
target frame rate: 23.976000
target duration: 00:01:31.7170000

------------------------------------------------------------
Encoding VP9 using ffmpeg
------------------------------------------------------------

"D:\PROGRAMI\StaxRipNew\Applications\ffmpeg\ffmpeg.exe" -i "C:\ST\ST temp files\STvp9.avs" -c:v libvpx-vp9 -pass 1 -b:v 1000k -passlogfile "C:\ST\ST temp files\STvp9_Pass.log" -quality good -y "NUL"


------------------------------------------------------------
Error Encoding VP9 using ffmpeg
------------------------------------------------------------

Encoding VP9 using ffmpeg failed with exit code 1

ffmpeg version N-69278-gf5b3257 Copyright (c) 2000-2015 the FFmpeg developers
built on Jan 26 2015 22:02:30 with gcc 4.9.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib
libavutil 54. 17.100 / 54. 17.100
libavcodec 56. 20.100 / 56. 20.100
libavformat 56. 19.100 / 56. 19.100
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 9.101 / 5. 9.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
Input #0, avisynth, from 'C:\ST\ST temp files\STvp9.avs':
Duration: 00:01:31.72, start: 0.000000, bitrate: 0 kb/s
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1280x528, 23.98 fps, 23.98 tbr, 23.98 tbn, 23.98 tbc
[NULL @ 04d5ef60] Unable to find a suitable output format for 'NUL'
NUL: Invalid argument


Start: 10:50:02 PM
End: 10:50:02 PM
Duration: 00:00:00

MikeTR
19th February 2015, 12:27
Thanks for the CLOSE option. Works like a charm.
@MikeTR
With a quick test encoding a very small sample I couldn't reproduce it, at which processing step exactly does it happen?

Minimize the log right after Source > File Batch > Add > OK (create jobs) > Start.
StaxRip minimizes to tray correctly, but pops up again after demuxing when starting audio encoding. When minimized again it stays that way throughout the batch run.

Thanks, much appreciated! It works properly now :).

A separate issue, the current job gets removed from the queue at the beginning of its encode, not the end as previously. This means that if the current job is canceled for whatever reason it is no longer in the queue to continue encoding. You might need to cancel a job to reboot for some reason, or people may simply have several jobs in the queue that they wish to continue the next time their computer is on.

The previous 1.1.x Staxrip the jobs remained at the beginning of the queue.


Second this request. Please keep the job in queue until finished.

Schattenspieler
22nd February 2015, 06:58
Second this request. Please keep the job in queue until finished.+1
I was wondering what it's doing the first time as the queue was empty. Still seems weird.
Also, it would be nice to be able to sort the job queue list again.

Apart from that: Support for more than 2 audio tracks would be nice - even if it were just a "just mux all" option.

(And last: a nice delogo filter with a gui. I probably missed it out, but did not find one. All just "messy stuff" with script files and external paintjobs.)

Lupissimo
23rd February 2015, 18:43
I bought a GTX750 passive GraficCard (Maxwell) and installed it. Then I tried to use the NVEnc264 option and still got this:


"Error Encoding video command line encoder: nvidia H.264 Encoder

Encoding video command line encoder: nvidia H.264 Encoder failed with exit code 1

C:\StaxRip_1.2.0.3_beta>"C:\StaxRip_1.2.0.3_beta\Applications\avs2pipemod\avs2pipemod.exe" -y4mp "D:\Saving Grace.2000.BDRemux.1080p.VC-1.DTS-HD MA 5.1\Saving Grace.2000.BDRemux.1080p.VC-1.DTS-HD MA 5.1 (1) temp files\Saving Grace.2000.BDRemux.1080p.VC-1.DTS-HD MA 5.1 (1)_new.avs" | "C:\StaxRip_1.2.0.3_beta\Applications\NVEncC\NVEncC.exe" --y4m -c h264 -i - -o "D:\Saving Grace.2000.BDRemux.1080p.VC-1.DTS-HD MA 5.1\Saving Grace.2000.BDRemux.1080p.VC-1.DTS-HD MA 5.1 (1) temp files\Saving Grace.2000.BDRemux.1080p.VC-1.DTS-HD MA 5.1 (1)_new_out.h264"
nvEncodeAPI‚̃Cƒ“ƒXƒ^ƒ“ƒX쬂Ɏ¸”s‚µ‚Ü‚µ‚½Bƒhƒ‰ƒCƒo‚̃o[ƒWƒ‡ƒ“‚ªŒÃ‚¢‰Â”\«‚ª‚*‚è‚Ü‚·B
ÅV‚̃hƒ‰ƒCƒo‚ÉXV‚µ‚ÄŽŽ‚µ‚Ă݂Ă*‚¾‚³‚¢B
avs2pipemod[info]: writing 135820 frames of 2997/125 fps, 1920x1080,
sar 0:0, YUV-420-planar progressive video.
avs2pipemod[info]: finished, wrote 0 frames [0%].
avs2pipemod[info]: total elapsed time is 0.000 sec [-1.#IOfps].
avs2pipemod[error]: only wrote 0 of 135820 frames.


StaxRip.ErrorAbortException: Error Encoding video command line encoder: nvidia H.264 Encoder

Encoding video command line encoder: nvidia H.264 Encoder failed with exit code 1

C:\StaxRip_1.2.0.3_beta>"C:\StaxRip_1.2.0.3_beta\Applications\avs2pipemod\avs2pipemod.exe" -y4mp "D:\Saving Grace.2000.BDRemux.1080p.VC-1.DTS-HD MA 5.1\Saving Grace.2000.BDRemux.1080p.VC-1.DTS-HD MA 5.1 (1) temp files\Saving Grace.2000.BDRemux.1080p.VC-1.DTS-HD MA 5.1 (1)_new.avs" | "C:\StaxRip_1.2.0.3_beta\Applications\NVEncC\NVEncC.exe" --y4m -c h264 -i - -o "D:\Saving Grace.2000.BDRemux.1080p.VC-1.DTS-HD MA 5.1\Saving Grace.2000.BDRemux.1080p.VC-1.DTS-HD MA 5.1 (1) temp files\Saving Grace.2000.BDRemux.1080p.VC-1.DTS-HD MA 5.1 (1)_new_out.h264"
nvEncodeAPI‚̃Cƒ“ƒXƒ^ƒ“ƒX쬂Ɏ¸”s‚µ‚Ü‚µ‚½Bƒhƒ‰ƒCƒo‚̃o[ƒWƒ‡ƒ“‚ªŒÃ‚¢‰Â”\«‚ª‚*‚è‚Ü‚·B
ÅV‚̃hƒ‰ƒCƒo‚ÉXV‚µ‚ÄŽŽ‚µ‚Ă݂Ă*‚¾‚³‚¢B
avs2pipemod[info]: writing 135820 frames of 2997/125 fps, 1920x1080,
sar 0:0, YUV-420-planar progressive video.
avs2pipemod[info]: finished, wrote 0 frames [0%].
avs2pipemod[info]: total elapsed time is 0.000 sec [-1.#IOfps].
avs2pipemod[error]: only wrote 0 of 135820 frames.

at StaxRip.Proc.Start() in C:\Daten\Projekte\VS\VB\StaxRip\General\Proc.vb:line 246
at StaxRip.BatchEncoder.Encode() in C:\Daten\Projekte\VS\VB\StaxRip\General\VideoEncoder.vb:line 371"

Do I have to install anything else to make it work??

stax76
23rd February 2015, 18:55
@HarryMason

I've done a few changes regarding the source filter profiles:

I removed the crop functions, they are added now dynamically but only if the source isn't mod 4

I removed the ConvertToYV12 functions too, also they are added dynamically in case MediaInfo don't return 4:2:0 for the 'ChromaSubsampling' property, it uses the height like your example to decide which matrix to use.

https://www.dropbox.com/s/zkldgdhmbrhe0l7/StaxRip_1.2.0.x_2015.02.23.7z?dl=0

Would it be possible to add for "Run specific command at specific event" a "Perform | Load Encoder Profile"

What kind of profile and what is your goal with it?

A separate issue, the current job gets removed from the queue at the beginning of its encode, not the end as previously. This means that if the current job is cancelled for whatever reason it is no longer in the queue to continue encoding. You might need to cancel a job to reboot for some reason, or people may simply have several jobs in the queue that they wish to continue the next time their computer is on.

It could be unchecked instead as alternative, I think about it.

The ability to move items in the queue would be handy if there are a large number of queued items, either as individual selections or selecting multiple items to move up or down.

It would need another rewrite then because the current registry storage cannot be sorted, should still be easy enough to change so yes I'll probably do it soon.

Hi Stax. I tried to encode a short clip using VP9 codec in 2-pass mode and I got an error. Here is the log:

The documentation for VP9 is pretty poor so it's hard to tell what works and what don't work.

StaxRip minimizes to tray correctly, but pops up again after demuxing when starting audio encoding. When minimized again it stays that way throughout the batch run.

I wasn't able to reproduce it, please mail a log file if it happens again.

Edit:

@Lupissimo

Other then recent driver I don't know any other requirements

edit: apparently NVEnc 1.xx requires NVIDIA driver after 347.09 and VC2013 redistributable

Lupissimo
23rd February 2015, 23:38
@Stax: Thank you! I did a new Windows install and now it works! Although there is a problem with file name lengths: "2015-02-21_23-55-30_WDR HD Köln (deu)_700 Meilen westwärts - Spielfilm USA 1975 (Bite the Bullet).ts" is not working; after renaming it to "test.ts" it runs with 110fps (720p HDTV ) vs 7..10fps with the normal encoder. :))! Not being familiar with the encoding parameters it would be nice to have something similar as for the "normal" x264 ( High,Film, etc.) or just a set of example values for the encoding.

burfadel
24th February 2015, 05:49
@Stax: Thank you! I did a new Windows install and now it works! Although there is a problem with file name lengths: "2015-02-21_23-55-30_WDR HD Köln (deu)_700 Meilen westwärts - Spielfilm USA 1975 (Bite the Bullet).ts" is not working; after renaming it to "test.ts" it runs with 110fps (720p HDTV ) vs 7..10fps with the normal encoder. :))! Not being familiar with the encoding parameters it would be nice to have something similar as for the "normal" x264 ( High,Film, etc.) or just a set of example values for the encoding.

If the pathname and filename are too long it won't work, however in your case I believe the issue relates possibly to the non-English (well, technically non-ISO basic Latin) letters ö and ä.

MACKerMD
24th February 2015, 22:06
When selecting the qaac audio option, to use the High Effeciency option to encode audio, I noticed that no matter the source, it extracts the source and converts it into .flac, which qaac doesn't seem to like as a source to encode.
'Normally' I'd see it decoded back into .wav format before it gets encoded into my set' options. This does not occur with the other encoders. (Thus far I used the others such as EAC3TO etc.)

HarryMason
25th February 2015, 00:09
@stax76

I've done a few changes regarding the source filter profiles:

I removed the crop functions, they are added now dynamically but only if the source isn't mod 4

I removed the ConvertToYV12 functions too, also they are added dynamically in case MediaInfo don't return 4:2:0 for the 'ChromaSubsampling' property, it uses the height like your example to decide which matrix to use.

https://www.dropbox.com/s/zkldgdhmbr....02.23.7z?dl=0

Thank you, works perfectly now.

What kind of profile and what is your goal with it?

I set up some encoder profiles with different crf values and other settings and i would like to auto load them after the source is loaded, based on the source resolution and whatnot.

http://s16.postimg.org/ofpafkwlx/example.jpg

burfadel
26th February 2015, 03:26
When selecting the qaac audio option, to use the High Effeciency option to encode audio ...

Keep in mind High Efficiency audio option vs Low Complexity seems to confuse a lot of people. High Efficiency is designed for bandwidth constrained situations, it actually lowers the sampling rate and results in noticeably lower quality audio. Low Complexity (default) is what you want for 99.999 percent of situations.

In other words, only use HE-AAC if you absolutely need to get the smallest file possible and don't care about the audio quality. That said, what you mentioned still sounds like a bug :). Maybe Stax should add a text box prompt saying that HE-AAC is for low bandwidth situations where audio quality isn't the prime concern.

Lupissimo
26th February 2015, 10:36
When encoding using the NVenc function the buttons "suspend".."abort" do not work. You have to kill the job via the taskmanager

MACKerMD
26th February 2015, 23:53
@burfadel thanks for the feedback and yes, What I use is that LC as a standard to add with x264, but with HEVC video, HE-AAC should be embedded as well, imho. And qaac gives me the output I'd desire for the x265 outputs I wanna make :)

About staxrip, the audio should be decoded to .wav instead of flac before being processed by qaac.

Schattenspieler
27th February 2015, 06:43
1.2.0.3 prompted me to install NVEncC, though I do not have an nVidia GPU (all AMD) and never used NVEncC with StaxRip before. It wouldn't let me add any files unless NVEncC was installed.
So I searched it, found it, installed it and e voila: runs just fine. By the way: Is there any AMD-equivalent to NVEncC?

NikosD
27th February 2015, 08:03
The developer of NVenc has also built QSVenc for Intel and VCEenc for AMD.

VelleX
27th February 2015, 12:04
Is it/will it be possible so save/export encoder profiles?

Lupissimo
27th February 2015, 16:42
I am very happy with the "new" ENVenc feature, but have a question regarding the possible settings for the NEVenc264.
For the "normal" x264 encoding I use:

Type Quality Preset Tune Device
264 SD high Medium Film disabled
264HD higher Medium Film disabled

Could some expert please "translate" these settings into the equivalent scripts for the NVidiaH.264 encoder?

burfadel
27th February 2015, 23:19
@burfadel thanks for the feedback and yes, What I use is that LC as a standard to add with x264, but with HEVC video, HE-AAC should be embedded as well, imho. And qaac gives me the output I'd desire for the x265 outputs I wanna make :)

About staxrip, the audio should be decoded to .wav instead of flac before being processed by qaac.

If you're aiming for ultra-small files with HEVC where quality isn't a concern, sure, HE-AAC would suffice :). The other mistake people make with AAC is that with lower quality AAC, you simply get a 'less clear' (lower effective sampling rate) audio, and you gradually lose audio frequencies. This is particularly true with HE-AAC, which purposefully cuts the audio quality to get a smaller file size. This is in contrast to MP3, where the lower bitrate results in compression artefacts.

Lupissimo
28th February 2015, 23:56
@Stax: As you have provided an adjustment for "aimed quality" in the ENVenc Codec Configuration (0...100% in increments of 5, could you please tell us what this means or how this relates to the "Quality" parameter of the normal x264 setting.

Edit: I have run 3 tests with quality: 50, 70 and 90% and there is absolutely NO difference in the file size or the mediainfo data!

Schattenspieler
1st March 2015, 12:29
The developer of NVenc has also built QSVenc for Intel and VCEenc for AMD.Well, would it be possible to integrate those, too?

stax76
2nd March 2015, 12:48
@NikosD/Schattenspieler

QSVenc is added but for VCEenc I couldn't find a download link.

@Lupissimo

'Aimed Quality' is useful when you define a command line for a compressibility check, after the comp. check it adjust the file size or image size accordingly, I can't tell you if comp. check is possible or useful with hardware encoders. I made it now hidden in quality mode.

Is it/will it be possible so save/export encoder profiles?

I think it was supported but was removed, I know it's a pain to loose settings, problem is there is no easy way to avoid it.

About staxrip, the audio should be decoded to .wav instead of flac before being processed by qaac.

Flac is almost half the size and it might have other advantages like keeping useful or important metadata.

If it's important I could make a option to decide between flac and wav.

When encoding using the NVenc function the buttons "suspend".."abort" do not work. You have to kill the job via the taskmanager

It's fixed for abort but I won't add it for suspend, it would be like combining two different hacks.

When selecting the qaac audio option, to use the High Effeciency option to encode audio, I noticed that no matter the source, it extracts the source and converts it into .flac, which qaac doesn't seem to like as a source to encode.

qaac supports flac, are you sure the Apple libs are installed properly?

'Normally' I'd see it decoded back into .wav format before it gets encoded into my set' options. This does not occur with the other encoders. (Thus far I used the others such as EAC3TO etc.)

StaxRip tries to only demux or decode if necessary, as far as I know qaac supports only wav and flac.

Although there is a problem with file name lengths: "2015-02-21_23-55-30_WDR HD Köln (deu)_700 Meilen westwärts - Spielfilm USA 1975 (Bite the Bullet).ts" is not working; after renaming it to "test.ts" it runs with 110fps (720p HDTV ) vs 7..10fps with the normal encoder. )! Not being familiar with the encoding parameters it would be nice to have something similar as for the "normal" x264 ( High,Film, etc.) or just a set of example values for the encoding.

It works changing only both 'Umlaute', would be the first application not supporting them, if I don't forget it I'll ask selur how to contact the author.

Lupissimo
2nd March 2015, 13:49
@Stax: Thank you for your answer! Is there some "expert" who could provide some examples for alternative command lines (NVEnc) corresponding to i.e. quality=high and quality=higher in standard x264 mode?

stax76
2nd March 2015, 14:31
Selur has two threads:

http://forum.videohelp.com/threads/370223-NVEncC-by-rigaya-NVIDIA-GPU-encoding

http://forum.gleitz.info/showthread.php?47012-Kostenloses-GPU-basiertes-H-264-encoding

Handbrake and Hybrid do also hardware encoding it seems.

stax76
2nd March 2015, 19:43
1.2.0.4 beta (2015-03-02)


Added QSVEncC Intel Quick Sync H.264 encoding tool support
Improved job processing
Improved load times and responsiveness
Changed the Play feature for AviSynth and subtitles to use NicAudio or DirectShowSource instead of FFAudioSource because FFAudioSource requires additional slow indexing
Fixed x265 project template being not properly initialized
Fixed anamorphic not being signaled to nvidia encoder, added new macro %target_sar%
Fixed crash in x264 dialog
Updated mkvtoolnix to v7.7.0
Updated NVEncC to v1.02


http://sourceforge.net/projects/staxmedia/files/StaxRip%20beta/StaxRip_1.2.0.4_beta.7z/download

http://1drv.ms/1Gc7IO5

@HarryMason

Your command is also added.

NikosD
2nd March 2015, 21:08
@NikosD/Schattenspieler

QSVenc is added but for VCEenc I couldn't find a download link.



I don't know if this helps:
https://onedrive.live.com/?cid=6bdd4375ac8933c6&id=6BDD4375AC8933C6%21516

HarryMason
2nd March 2015, 22:25
@stax76

thanks again works just like i wanted.

Also i think i found another tiny bug when adding a container option for an encoder profile...

http://s27.postimg.org/8rxytfqfn/stax_01.jpg

..it does not appear when selecting the encoder profile afterwards.

http://s11.postimg.org/rudar639f/stax_02.jpg

stax76
2nd March 2015, 23:35
It's by design, the muxer is child of the encoder, but if you load a encoder, the muxer stays unless the muxer isn't compatible with the encoder.

Somehow it's flawed I admit, maybe I could make a change that the null muxer ('No Muxing') wouldn't persist, if that helps you and don't has other unwanted implications.

HarryMason
3rd March 2015, 00:29
It's by design, the muxer is child of the encoder, but if you load a encoder, the muxer stays unless the muxer isn't compatible with the encoder.

Somehow it's flawed I admit, maybe I could make a change that the null muxer ('No Muxing') wouldn't persist, if that helps you and don't has other unwanted implications.

ok it's not that big of a deal if you keep it as it is, if it's actually meant to be like that.

MACKerMD
3rd March 2015, 20:41
Flac is almost half the size and it might have other advantages like keeping useful or important metadata.

If it's important I could make a option to decide between flac and wav.

Yes, please.
Since, for some odd reason, my qaac does -not- accept flac as source but works like a charm if I use .wav.
So I let staxrip first 'pretend' it will use .wav audio, so it will decode the original into .wav .. once it starts encoding video, I now abort the job, go back to the main screen, change the source audio to the just generated .wav and use qaac to encode it. Works fine then. So, I would appreciate it if you could add the suggested option to select wav or flac output. And yes, I also agree on the metadata-etc in flac. It's why I sratch my head [my] qaac encoder doesn't pick .flac as source.


qaac supports flac, are you sure the Apple libs are installed properly?

They should be. This is why I don't understand it pops up with a box that says 'format not supported'.


StaxRip tries to only demux or decode if necessary, as far as I know qaac supports only wav and flac.

Like mentioned before, it should support both as source, but for some odd reason, on my end, it only picks up .wav as source. When I check commandline-options for qaac it also claims it supports flac. But when it's been used in my project, it doesn't.

VfBFan
4th March 2015, 06:55
I've found a little bug, the first subtitle in the mkv container options is set as default even if the checkbox is unchecked.

stax76
4th March 2015, 07:26
It's probably mkvmerge default behavior, you can verify it by looking at the command line in the log file.

VfBFan
4th March 2015, 18:10
Maybe this is a possible solution?

For the "default track" flag: The special consideration is that mkvmerge will automatically set this flag to "yes" for exactly one track of each track type (audio, video, subtitles). You can only prevent this by explicitly setting the "default track" flag to "no" manually for all tracks of a kind (e.g. for all subtitle tracks).

https://github.com/mbunkus/mkvtoolnix/wiki/Default-and-forced-flags-and-default-yes-no-in-mmg
https://www.bunkus.org/videotools/mkvtoolnix/doc/mkvmerge.html#mkvmerge.description.identify (see chapter 2.7)

stax76
4th March 2015, 19:38
A solution suggests that a problem exists. Currently StaxRip passes only true arguments like so:


If i.Forced Then args.Append(" --forced-track " & id)
If i.Default Then args.Append(" --default-track " & id)


Maybe it would be more logical to pass false as well or do something else, I'm open for suggestions for this.

MACKerMD
5th March 2015, 05:13
Flac is almost half the size and it might have other advantages like keeping useful or important metadata.

If it's important I could make a option to decide between flac and wav.

Yes, please.


StaxRip tries to only demux or decode if necessary, as far as I know qaac supports only wav and flac.

In this case it -only- decodes the original back to .flac before encoding to (HE-)AAC, when selecting qaac as audio-encoder. Which results in a popup error return, saying the format [.flac] is not supported.

MikeTR
5th March 2015, 12:32
Just tried the 1.2.0.4beta: when recoding & resizing a 1280x718 (source) clip to a lower resolution StaxRip generates an exit error (Resize: Height must be bigger than or equal to 4). The Resize Height field automatically resets to 0 instead of keeping the original setting (that is divisible by 4) and below that it gives Error: Infinity%.
FYI v1.1.9.0 recodes the same file just fine.

VfBFan
5th March 2015, 12:34
Maybe it would be more logical to pass false as well...

I think this would be a reasonable solution.
When the "default" checkbox is unchecked then set --default-track to no.

stax76
5th March 2015, 16:29
I think this would be a reasonable solution.
When the "default" checkbox is unchecked then set --default-track to no.

I made this change now.

@MikeTR

How can I reproduce this?

stax76
5th March 2015, 19:02
@MikeTR

Here is a hotfix: http://www.dropbox.com/s/9iqy8v6i38d1e9e/StaxRip_2015.03.05-2.7z?dl=0


Improved eac3to GUI
Improved cli/batch/script GUI
Fixed invalid script used for non mod 4 sources
Fixed invalid script used for RGB sources
Fixed decimal number framerates being imprecise
Fixed unnecessary WAV to FLAC conversion when DirectShowFilter is used
Fixed gain detection with ffmpeg to normalize audio didn't use the correct stream using mkv as audio source file

DocSavage
6th March 2015, 06:10
Hi, for easy transport on my media player I use AVC to encode my episodic TV series blu-rays down to a 1280x720 MKV. However been tooling around with StaxRip in the hopes of redoing these as good quality 640x360 MP4 (AVI) so my dad can see them on his older Archos player. Now using StaxRip to try and do this more efficiently, the result is always too blocky (artefacts) no matter the bitrate - see mediainfo below
Video
File size :185 MiB
Format : MPEG-4 Visual
Format profile : Simple@L1
Format settings, Matrix : Default (H.263)
Codec ID : FMP4
Duration : 20mn 55s
Bit rate : 1 096 Kbps
Width : 640 pixels
Height : 360 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.198
Stream size : 164 MiB (89%)
Writing library : Lavc56.14.100
So my questions are -
Would a change of the format profile from Simple@L1 to L5 yield any improvements and how can I do this?
Format settings are at H.263 would H.264 not be better, and how can I change this?
What would the best filter be to use, when downscaling 1280x720 MKV to a 640x360 AVI, whilst keeping filesize about the same?
Any advice or pointers would be useful. :thanks:

MikeTR
6th March 2015, 17:42
@MikeTR

Here is a hotfix: http://www.dropbox.com/s/9iqy8v6i38d1e9e/StaxRip_2015.03.05-2.7z?dl=0


Improved eac3to GUI
Improved cli/batch/script GUI
Fixed invalid script used for non mod 4 sources
Fixed invalid script used for RGB sources
Fixed decimal number framerates being imprecise
Fixed unnecessary WAV to FLAC conversion when DirectShowFilter is used
Fixed gain detection with ffmpeg to normalize audio didn't use the correct stream using mkv as audio source file

Confirm that the hotfix works correctly on non mod 4 sources. Good catch on the FLAC conversion, I forgot to mention that before.

My only issue now is still the gpac _.tmp files created in Local/Temp by the updated MP4Box version. I switched back to v.0.4.6 and that version does not have this problem. Megui uses v0.5.1_rev4929 without issue, but the same version imported into Staxrip does have the aforementioned problem. Any thoughts why that could be?

VelleX
6th March 2015, 20:00
@DocSavage

What encoding method did you use? Constant Bitrate, Variable Bitrate (1 or 2 pass), or Quality based? Of course 2 pass would be best option if you want a specific file size.

And what does "no matter the bitrate" mean? What bitrate did you try? Maybe your TV Series needs more bitrate.

h.263 is only the setting for the quantization matrix type, where i think just h263 or MPEG is possible. As i know MPEG is better for higher bitrates/preserving details, and h263 is better for low bitrates.

Also i wonder if the Format Profile which is displayed is true, because as i know Simple@L1 would limit the Resolution and Bitrate to 144×96 and 64kbps.
Normally you should use of course Advanced Simple@L5.

Patman
6th March 2015, 21:00
Confirm that the hotfix works correctly on non mod 4 sources. Good catch on the FLAC conversion, I forgot to mention that before.

My only issue now is still the gpac _.tmp files created in Local/Temp by the updated MP4Box version. I switched back to v.0.4.6 and that version does not have this problem. Megui uses v0.5.1_rev4929 without issue, but the same version imported into Staxrip does have the aforementioned problem. Any thoughts why that could be?

@MikeTR

I've updated MP4Box to v0.5.2 r106 and no tmp files were created.

@Stax

Is it possible to integrate the ffms2 c-plugin as a replacement for "normal" ffms2? I've seen you have asked qyot27 in the FFmpegSource thread..

DocSavage
7th March 2015, 03:54
Thanks for your response, so in reply to that
1. I used a constant bitrate for ASP at 2-pass, trying to achieve an average file size of approx. 180MB for each 20min programme converted
2. Obviously using a higher bitrate increased the file size dramatically, so trying to keep it at approx. 200MB max. CBR
3. Yes, you're right possibly Simple@L1 is a limiting factor, so how would I be able to use the Advanced Simple@L5 at 640x360 - how is accessible within the GUI or profile coding?
@DocSavage

What encoding method did you use? Constant Bitrate, Variable Bitrate (1 or 2 pass), or Quality based? Of course 2 pass would be best option if you want a specific file size.

And what does "no matter the bitrate" mean? What bitrate did you try? Maybe your TV Series needs more bitrate.

h.263 is only the setting for the quantization matrix type, where i think just h263 or MPEG is possible. As i know MPEG is better for higher bitrates/preserving details, and h263 is better for low bitrates.

Also i wonder if the Format Profile which is displayed is true, because as i know Simple@L1 would limit the Resolution and Bitrate to 144×96 and 64kbps.
Normally you should use of course Advanced Simple@L5.

MikeTR
7th March 2015, 09:05
@MikeTR
I've updated MP4Box to v0.5.2 r106 and no tmp files were created.

Good news. Can you give me a link to the version you used (and exactly how) so I can trace your steps?

Patman
7th March 2015, 11:46
Good news. Can you give me a link to the version you used (and exactly how) so I can trace your steps?

Hi,

follow these link MP4Box.zip (http://www.4shared.com/zip/ePv8EDHgba/MP4Box.html) and extract the folder to your Staxrip folder/applications and overwrite the existing files. After that you can test it with an encode. I've used a mp4 file to create a mp4 file. I've changed the audio track and the size of the video track.

MikeTR
8th March 2015, 10:12
@Patman: No joy fro me. I still get gpac_"8 random digits".tmp files in C:\Users\...\AppData\Local\Temp every time. Running Win7x64, but will try to replicate on Win8 to ryle out OS/system issue.

Patman
8th March 2015, 10:28
@Patman: No joy fro me. I still get gpac_"8 random digits".tmp files in C:\Users\...\AppData\Local\Temp every time. Running Win7x64, but will try to replicate on Win8 to ryle out OS/system issue.

I use Win 8.1 x64 and i have no tmp files in this folder. I've cleaned my system before i've used the latest build of staxrip. I've cleaned the registry and deleted all folders of staxrip. Also i've uninstalled my codec package and reinstalled it after a system cleanup. Before that mp4box created tmp files too.

lotnybartek
8th March 2015, 10:29
Dear stax

I'm trying to encode *.ts files recorded by my satellite box (1920x1080). StaxRip is the only software that can cut the file and then encode it. Now, I have an HP Envy 6 Ultrabook, i5 3317u with dual GPU - the one in CPU and second ATI.

CPU is not so much powerful, (on 1080 material I got 5-7 FPS max, x264, CRF=22). So I'm trying alternative methods. One of them is Intel Encoder.

With CQP=22 I get almost 45 FPS, but with alternative software (Handbrake) I got almost 150FPS.

Now I'm confused. With Intel H264 encoder I have clearly more FPS but I don't know if encoding is done with CPU only or CPU+GPU (don't think so - read below).

The problem is, QSVEncC.exe do not see my iGPU, it says:

GPU: unknown (Failed to find Intel GPU).

Funny thing is, when I reinstall iGPU drivers, QSVEncC.exe will see them with QSVEncC.exe --check-features (I mean it sees iGPU correctly), but after PC restart QSVEncC.exe can't find iGPU again.

The dude who wrote QSVEncC.exe is Japanese - so I can't really read anything on his webpage.

Can you tell me why I can't get so many FPS with StaxRip but I can get 3x faster using Handbrake using Intel QuickSync?

Can you implement other, alternative encoders?

stax76
8th March 2015, 12:29
@lotnybartek

NikosD might be know what's wrong, otherwise I can point the QSVEncC author to your post, he already helped Nikos and me so with some luck he can help you too.

@Patman
@MikeTR

I also get the temp files, the weird thing is it only happens within StaxRip and not executing the command line directly with the windows command prompt. I checked my code searching for gpac and tmp with no result so I checked the code with the debugger which showed that the files are written by mp4box.

My standpoint was always mp4box and mp4 has too many issues and limitations making it not worth bothering with it, I never had a good experience with mp4box and mp4 both as programmer and user so I let it to the users to workout problems like report a bug to the mp4box author, switching to MKV would be my number one advice.

Is it possible to integrate the ffms2 c-plugin as a replacement for "normal" ffms2? I've seen you have asked qyot27 in the FFmpegSource thread.

With some tricks probably only I could figure out, you can't just drop it in, it would generate LoadPlugin instead of LoadCPlugin and there might be other implications related indexing for instance.

Easiest solution for us would be somebody making a non C build of course. Do you know which version other popular GUIs use?

Patman
8th March 2015, 13:13
@lotnybartek

@Patman
@MikeTR

I also get the temp files, the weird thing is it only happens within StaxRip and not executing the command line directly with the windows command prompt. I checked my code searching for gpac and tmp with no result so I checked the code with the debugger which showed that the files are written by mp4box.

I had no temp files on my system and Staxrip/Mp4Box haven't created any file. I don't now why... I've checked the box that all temp files will be deleted after encode.


With some tricks probably only I could figure out, you can't just drop it in, it would generate LoadPlugin instead of LoadCPlugin and there might be other implications related indexing for instance.

Easiest solution for us would be somebody making a non C build of course. Do you know which version other popular GUIs use?

Selur used the c-plugin in hybrid and megui used the same as staxrip. Maybe selur can help to integrate c-plugin.

lotnybartek
8th March 2015, 13:52
@lotnybartek

NikosD might be know what's wrong, otherwise I can point the QSVEncC author to your post, he already helped Nikos and me so with some luck he can help you too.



Thank you Stax. Can you point him (QSVEncC author) on my post.? I'd very glad.

I've already PM'd NikosD, so maybe he will point me to something useful too ;-)

NikosD
8th March 2015, 14:28
Dear stax

I'm trying to encode *.ts files recorded by my satellite box (1920x1080). StaxRip is the only software that can cut the file and then encode it. Now, I have an HP Envy 6 Ultrabook, i5 3317u with dual GPU - the one in CPU and second ATI.

CPU is not so much powerful, (on 1080 material I got 5-7 FPS max, x264, CRF=22). So I'm trying alternative methods. One of them is Intel Encoder.

With CQP=22 I get almost 45 FPS, but with alternative software (Handbrake) I got almost 150FPS.

Now I'm confused. With Intel H264 encoder I have clearly more FPS but I don't know if encoding is done with CPU only or CPU+GPU (don't think so - read below).

The problem is, QSVEncC.exe do not see my iGPU, it says:

GPU: unknown (Failed to find Intel GPU).

Funny thing is, when I reinstall iGPU drivers, QSVEncC.exe will see them with QSVEncC.exe --check-features (I mean it sees iGPU correctly), but after PC restart QSVEncC.exe can't find iGPU again.

The dude who wrote QSVEncC.exe is Japanese - so I can't really read anything on his webpage.

Can you tell me why I can't get so many FPS with StaxRip but I can get 3x faster using Handbrake using Intel QuickSync?

Can you implement other, alternative encoders?

Your CPU (IvyBridge) has an HD 4000 iGPU@1.05GHz which is fast enough for a lot more than 45fps transcoding speed.

The 150fps that HandBrake gives you is a reasonable figure for your QuickSync H.264 1080p transcoding (it depends on the quality bar and the settings - it could be even more)

HandBrake is one of a few non commercial apps that accelerate in hardware the whole H.264 -> H.264 transcoding process, meaning both decoding and encoding.

Unfortunately, QSVEncC although is a lot more updated and advanced application with a lot more options and parameters for transcoding, it supports encoding in HW, but not decoding in HW.

So, StaxRip using QSVEncC needs to use your not so fast CPU for decoding and QuickSync (HW) for encoding.
That is probably the main reason for such huge transcoding speed difference between HandBrake and QSVEncC.

I have asked rigaya, the developer of QSVEncC, to accelerate in HW the decoding process and he told me that could look at it probably in a few months.

About the "missing" iGPU, which is presented as "Unknown" and all the messages about "Failed to connect" etc, it's a common problem with systems having two GPUs (one internal from Intel and another discrete GPU), but doesn't affect anything as long as QuickSync works OK.

I have a system with iGPU only (no discrete card) and the DXVA acceleration can work in native mode.
I'm not sure if a system with two cards can work in full speed when the primary card is the discrete GPU and not the iGPU.

If I were you I would try to make the iGPU (from Intel) the primary GPU either from BIOS or from Windows properties or any other way and check again the transcoding speed of both HandBrake and QSVEncC.
Especially HandBrake which accelerates the whole transcoding process in HW, could be faster.

lotnybartek
8th March 2015, 15:09
This is very clear now.

About making iGPU primary. Pity is, I can't do that. I already researched this topic for couple of days.

Almost every modern notebook has very limited BIOS now. Mine too. I can't switch my GPU's between dynamic and fixed mode. That's the way it is. Yes, I checked for BIOS updates etc.

TBH, I'd use Hanbrake, but like I said, only StaxRip can properly cut my *.ts files. Or is it?

getID3()
9th March 2015, 23:15
I noticed that filters macro %newline% no longer works (it has also been removed from the helpfile). I can't see anything that it's been replaced with. That makes it hard to set up custom filters that require multiple lines. It worked fine in 1.1.9.0

MikeTR
10th March 2015, 15:13
I also get the temp files, the weird thing is it only happens within StaxRip and not executing the command line directly with the windows command prompt. I checked my code searching for gpac and tmp with no result so I checked the code with the debugger which showed that the files are written by mp4box.

My standpoint was always mp4box and mp4 has too many issues and limitations making it not worth bothering with it, I never had a good experience with mp4box and mp4 both as programmer and user so I let it to the users to workout problems like report a bug to the mp4box author, switching to MKV would be my number one advice.
Thanks for the confirmation. I prefer .mkv as well, but unfortunately need .mp4 for a legacy device that just doesn't play nice with mkv. I'll keep using the older mp4box version when needed.

stax76
10th March 2015, 19:27
So, StaxRip using QSVEncC needs to use your not so fast CPU for decoding and QuickSync (HW) for encoding.

HW decoding should work either with DSS and LAV Filters or with DGDecNV. With FullHD source and QS output I get 120 fps both with DSS LAV DXVA2 copy back and with L-Smash so decoding isn't a limiting factor at all! With nv output I get 200 fps, again with or without HW decoding and again FullHD, I use i3570 and GTX 960.

I noticed that filters macro %newline% no longer works (it has also been removed from the helpfile). I can't see anything that it's been replaced with. That makes it hard to set up custom filters that require multiple lines. It worked fine in 1.1.9.0

There's a new multiline syntax you can use instead:

[Source]
MPEG2Source = MPEG2Source("%source_file%")
DirectShowSource = DirectShowSource("%source_file%", audio = false, convertfps = true, fps = %original_framerate%)

FFVideoSource =
FFVideoSource("%source_file%", cachefile = "%working_dir%%source_name%.ffindex")
AssumeFPS(%original_framerate%)

LSMASHVideoSource = LSMASHVideoSource("%source_file%")

LWLibavVideoSource =
LWLibavVideoSource("%source_file%")
AssumeFPS(%original_framerate%)

DGSource = DGSource("%source_file%", deinterlace = 0, resize_w = 0, resize_h = 0)

NikosD
10th March 2015, 19:47
HW decoding should work either with DSS and LAV Filters or with DGDecNV. With FullHD source and QS output I get 120 fps both with DSS LAV DXVA2 copy back and with L-Smash so decoding isn't a limiting factor at all! With nv output I get 200 fps, again with or without HW decoding and again FullHD, I use i3570 and GTX 960.


That's an interesting approach that I was looking for.

Regarding QS encoding can you be more specific on how could we use HW decoding ?

I mean what SW to use and mainly how.

For example, how could someone use LAV Video for HW decoding along with QSVEncC HW encoding using StaxRip.

The more details, the better !

stax76
10th March 2015, 20:36
That's an interesting approach that I was looking for.

Regarding QS encoding can you be more specific on how could we use HW decoding ?

I mean what SW to use and mainly how.

For example, how could someone use LAV Video for HW decoding along with QSVEncC HW encoding using StaxRip.

The more details, the better !

In LAV Filters you would choose DXVA2 copy back, in StaxRip you can choose DSS (DirectShowSource) by right-clicking the source filter and select it from the menu, it's not much more I think.

@MikeTR

I filed a bug report, meanwhile it's possible to run a command line after encoding (Tools/Advanced/Run...)

http://oi61.tinypic.com/2usx1g1.jpg

NikosD
10th March 2015, 21:45
In LAV Filters you would choose DXVA2 copy back, in StaxRip you can choose DSS (DirectShowSource) by right-clicking the source filter and select it from the menu, it's not much more I think.


This is very clear now.


OK, here are my results.

Firstly when I changed from "Automatic" to "DSS" I got very slow results, because LAV Video was not activated.
It probably used Microsoft's decoder in SW mode, which is a lot slower.

I had to change the preferred decoder to LAV Video.

After that my benchmark results are these:

LAV video x86 v0.64 - 1080p H.264 -> 1080p H.264 transcoding

--avbr Rate control, all other default QSVEncC settings


Filter:
Automatic (FFVideoSource): ~180 fps CPU Usage ~60%@4.0GHz

LAV Video (None-SW): ~178 fps CPU Usage ~60%@4.0GHz

LAV Video (QuickSync decoder): ~155 fps CPU Usage ~25%@4.0GHz

LAV Video (DXVA copy-back): ~90 fps CPU Usage ~20%@4.0GHz

LAV Video (DXVA native) -> Falls back to SW mode of course


HandBrake: ~270 fps CPU Usage 5%@1.6GHz (idle)

It is more than clear, that pure HW decoding in DXVA native mode, without copy-back, like the one that HandBrake uses, is not only faster, a lot faster actually, but also it uses 5% of CPU at idle mode.

If someone wants to use QSVEncC and want to avoid the CPU decoding, then LAV DXVA copy-back is not such a good choice.

I would definitely prefer QuickSync decoder of LAV Video.

It's very close to CPU performance (on signature system), using a lot less CPU usage.

stax76
10th March 2015, 21:59
I stick to DXVA because it's best supported and recommended by the LAV Filters author.

Did you ask rigaya why QSEncC uses that much CPU? Looks like it uses 10 times more CPU then NVEncC.

rigaya has released NVEncC 1.03 with english help and output, both NVEncC and QSEncC support avs input now so I removed piping for the next StaxRip release.

NikosD
10th March 2015, 22:36
I don't have an NVEncC capable card in order to check the CPU usage.

I only confirmed with rigaya my assumption that QSVencC doesn't use HW decoding, only encoding.

Maybe NVencC uses HW decoding, I can't check it out.

Looking forward to the next StaxRip release in order to test again the CPU usage with QSVencC without piping.

Don't forget to include latest version of QSVencC which is v1.31 IIRC.

stax76
11th March 2015, 01:33
I've uploaded a new version with minor improvements and many updated applications:

1.2.0.5 beta (2015-03-11)


Improved cli/batch/script GUI
Improved eac3to GUI and error handling
Fixed invalid script used for non mod 4 sources
Fixed invalid script used for RGB sources
Fixed decimal number framerates being imprecise
Fixed unnecessary WAV to FLAC conversion when DirectShowFilter is used
Fixed gain detection with ffmpeg to normalize audio didn't use the correct stream using mkv as audio source file
Updated AviSynth, eac3to, ffms2, ffmpeg, x264, x265, MP4Box, QSVEncC, NVEncC


http://sourceforge.net/projects/staxmedia/files/StaxRip%20beta/StaxRip_1.2.0.5_beta.7z/download

http://1drv.ms/1Ea5Tho

NikosD
11th March 2015, 08:44
Really, really liked the new version.

The removal of piping gave a boost in performance in all modes and lowered the CPU usage a lot for SW decoding.

The support of QSVEncC got a lot better with the addition of help button - Help (QSVEncC) -inside the configuration of H.264 encoder and the "Execute" button is even more useful because QSVEncC runtime information console window provides a lot of info.

I want to report one bug, one question, one favor.

BUG:
There is a small bug of the "Execute" button.
After the completion of the task, it doesn't mux the final clip!
There is no final output/file at the completion of transcoding!

I can see though in temp directory that the .h264 has been produced by the process, only the final output is missing.

ANSWER

It seems it's not a bug, it's a feature of QSVEncC outputting only H.264 streams without muxing.
You have to run the project as a job to mux the h.264 stream produced by QSVEncC.

QUESTION:

Is there a way after the completion of the transcoding or the closing of StaxRip to automatically delete the "temp directory" ?

If there isn't any I think it would be useful to add it.

ANSWER:

It's in Options -> Misc -> Delete temp files directory

FAVOR

Is it possible to add the "Intel H.264 encoder" in the standard profiles/templates of the app ? (Like x264, x265, DivX etc).

As it is right now, I use the "Save As Template" in order to create it.



StaxRip v1.2.0.5 benchmark results


LAV video x86 v0.64 - 1080p H.264 -> 1080p H.264 transcoding same video and settings like 1.2.0.4

--avbr Rate control, all other default QSVEncC settings


Filter:
Automatic (FFVideoSource): ~207 fps CPU Usage ~43%@3.9GHz

LAV Video (None-SW): ~200 fps CPU Usage ~43%@3.9GHz

LAV Video (QuickSync decoder): ~184 fps CPU Usage ~25%@3.9GHz

LAV Video (DXVA copy-back): ~168 fps CPU Usage ~20%@3.9GHz

lotnybartek
11th March 2015, 11:53
I don't get it. I don't see any FPS boost. NikosD - Can you point me how to use LAV decoder? Filter --> Source -->LWLibavVideoSource ?

NikosD
11th March 2015, 11:57
No it's filter -> source -> DirectShowSource.

Then you go to your installed direct show filters and put LAV as your preferred.

You change from Lav properties various modes (copy-back, quicksync)

Lupissimo
11th March 2015, 13:31
Here are my results with the new 05 beta:

C:\StaxRip_1.2.0.5_beta>"C:\StaxRip_1.2.0.5_beta\Applications\NVEncC\NVEncC.exe" --sar 1:1 -c h264 --vbr 3650 --CABAC --deblock -i "D:\DVBRECORD\Test1 temp files\Test1.avs" -o "D:\DVBRECORD\Test1 temp files\Test1_out.h264"
D:\DVBRECORD\Test1 temp files\Test1.avs
NVEnc 1.02 (x86), using NVENC API v5.0
OS Version Windows 7 (x64)
CPU Intel Core2 Duo E8400 @ 3.00GHz (2C/2T)
GPU GeForce GTX 750 (4 EU) @ 1110 MHz (347.52)
Input Buffers CUDA, 16 frames
Input Info Avisynth 2.58 (yuy2) -> nv12 [SSSE3], 1280x720, 25/1 fps
Output Info H.264/AVC high
1280x720p 1:1 25.000fps (25/1fps)
Rate Control VBR - ????????
Bitrate 3650 kbps (Max: 17500 kbps)
Initial QP I:20 P:23 B:25
GOP length 250 frames
B frames 3 frames
Ref frames 3 frames
MV Quality Q-pel
CABAC/deblock cabac / on
encoded 39898 frames, 64.56 fps, 3661.26 kbps, 696.55 MB
encode time 0:10:18 / CPU Usage: 96.05%
frame type IDR 160
frame type I 160, avgQP 20.05, total size 11.22 MB
frame type P 10054, avgQP 20.90, total size 378.25 MB
frame type B 29684, avgQP 25.52, total size 307.08 MB

Start: 07:33:19
End: 07:43:38
Duration: 00:10:19

and this is the log for 04 beta:

"C:\StaxRip_1.2.0.4_beta\Applications\avs2pipemod\avs2pipemod.exe" -y4mp "D:\DVBRECORD\Test1a temp files\Test1a.avs" | "C:\StaxRip_1.2.0.4_beta\Applications\NVEncC\NVEncC.exe" --y4m --sar 1:1 -c h264 --vbr 3650 --CABAC --deblock -i - -o "D:\DVBRECORD\Test1a temp files\Test1a_out.h264"

"cmd.exe" /C "D:\DVBRECORD\Test1a temp files\Test1a_encode.bat"

C:\StaxRip_1.2.0.4_beta>"C:\StaxRip_1.2.0.4_beta\Applications\avs2pipemod\avs2pipemod.exe" -y4mp "D:\DVBRECORD\Test1a temp files\Test1a.avs" | "C:\StaxRip_1.2.0.4_beta\Applications\NVEncC\NVEncC.exe" --y4m --sar 1:1 -c h264 --vbr 3650 --CABAC --deblock -i - -o "D:\DVBRECORD\Test1a temp files\Test1a_out.h264"
NVEnc 1.02 (x86), using NVENC API v5.0
OS ƒo[ƒWƒ‡ƒ“ Windows 7 (x64)
CPU Intel Core2 Duo E8400 @ 3.00GHz (2C/2T)
GPU GeForce GTX 750 (4 EU) @ 1110 MHz (347.52)
“ü—̓tƒŒ[ƒ€ƒoƒbƒtƒ@ CUDA, 16 frames
“ü—̓tƒŒ[ƒ€î•ñ y4m (yv12) -> nv12 [SSE2], 1280x720, 25/1 fps
o—Í“®‰æî•ñ H.264/AVC high
1280x720p 1:1 25.000fps (25/1fps)
ƒŒ[ƒg§Œäƒ‚[ƒh VBR - ‰Â•σrƒbƒgƒŒ[ƒg
ƒrƒbƒgƒŒ[ƒg 3650 kbps (Max: 17500 kbps)
‰ŠúQP’l I:20 P:23 B:25
GOP’· 250 frames
˜A‘±BƒtƒŒ[ƒ€” 3 frames
ŽQÆ‹——£ 3 frames
“®‚«ƒxƒNƒgƒ‹¸“x 1/4‰æ‘f¸“x
CABAC/deblock cabac / on
avs2pipemod[info]: invoking ConvertToYV12(interlaced=false) ...
avs2pipemod[info]: writing 39898 frames of 25/1 fps, 1280x720,
sar 0:0, YUV-420-planar progressive video.
avs2pipemod[info]: finished, wrote 39898 frames [100%].
avs2pipemod[info]: total elapsed time is 698.429 sec [57.125fps].
encoded 39898 frames, 57.12 fps, 3661.13 kbps, 696.52 MB
encode time 0:11:38 / CPU Usage: 9.15% NOT TRUE!! avs2pipemode =88% CPU
frame type IDR 160
frame type I 160, avgQP 20.05, total size 11.10 MB
frame type P 10054, avgQP 20.87, total size 377.70 MB
frame type B 29684, avgQP 25.50, total size 307.72 MB

Start: 10:02:48
End: 10:14:27
Duration: 00:11:39


Notice that in the 04 beta there is an additional CP load by avs2pipemode.

lotnybartek
11th March 2015, 13:50
Input 1920x1080, resizing to 1280x720.

Syntax:

"%app:QSVEncC%" --input-buf 3 --slices 0 --fps 25000/1000 --cqp 26:28:29 --profile auto --level auto --quality best --bframes 3 --gop-len 0 --i-adapt --b-adapt --b-pyramid --scenechange --trellis auto --extbrc --sar %target_sar% -i "%avs_file%" -o "%encoder_out_file%"

DirectShowSource with LAV Filter (I set in on various modes) did not gave me any noticeable performance gain ~ 45 FPS +- 3 (except copyback where FPS ~ 23)

FFVideoSource gives me best performance, around ~ 100 FPS, but FFVideoSource do not recognize source time correctly - it says input has 217 mins 10 sec where it has 91 mins.

stax76
11th March 2015, 13:54
but FFVideoSource do not recognize source time correctly - it says input has 217 mins 10 sec where it has 91 mins.

Please post MediaInfo (you can get it using StaxRip's built in MediaInfo feature) and if possible a sample (you can send a private message if you want).

lotnybartek
11th March 2015, 14:11
General
ID : 1 (0x1)
Complete name : D:\Temp\PROPER_CUT.ts
Format : MPEG-TS
File size : 4.66 GiB
Duration : 1h 31mn
Overall bit rate mode : Variable
Overall bit rate : 7 313 Kbps

Video
ID : 201 (0xC9)
Menu ID : 3112 (0xC28)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Codec ID : 27
Duration : 1h 31mn
Bit rate : 6 757 Kbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 fps
Standard : Component
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.130
Stream size : 4.31 GiB (92%)
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Color range : Limited

Audio
ID : 211 (0xD3)
Menu ID : 3112 (0xC28)
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 2
Codec ID : 3
Duration : 1h 31mn
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 125 MiB (3%)
Language : English

Link to sample sent via PM. It's 1 min long, StaxRip with FFVideoSource says 2 mins.

stax76
11th March 2015, 14:47
Did FFVideoSource open TS or MKV? AVC TS needs special handling either by integrating DGDecNV or installing Haali Splitter and enabling dsmux (tool of Haali Splitter) at Tools/Settings/Demux to mux TS to MKV.

lotnybartek
11th March 2015, 16:47
Yes, in this moment I tried to open my file as you instructed, using Haali Splitter dsmux.

Now, StaxRip says that file has 182 min 34 sec.

File has 91 min 17 sec, so if you multiply it by 2 you have 182 min 34 sec.

Is that giving you any hint?

stax76
11th March 2015, 17:20
Problem is the ffms2 handling of the interlacing I think, I will examine it, for now you have tweak AviSynth manually, you can post the link to the sample here, somebody will tell you what filters and functions you need and how you can add them.

lotnybartek
11th March 2015, 17:28
Here is the link. Maybe someone will help ;-)

http://netload.in/dateiCVd85Q63KY.htm

Patman
11th March 2015, 17:42
Here is the link. Maybe someone will help ;-)

http://netload.in/dateiCVd85Q63KY.htm

hi lotnybartek,

for ts files use projectx instead of dsmux... it works very well :D but directshow is used.
FFMS2 can't handle ts files and it's a known bug/issue.

FFmpegSource2 User Manual (https://ffmpegsource.googlecode.com/svn/trunk/doc/ffms2-avisynth.html)


Known issues

Interlaced H.264 is decoded in an odd way; each field gets its own full-height frame and the fieldrate is reported as the framerate, and furthermore one of the fields (odd or even) may "jump around". To get the correct behavior, you can try setting fpsnum and fpsden so that the framerate is halved (may or may not work). This issue is caused by libavcodec.

Decoding some M2TS files using Haali's splitter will cause massive blocking and other corruption issues. You can work around the issue either by remuxing the file to MKV (using GDSMux (make sure you untick "minimize output file size" in the Global settings tab) or eac3to), or (if you will be doing linear decoding only) by setting demuxer="lavf" in FFIndex and using seekmode=0 with FFVideoSource. The cause of this issue is unknown but being investigated.

stax76
11th March 2015, 17:57
I don't think projectx can handle AVC.

Patman
11th March 2015, 18:07
The latest build of Staxrip is very nice.
It's great to see that you have integrated ffms c-plugin and it worked!
A lot of Apps were be updated and now it's possible to encode Dolby Atmos with eac3to.

I don't think projectx can handle AVC.

I've tested the sample posted by lotnybartek and it worked.

lotnybartek
11th March 2015, 18:23
Well, maybe it works, but for me the essential part is to have it work with FFMS2 - because of HUGE FPS boost.

For the time being, I'll stick with DirectShowSource. Maybe someday we'll have QSVEncC with decoding support.

I've still have ~ 40 FPS on it which is awesome. It compressed above material to 2GB from 5GB with GREAT quality. I'm fine with that.

Other Intel QuickSync encoders gave me headache only, lack of some options and weird outputs.

stax76
11th March 2015, 23:20
@lotnybartek

I admit I'm pretty clueless regarding field processing due to lack of interest, the detection of ffms2 is often wrong so StaxRip reads the framerate with MediaInfo and adds it after the source filter with AssumeFPS, with your sample that don't work and ffms2 alone is wrong again reporting 49.967 fps, what seem to look good is this:

FFVideoSource("%source_file%", cachefile = "%working_dir%%source_name%.ffindex", fpsnum = 25, fpsden = 1)

You just double-click the source filter and enter the code, you don't need AssumeFPS then, only thing missing after that is a deinterlace filter.

Also don't forget to enable dsmux muxing to mkv, opening TS with DirectShowSource or ffms2 is problematic in many cases.

Your sample has 3720 kbps on average so it's already very low, you can use this tool to show the average bitrate:

http://www.winhoros.de/docs/bitrate-viewer/download.html

I also tried DGDecNV which is known to work very well even with TS, it detected everything correctly as expected and was very fast:

DGDecNV with HW deinterlacer and nv h264 output gave 200 fps

ffms2 with yadif and nv h264 output gave only 70 fps, there is a bottle neck even though none of the CPU cores was even close to 100%.

stax76
11th March 2015, 23:32
I've tested the sample posted by lotnybartek and it worked.

Did it demux avc as elementary stream? I think ffms2 can't load elementary streams properly.

Schattenspieler
12th March 2015, 00:54
Any chance or plans integrating VCEenc (for AMD)? More processing power to speed up things is always welcome. ^^

stax76
12th March 2015, 01:44
I think it's only available as aviutil addon and not as standalone tool.

MikeTR
12th March 2015, 08:06
Any chance or plans integrating VCEenc (for AMD)? More processing power to speed up things is always welcome. ^^
Second that, once VCEnc becomes available as a standalone that is. 200fps is something I can only dream of on my AMD combo (3GHz X4 & 7850). I'm mostly at 100% on all cores so any GPU help would be nice.

NikosD
12th March 2015, 08:28
The developer of QSVEncC and NVEncC apparently hasn't built VCEEncC but only VCEEnc.

The last 'C' means CLI application where the non 'C' version means an aviutl plugin.

I don't want to discourage you, but VCE HW is a lot slower than QuickSync and NVenc, at least the first version that I had seen figures.

For example the VCE 1.0 for a 1080p -> 1080p transcoding reaches 45 fps in quality mode and 70 fps in speed mode.

Maybe R9 285 card with VCE 3.1 and the very fast 4K H.264 decoder is a lot faster.

You could try A's video converter from here:
http://bluesky23.yukishigure.com/en/AsVideoConv.html

It has VCE support.

VelleX
12th March 2015, 11:33
@stax76

Maybe noticed a bug.
When i want to encode from mkv source with cutting, but without muxing, StaxRip still shows warning that subtitle cutting is not supported, and that i should remove the subs from the container options.

So i have to mux to mkv to be able to remove the subs from container.

EDIT: i used directshow filter. Hm, dont know why, but after i changed to ffms and back to directshow, i did not have this message.

andre.0bermann
12th March 2015, 15:10
Hello and sorry for my bad englisch!

But I have some ideas!

1. On this site http://audiophilesoft.ru/forum/3-74-7 you find a portable version from qaac. this version don't need itunes.

2. I think in the NVEncC is a bug. Quality Mode is off, but in the code fails --cbr %video_bitrate%

exsample
wrong:
"%app:NVEncC%" --sar %target_sar% -c h264 -i "%avs_file%" -o "%encoder_out_file%"

right:
"%app:NVEncC%" --sar %target_sar% -c h264 --cbr %video_bitrate% -i "%avs_file%" -o "%encoder_out_file%"


Thats wrong:
"D:\StaxRip_1.2.0.5_beta\Applications\NVEncC\NVEncC.exe" --sar 16:11 -c h264 -i "D:\Test\VTS_01_1 temp files\VTS_01_1.avs" -o "D:\Test\VTS_01_1 temp files\VTS_01_1_out.h264"

right is:
"D:\StaxRip_1.2.0.5_beta\Applications\NVEncC\NVEncC.exe" --sar 16:11 -c h264 --cbr 1200 -i "D:\Test\VTS_01_1 temp files\VTS_01_1.avs" -o "D:\Test\VTS_01_1 temp files\VTS_01_1_out.h264"

dinolazer
13th March 2015, 02:10
Is there a setting that allows Staxrip to continue to the next job in the batch queue if there is an error window that pops up during the encode?

Is there a silent mode that would dismiss dialogs like this and allow it to continue automatically to the next in line?

Otherwise, I must manually dismiss the dialog, go to my jobs, disable the problem file, continue the batching process by clicking the Start button, while saving problematic files for later.

MikeTR
13th March 2015, 14:08
Is there a setting that allows Staxrip to continue to the next job in the batch queue if there is an error window that pops up during the encode?

+1

Also, in the latest beta the eac3to succes sound is enabled by default. How can I disable it?
EDIT: renamed the .wav so it doesn't get triggered.

stax76
13th March 2015, 19:33
Maybe noticed a bug.
When i want to encode from mkv source with cutting, but without muxing, StaxRip still shows warning that subtitle cutting is not supported, and that i should remove the subs from the container options.

So i have to mux to mkv to be able to remove the subs from container.

EDIT: i used directshow filter. Hm, dont know why, but after i changed to ffms and back to directshow, i did not have this message.

I can't reproduce it, maybe because of a recent change, you can try to reproduce it with a build from today: https://www.dropbox.com/s/qq6k5lqsr5g6lgk/StaxRip_2015.03.13_2.7z?dl=0

1. On this site http://audiophilesoft.ru/forum/3-74-7 you find a portable version from qaac. this version don't need itunes.

The license for both Nero and Apple don't permit distribution so Nero must be copied to the eac3to directory and the apple installer must be installed.

libflac must be copied to the qaac dir, future StaxRip releases will have libflac included. Because of AviSynth and compatibility with 32-bit systems all applications and libraries in StaxRip are 32-bit except x264 and x265 where additional 64-bit builds using piping as input are included. My plan for the future is to remove 32-bit support completely at one point because maintaining both would be too much work, I like to keep things simple and move quickly forward.

I think in the NVEncC is a bug. Quality Mode is off, but in the code fails --cbr %video_bitrate%

Are you sure the default isn't some sort of quality mode?

Is there a setting that allows Staxrip to continue to the next job in the batch queue if there is an error window that pops up during the encode?

Is there a silent mode that would dismiss dialogs like this and allow it to continue automatically to the next in line?

Otherwise, I must manually dismiss the dialog, go to my jobs, disable the problem file, continue the batching process by clicking the Start button, while saving problematic files for later.

There ain't but I think implementing it would be easy because the message box most typically seen here is always invoked from the same place. What I don't know is how it should look like and behave and everybody is welcome to make suggestions here. A countdown making the message box disappear after a while would also be easy to implement since StaxRip already uses all kind of features of the TaskDialog introduced with Vista.

Patman
13th March 2015, 20:46
Did it demux avc as elementary stream? I think ffms2 can't load elementary streams properly.

Only audio stream was demuxed. The source filter was changed to directshow and directshow works very well. I confirm with you that ffms2 can't load elementary streams properly.

Also, in the latest beta the eac3to succes sound is enabled by default. How can I disable it?
EDIT: renamed the .wav so it doesn't get triggered.

You can customize your audio profile for eac3to. There is the possibility to set a custom switch. Type -silence in these field and you won't hear any success sound.

There ain't but I think implementing it would be easy because the message box most typically seen here is always invoked from the same place. What I don't know is how it should look like and behave and everybody is welcome to make suggestions here. A countdown making the message box disappear after a while would also be easy to implement since StaxRip already uses all kind of features of the TaskDialog introduced with Vista.

A countdown to close the massage box is a good idea. I think 30 sec is enough and it counts down in a button. With a button you have the chance to close the box earlier. The look of the message box should be simple with an short message. For example "An Error has occurred, please check the Log File in Temp Directory" or so.

Sandra
13th March 2015, 21:21
Thx a Million for the latest Staxrip Version.

I noticed that i cannot setup Audio output to 320 Kbit AAC or MP3 anymore. Same with 192 Kbit VBR. Older Version do have a 320 Kbit output when i setup Quality to "1".
Doesnt matters which encoder i choose. Result is always 350 Kbit now. And i see no way to manually set it to 320 or 192 Kbit.

I am using Windows 7 64 Bit

andre.0bermann
13th March 2015, 21:54
I have a new problem with Version 1.2.0.5

In this version x264 is r2538 and I have that problem:


------------------------------------------------------------
x264
------------------------------------------------------------

"D:\Video\StaxRip_1.2.0.5_beta\Applications\avs4x26x\avs4x26x.exe" --x26x-binary "D:\Video\StaxRip_1.2.0.5_beta\Applications\x264\x264 64-Bit 8-Bit.exe" --bitrate 1219 --output "C:\test temp files\test.h264" "C:\test temp files\test.avs"


------------------------------------------------------------
Error x264
------------------------------------------------------------

x264 failed with exit code -1073741819

raw [info]: 1920x1080p 0:0 @ 25/1 fps (cfr)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile High, level 4.0
x264 [info]: final ratefactor: 30.19

Start: 21:44:22
End: 21:44:22
Duration: 00:00:00


With the old version r2525 i have no problems.

Info:
Inputfile is a HD tv stream (ts) with h264 and ac3!

Any idea?

VelleX
13th March 2015, 23:52
I can't reproduce it, maybe because of a recent change, you can try to reproduce it with a build from today

Seems its only on VobSubs, and i noticed that the MKV did not include the subs, they were already extracted in the same dir.
When i load the MKV File, StaxRip checks for forced subs with BDSup2Sub++ to extract them and then loads the VobSubs.

Schattenspieler
14th March 2015, 00:50
The developer of QSVEncC and NVEncC apparently hasn't built VCEEncC but only VCEEnc.

The last 'C' means CLI application where the non 'C' version means an aviutl plugin.

Thank you for clearing that up! Makes sense. And I somehow "fear" that AMD-HW is on the bad side, again - sadly. But I think the most relevant players should have at least the same playground: hardware accelerated encoding (CPU+GPU).

I'll have a look at As and see, if I can see any advantage using the GPU. (But I do not have the tools to compare the image quality properly.)
Edit: Is there really no CRF in "As"? Hmm…

NikosD
14th March 2015, 11:05
Edit: Is there really no CRF in "As"? Hmm…

To make you feel better, I haven't found CRF in HW encoders (Intel, Nvidia, AMD)
Someone could tell that ICQ mode of QuickSync looks like CRF, but I'm not so sure.
So, nothing to complain about AMD for that.

BTW, what VCE version is inside your AMD card ?

Could you post some numbers using A's for H.264 1080p -> 1080p transcoding, especially if it's VCE 2 or higher ?

Lupissimo
14th March 2015, 11:49
Does anybody know how to use 2-pass encoding with NVenc in Staxrip?

stax76
14th March 2015, 12:38
Only audio stream was demuxed. The source filter was changed to directshow and directshow works very well. I confirm with you that ffms2 can't load elementary streams properly.

Sync issues wouldn't surprise me so dsmux or DGDecNV is better.

A countdown to close the massage box is a good idea. I think 30 sec is enough and it counts down in a button. With a button you have the chance to close the box earlier. The look of the message box should be simple with an short message. For example "An Error has occurred, please check the Log File in Temp Directory" or so.

I made it two minutes, here is a dev build: https://www.dropbox.com/s/mqyl3029pn54l9o/StaxRip_dev.7z?dl=0

I noticed that i cannot setup Audio output to 320 Kbit AAC or MP3 anymore. Same with 192 Kbit VBR. Older Version do have a 320 Kbit output when i setup Quality to "1".
Doesnt matters which encoder i choose. Result is always 350 Kbit now. And i see no way to manually set it to 320 or 192 Kbit.

It don't look like a bug, maybe somebody can give you a tip if you post the command line and media info from the log file.

With the old version r2525 i have no problems.

Info:
Inputfile is a HD tv stream (ts) with h264 and ac3!

Any idea?

I ran some tests without having problems and didn't get any more problem reports, you have to try various things like replacing your x264 build and trying other sources in order to narrow down the issue.

Seems its only on VobSubs, and i noticed that the MKV did not include the subs, they were already extracted in the same dir.
When i load the MKV File, StaxRip checks for forced subs with BDSup2Sub++ to extract them and then loads the VobSubs.

found and fixed: https://www.dropbox.com/s/mqyl3029pn54l9o/StaxRip_dev.7z?dl=0

MikeTR
14th March 2015, 15:05
Just noticed with v1.2.0.5 that it is no longer possible to delete the source files from finished jobs while the batch is still running. Windows reports that the files are open in StaxRip. I can't remember if I tried with an earlier beta, but in v1.1.9.0 it was possible.

stax76
14th March 2015, 15:28
I have a tool called 'emco unlock it' showing the source file is locked, I believe it's because of the new caching mechanism for mediainfo, I should be able to fix it.

burfadel
14th March 2015, 15:31
https://www.dropbox.com/s/mqyl3029pn54l9o/StaxRip_dev.7z?dl=0

With this version, x264 stats show in the main Window, and at the end .NET Framework throws an exception. In the previous build, and all builds before that, it was fine.

I'm using x264 from Komisar, but that shouldn't matter since it is only an issue with this build :)

stax76
14th March 2015, 15:37
@MikeTR

Turns out it's not so easy finding what's causing the lock...

@burfadel

Please post a screeshot.

burfadel
14th March 2015, 16:00
It's only x264, qaac etc show in the status area as per usual.

Here is a normal screen (just did an example file):
http://oi58.tinypic.com/29kxd29.jpg

Here is the case just with the last dev build:
http://oi59.tinypic.com/2evt2j6.jpg

It's a different file, but the same thing occurs no matter the file or source.

It's using the 64-bit x264, so using avs4x26x.exe, but as I said, it hasn't been an issue before with Staxrip, and it works in the last few builds, just not that dev build!

Further info, settings (from a log):
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile High, level 3.1
x264 [info]: cabac=1 ref=9 deblock=1:0:0 analyse=0x3:0x133 me=umh subme=10 psy=1 fade_compensate=0.20 psy_rd=1.00:0.20 mixed_ref=1 me_range=24 chroma_me=1 trellis=2 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-3 threads=6 lookahead_threads=1 sliced_threads=0 nr=600 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 fgo=0 bframes=8 b_pyramid=2 b_adapt=2 b_bias=0 direct=3 weightb=1 open_gop=1 weightp=2 keyint=600 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=150 rc=crf mbtree=1 crf=20.0000 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=3:1.00


On Windows 10 TP 9926.

stax76
14th March 2015, 16:14
There was some improvements causing the issue, StaxRip checks if the output is only progress, if it's only progress StaxRip don't write it to the log file or log window, in your case StaxRip isn't detecting it as progress because your build's progress looks different then the build that is included, it checks for ' kb/s, eta ', I can add another string, are there tabs or spaces in your progress strings?

burfadel
14th March 2015, 22:58
Here's the first five seconds of an encode from the log:

raw [info]: 864x480p 0:0 @ 24000/1001 fps (cfr)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile High, level 3.1
x264 [info]: cabac=1 ref=9 deblock=1:0:0 analyse=0x3:0x133 me=umh subme=10 psy=1 fade_compensate=0.20 psy_rd=1.00:0.20 mixed_ref=1 me_range=24 chroma_me=1 trellis=2 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-3 threads=6 lookahead_threads=1 sliced_threads=0 nr=600 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 fgo=0 bframes=8 b_pyramid=2 b_adapt=2 b_bias=0 direct=3 weightb=1 open_gop=1 weightp=2 keyint=600 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=150 rc=crf mbtree=1 crf=20.0000 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=3:1.00
frames fps kb/s elapsed remain size est.size
[ 0.0%] 1/61326 0.35 10786.91 0:00:02 48:33:57 54.92 KB 3289.08 MB
[ 0.0%] 10/61326 3.21 2436.98 0:00:03 5:18:07 124.08 KB 743.07 MB
[ 0.0%] 23/61326 6.70 1572.31 0:00:03 2:32:30 184.12 KB 479.42 MB
[ 0.1%] 38/61326 9.93 1056.55 0:00:03 1:42:52 204.41 KB 322.16 MB
[ 0.1%] 45/61326 11.02 1000.02 0:00:04 1:32:40 229.11 KB 304.92 MB
[ 0.1%] 55/61326 12.56 959.34 0:00:04 1:21:19 268.64 KB 292.52 MB
[ 0.1%] 66/61326 14.25 1044.93 0:00:04 1:11:40 351.13 KB 318.61 MB
[ 0.1%] 72/61326 14.74 1052.29 0:00:04 1:09:15 385.75 KB 320.86 MB
[ 0.1%] 80/61326 15.55 1015.58 0:00:05 1:05:39 413.65 KB 309.67 MB
[ 0.1%] 87/61326 15.72 1036.56 0:00:05 1:04:56 459.14 KB 316.06 MB
[ 0.2%] 93/61326 15.72 1111.06 0:00:05 1:04:55 526.08 KB 338.78 MB

I'm guessing the new method is looking for the whole string, and because it is different it isn't detected? If so, I guess:
frames fps kb/s elapsed remain size est.size
is what you meant :).

Thanks!

Patman
15th March 2015, 08:49
Just noticed with v1.2.0.5 that it is no longer possible to delete the source files from finished jobs while the batch is still running. Windows reports that the files are open in StaxRip. I can't remember if I tried with an earlier beta, but in v1.1.9.0 it was possible.

I confirm with you mike. Since version 1.2.0.5 it's not longer possible to delete files even though the job is finished.

@burfadel
@stax

I've the same issue that .net framework causing an error. In next window is shown that staxrip has crashed and ffms2 is the reason for that.

http://s3.postimg.org/n5kq2m3xr/Error.jpg (http://postimg.org/image/n5kq2m3xr/)

TalasNetrag
15th March 2015, 10:51
With v1.2.0.5 the mp4 container doesn't work at all. Everytime I try to encode to mp4, this error message pops up.
Something unexpected happened

Error Mux AAC to M4A

Mux AAC to M4A failed with exit code -1073741515



StaxRip.ErrorAbortException: Error Mux AAC to M4A

Mux AAC to M4A failed with exit code -1073741515


bei StaxRip.Proc.Start() in C:\Daten\Projekte\VS\VB\StaxRip\General\Proc.vb:Zeile 264.
bei StaxRip.Audio.DemuxMKV(String sourcefile, AudioStream stream, AudioProfile ap) in C:\Daten\Projekte\VS\VB\StaxRip\General\Audio.vb:Zeile 162.
bei StaxRip.Audio.Process(AudioProfile ap) in C:\Daten\Projekte\VS\VB\StaxRip\General\Audio.vb:Zeile 33.
bei StaxRip.MainForm.Encode() in C:\Daten\Projekte\VS\VB\StaxRip\Forms\MainForm.vb:Zeile 2261.
bei StaxRip.MainForm.RunJobRecursive() in C:\Daten\Projekte\VS\VB\StaxRip\Forms\MainForm.vb:Zeile 3604.

MikeTR
15th March 2015, 12:32
With v1.2.0.5 the mp4 container doesn't work at all. Everytime I try to encode to mp4, this error message pops up.
Probably an MP4Box issue. Replacing the MP4Box folder with a previous version should fix it. AFAIK the current exe requires at least libgpac.dll, js.dll, ssleay32.dll and libeay32.dll to be present. Previously it was only libgpac.dll.

stax76
15th March 2015, 12:35
@Patman

I tried hard to find the file lock ensuring StaxRip cleaning up all resources properly, it looks like it happens only or mostly when dsmux is used because then the actual source file is in the temp files directory.

I think it's ffms2 not releasing the file handle! I already reported it in the ffms2 thread.

I've not seen such a exception, how do you know it was caused by ffms2?

Here is a new build that I've tested quite a lot: https://www.dropbox.com/s/m612vwdkxrgbvdc/StaxRip_2015.03.15.7z?dl=0

@TalasNetrag

Maybe the new MP4Box build is bad, please try to replace it with the one from the release before and tell us if it helps.

Patman
15th March 2015, 13:49
@Patman

I tried hard to find the file lock ensuring StaxRip cleaning up all resources properly, it looks like it happens only or mostly when dsmux is used because then the actual source file is in the temp files directory.

I think it's ffms2 not releasing the file handle! I already reported it in the ffms2 thread.

I've not seen such a exception, how do you know it was caused by ffms2?

I correct my statement ;)
After the crash which was caused by .net framework, the messagebox with the crashed ffms2.dll is a result of that.

And the crash causing by .net framework happens sporadically. I'll test your new build and give a feedback ;)

fumoffu
15th March 2015, 14:27
The last 2-3 builds very often detect the wrong fps value.
Many files are detected as 25fps while they are 29,97fps (yes I'm sure, I even tried encoding and as expected audio ends up out of sync).
In the old builds I used AssumeFPS to fix that (added from Misc in Filters) but now 1. there is no such option, 2. I tried adding it but it doesn't seem to work
What is the correct way to change fps now?
Any idea why it autodetection is wrong so often? (I test mainly on wmv and mp4 files)

burfadel
15th March 2015, 14:27
Here is a new build that I've tested quite a lot: https://www.dropbox.com/s/m612vwdkxrgbvdc/StaxRip_2015.03.15.7z?dl=0

Thanks! Output now shows correctly. Actually it still shows:
frames fps kb/s elapsed remain size est.size
in the status window, but that isn't necessarily a bad thing :)

TalasNetrag
15th March 2015, 15:48
@MikeTR
@stax76

I copied the mentioned dll's from the previous version and now it works.

Is it possible to mux the video stream from a mkv to a mp4 file? If I open a mkv file with StaxRip, set the Encoder to "Just Mux" and the container as mp4, it says that the encoder outputs 'mkv' and 'MP4' doesn't support that format.

stax76
15th March 2015, 16:42
The last 2-3 builds very often detect the wrong fps value.
Many files are detected as 25fps while they are 29,97fps (yes I'm sure, I even tried encoding and as expected audio ends up out of sync).

Wrong detection happens often though I've not seen NTSC detected as PAL

In the old builds I used AssumeFPS to fix that (added from Misc in Filters) but now 1. there is no such option, 2. I tried adding it but it doesn't seem to work
What is the correct way to change fps now?

You double-click the source filter and enter AssumeFPS there, the fps value in the main dialog gets updated after the change, the new info feature in the preview of the latest build shows also fps.

There are some sources where AssumeFPS fails but need something like this:

FFVideoSource("%source_file%", cachefile = "%working_dir%%source_name%.ffindex", fpsnum = 25, fpsden = 1)

Some info is here: http://avisynth.org.ru/docs/english/corefilters/fps.htm

Any idea why it autodetection is wrong so often? (I test mainly on wmv and mp4 files)

ffms2 (FFVideoSource) gets it wrong very often, other ffmpeg based source filters too, neuron2's source filters have much better fps and field processing detection. Because of this StaxRip reads the fps with MediaInfo and adds it to FFVideoSource, best place to fix it would be ffms2 I guess, I don't know if I can do anything else.

Feel free to post a sample clip.

Is it possible to mux the video stream from a mkv to a mp4 file? If I open a mkv file with StaxRip, set the Encoder to "Just Mux" and the container as mp4, it says that the encoder outputs 'mkv' and 'MP4' doesn't support that format.

With mkv muxer it's not a problem because mkvmerge supports almost everything. If mp4box could read mkv directly (can it?) then I might be able to enable it easily, extracting the video stream would be work and I don't like to work with mp4box, I never had a good experience working with mp4box.

fumoffu
15th March 2015, 17:32
Thx for quick answer Stax!
I updated to the build you put on dropbox and updated system codecs.
It seems now FFVideoSource detects ok, just the DirectShowSource which is default on some sources usually says 25fps...

bonus question: lets say someone has a 25fps mkv file (10bit-h264/opus) that should have been 29,97fps ;)
Any way to just remux it correctly? (audio is not a problem)
The funny thing is, if I load this file now FFVideoSource recognizes the files as 29,97fps (MediaInfo says 25fps + its out of sync) so good start but selecting "just mux" doesn't fix it - it still has wrong length and is not in sync

stax76
15th March 2015, 17:49
I updated to the build you put on dropbox and updated system codecs.

Only thing you need is Haali splitter and LAV Filters (Haali installed before LAV Filters), most important tools are Codec Tweak Tool and GraphStudio.

bonus question: lets say someone has a 25fps mkv file (10bit-h264/opus) that should have been 29,97fps
Any way to just remux it correctly? (audio is not a problem)

You mean mux to mp4? There is a tool called MkvToMp4, if it can't change the framerate then you could first create a proper mkv file, mkvtoolnix has a GUI included allowing you to remux anything to mkv allowing to change all kinds of parameters.

In StaxRip you can check audio sync before muxing with the play feature of the filters menu.

fumoffu
15th March 2015, 18:10
You mean mux to mp4? There is a tool called MkvToMp4, if it can't change the framerate then you could first create a proper mkv file, mkvtoolnix has a GUI included allowing you to remux anything to mkv allowing to change all kinds of parameters.

I was asking about mkv - I didn't know about mkvtoolnix and it's cool GUI ;) Works great - thx.

burfadel
15th March 2015, 19:00
I've just encoded (and still am) some stuff over the last 4.5 hours using batch encode. The 15 March 2015 build is running great! There doesn't seem to be any issues :).

Patman
15th March 2015, 20:33
I've tested your latest build of staxrip and it makes a solid impression but the issue with .net framework is still there.

Here are two screens and the log of the ffms massage box

http://s23.postimg.org/s0jlkkonb/Error_1.jpg (http://postimg.org/image/s0jlkkonb/)

http://s22.postimg.org/s6f0fqqnh/Error_2.jpg (http://postimg.org/image/s6f0fqqnh/)

Problemsignatur:
Problemereignisname: APPCRASH
Anwendungsname: StaxRip.exe
Anwendungsversion: 1.2.0.6
Anwendungszeitstempel: 55056c6e
Fehlermodulname: ffms2.dll
Fehlermodulversion: 2.21.0.0
Fehlermodulzeitstempel: 000020a8
Ausnahmecode: 40000015
Ausnahmeoffset: 00764098
Betriebsystemversion: 6.3.9600.2.0.0.256.48
Gebietsschema-ID: 1031
Zusatzinformation 1: 7ad6
Zusatzinformation 2: 7ad675bbdebe187196c6e12eb783c0b2
Zusatzinformation 3: c2b4
Zusatzinformation 4: c2b4996a1c3396fc18397e1e8252ad01

stax76
15th March 2015, 20:50
Is it sporadic or source specific?

Patman
15th March 2015, 21:00
Is it sporadic or source specific?

It's sporadic. The File type is every time the same and after a restart of Staxrip everything works well for a while.

stax76
15th March 2015, 21:08
Without stack trace and not happening on my system this could be very difficult to solve. :(

Patman
15th March 2015, 22:41
Logfile

Beim Aufruf einer COM-Komponente wurde ein HRESULTE E_FAIL-Fehler zurückgegeben.


Informationen über das Aufrufen von JIT-Debuggen
anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.

************** Ausnahmetext **************
System.Runtime.InteropServices.COMException (0x80004005): Beim Aufruf einer COM-Komponente wurde ein HRESULT E_FAIL-Fehler zurückgegeben.
bei System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
bei System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
bei StaxRip.TaskDialog`1.Show() in C:\Daten\Projekte\VS\VB\StaxRip\UI\TaskDialog.vb:Zeile 308.
bei StaxRip.MainModule.MsgError(String text, String content) in C:\Daten\Projekte\VS\VB\StaxRip\General\General.vb:Zeile 1425.
bei StaxRip.GlobalClass.ShellExecute(String cmd, String args) in C:\Daten\Projekte\VS\VB\StaxRip\General\Misc.vb:Zeile 748.
bei StaxRip.ProcessForm.bnDonations_Click(Object sender, EventArgs e) in C:\Daten\Projekte\VS\VB\StaxRip\Forms\ProcessForm.vb:Zeile 504.
bei System.Windows.Forms.Control.OnClick(EventArgs e)
bei System.Windows.Forms.Button.OnClick(EventArgs e)
bei System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.ButtonBase.WndProc(Message& m)
bei System.Windows.Forms.Button.WndProc(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Geladene Assemblys **************
mscorlib
Assembly-Version: 4.0.0.0.
Win32-Version: .
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll.
----------------------------------------
StaxRip
Assembly-Version: 1.2.0.6.
Win32-Version: 1.2.0.6.
CodeBase: file:///F:/VideoProgz/StaxRip_1.2.0.x_beta/StaxRip.exe.
----------------------------------------
System.Windows.Forms
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.34209 built by: FX452RTMGDR.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.
----------------------------------------
System.Drawing
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.34209 built by: FX452RTMGDR.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
----------------------------------------
System
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.34239 built by: FX452RTMGDR.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll.
----------------------------------------
Microsoft.VisualBasic
Assembly-Version: 10.0.0.0.
Win32-Version: 12.0.20806.33440 built by: FX45W81RTMREL.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll.
----------------------------------------
System.Core
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.34209 built by: FX452RTMGDR.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll.
----------------------------------------
System.Configuration
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.34209 built by: FX452RTMGDR.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll.
----------------------------------------
System.Xml
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.34230 built by: FX452RTMGDR.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll.
----------------------------------------
mscorlib.resources
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.34209 built by: FX452RTMGDR.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_de_b77a5c561934e089/mscorlib.resources.dll.
----------------------------------------
System.resources
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.34209 built by: FX452RTMGDR.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.resources/v4.0_4.0.0.0_de_b77a5c561934e089/System.resources.dll.
----------------------------------------
System.Windows.Forms.resources
Assembly-Version: 4.0.0.0.
Win32-Version: 4.0.30319.34209 built by: FX452RTMGDR.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
----------------------------------------

************** JIT-Debuggen **************
Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der
Konfigurationsdatei der Anwendung oder des Computers
(machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden.
Die Anwendung muss mit aktiviertem Debuggen kompiliert werden.

Zum Beispiel:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

Wenn das JIT-Debuggen aktiviert ist, werden alle Ausnahmefehler an den JIT-Debugger gesendet, der auf dem
Computer registriert ist, und nicht in diesem Dialogfeld behandelt.

burfadel
15th March 2015, 23:45
I've tested your latest build of staxrip and it makes a solid impression but the issue with .net framework is still there.

Here are two screens and the log of the ffms massage box

http://s23.postimg.org/s0jlkkonb/Error_1.jpg (http://postimg.org/image/s0jlkkonb/)

http://s22.postimg.org/s6f0fqqnh/Error_2.jpg (http://postimg.org/image/s6f0fqqnh/)

Try running Easy NGEN runner.

Extract (using winrar or 7-zip) the file downloaded from here:
https://db.tt/v9SzgNlk

and use option 2. Even if it doesn't help, it probably needs running anyway :). You need to run in from an elevated command prompt, which can be done by right clicking on it and selecting 'Run As Administrator'.

Vulpix
16th March 2015, 00:32
The last 2-3 builds very often detect the wrong fps value.
Many files are detected as 25fps while they are 29,97fps (yes I'm sure, I even tried encoding and as expected audio ends up out of sync).
In the old builds I used AssumeFPS to fix that (added from Misc in Filters) but now 1. there is no such option, 2. I tried adding it but it doesn't seem to work
What is the correct way to change fps now?
Any idea why it autodetection is wrong so often? (I test mainly on wmv and mp4 files)

I've actually had the same issue myself - all the files were being detected as 25FPS too. It's still happening. I wonder why? I actually still have the 1.1.9.0 staxrip here and it works just fine. I tried replacing the mediainfo from the new one with the old one but it didn't work.

Besides, when I look at the staxrip log, I can see that the video is - easily - detected with the correct framerate:

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 2 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 2h 24mn
Bit rate mode : Variable
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Title : MPEG-4 AVC Video 21965 kbps 1080p 23.976 fps 16.9 High Profile 4.1
Language : English
Default : Yes
Forced : No
DURATION : 02:24:28.076000000
NUMBER_OF_FRAMES : 207826
NUMBER_OF_BYTES : 23799437434
_STATISTICS_WRITING_APP : mkvmerge v7.7.0 ('Six Voices') 64bit built on Feb 28 2015 23:39:33


So why isn't this framerate used within StaxRip? I tried toying around with the variables but all of them are giving me 25.000 fps. In fact, when you start staxrip with an EMPTY template (I mean the default one), and when you select "FFVideoSource", then if you then doubleclick it and go to "preview" it already shows 25.000 fps, even though there are no files loaded.

clickie for a screenie (http://imgur.com/1ErnzXV)

What gives?

@stax76 - I've been using StaxRip since forever mid-2006 I think. Many, many years. I was a little sad when I saw that h265 started becoming a thing and my (pretty much only) favourite tool was still years old. So I went to the project page and BAM, you boss! It's updated! x265 support and everything! You're the best, keep it up! Staxrip rules!

IbrahimKh
16th March 2015, 02:48
how yo enable auto demuxing like old staxrip?
i mean auto audio demux before indexing.

Betsy25
16th March 2015, 03:27
@stax,
I remember before your time off, StaxRip did some very intelligent things by itself, for example thoroughly testing if a source needs to be deinterlaced. Now, I see none of that, I only can check the checkbox next to "Field", but that doesn't seem to do anything besides injecting a blank "Yadif()" line inside the .avs of all encodes, no matter if interlaced or not ?

Where have all these clever functions gone ?????

I might have forgotten how to all properly do it, since using MeGUI as main application, but I suspect, StaxRip no longer properly checks the source if specific actions should be taken, or did I really forgot how to properly set it up ? I've digged through the multiple ways of trying to configure it, but don't find anything regarding any analyzing options during the input stage.

DocSavage
16th March 2015, 08:08
Hi Stax,

I have been trying to solve this problem for awhile and whilst some info on here has been useful, there's not been a definitive answer - unless I missed it :(

My question is -
Using StaxRip can I re-encode an MKV file to MPEG-4 Visual with a Format Profile of Advanced Simple@L5 (BVOP=2, QPEL=0) and a Matrix Default of H263 within an AVI container?

Could I get some simple instructions on how to do this i.e. filter, encoder settings etc.?

Hi, for easy transport on my media player I use AVC to encode my episodic TV series blu-rays down to a 1280x720 MKV. However been tooling around with StaxRip in the hopes of redoing these as good quality 640x360 MP4 (AVI) so my dad can see them on his older Archos player. Now using StaxRip to try and do this more efficiently, the result is always too blocky (artefacts) no matter the bitrate - see mediainfo below
Video
File size :185 MiB
Format : MPEG-4 Visual
Format profile : Simple@L1
Format settings, Matrix : Default (H.263)
Codec ID : FMP4
Duration : 20mn 55s
Bit rate : 1 096 Kbps
Width : 640 pixels
Height : 360 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.198
Stream size : 164 MiB (89%)
Writing library : Lavc56.14.100
So my questions are -
Would a change of the format profile from Simple@L1 to L5 yield any improvements and how can I do this?
Format settings are at H.263 would H.264 not be better, and how can I change this?
What would the best filter be to use, when downscaling 1280x720 MKV to a 640x360 AVI, whilst keeping filesize about the same?
Any advice or pointers would be useful. :thanks:

Patman
16th March 2015, 20:21
how yo enable auto demuxing like old staxrip?
i mean auto audio demux before indexing.

hi,

for mkv files go to settings/demux and select mkvextract. Select the edit button and mark demux audio. That's it!

stax76
16th March 2015, 20:39
@Patman

I noticed ffms2 leaking memory, you can see it easily seeking around in the preview. I'll revert to 2.20, maybe this was causing your crashes.

@Betsy25

I don't remember if there was a auto detection for field processing, I have doubt in such a feature like it takes time to process and I think it's best performed manually, for the same reason auto crop was disabled by default.

My question is -
Using StaxRip can I re-encode an MKV file to MPEG-4 Visual with a Format Profile of Advanced Simple@L5 (BVOP=2, QPEL=0) and a Matrix Default of H263 within an AVI container?

Could I get some simple instructions on how to do this i.e. filter, encoder settings etc.?

ASP with ffmpeg is flawed so you would integrate xvid encraw. StaxRip allows you to integrate any video or audio CLI encoder, even a CLI muxer, example CLI profiles are included. I suggest you to try it, when you get stuck hopefully somebody will help.

dinolazer
16th March 2015, 20:39
I was getting an error about missing frames and "Insanity Detected" from FFVideoSource in the auto-generated AviSynth scripts that caused crashes to occur somewhat often. I did not have any issue before I installed the 64-bit version Windows 7. I had used 32-bit Windows 7 before then.

I was able to bypass the error by using other functions to load the file and get a properly encoded and muxed file. However, the output file had sound that would slowly get out of sync.

Research kept leading me to this on the FFMS page:
https://code.google.com/p/ffmpegsource/issues/detail?id=74

Setting threads to 1 fixed the problem with my encode. I am not sure what other issues were address in 2.18; however, those with frames missing, "Insanity Detected" errors need to upgrade their version of ffms2 plugin in the AviSynth plugins folder for StaxRip. Don't use the 64bit version of the plugin as there are errors with Virtual Dub (I think it was VDM the threads mentioned) that crash the encode.

To StaxRip author: I know the 2.18 is a release candidate and not a stable release; however, I am not the only 64-bit user who has this crash. Including this version might prevent head banging frustration.

Patman
16th March 2015, 20:55
@Patman

I noticed ffms2 leaking memory, you can see it easily seeking around in the preview. I'll revert to 2.20, maybe this was causing your crashes.



I have checked my system and reinstalled some apps. Now i test your latest build and see what happens ;)

Lupissimo
16th March 2015, 21:54
When reencoding an x264.mkv file including cutting and transcoding a dts mono audio into ac3 mono 96k I get errors and no ac3 file is created. The logfile is attached.

stax76
16th March 2015, 22:25
New release. :)

1.2.1.0 (2015-03-16)


Added macros %media_info_video:<property>% and %media_info_audio:<property>%
Added options in preview to copy the time of the current position, to save the current frame as JPG and replaced the Info feature with a better looking one
Added timeout of 2 minutes to most common shown error dialog so job processing continues
Fixed AAC output failure
Fixed assistant complaing about subtitle cutting being not supported even when muxing is disabled
Fixed command line based encoders not working with certain paths and characters
Fixed default audio language being German instead of local, this is saved in projects and templates and not in audio profiles
Fixed MP4Box failing to demux in case the output already exists from a previous job run for instance
Fixed MP4Box leaving temp files in system temp directory
Fixed MP4Box failing due to missing libraries
Fixed play feature not working in filters menu and subtitle menu due to missing YV12 decoder, the solution is the same as for preview and cropping window converting to RGB
Fixed play feature of the filters menu audio not working with cutting
Fixed qaac not accepting FLAC due to missing libflac
Fixed temp files directory being deleted even if it contains more jobs to encode
Fixed wrong text encoding in log file and log window
Improved eac3to error handling
Improved Log text and window showing more infos with better formatted text, the windows uses word wrap
Updated MP4Box to 0.5.2-DEV-rev107
Updated NVEncC to 1.04
Updated L-SMASH-Works to r784
Updated x265 to 1.5+258
Reverted ffms2 back to 2.20 due to memory leak


http://sourceforge.net/projects/staxmedia/files/latest/download

http://1drv.ms/1BNAh1u

Lynx_TWO
16th March 2015, 23:32
Awesome Stax, thanks for the quick updates! I remember back in the day I used to have to manually update x264 since releases were like 4 months apart :D

klf
17th March 2015, 00:03
Hello,
There is a problem in recognizing fps. With different source filters, the framerate remains at 25 while it can be 23.976, 24 or other. Could you explain me?
Thank you

stax76
17th March 2015, 00:39
@Lupissimo

best post the log to paste bin, I tried what you described and here it worked: http://pastebin.com/CqfMd7w4

@klf

Hi and welcome, please upload a sample and send the link per private message.

Patman
17th March 2015, 02:00
I've tested your staxrip version with included ffms2 c-plugin 5 hours and i've encoded a lot of files (10) during this time. I had no problems anymore after the check of my system. I've tried to reproduce the memory leak of the ffm2 c-plugin but without results. The usage of memory grows up to 1,5 GB but this is shown in some posts in the thread (https://german.doom9.org/showthread.php?p=1693724#post1693724) of ffms2 c-plugin development. I think the c-plugin can be included in further versions. I'll test your 1.2.1.0 build these evening. Thanks Stax great job!!!

stax76
17th March 2015, 02:07
I made extensive tests regarding the leak, trust me it's there! Try seeking with 2-3 different sources within the same process.

Patman
17th March 2015, 06:12
I made extensive tests regarding the leak, trust me it's there! Try seeking with 2-3 different sources within the same process.

You're right stax. 20 minutes after my post staxrip stopped working but 1,5GB of memory was in usage. The whole app was hanging and nothing happened.

cegy
17th March 2015, 11:36
New release. :)

1.2.1.0 (2015-03-16)


Added macros %media_info_video:<property>% and %media_info_audio:<property>%
Added options in preview to copy the time of the current position, to save the current frame as JPG and replaced the Info feature with a better looking one
Added timeout of 2 minutes to most common shown error dialog so job processing continues
Fixed AAC output failure
Fixed assistant complaing about subtitle cutting being not supported even when muxing is disabled
Fixed command line based encoders not working with certain paths and characters
Fixed default audio language being German instead of local, this is saved in projects and templates and not in audio profiles
Fixed MP4Box failing to demux in case the output already exists from a previous job run for instance
Fixed MP4Box leaving temp files in system temp directory
Fixed MP4Box failing due to missing libraries
Fixed play feature not working in filters menu and subtitle menu due to missing YV12 decoder, the solution is the same as for preview and cropping window converting to RGB
Fixed play feature of the filters menu audio not working with cutting
Fixed qaac not accepting FLAC due to missing libflac
Fixed temp files directory being deleted even if it contains more jobs to encode
Fixed wrong text encoding in log file and log window
Improved eac3to error handling
Improved Log text and window showing more infos with better formatted text, the windows uses word wrap
Updated MP4Box to 0.5.2-DEV-rev107
Updated NVEncC to 1.04
Updated L-SMASH-Works to r784
Updated x265 to 1.5+258
Reverted ffms2 back to 2.20 due to memory leak


http://sourceforge.net/projects/staxmedia/files/latest/download

http://1drv.ms/1BNAh1u

it seems there's still a few bugs which i've told you about and i don't think they was fully fixed or there broken...? :eek:
it seems we are back to blind guessing the file name of what is loaded also it's kicking up a fuss about a .aac file for the mp4 container :(
no idea why that is
http://i.imgur.com/tsyDvFq.png

both of which was pointed out about file naming/container issue here (http://forum.doom9.org/showthread.php?p=1707827#post1707827) and also a page afterwards
p.s. all this works as it should in 1.1.8.0
http://i.imgur.com/aB1Kwyi.png

stax76
17th March 2015, 12:55
@cegy

I reacted on all your request, aac was requested for mkv: http://forum.doom9.org/showthread.php?p=1707803#post1707803

regarding audio filename, iirc the extension is always shown and the filename only if it's different from the video source, I consider to show it always, anybody else a opinion on this?

Patman
17th March 2015, 20:24
@cegy

I reacted on all your request, aac was requested for mkv: http://forum.doom9.org/showthread.php?p=1707803#post1707803

regarding audio filename, iirc the extension is always shown and the filename only if it's different from the video source, I consider to show it always, anybody else a opinion on this?

I've tested this and for me everything is fine! There is the possibility to show the mediainfo if you're right click in this field and the option to go to path. With an audio source that isn't equal with source of video the whole filename is shown in clips. For me it's okay.

@DocSavage

Do you want 2-pass encode or 1-pass encode? You want to use custom matrices?

Schattenspieler
18th March 2015, 00:30
…, anybody else a opinion on this?I like it just the way it is, because it seems logical to me.

Also I convert mostly DVB recordings, which tend to have a relatively long file name containing the name, date, time and programm. I would just end up with the display of a too long filename for the field, but not getting the necessary infos about the audio track itself.

Edit: @cegy: Why is there a question "what file do I have loaded?: S (http://forum.doom9.org/showthread.php?p=1713506#post1713506)"? To the right is indicated "Just Mux", so the answer is: the file you have loaded! Which in turn is indicated above in the "source" field.

stax76
18th March 2015, 17:03
@cegy

Here is a build with raw aac enable for mp4 output: http://www.dropbox.com/s/gakzmbfusiee8n2/StaxRip_2015.03.18.7z?dl=0

this build expects Haali setup located at: Applications\MatroskaSplitter.exe

Changelog:


Enabled raw AAC files input for MP4 container output
Added Haali Splitter, StaxRip asks only to install it if dsmux is enabled (Tools/Settings/Demux) or when MKV output is selected in the eac3to dialog, both is selected and enabled by default and I recommend to keep it so


@all

The delete temp files dir feature was broke because of a file lock of the c plugin version of ffms2 and since the last release is not using a c plugin build, the feature to delete the temp file works again, last release fixed a related bug as well: Fixed temp files directory being deleted even if it contains more jobs to encode (works only if the job file is located in the temp file dir)

Patman
18th March 2015, 20:40
Hi Stax,

I have been trying to solve this problem for awhile and whilst some info on here has been useful, there's not been a definitive answer - unless I missed it :(

My question is -
Using StaxRip can I re-encode an MKV file to MPEG-4 Visual with a Format Profile of Advanced Simple@L5 (BVOP=2, QPEL=0) and a Matrix Default of H263 within an AVI container?

Could I get some simple instructions on how to do this i.e. filter, encoder settings etc.?

Hi DocSavage,

i've tested the xvid encoder with staxrip. You have the possibility to set custom switches. Select Codec ASP or XviD and choose a mode. Typ this:

-vtag XVID -profile:v 15 -level 5 -bf 2

in the field and you got Advanced Simple@L5 (BVOP=2, QPEL=0) with default h263 within an avi container. I prefer to use the XviD codec because of the better results.

MACKerMD
18th March 2015, 21:02
@STAX :
I want to thank you for fixing the HE-AAC 'issue' that I had. It -does- now encode from .flac into he-aac using qaac.
I so appreciate it that it works now, I wanted to thank you for fixing it. (Not all comments here are about bugs) :)

JohnLai
19th March 2015, 14:58
After reading page 240 and 241, configuring lavfilter directshow as preferred etc......is there any way to use DXVA (native) for decoding purpose?
I know DXVA (copyback) works, but it is still too slow. Using DXVA (native) resulted in software decoding as mentioned by NikoD.

Can't use Quicksync decoding either, because I am transcoding from 4K HEVC to normal 1080p HEVC (using rigaya NVEncC).
Currently using GTX 960.

Patman
19th March 2015, 19:44
Hi Stax,

your latest staxrip build is fantastic. For me it works as it should.
I found out that the avi file contains "packed bitstream" when you use XviD profile for video encode with setting: XviD codec, custom switch -bf 2.
I have a question: Is it possible to integrate an app or something else that unpack "packed bitstream" in avi files? For example mpeg4 modifier cl (http://forum.doom9.org/showthread.php?t=117553) or unpackmp4 avi. Packed bitstream caused some problems with older video players.

fantasmanegro
19th March 2015, 20:34
Hi Stax,

your latest staxrip build is fantastic. For me it works as it should.
I found out that the avi file contains "packed bitstream" when you use XviD profile for video encode with setting: XviD codec, custom switch -bf 2.
I have a question: Is it possible to integrate an app or something else that unpack "packed bitstream" in avi files? For example mpeg4 modifier cl or unpackmp4 avi. Packed bitstream caused some problems with older video players.

as far as i remember... you can uncheck "packed bitstream"... in xvid settings... or as you comment, not using XviD Profiles...

the app you're asking for is "mpeg4modifier"...google for it...

stax76
19th March 2015, 21:09
I have a question: Is it possible to integrate an app or something else that unpack "packed bitstream" in avi files? For example mpeg4 modifier cl or unpackmp4 avi. Packed bitstream caused some problems with older video players.

Are you sure it can't be done with ffmpeg?

After reading page 240 and 241, configuring lavfilter directshow as preferred etc......is there any way to use DXVA (native) for decoding purpose?
I know DXVA (copyback) works, but it is still too slow. Using DXVA (native) resulted in software decoding as mentioned by NikoD.

If you want to know exact you have to ask in the LAV Filters thread.

Can't use Quicksync decoding either, because I am transcoding from 4K HEVC to normal 1080p HEVC (using rigaya NVEncC).
Currently using GTX 960.

I measured 4K HEVC decoding with GTX 960 using avsmeter (http://forum.doom9.org/showthread.php?t=165528), cuvid gave 142 fps, DXVA copy back 106 fps

@STAX :
I want to thank you for fixing the HE-AAC 'issue' that I had. It -does- now encode from .flac into he-aac using qaac.
I so appreciate it that it works now, I wanted to thank you for fixing it. (Not all comments here are about bugs) :)

You are welcome!

@all

There was indeed a critical fps issue which took me a while to realize.

1.2.2.0


Enabled raw AAC files input for MP4 container output
Fixed framerate being falsely detected as 25 in certain countries
Added Haali Splitter, StaxRip asks only to install it if dsmux is enabled (Tools/Settings/Demux) or when MKV output is selected in the eac3to dialog, both is selected and enabled by default and I recommend to keep it so


http://sourceforge.net/projects/staxmedia/files/StaxRip_1.2.2.0.7z/download

http://1drv.ms/1Cy0YrJ

Patman
19th March 2015, 21:11
as far as i remember... you can uncheck "packed bitstream"... in xvid settings... or as you comment, not using XviD Profiles...

the app you're asking for is "mpeg4modifier"...google for it...

hello,

in staxrip 1.1.9.0 was the option the uncheck "packed bitstream". In the new staxrip ffmpeg is used to encode to avi file. There are no seperat xvid settings inside. You have the chance to select 1 of 4 different codec libaries and the option to select 1 of 3 modes to encode. All other parameters will entered by custom switches.

I know the app and it's a gui. These two apps that i've named are non gui. I asked for these apps to have a clear avi file after one process.

Patman
19th March 2015, 21:14
Are you sure it can't be done with ffmpeg?

I have searched some days to find a solution but nothing so far. If you know any command please tell us ;)

:thanks: for new release!!!:D

stax76
19th March 2015, 21:35
@Patman

I didn't found anything either, you could make a profile with xvid encraw, the only thing that keeps me away bundling it is the size but then it's only 700 kb. I have always to think about the size because of the download and hd space, ProjectX and VirtualDubMod are candidates to remove, both are disabled by default.

JohnLai
20th March 2015, 03:42
I measured 4K HEVC decoding with GTX 960 using avsmeter (http://forum.doom9.org/showthread.php?t=165528), cuvid gave 142 fps, DXVA copy back 106 fps



So....judging from it, there is no chance of getting DXVA (Native) working? T_T

Guess I stick with copyback. I got some 4K HEVC files that doesn't play nicely with cuvid >.< (it defaults back to pure software decoding).

EDIT:
Second question, I noticed one of CPU core is maxed while the rest is idling when "Resize" filter being used to downscale. Is the resize filter still using CPU instead of GPU shaders?

2nd EDIT:
If I don't resize, DXVA(copyback) mode, convert from 1080p (H264) to 1080p (HEVC) produces 200fps.
If I resize, DXVA(copyback) mode, convert from 1080p (H264) to 720p (HEVC) produces 150fps. (Bicubic neutral)

Sandra
20th March 2015, 20:18
It don't look like a bug, maybe somebody can give you a tip if you post the command line and media info from the log file.





Hi , i meant the Audio Setup.

I made Screenshots comparing the previous Official StaxRip Final Version. Usually when having AAC in Setup when Quality was setup to 1, AAC Audio had a 320 Kbit VBR Rate . Now in new Versions this isnt possible anymore.
When Quality is Setup to 1 the Audio Bitrate is 350 Kbit in VBR
So I see no way to setup AAC Audio to VBR 320 KBIT anymore, even if i decrease Quality.

Previous Final

http://i62.tinypic.com/ej6dt.jpg


Latest Versions

http://i59.tinypic.com/2e1zixc.jpg




http://i58.tinypic.com/2co4mxj.jpg

fantasmanegro
20th March 2015, 21:04
hello,

in staxrip 1.1.9.0 was the option the uncheck "packed bitstream". In the new staxrip ffmpeg is used to encode to avi file. There are no seperat xvid settings inside. You have the chance to select 1 of 4 different codec libaries and the option to select 1 of 3 modes to encode. All other parameters will entered by custom switches.

I know the app and it's a gui. These two apps that i've named are non gui. I asked for these apps to have a clear avi file after one process.

ups!... sorry... my mistake...

i did not notice the ffmpeg change...

VelleX
21st March 2015, 02:58
@Sandra
I think it never was 320kbps VBR. Because its a constant Quality Setting, not a variable Bitrate Setting.
Just look here
http://wiki.hydrogenaud.io/index.php?title=Nero_AAC#Quality.2Fbitrate_control
http://wiki.hydrogenaud.io/index.php?title=LAME#Technical_information
or
https://trac.ffmpeg.org/wiki/Encode/MP3

And if the command is the same, like -quality 1.0, it does not matter what StaxRip shows. E.g. Besweet is the same 10 year old version like in older StaxRip versions.

I tested with a 2.0 AC3 Source, with -quality 1.0, and result was a 400kbps AAC.
With 0.95 i got about 384kbps, so its almost the same ass on the hydrogenaudio wiki page.

JohnLai
21st March 2015, 12:39
Seem like the resizer filter is using CPU. Is there any GPU based resizer? @stax76

stax76
21st March 2015, 13:40
Seem like the resizer filter is using CPU. Is there any GPU based resizer? @stax76

This runs with 550 fps in avsmeter:

DGSource("%source_file%", deinterlace = 0, resize_w = 1280, resize_h = 720)

JohnLai
21st March 2015, 13:49
This runs with 550 fps in avsmeter:

DGSource("%source_file%", deinterlace = 0, resize_w = 1280, resize_h = 720)

Eh? I thought DGSource belongs to DGDecodeNV that required payment in order to use it?


EDIT:
Anyway, aside from resizer.....

Anyone notice rigaya nvencc got weird behavior? Note: I got a old 1280x720 XVID files decoded purely by Lavfilter in software mode (aka no dxva) with staxrip audio set to 'no audio' to eliminate any bottleneck by CPU (Core I5-3570K 4.2ghz overclocked). Look at scenario below :

Scenario 1
If I encode to HEVC using nvencc from XVID 720p to HEVC 720p at single instance of nvencc, I got 182fps.

Scenario 2
Similar to scenario 1, using the same XVID 720P, but this time, I make another copy and rename the same XVID video to TEST1.AVI and TEST2.AVI. When I re-encode TEST1 and TEST2 simultaneous together to HEVC using nvencc, I got 301fps reported for each of the staxrip windows and it did finish much more faster.

Originally, I thought it to be caused by nvidia power management. Thus I did set it to 'maximum performance' at nvidia control panel. However, running single instance of nvencc still resulted slow 182fps. Only running two instances of nvencc will result in 300+ fps for each of them.

klf
21st March 2015, 16:07
Hello

@Stax76

1.2.2.0 version work for me.

Thank you

NikosD
21st March 2015, 18:00
Originally, I thought it to be caused by nvidia power management. Thus I did set it to 'maximum performance' at nvidia control panel. However, running single instance of nvencc still resulted slow 182fps. Only running two instances of nvencc will result in 300+ fps for each of them.

I have done a lot of such tests in the past with QuickSync and HW transcoding.

You should monitor some parameters during your transcoding such as:

GPU clocks, GPU load, Video Engine Load and if there is a tool by Nvidia, the Video Encoding load.

There were situations during QuickSync transcoding with one file only, that various bottlenecks couldn't push the load at 100% to the transcoding engine, so a second process could be done in similar time like one process only.

But what you write is different because your second file pushed a lot both transcodings.

I would monitor GPU clocks and changed the input content to a different codec.

JohnLai
22nd March 2015, 09:29
@NikosD

I monitored the gpu parameters using GPUZ.

During single instance of nvencs, Video Engine has average utilization of 53%. GPU Load 3%.
When two instances of nvencs was started at same time, Video Engine utilization reached 96%-99%. GPU Load 6%.

For both scenarios, GPU core clock (1253 MHz) and GPU memory clock (1800MHz) at their maximum all the time during nvencc encoding.
Temperature for both scenario = 60' Celcius.

NikosD
22nd March 2015, 10:35
You said you decode XVID in software using LAV video, so I don't know the source of Video Engine Load of GPU-Z.

Maybe it shows not only HW decoding but HW encoding too.

It looks like that Video Engine is underutilised using one instance, but from 182 fps to 600+ fps the difference is more than 53% to 99%

Add a third process and look at the transcoding fps and the monitoring parameters.

JohnLai
22nd March 2015, 11:01
Strange thing is, rigaya also posted his/her nvencc hevc encoding. His/Her result for transcoding 720p to HEVC 720P also 300+ fps for single instance.
Though there is no info on what the original file is encoded with. The 'utvideo' probably refers to Ut Video Codec Suite. Hmm......the developer is using GTX970.


http://rigaya34589.blog135.fc2.com/blog-date-20150125.html#entry571aa

EDIT: Just click the " 続きを読む " to see the result.

EDIT2:
*solved the slow fps issue by taking apart the gpu and reinsert it + replugging the gpu power connector. I can get 300+fps at single nvencc instance now. Turn out the power connector wasn't plugged in properly >.< (how can I miss it?)

Anyway, there is no hardware/gpu accelerated resizer around other than 'shareware/payware' DGDecodeNV. The reason why handbrake can decode and encode to lower resolution video at high speed is due to usage of Quicksync VPP.
From handbrake log itself when downscaling using Quicksync :

+ decoder: h264_qsv
+ filter
+ Quick Sync Video VPP (848:478:0:0:0:0_dei:0)
+ source: 1280 * 720, crop (0/0/0/0): 1280 * 720, scale: 848 * 478

EDIT3: From what I can see from other users of DGDecodeNV, it appears this particular source filter will fill exactly my needs. Resizing video without severe performance penalty. Too bad it is a payware.

EDIT4:
I tried using _gpu25 (gpu25clone) using GPU_lanczosresize and GPU_bilinearresize modes, didnt make much difference in fps when downsizing from 1080 to 720.
Gpu utilization for using lanczos (17% average) and bilinear (9% average). Both resulted in 192fps. A slight increases in fps from 182fps. GPU_lanczosresize quality is quite acceptable. GPUZ Video Engine reports 53% for both mode >.<

Eureka! Found another plugin called "SimpleResize" at http://avisynth.nl/index.php/External_filters#Resizers. A simple CPU based resizer filter as its name implied. ^.^
I able to get 320fps transcoding HEVC 1080p to HEVC 720P using nvencc.
Resizing quality is a bit disappointing, but acceptable. Average CPU utilization is almost evenly spread across four cores (from windows task manager 50-56%). -.- Now I take a look again, only one core maxed for my core i5-3570k while the other three threads seems to be like around 15%-20%
GPUZ reports Video Engine utilization of 37% !!! Gpu utilization is merely averaging of 3%. Some correction edit

On the other hand....when I use SimpleResize plugin for my old PC Core 2 Quad Q8200 2.33ghz with GTX 960.......CPU utilization rate is nearly 100% with 220-222 fps. Ugh, SimpleResize got bottlenecked by old CPU. Probably due to nvencc overhead or dxva copy back overhead?

NikosD
23rd March 2015, 17:34
The reason why handbrake can decode and encode to lower resolution video at high speed is due to usage of Quicksync VPP.


Interesting, I hadn't done any scaling tests with HB and after my H.264 1080p -> 720p transcoding, I found out you 're right.

HB managed to do it in "Balanced" speed and CQP 23 at ~360fps

StaxRip on the other hand using QSVEncC and exactly same parameters, did the transcoding at a rate from 112 fps using difficult algorithms like Lanczos4, BlackMan, Gauss to ~163 fps using Bilinear.


Anyway, there is no hardware/gpu accelerated resizer around other than 'shareware/payware' DGDecodeNV


For us QuickSync users, QS supports the VPP of scaling/resizing so you don't have to look anywhere else.

There is an option inside QSVEncC called --output-res <int>x<int> which if it's different from input it uses vpp resizing

@Stax76

How could we ignore the resize filters and use QSVEncC for resizing ?

I did it in the console window and got ~273 fps using FFVideo and ~223 fps using DSS

JohnLai
24th March 2015, 04:16
Interesting, I hadn't done any scaling tests with HB and after my H.264 1080p -> 720p transcoding, I found out you 're right.

HB managed to do it in "Balanced" speed and CQP 23 at ~360fps

StaxRip on the other hand using QSVEncC and exactly same parameters, did the transcoding at a rate from 112 fps using difficult algorithms like Lanczos4, BlackMan, Gauss to ~163 fps using Bilinear.



For us QuickSync users, QS supports the VPP of scaling/resizing so you don't have to look anywhere else.

There is an option inside QSVEncC called --output-res <int>x<int> which if it's different from input it uses vpp resizing

@Stax76

How could we ignore the resize filters and use QSVEncC for resizing ?

I did it in the console window and got ~273 fps using FFVideo and ~223 fps using DSS

Try this.
Set Lavfilter to use "Intel Quicksync" at 'hardware acceleration'.
Then use Win7DSFilterTweaker_5.9 to set lavfilter as preferred directshow decoder for both x86 and x64.
At staxrip, for the 'Source' filter, change it to "DirectShow"

Finally, use the QSVEncC --output-res <int>x<int> that you mentioned through command line to transcode H264 1080 to H264 720. In theory, you ought to get 310+ fps (depending on your quicksync target usage and parameters) with very low cpu usage.

EDIT :
More info on how handbrake can turbo boost the transcoding.
It turns out handbrake also use hardware accelerated YV12 --> NV12 conversion
https://software.intel.com/en-us/articles/media-sdk-tutorial-tutorial-samples-index
Avisynth still use CPU AVX instruction set to do the color conversion from YV12-->NV12.
Another bottleneck at front-end.

No idea what form of resizing filter used by Intel Quicksync VPP. It is not mentioned at all. Probably bilinear or bicubic? Anyone know?
I read somewhere in madvr thread that intel was using bicubic filter for dxva scaling. Probably the same for encoding?
If you can get 360fps with the method I described above, good for you. Probably around 310fps due to avisynth cpu based color conversion during decoding. I am not certain if lavfilter in quicksync decoding mode will autoconvert to the surface format required by QSVEncC.

Meanwhile, I stuck with using "SimpleResize" cpu plugin for nvencc hevc encoding >.<

NikosD
24th March 2015, 05:14
I think you 've missed something.

The instructions you gave me are the same instructions that I gave to another member in a previous post in order to use LAV Video with DSS filter!

I've already done that in order to achieve 223 fps using DSS QS decoder and 273 fps using FFVideoSource, as I wrote in my previous post.

The problem I mentioned to Stax76 (Frank) is that I couldn't find a way to activate the resize feature of StaxRip without enabling one of the CPU based resizing filters.

So, all of my tests were done inside the console window of QSVEncC, as I wrote above.

JohnLai
24th March 2015, 06:41
Ah, pardon me, I did miss something. XD

Anyway, how does FFVideoSource (I presume ffmpeg?) decode faster than LAVvf Quicksync DSS? I know your CPU is considered top end model.

NikosD
24th March 2015, 07:23
QS decoder uses a copy-back mechanism, just like LAV DXVA copy-back decoder, just a little faster.

Only pure DXVA native decoding that HandBrake uses is faster than FFVideoSource on a CPU like Core i7 4790.

The advantage of QS decoder compared to FFVideo is low CPU utilisation, of course.

IbrahimKh
24th March 2015, 10:18
cant encode audio
please help
Audio
Format : DTS
Format/Info : Digital Theater Systems
Mode : 16
Format settings, Endianness : Big
Duration : 1h 54mn
Bit rate mode : Constant
Bit rate : 1 510 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 24 bits
Compression mode : Lossy
Stream size : 1.21 GiB (100%)


------------------------------------------------------------
Convert to WAV/FLAC using eac3to
------------------------------------------------------------

"C:\Users\Administrator\Desktop\New folder\Applications\eac3to\eac3to.exe" "C:\Users\Administrator\Desktop\Poltergeist.1982.BluRay.1080p.DTS.x264-CtrlHD temp files\Poltergeist.1982.BluRay.1080p.DTS.x264-CtrlHD - ID2 - English.dts" "C:\Users\Administrator\Desktop\Poltergeist.1982.BluRay.1080p.DTS.x264-CtrlHD temp files\Poltergeist.1982.BluRay.1080p.DTS.x264-CtrlHD - ID2 - English.wav" -down2 -simple -progressnumbers

DTS, 5.1 channels, 1:54:28, 1510kbps, 48kHz
The ArcSoft and Sonic decoders don't seem to work, will use libav instead.
Decoding with libav/ffmpeg...
Downmixing multi channel audio to stereo...
Reducing depth from 64 to 24 bits...
Writing WAV...
Creating file "C:\Users\Administrator\Desktop\Poltergeist.1982.BluRay.1080p.DTS.x264-CtrlHD temp files\Poltergeist.1982.BluRay.1080p.DTS.x264-CtrlHD - ID2 - English.wav"...
Clipping detected, a 2nd pass will be necessary.
Starting 2nd pass...
Decoding with libav/ffmpeg...
Downmixing multi channel audio to stereo...
Reducing depth from 64 to 24 bits...
Writing WAV...
Applying -2.61dB gain...
Creating file "C:\Users\Administrator\Desktop\Poltergeist.1982.BluRay.1080p.DTS.x264-CtrlHD temp files\Poltergeist.1982.BluRay.1080p.DTS.x264-CtrlHD - ID2 - English.wav"...
eac3to processing took 24 minutes, 55 seconds.
Done.

Start: 4:00:43 AM
End: 4:25:43 AM
Duration: 00:24:59

General
Complete name : C:\Users\Administrator\Desktop\Poltergeist.1982.BluRay.1080p.DTS.x264-CtrlHD temp files\Poltergeist.1982.BluRay.1080p.DTS.x264-CtrlHD - ID2 - English.wav
Format : Wave
File size : 1.84 GiB
Duration : 1h 54mn
Overall bit rate mode : Constant
Overall bit rate : 2 304 Kbps

Audio
Format : PCM
Format settings, Endianness : Little
Format settings, Sign : Signed
Codec ID : 1
Duration : 1h 54mn
Bit rate mode : Constant
Bit rate : 2 304 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Bit depth : 24 bits
Stream size : 1.84 GiB (100%)


------------------------------------------------------------
Audio encoding using eac3to
------------------------------------------------------------

"C:\Users\Administrator\Desktop\New folder\Applications\eac3to\eac3to.exe" "C:\Users\Administrator\Desktop\Poltergeist.1982.BluRay.1080p.DTS.x264-CtrlHD temp files\Poltergeist.1982.BluRay.1080p.DTS.x264-CtrlHD - ID2 - English.wav" "C:\Users\Administrator\Desktop\Poltergeist.1982.BluRay.1080p.DTS.x264-CtrlHD temp files\Poltergeist.1982.BluRay.1080p.DTS.x264-CtrlHD - ID2 - English_out.m4a" -quality=0.35 -normalize -down16 -downStereo -progressnumbers

WAV, 2.0 channels, 1:54:28, 24 bits, 2304kbps, 48kHz
Reading WAV...
Reducing depth from 24 to 16 bits...
Writing WAV...
Creating file "C:\Users\Administrator\Desktop\Poltergeist.1982.BluRay.1080p.DTS.x264-CtrlHD temp files\Poltergeist.1982.BluRay.1080p.DTS.x264-CtrlHD - ID2 - English_out.m4a.pass1.wav"...
The original audio track has a constant bit depth of 24 bits.
The processed audio track has a constant bit depth of 16 bits.
Starting 2nd pass...
Reading WAV...
Reducing depth from 64 to 16 bits...
Encoding AAC <0.35> with NeroAacEnc...
Applying -0.001dB gain...
The processed audio track has a constant bit depth of 16 bits.
The Nero AAC encoder seems to be stuck...
NeroAacEnc Processed 0 seconds...
NeroAacEnc Processed 1 seconds...
NeroAacEnc Processed 2 seconds...
NeroAacEnc Processed 3 seconds...
NeroAacEnc Processed 4 seconds...
NeroAacEnc Processed 5 seconds...
NeroAacEnc Processed 6 seconds...
NeroAacEnc Processed 7 seconds...
NeroAacEnc Processed 8 seconds...
NeroAacEnc Processed 9 seconds...
NeroAacEnc Processed 10 seconds...
NeroAacEnc Processed 11 seconds...
NeroAacEnc Processed 12 seconds...
NeroAacEnc Processed 13 seconds...
NeroAacEnc Processed 14 seconds...
NeroAacEnc Processed 15 seconds...
NeroAacEnc Processed 16 seconds...
NeroAacEnc Processed 17 seconds...
NeroAacEnc Processed 18 seconds...
NeroAacEnc Processed 19 seconds...
NeroAacEnc Processed 20 seconds...
NeroAacEnc Processed 21 seconds...
NeroAacEnc Processed 22 seconds...
NeroAacEnc Processed 23 seconds...
NeroAacEnc Processed 24 seconds...
NeroAacEnc Processed 25 seconds...
NeroAacEnc Processed 26 seconds...
NeroAacEnc Processed 27 seconds...
NeroAacEnc Processed 28 seconds...
NeroAacEnc Processed 29 seconds...
NeroAacEnc Processed 30 seconds...
NeroAacEnc Processed 31 seconds...
NeroAacEnc Processed 32 seconds...
NeroAacEnc Processed 33 seconds...
NeroAacEnc Processed 34 seconds...
NeroAacEnc Processed 35 seconds...
NeroAacEnc Processed 36 seconds...
NeroAacEnc Processed 37 seconds...
NeroAacEnc Processed 38 seconds...
NeroAacEnc Processed 39 seconds...
NeroAacEnc Processed 40 seconds...
NeroAacEnc Processed 41 seconds...
NeroAacEnc Processed 42 seconds...
NeroAacEnc Processed 43 seconds...
NeroAacEnc Processed 44 seconds...
NeroAacEnc Processed 45 seconds...
NeroAacEnc Processed 46 seconds...
NeroAacEnc Processed 47 seconds...
NeroAacEnc Processed 48 seconds...
NeroAacEnc Processed 49 seconds...
NeroAacEnc Processed 50 seconds...
NeroAacEnc Processed 51 seconds...
NeroAacEnc Processed 52 seconds...
NeroAacEnc Processed 53 seconds...
NeroAacEnc Processed 54 seconds...
NeroAacEnc Processed 55 seconds...
NeroAacEnc Processed 56 seconds...
NeroAacEnc Processed 57 seconds...
NeroAacEnc Processed 58 seconds...
NeroAacEnc Processed 59 seconds...
NeroAacEnc Processed 60 seconds...
NeroAacEnc Processed 61 seconds...
NeroAacEnc Processed 62 seconds...
NeroAacEnc Processed 63 seconds...
NeroAacEnc Processed 64 seconds...
NeroAacEnc Processed 65 seconds...
NeroAacEnc Processed 66 seconds...
NeroAacEnc Processed 67 seconds...
NeroAacEnc Processed 68 seconds...
NeroAacEnc Processed 69 seconds...
NeroAacEnc Processed 70 seconds...
NeroAacEnc Processed 71 seconds...
NeroAacEnc Processed 72 seconds...
NeroAacEnc Processed 73 seconds...
NeroAacEnc Processed 74 seconds...
NeroAacEnc Processed 75 seconds...
NeroAacEnc Processed 76 seconds...
NeroAacEnc Processed 77 seconds...
NeroAacEnc Processed 78 seconds...
NeroAacEnc Processed 79 seconds...
NeroAacEnc Processed 80 seconds...
NeroAacEnc Processed 81 seconds...
NeroAacEnc Processed 82 seconds...
NeroAacEnc Processed 83 seconds...
NeroAacEnc Processed 84 seconds...
NeroAacEnc Processed 85 seconds...
NeroAacEnc Processed 86 seconds...
NeroAacEnc Processed 87 seconds...
NeroAacEnc Processed 88 seconds...
NeroAacEnc Processed 89 seconds...
NeroAacEnc Processed 90 seconds...
NeroAacEnc Processed 91 seconds...
NeroAacEnc Processed 92 seconds...
NeroAacEnc Processed 93 seconds...
NeroAacEnc Processed 94 seconds...
NeroAacEnc Processed 95 seconds...
NeroAacEnc Processed 96 seconds...
NeroAacEnc Processed 97 seconds...
NeroAacEnc Processed 98 seconds...
NeroAacEnc Processed 99 seconds...
NeroAacEnc Processed 100 seconds...
NeroAacEnc Processed 101 seconds...
NeroAacEnc Processed 102 seconds...
NeroAacEnc Processed 103 seconds...
NeroAacEnc Processed 104 seconds...
NeroAacEnc Processed 105 seconds...
NeroAacEnc Processed 106 seconds...
NeroAacEnc Processed 107 seconds...
NeroAacEnc Processed 108 seconds...
NeroAacEnc Processed 109 seconds...
NeroAacEnc Processed 110 seconds...
NeroAacEnc Processed 111 seconds...
NeroAacEnc Processed 112 seconds...
NeroAacEnc Processed 113 seconds...
NeroAacEnc Processed 114 seconds...
NeroAacEnc Processed 115 seconds...
NeroAacEnc Processed 116 seconds...
NeroAacEnc Processed 117 seconds...
NeroAacEnc Processed 118 seconds...
NeroAacEnc Processed 119 seconds...
NeroAacEnc Processed 120 seconds...
NeroAacEnc Processed 121 seconds...
NeroAacEnc Processed 122 seconds...
NeroAacEnc Processed 123 seconds...
NeroAacEnc Processed 124 seconds...
NeroAacEnc Processed 125 seconds...
NeroAacEnc Processed 126 seconds...
NeroAacEnc Processed 127 seconds...
NeroAacEnc Processed 128 seconds...
NeroAacEnc Processed 129 seconds...
NeroAacEnc Processed 130 seconds...
NeroAacEnc Processed 131 seconds...
NeroAacEnc Processed 132 seconds...
NeroAacEnc Processed 133 seconds...
NeroAacEnc Processed 134 seconds...
NeroAacEnc Processed 135 seconds...
NeroAacEnc Processed 136 seconds...
NeroAacEnc Processed 137 seconds...
NeroAacEnc Processed 138 seconds...
NeroAacEnc Processed 139 seconds...
NeroAacEnc Processed 140 seconds...
NeroAacEnc Processed 141 seconds...
NeroAacEnc Processed 142 seconds...
NeroAacEnc Processed 143 seconds...
NeroAacEnc Processed 144 seconds...
NeroAacEnc Processed 145 seconds...
NeroAacEnc Processed 146 seconds...
NeroAacEnc Processed 147 seconds...
NeroAacEnc Processed 148 seconds...
NeroAacEnc Processed 149 seconds...
NeroAacEnc Processed 150 seconds...
NeroAacEnc Processed 151 seconds...
NeroAacEnc Processed 152 seconds...
NeroAacEnc Processed 153 seconds...
NeroAacEnc Processed 154 seconds...
NeroAacEnc Processed 155 seconds...
NeroAacEnc Processed 156 seconds...
NeroAacEnc Processed 157 seconds...
NeroAacEnc Processed 158 seconds...
NeroAacEnc Processed 159 seconds...
NeroAacEnc Processed 160 seconds...
NeroAacEnc Processed 161 seconds...
NeroAacEnc Processed 162 seconds...
NeroAacEnc Processed 163 seconds...
NeroAacEnc Processed 164 seconds...
NeroAacEnc Processed 165 seconds...
NeroAacEnc Processed 166 seconds...
NeroAacEnc Processed 167 seconds...
NeroAacEnc Processed 168 seconds...
NeroAacEnc Processed 169 seconds...
NeroAacEnc Processed 170 seconds...
NeroAacEnc Processed 171 seconds...
NeroAacEnc Processed 172 seconds...
NeroAacEnc Processed 173 seconds...
NeroAacEnc Processed 174 seconds...
NeroAacEnc Processed 175 seconds...
NeroAacEnc Processed 176 seconds...
NeroAacEnc Processed 177 seconds...
NeroAacEnc Processed 178 seconds...
NeroAacEnc Processed 179 seconds...
NeroAacEnc Processed 180 seconds...
NeroAacEnc Processed 181 seconds...
NeroAacEnc Processed 182 seconds...
NeroAacEnc Processed 183 seconds...
NeroAacEnc Processed 184 seconds...
NeroAacEnc Processed 185 seconds...
NeroAacEnc Processed 186 seconds...
NeroAacEnc Processed 187 seconds...
NeroAacEnc Processed 188 seconds...
NeroAacEnc Processed 189 seconds...
NeroAacEnc Processed 190 seconds...
NeroAacEnc Processed 191 seconds...
NeroAacEnc Processed 192 seconds...
NeroAacEnc Processed 193 seconds...
NeroAacEnc Processed 194 seconds...
NeroAacEnc Processed 195 seconds...
NeroAacEnc Processed 196 seconds...
NeroAacEnc Processed 197 seconds...
NeroAacEnc Processed 198 seconds...
NeroAacEnc Processed 199 seconds...
NeroAacEnc Processed 200 seconds...
NeroAacEnc Processed 201 seconds...
NeroAacEnc Processed 202 seconds...
NeroAacEnc Processed 203 seconds...
NeroAacEnc Processed 204 seconds...
NeroAacEnc Processed 205 seconds...
NeroAacEnc Processed 206 seconds...
NeroAacEnc Processed 207 seconds...
NeroAacEnc Processed 208 seconds...
NeroAacEnc Processed 209 seconds...
NeroAacEnc Processed 210 seconds...
NeroAacEnc Processed 211 seconds...
NeroAacEnc Processed 212 seconds...
NeroAacEnc Processed 213 seconds...
NeroAacEnc Processed 214 seconds...
NeroAacEnc Processed 215 seconds...
NeroAacEnc Processed 216 seconds...
NeroAacEnc Processed 217 seconds...
NeroAacEnc Processed 218 seconds...
NeroAacEnc Processed 219 seconds...
NeroAacEnc Processed 220 seconds...
NeroAacEnc Processed 221 seconds...
NeroAacEnc Processed 222 seconds...
NeroAacEnc Processed 223 seconds...
NeroAacEnc Processed 224 seconds...
NeroAacEnc Processed 225 seconds...
NeroAacEnc Processed 226 seconds...
NeroAacEnc Processed 227 seconds...
NeroAacEnc Processed 228 seconds...
NeroAacEnc Processed 229 seconds...
NeroAacEnc Processed 230 seconds...
NeroAacEnc Processed 231 seconds...
NeroAacEnc Processed 232 seconds...
NeroAacEnc Processed 233 seconds...
NeroAacEnc Processed 234 seconds...
NeroAacEnc Processed 235 seconds...
NeroAacEnc Processed 236 seconds...
NeroAacEnc Processed 237 seconds...
NeroAacEnc Processed 238 seconds...
NeroAacEnc Processed 239 seconds...
NeroAacEnc Processed 240 seconds...
NeroAacEnc Processed 241 seconds...
NeroAacEnc Processed 242 seconds...
NeroAacEnc Processed 243 seconds...
NeroAacEnc Processed 244 seconds...
NeroAacEnc Processed 245 seconds...
NeroAacEnc Processed 246 seconds...
NeroAacEnc Processed 247 seconds...
NeroAacEnc Processed 248 seconds...
NeroAacEnc Processed 249 seconds...
NeroAacEnc Processed 250 seconds...
NeroAacEnc Processed 251 seconds...
NeroAacEnc Processed 252 seconds...
NeroAacEnc Processed 253 seconds...
NeroAacEnc Processed 254 seconds...

Start: 4:25:43 AM
End: 4:44:25 AM
Duration: 00:18:42


------------------------------------------------------------
Error
------------------------------------------------------------

no output found

------------------------------------------------------------
x264
------------------------------------------------------------

Patman
25th March 2015, 13:50
Hi Stax,

for the x264 encoding process are some options to tune/ to customize the profile. In tab "rate control" can be selected aq mode 0 (disabled), aq mode 1 (variance) and aq mode 2 (auto-variance). Since december 2014 there is the option to select aq mode 3 (auto-variance with bias to dark scenes). Please expand the selection and add aq mode 3. Release 1.2.2.0 works very well!!!

stax76
30th March 2015, 10:09
1.2.2.1 beta (2015-03-30)


Added GUI for NVEncC (tool for NVIDIA H.264/H.265 GPU encoding)
Added GUI for QSVEncC (tool for Intel Quick Sync H.264 GPU encoding)
Added x265 option --pools
Added x265 option --frame-threads
Added x265 option --min-cu-size
Added x265 option --log-level frame and updated help for --log-level
Added x264 option --aq-mode 3 (Auto-variance AQ with bias to dark scenes)
Fixed video stream of audio source being muxed into MP4
Reverted to old shutdown method due to bug report
Updated mkvtoolnix version 7.8.0 (River Man) supporting DTS Express
Updated eac3to to version 3.29 supporting DTS-HD decoding
Updated ffmpeg supporting DTS-HD decoding
Updated x265 to version 1.5+370
Updated QSVEncC (tool for Intel H.264 GPU encoding) to version 1.32


http://sourceforge.net/projects/staxmedia/files/StaxRip%20beta/StaxRip_1.2.2.1_beta.7z/download

Anybody using the Intel encoder should press F1 in the options dialog, it queries useful info from QSVEncC which takes time but when it finally shows up you won't be disappointed, I promise!

@IbrahimKh

Is the nero encoder in the eac3to directory? You could use qaac.

Alexander
31st March 2015, 13:37
Hello

@Stax76

Version 1.2.2.1 beta

Shutdown fails, the user is only logged out.

Win 7 64bit.

kevbo
31st March 2015, 20:11
I'm having trouble with both 1.2.2.0 and 1.2.2.1. Here's my "normal" workflow:

I end up with the streams of a movie as separate files. I drag the .h264 file into StaxRip, where it would immediately start to index it. When that's done, I'd drag the audio in, and set up the subtitles.

With these new versions, when I drag the .h264 file in, StaxRip becomes unresponsive. Task Manager shows lots of I/O Reads. I used ProcessMonitor and it appears that StaxRip.exe itself is reading through the entire .h264 file. If I wait long enough, the GUI will return.

However, at random times (loading a saved project, starting a batch, heck, even sliding the "resize" slider), it will lock up again, and appear to start reading through the .h264 file again.

Any ideas?

Edit:
Note, I have to think that something is weird here, because if others were seeing this behavior, it would already have been reported. I just can't figure out what it would be.

Windows 7 64-bit
32GB RAM
i7-4790K

stax76
31st March 2015, 21:48
Hello

@Stax76

Version 1.2.2.1 beta

Shutdown fails, the user is only logged out.

Win 7 64bit.

I've uploaded a pre-release fixing this:

https://www.dropbox.com/sh/xiyz10pghli8pvf/AAB3k0Dg-TRF-vh6srbITYDBa?dl=0

@kevbo

Currently there is no filter included that can handle elementary streams, how did you get a elementary stream? When I removed DGAVCDec I didn't know there is no other filter that can handle elementary streams, maybe I add DGAVCDec again. If you want to become a certified StaxRip professional you could integrate DGDecNV, it does elementary streams and transport streams better then any other tool, DGAVCDec integration should also be possible.

@all

source code from now on is on github:

https://github.com/stax76/staxrip

I'm just learning using git.

pre-releases are from now on available under this URL:

https://www.dropbox.com/sh/xiyz10pghli8pvf/AAB3k0Dg-TRF-vh6srbITYDBa?dl=0

changes since the last beta are minor:


Improved ffmpeg video encoding, VP9 two pass still don't work, apparently bug in libvpx 1.3
Improved GUI for QSVEncC (tool for Intel Quick Sync H.264 GPU encoding)
Fixed help browser not using word wrap
Fixed shutdown not working

kevbo
31st March 2015, 22:16
Oh...that's interesting.

I end up with the raw streams from the output of eac3to when I grab them off of a disc.

Maybe my workflow is broken. I'm OK if that's the case. I've been doing this this way a long time.

stax76
31st March 2015, 22:19
You can also choose mkv output (which is the default) in the eac3to dialog, by default StaxRip opens MKV then with ffms2/FFVideoSource.

kevbo
31st March 2015, 22:29
I've been using Clown BD as my front end to eac3to. It doesn't appear to have an .mkv option. It has a tsmuxer option, but I didn't think that could handle all of the stream types, and it seemed silly to remux a bunch of things that I'll end up needing separate anyways, so I didn't bother.

I'll look into other options, now that I know what the issue is.

Thanks, and thanks for StaxRip. It has done a lot of work for me over the years.

Kevin

stax76
31st March 2015, 23:14
You could try StaxRip's eac3to dialog, it has improved a lot this year, I don't know how it compares to Clown BD which won't start due to Java detection being broke, my Java detection works so I posted my code to their support forum.

kevbo
1st April 2015, 00:00
Great, thanks!

burfadel
2nd April 2015, 06:34
In the x265 options, if you enable the noise reduction, only the --nr-intra setting is set, but there is also a --nr-inter setting. There should be separate options for the two.

Also, in the help it says the --psy-rdoq default is 0.00 (basically it's disabled), however in the x265 settings page in Staxrip it has it as 1.00, which it thinks is the default. Also, this setting has no effect when RDOQ level is at the default of 0.

I also have an idea for the --me-range option. Realistically this idea should apply to x265 itself, but it can also apply to Staxrip. Basically, the default setting is 57, which makes x265 quite slow. This default setting seems to be with ultra high definition content in mind, if you are encoding lower resolution material this setting actually becomes 'stronger', since the range is greater with a lower resolution. Having an option for 'auto', with a metric based on the quality settings would be handy. For example, if you are encoding 720P stuff, a value of 24 really gives you the same results with a massive speedup. In fact, you can set some other settings to a higher value which results in better quality and efficiency and still be massively faster than at 57. It should probably scale at the standard preset from say, 16 at <480P, to 24 to 1080P, and then scale it up to 57 for high resolutions. Just an idea :).

alrmothe
2nd April 2015, 19:43
I downloaded StaxRip 1.2.2.0 and StaxRip 1.2.2.1 beta

But I have a problem

http://i.imgur.com/CRXqHCf.jpg

ShamisOMally
2nd April 2015, 20:41
I'm getting zero difference with H265 Nvenc encoder with Staxrip setting any amount of B-Frames or Reference frames using my Nvidia 980 GTX

dejong12
2nd April 2015, 21:34
Stax, I've downloaded the latest version of StaxRip which you uploaded three hours ago on DropBox. Could you add a changelog to the 7z file? I'm curious in the changes you've made.

stax76
2nd April 2015, 22:18
@burfadel

I'll look into this, thanks.

@alrmothe

Maybe you don't have .NET 4.5.2 or there is a problem with old settings. You can try to delete the settings, do you know where they are stored? You can find the location here:

HKEY_CURRENT_USER\Software\StaxRip

or when you still can start a version you can go to the main menu at Tools/Directories/Settings

I'm getting zero difference with H265 Nvenc encoder with Staxrip setting any amount of B-Frames or Reference frames using my Nvidia 980 GTX

Does the nvencc output state anything related this options, can post the output?

Stax, I've downloaded the latest version of StaxRip which you uploaded three hours ago on DropBox. Could you add a changelog to the 7z file? I'm curious in the changes you've made.

My release process is automated with a script, the script, copies the two files, packs them with 7z and moves the archive to my dropbox folder, the changelog is VB.NET code which generates HTML dynamically, without making some change I can not access the changelog from script so you have to run StaxRip if you want to see the changelog.

dejong12
2nd April 2015, 23:21
My release process is automated with a script, the script, copies the two files, packs them with 7z and moves the archive to my dropbox folder, the changelog is VB.NET code which generates HTML dynamically, without making some change I can not access the changelog from script so you have to run StaxRip if you want to see the changelog.
Ah, I forgot that StaxRip includes a changelog. Thanks for reminding me. :)

I love how you incorporated NVEncC into StaxRip. It's the only thing I use now because it speeds up my encoding times a lot.

stax76
3rd April 2015, 18:32
In the x265 options, if you enable the noise reduction, only the --nr-intra setting is set, but there is also a --nr-inter setting. There should be separate options for the two.

Added, please tell me if you find something else missing.

Also, in the help it says the --psy-rdoq default is 0.00 (basically it's disabled), however in the x265 settings page in Staxrip it has it as 1.00, which it thinks is the default.

The official help page says it's 1

http://x265.readthedocs.org/en/latest/cli.html#cmdoption--psy-rdoq

Also, this setting has no effect when RDOQ level is at the default of 0.

I don't think some action is necessary here.

I also have an idea for the --me-range option. Realistically this idea should apply to x265 itself, but it can also apply to Staxrip. Basically, the default setting is 57, which makes x265 quite slow. This default setting seems to be with ultra high definition content in mind, if you are encoding lower resolution material this setting actually becomes 'stronger', since the range is greater with a lower resolution. Having an option for 'auto', with a metric based on the quality settings would be handy. For example, if you are encoding 720P stuff, a value of 24 really gives you the same results with a massive speedup. In fact, you can set some other settings to a higher value which results in better quality and efficiency and still be massively faster than at 57. It should probably scale at the standard preset from say, 16 at <480P, to 24 to 1080P, and then scale it up to 57 for high resolutions. Just an idea :).

I made it auto for 0.

Here is a pre-release you can use on top of the last beta:

https://www.dropbox.com/sh/xiyz10pghli8pvf/AAB3k0Dg-TRF-vh6srbITYDBa?dl=0

As far as I know x265 is now up to date.

burfadel
4th April 2015, 05:08
Thanks, just did a quick test and it seems to work great :)

dirk362
4th April 2015, 11:46
Feature Request: Can we have x265 profile load/save, as we have with others such as x264 (found under options when in Video Encoder settings)
Will allow settings to be exported to other machines, and as a backup.

stax76
4th April 2015, 11:57
@dirk362

I'll investigate it, maybe it's easy to add, meanwhile you can open the profiles editor from the menu in the main dialog, maybe you missed this way.

Dust Signs
4th April 2015, 16:57
Hi,

I noticed a really strange bug since upgrading to version(s) 1.2.* (non-beta as well as beta). When muxing SRT subtitles to MP4 (regardless of the used video/audio formats), the time code of the last subtitle is incorrect in the final file. To be more precise, when demuxing the MP4 file, the end time code of the last subtitle turns out to be the same as the end time code of the second-to-last subtitle (making the duration of the last subtitle negative). During playback (in MPC HC) this means that the last subtitle is shown from its start until the end of the video, which is quite irritating.
I don't know whether this is a problem with MP4Box or the way the new Staxrip version is invoking MP4Box. This problem did not show with older versions (I verified it with 1.7.*, which definitively use an older MP4Box version).

Dust Signs

stax76
4th April 2015, 18:26
Hi,

you could have just tried replacing the new mp4box version with the old one. ;)

Dust Signs
4th April 2015, 19:37
@stax76: Right, so it's definitively an MP4Box bug.

Dust Signs

stax76
4th April 2015, 19:43
You could try making a bug report here:

https://github.com/gpac/gpac/issues

Dust Signs
4th April 2015, 20:17
I just did. I'll keep you posted so StaxRip can be shipped with a fixed version as soon as it is available.

Dust Signs

mcgills
4th April 2015, 20:56
I got this problem from version 1.2.0.1 , .2 , .4 and .5 (when the video time is about an hour or more)
I didn't know what is that, but I hope this would not exist
on the latest version. Yes I'm too late to post this problem
but I'm still thinking that it would help to minimize further issue.
http://fs2.directupload.net/images/150404/ww8lp7mw.jpg

Patman
6th April 2015, 11:50
Hi Stax,

where staxrip gets the info for subtitles?
This option:

http://s10.postimg.org/8uel0q1mt/Subs.jpg (http://postimg.org/image/8uel0q1mt/)

doesn't work. Staxrip loads all subtitles and not only the listed ones.

stax76
6th April 2015, 14:27
@mcgills

On ErrorAbortException it should ask to mail me the log file.

@Patman

I tried it with mkv source with and without demuxing using your pattern and it worked every time.

It checks against two letter codes and 'all', everything else gets ignored.

Patman
6th April 2015, 15:00
@mcgills

On ErrorAbortException it should ask to mail me the log file.

@Patman

I tried it with mkv source with and without demuxing using your pattern and it worked every time.

It checks against two letter codes and 'all', everything else gets ignored.

Thanks for your quick answer. I think it's better to check three letter because all Subs were tagged with three letter.
For example: ger = German, gez = Ge'ez staxrip checks two letter but "ge" can be these two. I will to add only ger-subs. I'll test it a bit ;)

stax76
6th April 2015, 15:44
It's a bit complicated as .NET knows neither ger or gez (StaxRip does some mapping here), making a change here would involve some research.

Bob.Dig
6th April 2015, 16:55
Hi stax, I have the following problem, which earlier was still, after cutting it gives an error message for the audio encoding and DVB-C HDTV recordings are completely green after encoding and async ...

Hi stax, ich hab folgendes Problem, was früher noch ging, nach dem Schneiden gibt es eine Fehlermeldung für das Audio encoding und DVB-C HDTV Aufnahmen sind nach dem encoding komplett grün und async, mit mpg geht es...

stax76
6th April 2015, 17:19
Hi, please mail me log file, regarding async, did StaxRip ask to install Haali Splitter?

mcgills
8th April 2015, 09:58
@mcgills

On ErrorAbortException it should ask to mail me the log file.

@Patman

I tried it with mkv source with and without demuxing using your pattern and it worked every time.

It checks against two letter codes and 'all', everything else gets ignored.

Hi stax76 thanks for your quick reply.

I didn't have a test already on 1.2.2.2 using x265
but I have encounter another issue using vp9.

Here's the log.. (sorry if I made a mistake I don't know if it is right to post this log like this):scared:

------------------------------------------------------------
Environment
------------------------------------------------------------

StaxRip version : 1.2.2.2
OS Name : Windows 7 Professional
OS Type : 64-bit
OS Culture : Filipino (Philippines)
LAV Filters :
AviSynth : AviSynth 2.5

------------------------------------------------------------
.NET
------------------------------------------------------------

v2.0.50727 : 2.0.50727.5420
v3.0 : 3.0.30729.5420
v3.5 : 3.5.30729.5420
v4\Client : 4.5.50938
v4\Full : 4.5.50938
v4.0\Client : 4.0.0.0

------------------------------------------------------------
Source file MediaInfo
------------------------------------------------------------

C:\Users\mcgills\Desktop\Chicken Embryo Development.mp4

General
Complete name : C:\Users\mcgills\Desktop\Chicken Embryo Development.mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42
File size : 18.8 MiB
Duration : 2mn 8s
Overall bit rate mode : Variable
Overall bit rate : 1 232 Kbps
Encoded date : UTC 2014-04-26 21:32:04
Tagged date : UTC 2014-04-26 21:32:04
gsst : 0
gstd : 128080
gssd : B7A0299C5HH1428435194276056
gshh : r1---sn-2aqu-hoae7.googlevideo.com

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.1
Format settings, CABAC : Yes
Format settings, ReFrames : 1 frame
Format settings, GOP : M=1, N=60
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 2mn 8s
Bit rate : 1 038 Kbps
Maximum bit rate : 2 932 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 24.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.047
Stream size : 15.8 MiB (84%)
Tagged date : UTC 2014-04-26 21:32:05

Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 2mn 8s
Bit rate mode : Variable
Bit rate : 192 Kbps
Maximum bit rate : 205 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 KHz
Compression mode : Lossy
Stream size : 2.93 MiB (16%)
Title : IsoMedia File Produced by Google, 5-11-2011
Encoded date : UTC 2014-04-26 21:32:05
Tagged date : UTC 2014-04-26 21:32:05


------------------------------------------------------------
AviSynth Filters
------------------------------------------------------------

FFVideoSource("C:\Users\mcgills\Desktop\Chicken Embryo Development.mp4", cachefile = "C:\Users\mcgills\Desktop\Chicken Embryo Development temp files\Chicken Embryo Development.ffindex")
AssumeFPS(24.000000)

------------------------------------------------------------
AviSynth Properties
------------------------------------------------------------

source frame count : 3072
source frame rate : 24.000000
source duration : 00:02:08
target frame count : 3072
target frame rate : 24.000000
target duration : 00:02:08

------------------------------------------------------------
Encoding VP9 using ffmpeg
------------------------------------------------------------

"D:\Program Files\StaxRip_1.2.2.1_beta\Applications\ffmpeg\ffmpeg.exe" -i "C:\Users\mcgills\Desktop\Chicken Embryo Development temp files\Chicken Embryo Development.avs" -c:v libvpx-vp9 -speed 2 -lag-in-frames 25 -crf 30 -b:v 0 -y "C:\Users\mcgills\Desktop\Chicken Embryo Development.webm"

ffmpeg version N-71120-g56b7aa2 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.9.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib
libavutil 54. 20.101 / 54. 20.101
libavcodec 56. 31.100 / 56. 31.100
libavformat 56. 26.101 / 56. 26.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 13.101 / 5. 13.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
C:\Users\mcgills\Desktop\Chicken Embryo Development temp files\Chicken Embryo Development.avs: Unknown error occurred

------------------------------------------------------------
Error Encoding VP9 using ffmpeg
------------------------------------------------------------

Encoding VP9 using ffmpeg failed with exit code 1

ffmpeg version N-71120-g56b7aa2 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.9.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib
libavutil 54. 20.101 / 54. 20.101
libavcodec 56. 31.100 / 56. 31.100
libavformat 56. 26.101 / 56. 26.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 13.101 / 5. 13.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
C:\Users\mcgills\Desktop\Chicken Embryo Development temp files\Chicken Embryo Development.avs: Unknown error occurred


Start: 4:38:41 PM
End: 4:38:41 PM
Duration: 00:00:00

stax76
8th April 2015, 12:20
VP9 is totally poor documented and has completely hard to use CLI options, I'm *EXTREMELY* disappointed from it, almost as much as from mp4box.

I'll switch from ffmpeg to vpxenc which is slightly better documented and available with newer library version, I hope I'll get it out within 1-2 weeks.

mcgills
8th April 2015, 14:15
VP9 is totally poor documented and has completely hard to use CLI options, I'm *EXTREMELY* disappointed from it, almost as much as from mp4box.

I'll switch from ffmpeg to vpxenc which is slightly better documented and available with newer library version, I hope I'll get it out within 1-2 weeks.

Hmm.. Ok :thanks: stax76 for your quick support. Maybe I stick with x265 for the meantime.

Bob.Dig
8th April 2015, 19:47
Hi, please mail me log file, regarding async, did StaxRip ask to install Haali Splitter?
Thanks again for your support. :D

ShamisOMally
9th April 2015, 07:58
VP9 is totally poor documented and has completely hard to use CLI options, I'm *EXTREMELY* disappointed from it, almost as much as from mp4box.

I'll switch from ffmpeg to vpxenc which is slightly better documented and available with newer library version, I hope I'll get it out within 1-2 weeks.

VP9 is amazing, but its encoder is probably the most broken thing I've ever used. The format itself is amazing, but its encoder literally sits around and does nothing all day long.

I can encode a 1 min x265 clip with 16 reference frames, 5 B-frames etc on highest settings in 6 minutes, the same clip running through VP9 encoder set to "Best" and 16 ref frames takes, I kid you not, SEVEN HOURS to process

EDIT: I have to say these random questions whenever I want to make a post is probably the most irritating thing I could possibly think of ever being added to a forum

chagos
10th April 2015, 22:22
Hi, I have this error using v1.2.2.0:
http://pastebin.com/uV99LXEG

http://thumbnails105.imagebam.com/40306/407b6d403056260.jpg (http://www.imagebam.com/image/407b6d403056260) http://thumbnails107.imagebam.com/40306/ce5c24403056265.jpg (http://www.imagebam.com/image/ce5c24403056265)

Washka
12th April 2015, 10:36
Everytime when i open any mkv file in Latest official StaxRip, OpenCL.dll is missing.
I have ATI installed before in my PC now i have Nvidia but i uninstalled drivers with driver cleaner. Maybe because of that or there is some other solution? I didn`t find anything about that in this thread or help.

edit.
When i try to open a VirtualDubMod.exe without StaxRip he pop-up that error also.

Any way to fix that?

Vulpix
13th April 2015, 12:18
Hi, I have this error using v1.2.2.0:
http://pastebin.com/uV99LXEG

http://thumbnails105.imagebam.com/40306/407b6d403056260.jpg (http://www.imagebam.com/image/407b6d403056260) http://thumbnails107.imagebam.com/40306/ce5c24403056265.jpg (http://www.imagebam.com/image/ce5c24403056265)

I actually had a similar problem before and found out that my RAM was clocked too high (2400Mhz). It sounds stupid, because I ran various day-long tests (linpack, memtest, prime95). If you overclocked your ram then I suggest you try going down with it one step, or maybe increase voltage a bit.

I know it sounds strange but I had the exact same "weird" problems and once I downclocked, they stopped and never ever happened again.

chagos
13th April 2015, 18:03
I actually had a similar problem before and found out that my RAM was clocked too high (2400Mhz). It sounds stupid, because I ran various day-long tests (linpack, memtest, prime95). If you overclocked your ram then I suggest you try going down with it one step, or maybe increase voltage a bit.

I know it sounds strange but I had the exact same "weird" problems and once I downclocked, they stopped and never ever happened again.

Nice find Vulpix.:thanks:
http://thumbnails105.imagebam.com/40341/b9c508403403084.jpg (http://www.imagebam.com/image/b9c508403403084)

I encounter this error multiple times with the last stable version of StaxRip and with previous versions, on this overclocked system. I have G.Skill F3-2400C10D-16GTX clocked to 2400 MHz.
However, I succeeded to encode what I wanted with x264 x64 10 bit, using v1.2.2.0 of StaxRip.

stax76
13th April 2015, 20:31
VP9 is amazing, but its encoder is probably the most broken thing I've ever used. The format itself is amazing, but its encoder literally sits around and does nothing all day long.

I can encode a 1 min x265 clip with 16 reference frames, 5 B-frames etc on highest settings in 6 minutes, the same clip running through VP9 encoder set to "Best" and 16 ref frames takes, I kid you not, SEVEN HOURS to process

EDIT: I have to say these random questions whenever I want to make a post is probably the most irritating thing I could possibly think of ever being added to a forum

With help of two members I managed to get vpxenc working, GUI needs so time though.

Everytime when i open any mkv file in Latest official StaxRip, OpenCL.dll is missing.
I have ATI installed before in my PC now i have Nvidia but i uninstalled drivers with driver cleaner. Maybe because of that or there is some other solution? I didn`t find anything about that in this thread or help.

edit.
When i try to open a VirtualDubMod.exe without StaxRip he pop-up that error also.

Any way to fix that?

I don't know much about this DLL, you can try creating a thread with title 'VirtualDubMod reports OpenCL.dll is missing'.

@all

I've uploaded a new beta release, it has a new comparison tool which is useful to find out which codec or codec settings work best.

1.2.2.2 beta


Added support for very long file names by shortening the name of the temp files directory
Added codec comparison tool for codec comparisons (Tools/Advanced/Codec Comparison)
Added the possibility to show the LAV Filters video decoder configuration (Tools/Advanced/LAV Filters...)
Added AVSMeter for benchmarking AviSynth scripts (Tools/Advanced/AVSMeter)
Added SincResize AviSynth filter
Added vpxenc encoding tool for VP9 encoding and added a command line profile, a GUI will follow soon
Improved GUI for QSVEncC (tool for Intel Quick Sync H.264 GPU encoding)
Improved x265 GUI, new options added, improved layout, improved help
Improved thumbnail generator printing more info
Improved MediaInfo Folder View (at Tools/Advanced/MediaInfo Folder View), list of audio codecs, context menu with various options, automatic layout
Fixed crash opening MP4 files with EIA-608 subtitles used by Apple
Fixed help browser not using word wrap
Fixed shutdown not working
Updated x265 to version x265 1.6+174
Updated QSVEncC to 1.33 (Tool for Intel H.264 GPU encoding)
Updated NVEncC to 1.05 (Tool for NVIDIA H.264 and H.265 GPU encoding)
Updated ffmpeg


http://sourceforge.net/projects/staxmedia/files/StaxRip%20beta/StaxRip_1.2.2.2_beta.7z/download

Please note that I take a small PC break, see you guys later!

Patman
13th April 2015, 22:35
With help of two members I managed to get vpxenc working, GUI needs so time though.



I don't know much about this DLL, you can try creating a thread with title 'VirtualDubMod reports OpenCL.dll is missing'.

@all

I've uploaded a new beta release, it has a new comparison tool which is useful to find out which codec or codec settings work best.

1.2.2.2 beta


Added support for very long file names by shortening the name of the temp files directory
Added codec comparison tool for codec comparisons (Tools/Advanced/Codec Comparison)
Added the possibility to show the LAV Filters video decoder configuration (Tools/Advanced/LAV Filters...)
Added AVSMeter for benchmarking AviSynth scripts (Tools/Advanced/AVSMeter)
Added SincResize AviSynth filter
Added vpxenc encoding tool for VP9 encoding and added a command line profile, a GUI will follow soon
Improved GUI for QSVEncC (tool for Intel Quick Sync H.264 GPU encoding)
Improved x265 GUI, new options added, improved layout, improved help
Improved thumbnail generator printing more info
Improved MediaInfo Folder View (at Tools/Advanced/MediaInfo Folder View), list of audio codecs, context menu with various options, automatic layout
Fixed crash opening MP4 files with EIA-608 subtitles used by Apple
Fixed help browser not using word wrap
Fixed shutdown not working
Updated x265 to version x265 1.6+174
Updated QSVEncC to 1.33 (Tool for Intel H.264 GPU encoding)
Updated NVEncC to 1.05 (Tool for NVIDIA H.264 and H.265 GPU encoding)
Updated ffmpeg


http://sourceforge.net/projects/staxmedia/files/StaxRip%20beta/StaxRip_1.2.2.2_beta.7z/download

Please note that I take a small PC break, see you guys later!

hi stax,

thanks for the new beta! One question: is sincresize filter in the filter selection? Can't see it...

stax76
13th April 2015, 22:48
I've added SincResize and re-added AviSource but didn't want to reset the profiles so users don't loose customizations, if you want you can reset it either in the profiles editor or at Tools/Advanced/Reset Settings > Filter Profiles

If you reset it in the profiles editor you can copy just new filters and then cancel to copy the new filters into the old profiles.

JohnLai
14th April 2015, 09:16
stax76, any consideration to include simpleresize filter? This is the most less cpu taxing resizer with some sacrifice on downsizing quality.

stax76
14th April 2015, 11:15
I'll look into it but for the rest of the month I'll take a PC break.

Washka
14th April 2015, 17:36
@Stax76
New Beta does not report OpenCL.dll is missing...

alrmothe
16th April 2015, 19:20
Thank you



Please

add x264 a high 10 profile!!! ( 10 bits depth)

add x265 HEVC a high 10 profile!!! ( 10 bits depth)

NikosD
16th April 2015, 19:52
Thank you



Please

add x264 a high 10 profile!!! ( 10 bits depth)

add x265 HEVC a high 10 profile!!! ( 10 bits depth)
There are already 10bit executables for both x264 & x265.

You have to go to Tools -> Settings -> System and select the 10 bit executables for H.264 & H.265 builds

Vulpix
18th April 2015, 15:51
I am curious; would it be possible to implement a 2-pass hw encoding mode?

dvd_maniac
21st April 2015, 22:20
I just upgraded from 1.1.9.0 to 1.2.2.2 beta and I'm having a problem with the width limiter.
Under Options --> Image I set the "Resize slider width" to 768 but when I load a video it defaults to the width of the video and tries to encode that. Most of my videos are 1080i recordings.
I actually have to move the width slider back and forth after loading the video for it to take the limitation.
This would not be a big deal if I only had to encode a video here or there but I usually use the "File Batch" option to encode 20-30 files at a time. Now I have to open each video, move the slider back and forth and then add it to the queue.

Is there something else I am missing to automatically enforce the width limitation besides the resize slider width setting?

Even if there is not... Staxrip is awesome and I am glad there is still ongoing development :)

stax76
23rd April 2015, 18:01
I started to work on StaxRip 64-Bit, I don't have a great choice other than dropping 32-Bit altogether, both would simply be too much work to build, too much work to maintain, to many potential problems and too much complexity. I just hope the tools are ready, otherwise I would have too improve my basic C++ skills and work with C++ for a long time.

I am curious; would it be possible to implement a 2-pass hw encoding mode?

Probably yes but only Intel or NVIDIA could do it.

@dvd_maniac

The slider option might generally not be very useful, I think you just miss enabling the resize filter using the checkbox.

NikosD
23rd April 2015, 18:48
I started to work on StaxRip 64-Bit, I don't have a great choice other than dropping 32-Bit altogether, both would simply be too much work to build, too much work to maintain, to many potential problems and too much complexity. I just hope the tools are ready, otherwise I would have too improve my basic C++ skills and work with C++ for a long time.


Welcome back.

I was ready to make you such a suggestion after fixing the last minor bugs of x86 version [emoji14]

Are you going to release any other x86 version or the last one was 1.2.2.2 ?

stax76
23rd April 2015, 19:44
1.2.2.2 was the last, I hope everything goes well, there will be a new hardware tool (not free). ;)

NikosD
23rd April 2015, 19:45
New HW tool ? What do you mean ?

stax76
23rd April 2015, 19:47
DGDecIM, it's not free but it's stable and in active development.

NikosD
23rd April 2015, 19:47
Ah..OK

fantasmanegro
24th April 2015, 14:34
1.2.2.2 was the last, I hope everything goes well, there will be a new hardware tool (not free). ;)

1.2.2.2 as fas as i know is BETA.... will you release a STABLE version of 1.2.2.2 befere you move to 64bits?

stax76
24th April 2015, 14:48
1.2.2.2 as fas as i know is BETA.... will you release a STABLE version of 1.2.2.2 befere you move to 64bits?

Since 1.2.2.2 no significant bugs have been reported, if there is real demand I could make a 32-Bit maintenance release.

fantasmanegro
24th April 2015, 15:45
Since 1.2.2.2 no significant bugs have been reported, if there is real demand I could make a 32-Bit maintenance release.

we will be very glad if you do that. :thanks:

aegisofrime
25th April 2015, 11:32
DGDecIM, it's not free but it's stable and in active development.

Oh? That's interesting. Last I heard DGDecIM was abandoned due to Donald Graft complaining about the lack of support from Intel. Has he picked it up again?

stax76
25th April 2015, 11:54
Oh? That's interesting. Last I heard DGDecIM was abandoned due to Donald Graft complaining about the lack of support from Intel. Has he picked it up again?

I've not followed it in detail, here is the thread:

http://rationalqm.us/board/viewtopic.php?f=5&t=371

aegisofrime
26th April 2015, 05:49
I've not followed it in detail, here is the thread:

http://rationalqm.us/board/viewtopic.php?f=5&t=371

Thanks for the link! Will give it a read.

BTW, would you consider adding support for the new Quick Sync encoder Q264?

stax76
26th April 2015, 09:25
Thanks for the link! Will give it a read.

BTW, would you consider adding support for the new Quick Sync encoder Q264?

I've not yet looked at Q264, QSVEncC seems to be pretty solid.

Users can integrate any CLI encoder into StaxRip, it's not really difficult, the next alpha will have 4 CLI examples including one that uses piping and one using 2 pass, all necessary macros and other things can be seen in the examples:

The CLI encoder supports multiline for multiple passes.

"%app:x264%" --pass 1 --bitrate %video_bitrate% --stats "%working_dir%%target_name%.stats" --output NUL "%avs_file%"
"%app:x264%" --pass 2 --bitrate %video_bitrate% --stats "%working_dir%%target_name%.stats" --output "%encoder_out_file%" "%avs_file%"

And it support piping and everything else possible in bat files, if there is a line break or piping symbol it's interpreted as bat file.

"%app:ffmpeg%" -i "%avs_file%" -f yuv4mpegpipe -pix_fmt yuv420p - | "%app:NVEncC%" --sar %target_sar% -c h265 --y4m --cqp 36 -i - -o "%encoder_out_file%"

"%app:DivX265%" -i "%avs_file%" -o "%encoder_out_file%" -br %video_bitrate% -10

"%app:xvid_encraw%" -i "%avs_file%" -avi "%encoder_out_file%" -par %target_sar% -single -cq 2 -smoother 0 -max_key_interval 250 -nopacked -vhqmode 4 -qpel -lumimasking -notrellis -max_bframes 1 -bvhq -bquant_ratio 162 -bquant_offset 0 -threads 1

Br4twurscht
5th May 2015, 16:14
Hi,

I really like StaxRip. Great work! :thanks:

But currently I try to remux mkv's to mp4's and it will not work. I used "Just Mux" at Video and Audio and set the container to mp4.

But the there is a hint: "The encoder outputs: 'mkv' but the container 'MP4' supports only avi, ac3, mp4, m4a, 264, h264, avc, 265, h265, hevc, mp2, mpa, mp3." And I can't ignore this hint.
The problem is, that the h264 video stream (encoded with x264) isn't demuxed while adding the mkv. And I can't find an option to force to demux the video stream.

I know that it would be possible to demux the video directly on console with eac3to and mux it with mp4Box or Yamb. But for a batch it would be nice to using StaxRip. And I don't like MkvToMp4 because it reencodes the audio stream.

Best regards
Br4twurscht

stax76
5th May 2015, 16:35
Hi, you cannot expect much from mp4box, it has so many shortcomings that it hurts. What you are asking for has however been requested 2-3 times so I've put this on the todo list now.

lotnybartek
7th May 2015, 06:49
DGDecIM, it's not free but it's stable and in active development.

Would I be able with this new tool to HW decoding?

So I'd decode using your new tool and encode with QSVenc?

When you're going to release it?

stax76
10th May 2015, 20:16
@Br4twurscht

I've added the feature (next x64 release).

Would I be able with this new tool to HW decoding?

So I'd decode using your new tool and encode with QSVenc?

When you're going to release it?

Next x64 release will have DGDecIM as avs decoder and QSVenC will also have a decoder option processing the video from beginning to end bypassing AviSynth entirely.

Brilliant
11th May 2015, 08:55
Hi all,

I think something is wrong in 1.3.1.0 beta I just downloaded.

I own a license for DGIndexNV, and I'm using it for all my indexing in all StaxRip versions I've come to use all these years. (BTW, great job Stax76... :) ). So I load a TS, it starts indexing OK. Then, upon completion (the moving pointer at the bottom has already reached the end of the bar) a popup shows:
FAILED TO OPEN SOURCE, TRY ANOTHER METHOD?

Cannot load file 'D:\StaxRip1310\DGDecodeNV\DGIndexNV.exe'
Platform returned code 193:
%1 is not a valid Win32 application.

(D:\Movies\MyMovie temp files\MyMovie_Source.avs, line 1)


DGIndexNV.exe is working OK in StaxRip 1.1.9 and 1.2.2. Actually it ends its job even in 1.3.1.0. I'm rather suspicious about the last line, which points out the first line of MyMovie_Source.avs, being:

LoadPlugin("D:\StaxRip1310\Tools\Plugins\ffms2\ffms2.dll")

I see that DLL is newer than the one in older StaxRip releases, so maybe it's worth investigating. Am I correct?

StainlessS
11th May 2015, 16:39
Is it a CPP version ffms2.dll ?,if not try LoadCPlugin.

Groucho2004
11th May 2015, 16:47
%1 is not a valid Win32 application
That could indicate that you're trying to load a 64 Bit PE image on 32 Bit Windows.
You are aware that the new staxrip version is 64 Bit only, right?

stax76
11th May 2015, 16:53
@Brilliant

You have to re-download DGDecNV as it's only working since yesterday.

@StainlessS

C ffms2 has a memory leak, I don't recommend it.

Brilliant
11th May 2015, 17:40
@Stax76

It looks like your advice to re-download (and re-license) DGDecNV (now at release 2049) made it! No more errors, no more calls to ffms2.dll, and much faster too. Thanks, I'm an happy camper again! :)

someoneXgr
11th May 2015, 23:24
I moved from 1.1.9.0 today
https://i.imgur.com/rARJq6U.png

and I can't find 2pass x264 in 1.3.1.0
https://i.imgur.com/KCKOnbQ.png

Is there somewhere an option for it?

Alexander
12th May 2015, 14:07
I moved from 1.1.9.0 today
https://i.imgur.com/rARJq6U.png

and I can't find 2pass x264 in 1.3.1.0
https://i.imgur.com/KCKOnbQ.png

Is there somewhere an option for it?

I have done so,
Photos are here

http://www5.zippyshare.com/v/Z9MwzI0v/file.html

someoneXgr
12th May 2015, 22:45
I have done so,
Photos are here

http://www5.zippyshare.com/v/Z9MwzI0v/file.html
Thank you very much, very detailed.

jkilez
19th May 2015, 18:02
@jkilez

I'm sorry, Win XP support is gone too. Working on the application think of it as weight difficult to carry taking away much development time that could otherwise be spent on much more important things.

After this last comment I had resigned myself to using the old 1.1.9.0 StaxRip as I need both Xvid and x264 encoding. Now I see that Xvid support is back in, albeit in a different form. Hurrah! Thanks for including it.

I have jumped right in to the StaxRip x64 1.3.1.0 beta and had some quick feedback.

The good:

Yes! Tooltips can be disabled.
Yes! The "filters" edit window is no longer pops up partly off screen when the main window is at the edge.
Yes! You can choose AQ mode 3 in the x264 options.
x264 encoding appears to be about 10-15% faster than 1.1.9.0.


The bad:

The version of xvid_encraw included does not support the "-metric [integer]" option needed to enable the PSNR-HVS-M VHQ metric. I do not have a build environment to make a 64-bit version of the current 1.3.3 release, but I found an old alpha build (http://freewarepros.com/files/Xvid_14_127_29082012.zip) that had a 64-bit xvid_encraw with that option included. The new version also replaces "-lumimasking" with "-masking [integer]" to allow for Variance masking. It appears to work just fine.
An xvid_encraw encoding process cannot be aborted via the GUI. I imagine this problem exists for any encode using the batch interface. The program needs to be smarter about killing the child processes of the batch process.
While the "filters" edit window now postions itself properly on the screen, it no longer dynamically adjusts its size. I often end up with large filter scripts (often with many "trim()" or "ApplyRange()" chains for different sections) that I now have to view through this little porthole of an edit window. Could that be changed somehow?


The other:

The sample code for xvid_encraw does not include a sample for the compressibility check, which it probably should, since it requires specific file names to work properly. It would also be nice if the code used variables to make for easier editing like:

Instead of:
"%app:xvid_encraw%" -smoother 0 -max_key_interval 250 -nopacked -vhqmode 4 -qpel -lumimasking -notrellis -max_bframes 1 -bvhq -bquant_ratio 162 -bquant_offset 0 -threads 1 -i "%avs_file%" -pass1 "%temp_file%.stats" -bitrate %video_bitrate% -par %target_sar% -turbo
"%app:xvid_encraw%" -smoother 0 -max_key_interval 250 -nopacked -vhqmode 4 -qpel -lumimasking -notrellis -max_bframes 1 -bvhq -bquant_ratio 162 -bquant_offset 0 -threads 1 -i "%avs_file%" -pass2 "%temp_file%.stats" -bitrate %video_bitrate% -par %target_sar% -avi "%encoder_out_file%"

This:
set b_opts=-max_bframes 1 -bvhq -bquant_ratio 162 -bquant_offset 0
set opts=%b_opts% -max_key_interval 250 -nopacked -vhqmode 4 -qpel -lumimasking -notrellis -threads 1 -bitrate %video_bitrate% -par %target_sar% -i "%avs_file%" -progress
"%app:xvid_encraw%" %opts% -pass1 "%temp_file%.stats" -turbo
"%app:xvid_encraw%" %opts% -pass2 "%temp_file%.stats" -avi "%encoder_out_file%"


The compressibility check code could then look like this:
set b_opts=-max_bframes 1 -bvhq -bquant_ratio 162 -bquant_offset 0
set opts=%b_opts% -max_key_interval 250 -nopacked -vhqmode 4 -qpel -lumimasking -notrellis -threads 1 -par %target_sar% -progress
"%app:xvid_encraw%" %opts% -cq 2 -i "%working_dir%\%target_name%_CompCheck.avs" -avi "%working_dir%\%target_name%_CompCheck.avi"

dejong12
20th May 2015, 19:07
I think you should post this in the other topic http://forum.doom9.org/showthread.php?t=172068

I don't think Stax checks this one often.

jkilez
20th May 2015, 20:33
for me custom metric works...
It appears that you are referring to the custom matrix option, "-qmatrix [file]". The VHQ metric part of the Motion Precision section, unrelated to the quantization matrix. In newer versions of Xvid, it can be either the default PSNR, or PSNR-HVS-M.

Patman
20th May 2015, 20:57
It appears that you are referring to the custom matrix option, "-qmatrix [file]". The VHQ metric part of the Motion Precision section, unrelated to the quantization matrix. In newer versions of Xvid, it can be either the default PSNR, or PSNR-HVS-M.

My mistake, know what you mean. I've found a new version of xvid_encraw x64 and the help option show me

xvid_encraw built at 15:35:18 on Mar 4 2015
Usage : xvid_encraw [OPTIONS]

Input options:
-i string : input filename (stdin)
-type integer : input data type (yuv=0, pgm=1, avi/avs=2) (0)
-w integer : frame width ([1.4096])
-h integer : frame height ([1.4096])
-csp string : colorspace of raw input file i420, yv12 (default)
-frames integer : number of frames to encode (all)

Output options:
-dump : save decoder output
-save : save an Elementary Stream file per frame
-o string : save an Elementary Stream for the complete sequence
-avi string : save an AVI file for the complete sequence

Rate control options:
-framerate float : target framerate (auto)
-bitrate [integer] : target bitrate in kbps (700)
-size integer : target size in kilobytes
-single : single pass mode (default)
-cq float : single pass constant quantizer
-pass1 [filename] : twopass mode (first pass)
-full1pass : perform full quality first pass (disabled)
-pass2 [filename] : twopass mode (2nd pass)
-max_key_interval integer : maximum keyframe interval (300)
-zones [zones] : use `-help zones' for usage guidelines
-zq starting_frame float : bitrate zone; quant
-zw starting_frame float : bitrate zone; weight

Single Pass options:
-reaction integer : reaction delay factor (16)
-averaging integer : averaging period (100)
-smoother integer : smoothing buffer (100)

Second Pass options:
-kboost integer : I frame boost (10)
-kthresh integer : I frame reduction threshold (1)
-kreduction integer : I frame reduction amount (20)
-ostrength integer : overflow control strength (5)
-oimprove integer : max overflow improvement (5)
-odegrade integer : max overflow degradation (5)
-chigh integer : high bitrate scenes degradation (0)
-clow integer : low bitrate scenes improvement (0)
-overhead integer : container frame overhead (0)
-vbvsize integer : use vbv buffer size
-vbvmax integer : vbv max bitrate
-vbvpeak integer : vbv peak bitrate over 1 second

BFrames options:
-max_bframes integer : max bframes (2)
-bquant_ratio integer : bframe quantizer ratio (150)
-bquant_offset integer : bframe quantizer offset (100)

Other options
-noasm : do not use assembly optimized code (use)
-turbo : use turbo presets for higher encoding speed (don't use)
-quality integer : quality ([0..6]) (6)
-vhqmode integer : level of R-D optimizations ([0..4]) (1)
-bvhq : use R-D optimizations for B-frames (don't use)
-metric integer : distortion metric for R-D opt (PSNR:0, PSNRHVSM:1) (0)
-qpel : use quarter pixel ME (don't use)
-gmc : use global motion compensation (don't use)
-qtype integer : quantization type (H263:0, MPEG4:1) (0)
-qmatrix filename : use custom MPEG4 quantization matrix
-interlaced [integer] : interlaced encoding (BFF:1, TFF:2) (1)
-nopacked : disable packed B-frames mode (enabled)
-noclosed_gop : disable closed GOP mode (enabled)
-masking [integer] : HVS masking mode (None:0, Lumi:1, Variance:2) (0)
-stats : print stats about encoded frames (don't print)
-ssim [integer] : print ssim for every frame (accurate: 0 fast: 4) (2)
-ssim_file filename : output the ssim stats into a file
-psnrhvsm : print PSNRHVSM metric for every frame (don't print)
-debug integer : activate xvidcore internal debugging output (don't activate)
-vop_debug : print some info directly into encoded frames (don't print)
-nochromame : disable chroma motion estimation (enabled)
-notrellis : disable trellis quantization (enabled)
-imin integer : minimum I Quantizer (1..31) (2)
-imax integer : maximum I quantizer (1..31) (31)
-bmin integer : minimum B Quantizer (1..31) (2)
-bmax integer : maximum B quantizer (1..31) (31)
-pmin integer : minimum P Quantizer (1..31) (2)
-pmax integer : maximum P quantizer (1..31) (31)
-drop integer : frame Drop Ratio (0..100) (0)
-start integer : starting frame number (0)
-threads integer : number of threads (auto)
-slices integer : number of slices (1)
-progress [integer] : show progress updates every n frames (10)
-par integer[:integer] : set Pixel Aspect Ratio (1)
1 = 1:1
2 = 12:11 (4:3 PAL)
3 = 10:11 (4:3 NTSC)
4 = 16:11 (16:9 PAL)
5 = 40:33 (16:9 NTSC)
other = custom (width:height)
-help : print this help message

NB: You can define up to 64 zones via both the -zones and the -z[qw] options as needed.


I Will tell it Stax.

stax76
20th May 2015, 21:45
My replies here:

http://forum.doom9.org/showthread.php?p=1723169#post1723169

L4a-Thompson
24th May 2015, 13:17
hi all together,
@Stax - So many thanks for this great tool.

i have a wish for the next release.
Can you an a textfile with the description of your integrated Avisynth Plugins?

an example for Undot() i have these. is this posible to add this descriptions?




//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

Also, this program is "Philanthropy-Ware". That is, if you like it and feel
the need to reward or inspire the author then please feel free (but not obligated)
to consider joining or donating to the Electronic Frontier Foundation. This will
help keep cyber space free of barbed wire and bullsh*t.

See their web page at www.eff.org

***************

Okay, on to business.

WARNING - This version only runs on the Avisynth 2.5 alpha release.

UnDot is a simple median filter for removing dots, that is stray orphan pixels and
mosquito noise. It basicly just clips each pixel value to stay within min and max
of its eight surrounding neigbors.


USAGE - To use it just:

1) Place the UnDot.dll in a directory somewhere. You can get it from
www.trbarry.com/UnDot.zip

2) In your Avisynth file use commands similar to

LoadPlugin("F:\UnDot\UnDot.dll")
Avisource("D:\wherever\myfile.avi")
UnDot()

Of course replace the file and directory names with your own. There are no parameters.


KNOWN ISSUES AND LIMITATIONS

1) Requires either YUY2 or YV12 input.

2) Sorry, currently requires a P-III, Athlon, or higher. Needs SSEMMX support.

3) So far it has only been tested on SSEMMX (P3 & P4) machines.

4) In YV12 format it will filter both luma and chroma. In YUY2 format it will
only filter luma.

FILE LOCATIONS

For now, both source, this readme, and DLL should be at:

www.trbarry.com/UnDot.zip

A copy of this Readme_UnDot.txt file should be at:

www.trbarry.com/Readme_UnDot.txt

***************

Change Log:


2003/01/18 V 0.0.1.1 Use AvisynthPluginInit2

2002/11/03 V 0.0.1.0 Initial test release for Avisynth 2.5 alpha only


thanks for all your work
best reguards
L4a-Thompson

L4a-Thompson
24th May 2015, 13:58
for deen a short description:

deen is a set of assembly-optimised denoisers.
http://avisynth.nl/index.php/Deen

how to use:
Deen()
DeenMoreDetails = Deen("a2d",2,3,2)


and my question is why you remove FluxSmoth from the plugins?
undot is not realy an alternative although i like undot

stax76
24th May 2015, 15:03
@L4a-Thompson

I'm not sure Deen is available for x64, x86 development is currently stopped, it might continue but probably not, the thread for x64 is here:

http://forum.doom9.org/showthread.php?t=172068

LoRd_MuldeR
24th May 2015, 15:22
~closed~

x86 version has been discontinued, please use the x64 thread now:
http://forum.doom9.org/showthread.php?t=172068