Log in

View Full Version : StaxRip


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

AMED
28th May 2017, 05:30
@AMED

Clicking on 'Copy Message' was supposed to copy the error message to the clipboard and show a message box 'Error was copied to clipboard'. Even though I couldn't understand why (something threading related I think) it didn't work, I think it is fixed now.

The exception that was happening is hopefully fixed too.

https://github.com/stax76/staxrip/blob/master/md/test-build.mdThanks Stax, I haven't seen this error again while using v1.4.5.4.

stax76
28th May 2017, 06:35
@qjb2016

When you run powershell from the start menu what do you see when you execute each of following lines:

$PSVersionTable.PSVersion

[Environment]::OSVersion

stax76
28th May 2017, 09:26
Version 1.5.0.0 has been released today.

Thanks everybody for the feedback provided since the least release.

https://github.com/stax76/staxrip/releases

qjb2016
28th May 2017, 10:21
@qjb2016

When you run powershell from the start menu what do you see when you execute each of following lines:

$PSVersionTable.PSVersion

[Environment]::OSVersion

PS C:\Users\Administrator> $PSVersionTable.PSVersion

Major Minor Build Revision
----- ----- ----- --------
4 0 -1 -1


PS C:\Users\Administrator>
PS C:\Users\Administrator> [Environment]::OSVersion

Platform ServicePack Version VersionString
-------- ----------- ------- -------------
Win32NT 6.3.9600.0 Microsoft Windows NT 6.3.9...

VincAlastor
28th May 2017, 11:19
this works for me:

https://s16.postimg.org/dobz0zn8l/Unbenannt.png

I'm sorry for asking but is it possible to do the same with ffmpeg as decoder?

Background is, i always wanna use the latest opus alpha/beta/stable encoder as external encoder.

Latest release is opusenc 1.2 beta and i only can find ffmpeg versions with opusenc 1.1.4 stable.

stax76
28th May 2017, 11:30
@qjb2016

Next build has a better error message:

MsgError("PowerShell Setup Problem", "Ensure you have at least PowerShell 5.1 installed.")

https://www.microsoft.com/en-us/download/details.aspx?id=54616


@VincAlastor

Sure it's possible, if you can't find out how and nobody answers then please create a new thread.


A guess would be:

ffmpeg -i %input% - | opusenc - %output%

DaMacFunkin
28th May 2017, 15:25
Amazing, Audio and subtitles demux at the same time, Mega Thanks.

qjb2016
29th May 2017, 02:38
@stax76

Thanks!!

wildpig1234
29th May 2017, 06:56
I am not sure if i am getting this error in stax because it's trying to use my nvs510 card that i have in the same computer instead of the gtx1070.

Any help is appreciated why i am getting this error. thanks

stax76
29th May 2017, 07:48
In the NVIDIA options dialog there is a 'Device' option on the 'Other' tab, on the bottom of the dialog is a small button with a drop down menu with some features to show hardware info.

DaMacFunkin
29th May 2017, 08:41
Mr Stax can i ask what is the default behaviour of this program?

If i import a MKV that has flac audio, it will demux the audio to a .mka file, then if i choose during the encode to have the audio as aac, does it re-encode the audio from the mka to flac again before aac encode, or does it just extract it from the .mka?
It appears to me it re-encodes the mka flac to flac first.

Please advise.

Alexander
29th May 2017, 08:53
@stax76

Staxrip 1.5.0.0, Shutdown after encoding doesn't work in the Creative Update of Windows 10 64 bit :)

wildpig1234
29th May 2017, 09:14
In the NVIDIA options dialog there is a 'Device' option on the 'Other' tab, on the bottom of the dialog is a small button with a drop down menu with some features to show hardware info.

Under other i can change the device number from 0-4. but do a check hardware and i get no nvenc support.

But i am able to use ffmpeg nvidia h265 but it doesn't seem like an ideal thing to use this. anyway i can get the other to work? thanks

stax76
29th May 2017, 10:05
If i import a MKV that has flac audio, it will demux the audio to a .mka file, then if i choose during the encode to have the audio as aac, does it re-encode the audio from the mka to flac again before aac encode, or does it just extract it from the .mka?
It appears to me it re-encodes the mka flac to flac first.

I don't know if it re-encodes, probably yes, I never noticed it extracts flac to mka, to determine the extension for extraction staxrip uses the Codec/String MediaInfo Parameter which is FLAC, in staxrip it was defined different as Flac so staxrip thought it's an unknown format and thus used mka, next build will fix it. Meanwhile you can use another mkvextract GUI like this one: https://forum.doom9.org/showthread.php?t=170249

Staxrip 1.5.0.0, Shutdown after encoding doesn't work in the Creative Update of Windows 10 64 bit

Shutdown and Standby will only work if there is only one instance running so if you have a non encoding instance open it will prevent Shutdown and Standby, I'm not sure this is OK or needs to be improved.

Under other i can change the device number from 0-4. but do a check hardware and i get no nvenc support.

But i am able to use ffmpeg nvidia h265 but it doesn't seem like an ideal thing to use this. anyway i can get the other to work? thanks

I don't know what could cause it, you can try to get help in the NVIDIA forum or this thread: https://forum.doom9.org/showthread.php?t=174621

varekai
30th May 2017, 09:13
@ stax76
Thanks for the update! Appreciate that!
Just wondering, is this a "stable" release?
At github I only see 1.5.0.0-x64
Thanks...

stax76
30th May 2017, 11:09
It's intended as stable release.

Taurus
30th May 2017, 16:49
@ wildpig1234:
Open a command prompt in Staxrip\Apps\NVencC and type NVEncC64.exe --check-device
This will show you the available grafics adapter installed on your machine.
Of course you have to change the path to NVEncC in your command line accordingly....
Try --check-features and/or --check-environment to narrow down the malfunction.
Your first grafics adapter should be: deviceID #0: Geforce ????

Schattenspieler
31st May 2017, 10:23
If i import a MKV that has flac audio, it will demux the audio to a .mka file, then if i choose during the encode to have the audio as aac, does it re-encode the audio from the mka to flac again before aac encode, or does it just extract it from the .mka? It appears to me it re-encodes the mka flac to flac first.
My 2ct: Your terminology is inconsistent. Right, FLAC may be demuxed/remuxed out of MKV into MKA, if StaxRip doesn't "know" the audio format. But MKA is still just a container (matroska audio, instead of matroska video). There would be no re-encode "from the mka to flac", because the FLAC audio is still in there. Nothing to recode, just to demux/extract. The only encoding needed is from FLAC to AAC. My guess is, you wittnessed the extraction of the FLAC out of the MKA. (Why that's not done in the first place, I wouldn't know.)

You can easily check by demuxing the FLAC directly from the source file and comparing it (bitwise or via hash) to the one found in the temp folder, which you guess was a re-encode. Right?

varekai
31st May 2017, 10:58
It's intended as stable release.

OK! Great, thanks!

regards

Patman
1st June 2017, 16:45
Hi Frank,

Showdown doesn't work for me with stable build 1.5.0.0. I reset all settings but no effect. I worked with one instance. Can you help? You need a log?

Greetz Pat

Gesendet von meinem E5823 mit Tapatalk

stax76
1st June 2017, 17:09
Hi, how many instances does the task manager show? It should be zero because every instance runs exactly one job and exits after that. If there are more jobs to encode it starts a new instance before it exits. Shutdown is done with a command line:

shutdown /f /s /t 0

Patman
1st June 2017, 21:24
Thanks for you help,

task manager shows me two instances. After closing of one, shutdown works.

Gesendet von meinem E5823 mit Tapatalk

stax76
2nd June 2017, 17:41
Starting from today every test build will have a own changelog.

Requirements

.NET 4.7 is required on systems prior Windows 10 Version 1703 (Creators Update)

https://www.microsoft.com/en-us/download/details.aspx?id=55170

Download

https://drive.google.com/open?id=0B-gPKiJYuKuITld4dzhuTC1WWWM

https://onedrive.live.com/redir?resid=604D4754F64B0ABC!4140&authkey=!ANUm9V3vTPmEFNI&ithint=folder%2c7z

1.5.0.1 unstable test build


new: experimental AV1 codec support
new: the demux app was removed, the built-in demuxing GUIs for mkvextract, mp4box, eac3to and ffmpeg can be used as independent tool found at: Tools > Advanced > Demux
fix: FLAC was extracted to mka instead of flac
tweak: staxrip is a bit smarter to find out if all job processing is completed and shutdown/standby can be performed
update: MP4Box 0.7.2-DEV-rev79 which fixes issues with qsvenc output
update: MediaInfo 0.7.96
update: ffmpeg 3.3.1

NikosD
2nd June 2017, 17:46
On every new version, your app looks like even closer to professional.

Hope you keep it free :D

Taurus
2nd June 2017, 18:08
Thanks for the changelog!
It's getting better all the time.

stax76
2nd June 2017, 19:57
@Nikos

It'll stay free like that Patty Smith song.


@Taurus

You're welcome.

Schattenspieler
3rd June 2017, 12:28
On every new version, your app looks like even closer to professional.
Like working on a car, now finally doing the last finishes. And this car runs quite well! :D

Yanak
3rd June 2017, 12:53
Hi Stax,
just saw last text version and for once I'm not really convinced by one change, the demux tool as it is now is a bit a downgrade compared to before.

- No drag and drop for input file ( we need to set manually input and output by selecting paths and folder, was way better before with just a drag of the file and all set automatically)
- Need to select the demuxer type, was done automatically before.
- No way to extract the video track from a MKV for example, was possible using the GUI demuxer, it is also easily possible with MP4's using mp4box to get the video track extracted but this was not implemented before already.

I will gather the previous demuxer with GUI and make a menu shortcut for it to continue using it i think, used to have a shortcut for it using "StartTool demux" command but this seems removed now, gives "KeyNotFoundException" error for the shortcut, will do a small call by a batch command instead and it should do the trick.


And thanks for the mp4box new version, i encountered 1 error trying to mux some stuff into a mp4 and left it as i did not had time to dig deeper and make a bug report, but after testing and comparing with last update it seems like it was mp4box fault.

Thanks a lot , and i agree with what others said, professional quality tool close to perfection with all customization possibilities :)


PS : Anyone knows what command line could be used to extract in one shot all content from a .MKV file please ?
Something that could be comparable with "%app:MP4Box%" -dump-cover -raw * "%source_file%" for a mp4 or mov, this command extracting all audio and video tracks and the cover (if there is one)

Thanks again.

sauvage78
3rd June 2017, 13:10
Just thks, I use Staxrip more & more.

stax76
3rd June 2017, 14:00
@Yanak

Next build supports drag & drop and sets the output folder to the source folder.

Sometimes it can be useful being able to choose from 3 demuxing apps, if there is a file mp4box can't handle there is a chance ffmpeg can handle it.

For video track demuxing you could create a issue on the tracker.

PS : Anyone knows what command line could be used to extract in one shot all content from a .MKV file please ?
Something that could be comparable with "%app:MP4Box%" -dump-cover -raw * "%source_file%" for a mp4 or mov, this command extracting all audio and video tracks and the cover (if there is one)

It's unlikely that mkvextract has a demux everything feature, eac3to has something like this I think.

Yanak
3rd June 2017, 14:23
Hi Stax,
- Drag and drop will be very welcome, current demuxing tool is very nice for the workflow used like this, thank you.

- That's true i did not saw this under this point of view, especially since now you have to restart all process if one demuxer fails, but yeah seen like this you're right, will be better once drag and drop will speed up the process too.

- Will create a request on github a bit later for extracting also video track(s) via the demuxing tool, ( bit busy right now but will do before the end of the day) thanks a lot

- I searched a bit in mkvextract doc and i did not found, asked in case i missed something :/ Thanks for the answer and help.

Demuxing files to just reencode or add another audio track or simply add a cover to the file or even things like taking an .avi with XviD content for video file, cutting/trimming it and putting the output into a MKV container, then demuxing the content of the created MKV to then put all tracks inside a MP4 container as this cannot be done in one step from the first .avi input file directly into a MP4 is something really useful and quite easy to do, especially once you have created some specific profiles and event commands, easy and fast to process those modifications, thanks a lot for all.

Washka
4th June 2017, 13:46
@Stax76
I start encoding 2x same video in same time by mistake.. Try to encode any video, minimize the log window that pop up when encoding start and try to start encoding same video again. You get wall of text with errors. Maybe StaxRip should know that encoding is already in progress or something.. :) I`m using 1.5.0.1

stax76
4th June 2017, 14:01
There is a shared job list but other then that no communication between instances, when a job processing instance runs a job it disables the job in the job list so it's not processed by an additional job processing instance and when the job is finished it's removed from the job list. To create multiple jobs from the same source is a popular feature, creating jobs with same target file should hardly happen since the job project file paths are created from the target name. I don't know what exactly you did and if there is something staxrip could do better.

Disturbance
5th June 2017, 08:03
@Stax76

Hello, I seem to be having an ongoing issue with staxrip in both every release I have tried so far (currently on 1.5.0.0). When I load in some files it will auto crop them and prevent me from changing it at all, it does this while having all the auto crop and aspect ratio options turned off. The source res and DAR is:

Width : 1 912 pixels
Height : 802 pixels
Display aspect ratio : 2.40:1

Then staxrip will add in the code preview "Crop(0, 0, -0, -2)" and changes it to DAR/SAR 2.39. I am unable to get rid of that crop command as it is not editable, so it ends up making the video 1912x800, is there any way to stop this from happening and getting it to import correctly with it not trying to change it?

stax76
5th June 2017, 10:14
@Disturbance

Hi, it forces mod 4 on load to improve compatibility. It can't be disabled but you can edit the code by double-clicking the filter list.

Magik Mark
5th June 2017, 10:48
Hi Stax!

I dunno if this has been asked and answered. Is there a way to automatically crop black bars? Will the encoding become faster if part of the video has been removed?

stax76
5th June 2017, 11:34
Hi Stax!

I dunno if this has been asked and answered. Is there a way to automatically crop black bars?

Hi Mark, if I remember right then you only have to enable the crop filter before you load a source.

Will the encoding become faster if part of the video has been removed?

Sure, try it yourself using 'Execute Command Line' in the codec options, that'll show you a fps value.

craigpro
5th June 2017, 11:57
Hi stax76, thank you for an excellent utility I've been happily converting my DVD / bluray collection to HEVC but I've encountered an issue with DAR - I have some files which are 960x718 resolution and have a DAR of 16:9 - when I re-encode them the pixels are the same but DAR is changed to 4:3. Sorry, I have tried both 1.4.0.0 and 1.5.0.0 stable releases and it changes the DAR with either version.

I've tried auto aspect on / off but the DAR is changed. How can I keep the original DAR please? Thank you.

stax76
5th June 2017, 12:05
Hi stax76, thank you for an excellent utility I've been happily converting my DVD / bluray collection to HEVC but I've encountered an issue with DAR - I have some files which are 960x718 resolution and have a DAR of 16:9 - when I re-encode them the pixels are the same but DAR is changed to 4:3. Sorry, I have tried both 1.4.0.0 and 1.5.0.0 stable releases and it changes the DAR with either version.

I've tried auto aspect on / off but the DAR is changed. How can I keep the original DAR please? Thank you.

Hi! Please post a screenshot of the main dialog.

craigpro
5th June 2017, 12:49
Hi! Please post a screenshot of the main dialog.

done. the screenshot also has a mediainfo text tree of the same file next to it.. mediainfo sees the 16:9 DAR but because of the straight pixel count staxrip sees the DAR as 4:3

https://postimg.org/image/almxz7gf7/

stax76
5th June 2017, 13:36
Auto detection works fine as far as I can tell: https://postimg.org/image/ro3szst6b/

In the main dialog top left is a menu called 'PAR' where you can choose: DAR > 16:9

craigpro
5th June 2017, 14:00
Auto detection works fine as far as I can tell: https://postimg.org/image/ro3szst6b/

In the main dialog top left is a menu called 'PAR' where you can choose: DAR > 16:9

yeah I tried that sorry, didn't change anything on menu or when I re-encoded the file.

EDIT : Sorry it changes the PAR to 255:192 but the DAR always stays 1.333

stax76
5th June 2017, 14:09
You mean you choose DAR > 16:9 in the menu and the target file is still wrong? This would mean there is a bug in nvenc.

Are you sure you are getting another auto detection then me? Please load the source in staxrip, right-click the path, choose MediaInfo, choose Advanced, create pastebin

craigpro
5th June 2017, 14:14
You mean you choose DAR > 16:9 in the menu and the target file is still wrong? This would mean there is a bug in nvenc.

Are you sure you are getting another auto detection then me? Please load the source in staxrip, right-click the path, choose MediaInfo, choose Advanced, create pastebin

source file info done as you requested above:
https://pastebin.com/pwT98Swq

I just re-encoded then and the resulting file DAR is 4:3 according to mediainfo (and when I play it).

stax76
5th June 2017, 14:24
AR signaling don't work indeed, I'll report this to the nvenc author. You can't set the AR in staxrip's mkv muxing options so you have to use the null muxer 'No Muxing' and mux it with mkvtoolnix GUI where you can set the AR. Before I can decide what to do about it I have to wait what the nvenc author is saying, as far as I know the bitstream is written by the NV SDK so there probably won't be a quick fix and I will have to code a workaround.

craigpro
5th June 2017, 14:30
AR signaling don't work indeed, I'll report this to the nvenc author. You can't set the AR in staxrip's mkv muxing options so you have to use the null muxer 'No Muxing' and mux it with mkvtoolnix GUI where you can set the AR. Before I can decide what to do about it I have to wait what the nvenc author is saying, as far as I know the bitstream is written by the NV SDK so there probably won't be a quick fix and I will have to code a workaround.

ok thank you for your time and assistance with this issue.

Disturbance
5th June 2017, 23:48
@Disturbance

Hi, it forces mod 4 on load to improve compatibility. It can't be disabled but you can edit the code by double-clicking the filter list.

@Staxrip

Thanks for that, I had that dialogue up many times previously but was looking in the crop section, I had never noticed it in the Source section. That has fixed the issue for me.

Just another quick question, do you think the program will one day support subtitle cutting or would that be too much effort for too little payoff for you?

craigpro
6th June 2017, 00:24
unfortunately I have a usage question and don't know if this is the correct thread to ask in - but how do I set an entire folder to be resized, or change the audio (eg: EAC3 to AC3)? Do I need to set up templates to do that? But how about resizing, don't you need to have a source file first off so it knows how big it is and what size you want it resized to? thank you.

stax76
6th June 2017, 12:02
@Staxrip

Thanks for that, I had that dialogue up many times previously but was looking in the crop section, I had never noticed it in the Source section. That has fixed the issue for me.

Just another quick question, do you think the program will one day support subtitle cutting or would that be too much effort for too little payoff for you?

Probably I should move it to the crop section.

Subtitle cutting thanks to Mosu might be relatively easy to do so it's definitively something I would like to support. It might not be much more difficult then the mkvmerge audio cutting function which is relative small like 20 lines if I remember right.

unfortunately I have a usage question and don't know if this is the correct thread to ask in - but how do I set an entire folder to be resized, or change the audio (eg: EAC3 to AC3)? Do I need to set up templates to do that? But how about resizing, don't you need to have a source file first off so it knows how big it is and what size you want it resized to? thank you.

I'm not sure what you try to do, I would like to help but I'm pausing staxrip and doom9 for a week.

sneaker_ger
6th June 2017, 12:10
Subtitle cutting thanks to Mosu might be relatively easy to do so it's definitively something I would like to support. It might not be much more difficult then the mkvmerge audio cutting function which is relative small like 20 lines if I remember right.
Be warned that mkvmerge subtitle cutting has limitations. Cutting in the middle of a line can break things.