Giter Club home page Giter Club logo

staxrip's Introduction

GitHub Release GitHub License GitHub all releases GitHub Repo stars Discord
Static Badge Static Badge Static Badge


About

StaxRip is a powerful video/audio encoding GUI for Windows.
It executes and controls console apps such as x265, mkvmerge, ffmpeg, etc. and uses scripting based frame servers, AviSynth+ and VapourSynth, for video processing. Each project can also be extended by various events and settings.

StaxRip is no One-Click Encoder!
StaxRip is capable of performing a wide variety of jobs for video/audio processing. To unleash its full power, users are required to know what they want to achieve and how to set up StaxRip to meet their needs. If you are a first-time user, it is especially strongly recommended that you learn the basics referring to the documents and do some tests to understand how StaxRip works and what you can achieve with it. However, StaxRip also provides an 'Assistant' feature that will guide you through your jobs step by step so that you can start more easily and prevent mistakes.

There are a lot of resources in StaxRip-related communities. Users are strongly encouraged to visit those communities for help and more information.

Documentation & useful links

GitHub Release GitHub License GitHub all releases

  • You can find plenty of information and instructions on Wiki.
  • For the current changelog click here: Changelog - it's worth taking a look at it.
  • To download StaxRip browse through all Releases or jump directly to the Latest Release.

Contribution / Support

GitHub License Discord Static Badge Static Badge Static Badge

StaxRip is free to use under MIT license. If you want to contribute, you can report issues, open pull requests for bug fixes and extentions or you can donate.

Donation

If you want to donate to support StaxRip and keep it alive, you can do it by using those links:

Any contribution is highly appreciated!

Bug Reports / Feature Requests

  • Please try the Latest Release first. Usually you will find that many outstanding bugs are already fixed in the latest release versions.
  • You can also have a look at the Changelog to see if there is an entry already made for the bug/feature request you are experiencing/desiring.
  • If the Latest Release does not solve your problem, please use the Issue Tracker. You need to be as precise as possible using the Issue Tracker template when opening a thread in it.

Community

  • Feel free to join in the StaxRip Community on Discord , where you can chat and share knowledge with us and other StaxRip users. This is the way to go if you have questions regarding settings, usage, etc.

  • Usage questions can also be asked on the StaxRip threads on

    although no developer or contributor is active there anymore.

Prerequirements

  • OS limitations: Windows 7 users can use StaxRip only partly. The following tools are included and don't have official Windows 7 support anymore. You in case you don't want to upgrade your system, you can replace these tools with an older, compatible, version, which should work, but of course with some limited usability:

    • MKVToolNix
      • Latest working version is reported to be v64.0. Last (complete) working StaxRip version is StaxRip v2.10.0 (2021-10-06) including MKVToolNix v61.0
      • Nevertheless mkvtoolnix-64-bit-68.0.0-revision-001-g6a55c58d2 is reported to work, you can download it here: https://mkvtoolnix.download/windows/continuous/64-bit/68.0.0/
    • Python
      • Needed for VapourSynth. Last Windows 7 compatible version was used in StaxRip v2.25.0 (2023-08-02). As of now using VapourSynth R63 it could be possible to downgrade Python to v3.8.*that is Windows 7 compatible, but requires experienced users.

    Alternatively you can download an old StaxRip release, but then you don't benefit from new functions and bug fixes.

  • Some tools and filters might need a specific version of Microsoft Visual C++ Redistributable Runtimes. Due to the frequent changing and replacing of tools and filters, it is impossible to provide precise details about the right dependency. So if you get error messages to due to missing runtime files, we recommend to download and install the Microsoft Visual C++ Redistributable Runtimes All-in-One.

Screenshots

Main Window

Code Editor

Event Command Editor

x265 Options

NVEnc Options

Processing

Thumbnailer

staxrip's People

Contributors

44vince44 avatar badcf00d avatar bdr99 avatar be-sc avatar dendraspis avatar gregoryl77 avatar james-elicx avatar jjkylee avatar jkilez avatar littlevulpix avatar ofek avatar patman86 avatar pianistrevor avatar revan654 avatar samkatakouzinos avatar sheik124 avatar stax76 avatar tkozybski avatar valdiralita avatar wybb avatar xp1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

staxrip's Issues

Cutting and hard-coding subtitles don't work.

Using cutting/trimming by using preview and then selecting ssa/ass subtitle file from Tools>Advanced>Subtitles>Hardcoded Subtitle results in plain video (without burnt subtitles)...and sometimes gets stuck (plz check screenshot) and throws error on closing (plz check error log).

Tried ass file encoded in utf-8, utf-8 with bom and ansi ...but nothing works...Details:
Encoder: Nevnc x264 (Rigaya) 4.46
Filetype: mkv with/without subtitle.
Staxrip Vrsion: 2.0.4.0 stable.
Even tried to place cutting before subtitle etc.
staxrip_screen
staxrip-error.txt

Although Nvenc 4.46 has inbuilt commands to add subtitles (vpp subburn) and trim but the subtitles are out of sync (change in video length due to trim is not reflected on ssa/ass subtitle....ts_offset doesn't work) ....reporting separately to nvenc.
Thanks

Some encodes fails around the ffmsindex point if project uses multiple drives

My setup:
Drive A - MKV remuxes of my media
Drive B - Temp-files
Drive C - Completed encodes

I run a lot of batch jobs, and about 1 in 8 files silently crashes StaxRip at the end of the ffmsindex step. (It's the same movies every time, and repeated processing always failed.)

What happens:
I start the demux, ffmsindex gets to 100%, and one of two things happen (with a "fail-file"):
1: The ffmsindex window closes and the encode never starts (nor does the StaxRip UI load up)
2: The "Processing Jobs" window is left open (and blank) for several minutes while in the Resource Monitor I can see StaxRip saturate the read capacity of my temp-drive (while my HDD LED does not reflect this activity) for several minutes, and then back to the above point.

Why is this a bug:
I consolidated the files and folders on one drive, and now the "fail-files" are encoding as if nothing was wrong in the first place.

Support for importing information from .nfo files

Boa tarde, estou aqui para aditar um pedido que fiz no fórum doom9, que é a importação de tags para os arquivos mkv como tags próprias desse container, estou a propor que, vou dar um exemplo prático:

Exemplo 01 - Para filmes:

<title>60 Segundos</title> Gone in Sixty Seconds 2000 6.2 2371 0.0 0 Randall "Memphis" Raines (Nicolas Cage) um lendário ladrão de carros. Nenhuma fechadura ou alarme pode pará-lo e ele consegue roubar seu carro em apenas 60 segundos. Durante anos, Memphis iludiu a polícia local, aplicando todo tipo de golpe imaginável. Mas quando o cerco ficou muito intenso, ele decidiu por largar a vida de crimes e partir para uma vida completamente diferente. Mas agora, quando seu irmão caçula (Giovanni Ribisi) está tentando seguir seus passos no mundo do assalto a automóveis, Memphis volta a agir para tentar salvar a vida de seu irmão. É só o que precisa para seu carro sumir. 118 http://image.tmdb.org/t/p/w500/yzwyP9DIKxky986LjWI3FObAmOH.jpg http://image.tmdb.org/t/p/original/8tlcHEUVw4pJgWUuV2GthbvJEhQ.jpg Rated PG-13 US:PG-13 / US:Rated PG-13 tt0187078 9679 9679 tt0187078 4951 Estados Unidos 2000-06-09 true 1 Ação Policial Thriller Jerry Bruckheimer Films Touchstone Pictures H.B. Halicki Scott Rosenberg Dominic Sena sibling relationship detective car race car thief blackmail brother remake heist betrayal organized crime shootout police chase explosion violence lock pick car chase stakeout illegal drugs stolen cars ford mustang blacklight Nicolas Cage Randall 'Memphis' Raines http://image.tmdb.org/t/p/h632/kFULDrUeofwJg5kqCcNftmBcBZP.jpg https://www.themoviedb.org/person/2963 Giovanni Ribisi Kip Raines http://image.tmdb.org/t/p/h632/mLQrEU7X7GD5V7i1clGRqpg8PVk.jpg https://www.themoviedb.org/person/1771 Angelina Jolie Sara 'Sway' Wayland http://image.tmdb.org/t/p/h632/gD8jlGkQC8GBajulNlIzBK1YEO1.jpg https://www.themoviedb.org/person/11701 T.J. Cross Mirror Man http://image.tmdb.org/t/p/h632/kYf4hL8UfzUhLuDwACJFWop6hrN.jpg https://www.themoviedb.org/person/58497 William Lee Scott Toby http://image.tmdb.org/t/p/h632/dq4IWfaRLghUgkIUB7UVBlhWj8t.jpg https://www.themoviedb.org/person/10128 Scott Caan Tumbler http://image.tmdb.org/t/p/h632/kvUKf9HCaqUtgj7XuKZOvN66MOT.jpg https://www.themoviedb.org/person/1894 James Duval Freb http://image.tmdb.org/t/p/h632/psa8zYiaIeyUWH2cnZG0w11G3dW.jpg https://www.themoviedb.org/person/1582 Will Patton Atlee Jackson http://image.tmdb.org/t/p/h632/qpycaaWP1oUx1Wd2lMBfQtR7qDO.jpg https://www.themoviedb.org/person/883 Delroy Lindo (Det) Roland Castlebeck http://image.tmdb.org/t/p/h632/uhjdTemc2kYbQj47bVqRb7OdVjH.jpg https://www.themoviedb.org/person/18792 Timothy Olyphant (Det) Drycoff http://image.tmdb.org/t/p/h632/qPqm3mx3xzROFjlSGvh5dqR0XtV.jpg https://www.themoviedb.org/person/18082 Chi McBride Donny Astricky http://image.tmdb.org/t/p/h632/8SZovWxZzQ78uQp2rNzU9fKyYJS.jpg https://www.themoviedb.org/person/8687 Robert Duvall Otto Halliwell http://image.tmdb.org/t/p/h632/1aBC7NxPy10ofng6HsJBecJ1vMZ.jpg https://www.themoviedb.org/person/3087 Christopher Eccleston Raymond Calitri http://image.tmdb.org/t/p/h632/bx7RmVIxxuC1ZTGVIOuuvkP88OQ.jpg https://www.themoviedb.org/person/2040 Vinnie Jones The Sphinx http://image.tmdb.org/t/p/h632/1QQea9t0JkRVVVbgVtpGAQuf0x5.jpg https://www.themoviedb.org/person/980 Grace Zabriskie Helen Raines http://image.tmdb.org/t/p/h632/19tr5IbzCmv4x5B3WFlG1RQPwXu.jpg https://www.themoviedb.org/person/6465 Frances Fisher Junie http://image.tmdb.org/t/p/h632/248IbuAi6RQG5l94a4hClUswbA5.jpg https://www.themoviedb.org/person/3713 Jesse Corti Cop - At Quality Café http://image.tmdb.org/t/p/h632/eiZnJIqQ6JTzusiMF1GnhDjVWdw.jpg https://www.themoviedb.org/person/75599 Lois Hall Old Woman http://image.tmdb.org/t/p/h632/k6AR981Wne31IhGAGxrb7FSalV7.jpg https://www.themoviedb.org/person/69642 Dean Rader Duval Hype http://image.tmdb.org/t/p/h632/dbvphLdVQwcW9JHIqufKhC3HtLx.jpg https://www.themoviedb.org/person/1279744 Kevin Weisman Intern 2 http://image.tmdb.org/t/p/h632/scVnbzhfefR0tp0p4X6LHiKIgQx.jpg https://www.themoviedb.org/person/149670 Billy Devlin Detective Jurgens http://image.tmdb.org/t/p/h632/dnxo4BhdJk2LWYnhz7zLiuZZ9mt.jpg https://www.themoviedb.org/person/1838353 Bodhi Elfman Frizzel http://image.tmdb.org/t/p/h632/8E88yatmj6bJywXqLmm1I0C3RWR.jpg https://www.themoviedb.org/person/154883 Arye Gross James Lakewood http://image.tmdb.org/t/p/h632/ha4ziYlBSBBHs88ltnamOKLZ084.jpg https://www.themoviedb.org/person/72028 Greg Collins San Pedro Cop http://image.tmdb.org/t/p/h632/42p7hsOck2OzIkr4b9Wtp0HckkG.jpg https://www.themoviedb.org/person/58950 Joseph Patrick Kelly Snake G.R.A.B. http://image.tmdb.org/t/p/h632/FsyGOuH6AEbKf6VtTrhlaBnUs2.jpg https://www.themoviedb.org/person/173886 Scott Burkholder Rent a Cop http://image.tmdb.org/t/p/h632/h77cldT88mrsvCr7Lw7sRvYMgoo.jpg https://www.themoviedb.org/person/104503 Billy 'Sly' Williams Cop http://image.tmdb.org/t/p/h632/jhzsqj8kzuY72Dzl4wuwPcvz3IH.jpg https://www.themoviedb.org/person/1088201 Carmen Argenziano Detective Mayhew http://image.tmdb.org/t/p/h632/8fi4xfPwYVHulKvmTTlwBx2nvLo.jpg https://www.themoviedb.org/person/28413 Michael Peña Ignacio http://image.tmdb.org/t/p/h632/oqlIKSglghuX7kSTalODn71nlOd.jpg https://www.themoviedb.org/person/454 John Carroll Lynch Impound Manager http://image.tmdb.org/t/p/h632/5eEGOANKnCCj7FLa3oV28gGYWkW.jpg https://www.themoviedb.org/person/3911 Ken Jenkins Televangelist (uncredited) http://image.tmdb.org/t/p/h632/6w9OgC4nGUfYavC86a3FeeMgUJ4.jpg https://www.themoviedb.org/person/38570 Master P Johnnie B. (uncredited) http://image.tmdb.org/t/p/h632/crshi8WF4eXvaumY5CLmPoTyMFB.jpg https://www.themoviedb.org/person/65164 Brian McNamara Parking Garage Attendant (uncredited) http://image.tmdb.org/t/p/h632/aemVY13WmPKj3TOWSvtbWs7Vgzu.jpg https://www.themoviedb.org/person/27238 Jerry Bruckheimer Producer http://image.tmdb.org/t/p/h632/lQu9eRzRX264j2LFQwvKC50wb9s.jpg Denice Shakarian Halicki Executive Producer Jonathan Hensleigh Executive Producer http://image.tmdb.org/t/p/h632/l1c4UFD3g0HVWj5f0CxXAvMAGiT.jpg Chad Oman Executive Producer http://image.tmdb.org/t/p/h632/l84amvUZOrpSU5GRTDYoEkvbh25.jpg Mike Stenson Producer Robert Stone Executive Producer Webster Stone Executive Producer Barry H. Waldman Executive Producer Aristides McGarry Associate Producer Pat Sandston Associate Producer Victoria Thomas Casting http://image.tmdb.org/t/p/h632/cdOR8cgySFsgxWtp6hGA3eMsVra.jpg Diane L. Sabatini Production Supervisor plugin://plugin.video.youtube/?action=play_video&videoid=cxCE9gDm1vo&hd=1 inglês 2017-04-07 AAC 2 UNKNOWN NONE

In this case, you would import from this file, by way of example, since there are so many fields, that the file would import as a tag:

as a mkv tag title

Randall "Memphis" Raines (Nicolas Cage) um lendário ladrão de carros. Nenhuma fechadura ou alarme pode pará-lo e ele consegue roubar seu carro em apenas 60 segundos. Durante anos, Memphis iludiu a polícia local, aplicando todo tipo de golpe imaginável. Mas quando o cerco ficou muito intenso, ele decidiu por largar a vida de crimes e partir para uma vida completamente diferente. Mas agora, quando seu irmão caçula (Giovanni Ribisi) está tentando seguir seus passos no mundo do assalto a automóveis, Memphis volta a agir para tentar salvar a vida de seu irmão.
And the text above as the content of the plot tag

In brief, summarized synthesis, all fields text were imported. Since was imported as the name of the respective tag, the text as the content of the respective tag.

MP4Box in 2.0.4.3 Beta leaves a Wolfberry metadata in the video stream

I know that this is related to Wolfberry's MP4Box build, but I'm opening an issue here because I don't know where to go about this matter.

Like the title says, Wolfberry's MP4Box included in 2.0.4.3 Beta seems to leave a 'Title' metadata in the video stream containing the version info of the MP4Box build.

StaxRip-2 0 4 3-Beta_mp4box(Wolfberry)_video_stream_finger-print

How can we deal with this?

It's normal?

First of all thx for this great program!

PC Specs:

I7 77OOK | CORSAIR 32 GB | MSI GTX 1080TI 11GB GAMING X.

Nvidia Drivers: 436.15 STANDARD - Game Ready.

Version of the program: StaxRip-x64-2.0.3.0-stable

I mostly was searching for a good video convertor for use H265 so i can take adavantage of the GPU.
And after trying a lot of convertors with CUDA capability, i just found StaxRip and seems to be really fast.

But the only way i could make the program to use my GPU is applying this setting:

Screenshot_5

If i let it with "CPU will sleep when waiting for GPU task" it only use CPU and not GPU.

And the usage of CPU & GPU is this:

Screenshot_4

If you look at the Task Manager it says the GPU usage if about 50% but if you look at the bottom of the program screen console it says 9%.

Is there a way i can make the program use more the GPU and less CPU?

Thx in advance!

Quality not shown in Main Windows

Hello!
I don't get the quality setting in the main window.
The last version where it works is 2.0.0.0.
If i use the settings folder from the 2.0.0.0 version in a newer version it works, but if i use a fresh settings folder in a newer version it is not shown.
sr1

Use pipeline instead of converting audio to wav?

I've noticed that when StaxRip encoding a flac track using encoder fdkaac, it will be first converted to wav, but fdkaac does receive from pipeline, wouldn't it be better to use it? (can decrease some hard drive stress at least)

Auto add Embedded subtitles (mkv to mp4)

There is no clear way to (auto) add subtitles when you upload (File Batch). It'll mix video + audio only.
Is there a way to auto add the extracted subtitles to the new mp4?
Note: I'm using Arabic subs now

eac3to 3rd party lib upate request.

the libdcadec.dll and libFLAC.dll in eac3to are too old.

the FLAC still stay in v1.2.1 and dcadec have bugs in DTS-HD XLL and not support DTS Express.

My build with Visual Studio 2019.

https://mega.nz/#!dFAmEC4Y!WMTQvzLkfTDHPfhTXURSLaFWbmDMVaq3dKfk4ucjYrI

Source

FLAC 1.3.3 release
https://github.com/xiph/flac

dcadec latest git
https://github.com/withmorten/dcadec/

test

eac3to v3.34
command line: "E:\StaxRip\Apps\Audio\eac3to\eac3to.exe" G:\CHARS_COUNTERATTACK_UHDBD\BDMV\STREAM\00003.m2ts 2: "F:\[philosophy-raws][Mobile Suit Gundam The Movie Char's Counterattack]\00003 ID2 Japanese.flac" 3: "F:\[philosophy-raws][Mobile Suit Gundam The Movie Char's Counterattack]\00003 ID3 Japanese.flac" 4: "F:\[philosophy-raws][Mobile Suit Gundam The Movie Char's Counterattack]\00003 ID4 Japanese.sup" -progressnumbers
------------------------------------------------------------------------------
M2TS, 1 video track, 2 audio tracks, 1 subtitle track, 1:59:54, 11.988p
1: h265/HEVC, 2160p24 /1.001 (16:9), 10 bits
2: RAW/PCM, Japanese, 2.0 channels, 24 bits, 48kHz
3: DTS Master Audio, Japanese, 3/1.1 channels, 24 bits, 48kHz
   (core: DTS, 3/1.1 channels, 1509kbps, 48kHz)
4: Subtitle (PGS), Japanese
[a02] Extracting audio track number 2...
[a03] Extracting audio track number 3...
[s04] Extracting subtitle track number 4...
[a02] Reading RAW/PCM...
[a02] Swapping endian...
[a02] Encoding FLAC with libFlac...
[a03] Decoding with libDcaDec DTS Decoder...
[a03] Encoding FLAC with libFlac...
[a03] Creating file "F:\[philosophy-raws][Mobile Suit Gundam The Movie Char's Counterattack]\00003 ID3 Japanese.flac"...
[a02] Creating file "F:\[philosophy-raws][Mobile Suit Gundam The Movie Char's Counterattack]\00003 ID2 Japanese.flac"...
[s04] Creating file "F:\[philosophy-raws][Mobile Suit Gundam The Movie Char's Counterattack]\00003 ID4 Japanese.sup"...
[a02] The original audio track has a constant bit depth of 24 bits.
[a03] The original audio track has a constant bit depth of 24 bits.
Video track 1 contains 172464 frames.
Subtitle track 4 contains 1811 captions.
eac3to processing took 7 minutes, 59 seconds.
Done.

FLAC mediainfo

General
Complete name                            : F:\[philosophy-raws][Mobile Suit Gundam The Movie Char's Counterattack]\00003 ID3 Japanese.flac
Format                                   : FLAC
Format/Info                              : Free Lossless Audio Codec
File size                                : 2.17 GiB
Duration                                 : 1 h 59 min
Overall bit rate mode                    : Variable
Overall bit rate                         : 2 591 kb/s

Audio
Format                                   : FLAC
Format/Info                              : Free Lossless Audio Codec
Duration                                 : 1 h 59 min
Bit rate mode                            : Variable
Bit rate                                 : 2 591 kb/s
Channel(s)                               : 5 channels
Channel layout                           : L R C LFE Cb
Sampling rate                            : 48.0 kHz
Bit depth                                : 24 bits
Compression mode                         : Lossless
Stream size                              : 2.17 GiB (100%)
Writing library                          : libFLAC 1.3.3 (UTC 2019-08-04)

Suggestion: Add container tab for attachments

Hello,

Is there a possibility in a future build to include an attachment tab in the Container Options?
More often than not I use styled softsubs for multiple videos at a time that tend to use the same settings and it would be great to be able to attach the font files directly via Staxrip as part of the project.

As things are now I have to attach fonts separately via MKVToolNix after each project so I know it is possible with MKV container, not so sure about MP4.

New beta or release, please

Dear coders and contributors, can we please have a new version, at least a beta (public or private), since there has not been any code change for the last 8 days, and the last beta is almost dated one month ago.
Thank you!

[Question] How to run 2.0.2.4 - x64 without error

Describe the bug or Issue
Starting StaxRip from their unpacked locations gives an error of not finding the Versions.txt file under the Apps folder from where they run.

Step To Reproduce the Problem

  1. Go to unpacked 'Staxrip.2.0.2.4.x64' folder
  2. Go to either v4.7 / v4.8 folder.
  3. Start StaxRip.exe
  4. Main window opens.
  5. Error message opens.

Screenshots
If possible, add screenshots to help explain your problem.

StaxRip_2019-06-28_18-28-07

StaxRip_2019-06-28_18-28-40

Desktop (please complete the following information):

  • OS: Windows 10 Build 1809 17763.592
  • StaxRip Version: 2.0.2.4 - x64
  • Post your Logs, There Tell contain Allot of Information that Could Help.

Question
Am I meant to choose one version and copy the exe and config file to the folder above?

Finished jobs have still open handles in StaxRip

Another thing I noticed in StaxRip 2.0.2.4 - 4.8.

When you have several jobs in StaxRip and one ends, the handles inside StaxRip to that finished job are not closed.

When a job is finished and I want to move or rename the folder, I can not. It says it's still open in StaxRip. This did not happen before.

Update some tools

  • NVEncC v4.47
  • MediaInfo 19.09
  • x265-3.1+15
  • MP4Box 0.8.0-rev69
  • ffmpeg 4.2.1
  • mpv??

Plugin loaded error when opening video with vapoursynth

It reported 'Failed to open source,try another source filter'(Plugin already loaded),with automatic,ffms2:
Snipaste_2019-07-30_14-48-50
then I chose LWLibavSource,and it reported 'Failed to load script'(name 'core' is not defined):
Snipaste_2019-07-30_14-51-43

environment:cpu:i5-7300hq,gpu:gtx1050,win10 1809 x64,staxrip 2.0.2.4 beta,ffms2 2.27.0

Indexing using ffmsindex failed with exit code: -1073741701 (0xC000007B)

trying to get this amarec file working with staxrip and it throws me an error

Error Indexing using ffmsindex (2.0.2.4)

Indexing using ffmsindex failed with exit code: -1073741701 (0xC000007B)

The exit code might be a system error code: {Bad Image}
hs is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support. Error status 0x

----------------------- Indexing using ffmsindex -----------------------

"C:\Program Files (x86)\AviSynth+\plugins64+\ffmsindex.exe" "D:\amarec\amarec(20190711-1259).avi" "D:\amarec\amarec(20190711-1259)_temp\amarec(20190711-1259).ffindex"

StaxRip.ErrorAbortException: Indexing using ffmsindex failed with exit code: -1073741701 (0xC000007B)

The exit code might be a system error code: {Bad Image}
hs is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support. Error status 0x

----------------------- Indexing using ffmsindex -----------------------

"C:\Program Files (x86)\AviSynth+\plugins64+\ffmsindex.exe" "D:\amarec\amarec(20190711-1259).avi" "D:\amarec\amarec(20190711-1259)_temp\amarec(20190711-1259).ffindex"

at StaxRip.Proc.Start()
at StaxRip.GlobalClass.ffmsindex(String sourcePath, String cachePath, Boolean indexAudio, Project proj)
at StaxRip.MainForm.Indexing()
at StaxRip.VideoScript.Synchronize(Boolean convertToRGB, Boolean comparePath)
at StaxRip.MainForm.ModifyFilters()
at StaxRip.MainForm.OpenVideoSourceFiles(IEnumerable`1 files, Boolean isEncoding)

Not sure what the deal is. Log is attached. Any help? Thanks!

amarec(20190711-1259)_staxrip.log

HDR Settings (Mastering display luminance) value is wrong

Notes Before Posting

  • Only Open an issue if it's tied to Staxrip, If issues is tied to external program or filter. Head to Resp page for that project and open an issue there.
  • Beta Releases are Not Covered, Beta Are Pre-Releases and Could Contain Bugs. This is the Risk Your Willing to Take When using Beta releases. Beta Concerns should be posted in the forums.
  • If you Require Help with one of the FrameServers, Programs or Scripting Post in the Forums, Rather then opening a ticket here.
    Link: https://forum.doom9.org/showthread.php?t=175845
  • Check your CPU Specs as Well. Many newer Filters are AVX2 Enabled with no AVX1 support(This is espeically True on VapourSynth side. Which will crash the software if your CPU doesn't support it.
  • Lastly, Only Files that are Released with StaxRip are fully supported, This is done to make debugging easier. Also since all filters have been tested before release. Newer versions can have changes which have not been added to StaxRip yet.

Describe the bug or Issue
This is simple. Staxrip gets HDR meta tags from Mediainfo I think.
I had this problem with HDR settings on Stax 2 (upto 2.0.4.0), but not in Stax 1.7

I have an HDR video with this info:
Mastering display luminance: min: 0.0050 cd/m2, max: 4000 cd/m2

Stax2.0 gives me(auto):
G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,1)

Stax1.7 gives me:
G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(40000000,50)
Which is the correct values.

Add The Proper Label

Step To Reproduce the Problem
Any HDR content that is not 0.001 / 1000
Just drag and drop it. Go to settings(x265)/vapoursynth

  1. Go to '...'
  2. Click on '....'
  3. Using '...' Encoder
  4. 'Avisynth or VapourSynth' Being Used
  5. Filter(s) x is being Used.
  6. Any Major External Files tied to the Error.
  7. Post Both your Log file & AVS/VS Script.
  8. It it's Tied to Hardware Encoder Post your Hardware Specs along with the Following.

Screenshots
If possible, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. Windows 10 Build 1803]
  • Version [e.g. 1.9]
  • FrameServer Being Used [e.g. Avisynth]
  • Version of External Application / Filter Being Used [e.g. 2.9+10]
  • List of Filters Being Used [e.g. QTGMC]
  • Post your Logs, There Tell contain Allot of Information that Could Help.
  • The More Information Posted, The Easier it will be to Debug.

Additional context
Also, There are other switches of x265 is enabled. are they really necessary?
--repeat-headers
--hrd
--aud

I don't think these are related to HDR. correct me if I'm wrong.
on the other hands, --hdr is enabled which is a good thing but --hdr-opt is not enabled by default which I think it should.

Anything else? I'm there for you

Please be Clear and as Detailed as Possible

Any Issues left unattended to for Length of Time will automatically be Closed Due and or Locked to inactivity

NVEnc Error (2.0.1.0) GPU is not supported.

So somehow I can still successfully convert videos on 1.7 but not 2.0.1.0, here's the log.

NVEnc Error (2.0.1.0)

H.265/HEVC isn't supported by the graphics card.

StaxRip.ErrorAbortException: H.265/HEVC isn't supported by the graphics card.
at StaxRip.NVEnc.Encode() in C:\Users\frank\Daten\Projekte\VB\staxrip\Encoding\NVEnc.vb:line 72
at StaxRip.GlobalClass.ProcessVideo() in C:\Users\frank\Daten\Projekte\VB\staxrip\General\GlobalClass.vb:line 227
at System.Threading.Tasks.Parallel.<>c__DisplayClass4_0.b__0()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at StaxRip.GlobalClass.ProcessJob(String jobPath) in C:\Users\frank\Daten\Projekte\VB\staxrip\General\GlobalClass.vb:line 137

1050Ti,
Windows 10 1607

StaxRip.ErrorAbortException: Video encoding using x265 3.1 failed with exit code: -1073741795 (0xC000001D)

hello,

I just try to encode at lower rate a HDR file. I have try doing the same on other HDR movie and failed to. Not fail on all HDR movies.

Step To Reproduce the Problem

-Go to 'Staxrip.2.0.2.4.x64'
-Add movie and wait indexing....
-change the encode mode (two pass to bitrate)
-change actual birate to 5000
-Start encode
-Error message opens (after audio encode).

Error Video encoding using x265 3.1 (2.0.2.4)

Video encoding using x265 3.1 failed with exit code: -1073741795 (0xC000001D)

The exit code might be a system error code: {EXCEPTION}
Instruction non autorisée
Tentative d’exécution d’une instruction interdite.

-------------------- Video encoding using x265 3.1 --------------------

C:\Users\gilles\Downloads\Staxrip.2.0.2.4.x64\Apps\Support\avs2pipemod\avs2pipemod64.exe -y4mp "G:\hdr films\movie.2005.2160p.UHD.BluRay.x265-TERMiNAL\movie.2005.2160p.uhd.bluray.x265-terminal_temp\movie.2005.2160p.uhd.bluray.x265-terminal_new.avs" | C:\Users\gilles\Downloads\Staxrip.2.0.2.4.x64\Apps\Encoders\x265\x265.exe --bitrate 5000 --output-depth 10 --hdr --frames 201492 --y4m --output "G:\hdr films\movie.2005.2160p.UHD.BluRay.x265-TERMiNAL\movie.2005.2160p.uhd.bluray.x265-terminal_temp\movie.2005.2160p.uhd.bluray.x265-terminal_new_out.hevc" -

avs2pipemod[info]: writing 201492 frames of 24000/1001 fps, 3840x1600,
sar 0:0, YUV-420-planar-8bit progressive video.
avs2pipemod[info]: finished, wrote 0 frames [0%].
avs2pipemod[info]: total elapsed time is 3.557 sec.
avs2pipemod[error]: only wrote 0 of 201492 frames.

StaxRip.ErrorAbortException: Video encoding using x265 3.1 failed with exit code: -1073741795 (0xC000001D)

The exit code might be a system error code: {EXCEPTION}
Instruction non autorisée
Tentative d’exécution d’une instruction interdite.

-------------------- Video encoding using x265 3.1 --------------------

C:\Users\gilles\Downloads\Staxrip.2.0.2.4.x64\Apps\Support\avs2pipemod\avs2pipemod64.exe -y4mp "G:\hdr films\movie.2005.2160p.UHD.BluRay.x265-TERMiNAL\movie.2005.2160p.uhd.bluray.x265-terminal_temp\movie.2005.2160p.uhd.bluray.x265-terminal_new.avs" | C:\Users\gilles\Downloads\Staxrip.2.0.2.4.x64\Apps\Encoders\x265\x265.exe --bitrate 5000 --output-depth 10 --hdr --frames 201492 --y4m --output "G:\hdr films\movie.2005.2160p.UHD.BluRay.x265-TERMiNAL\movie.2005.2160p.uhd.bluray.x265-terminal_temp\movie.2005.2160p.uhd.bluray.x265-terminal_new_out.hevc" -

avs2pipemod[info]: writing 201492 frames of 24000/1001 fps, 3840x1600,
sar 0:0, YUV-420-planar-8bit progressive video.
avs2pipemod[info]: finished, wrote 0 frames [0%].
avs2pipemod[info]: total elapsed time is 3.557 sec.
avs2pipemod[error]: only wrote 0 of 201492 frames.

à StaxRip.Proc.Start()
à StaxRip.x265Enc.Encode(String passName, String commandLine, ProcessPriorityClass priority)
à StaxRip.x265Enc.Encode()
à StaxRip.GlobalClass.ProcessVideo()
à System.Threading.Tasks.Task.Execute()
--- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
à System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
à StaxRip.GlobalClass.ProcessJob(String jobPath)

parameters of encode : --bitrate 5000 --output-depth 10 --master-display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,1)" --colorprim bt2020 --colormatrix bt2020nc --transfer smpte2084 --range limited --max-cll "992,226" --hdr --repeat-headers --hrd --aud

Doesn't support filenames with ampersands

Tried to encode a file with an & in the name, got a failure. Staxrip 2.0.2.0. I had manually updated Nvencc to 4.40 if that makes a difference. All my other encodes worked fine.

------------------- Video encoding using NVEnc 4.38 -------------------

"C:\Program Files\StaxRip\Apps\Encoders\NVEnc\NVEncC64.exe" --avhw cuda --vbrhq 2 --codec h265 --preset quality --vpp-unsharp --lookahead 32 --qp-init 28 --qp-max 24 --qp-min 28 --max-bitrate 0 --vbr-quality 24 --aq --colormatrix bt709 --cabac -i K:\TBD\Ben&Jamie.mkv -o K:\TBD\Ben&Jamie_temp\Ben&Jamie_new_out.h265

Output file is not specified.
'Jamie.mkv' is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the path specified.
Jamie_new_out.h265' is not recognized as an internal or external command,
operable program or batch file.

Start: 8:32:48 AM
End: 8:32:48 AM
Duration: 00:00:00

nVEnc (Rigaya) subrburn

Line 402 from NVEnc.vb
New StringParam With {.Switch = "--vpp-subrbun", .Text = "Subrbun"},
to
New StringParam With {.Switch = "--vpp-subburn", .Text = "Subburn"},

Rigaya change the function name, so `-vpp-subrbun" will return error.

Plan to allow users to edit & run command line within StaxRip?

I know I can import command line options from the clipboard but StaxRip seems to ignore/cut some options it does not recognize.

For example, I want to adopt a constant quality mode for NVEncC and try to import the options including '--vbrhq 0 --vbr-quality 30'. But StaxRip completely ignores the '--vbr-quality 30' option and leaves '--vbrhq 0' part only.

Likewise, the framerate halving option '--vpp-select-every 2,offset=1' is completely ignored as well, so I have to separately run the command line in the Command Prompt.

Can you please let users edit and run the command line within StaxRip, not switching to the Command Prompt instead? Thanks.

New icon feedback

New icon looks awesome but it is plain black so it is harder to notice on dark color scheme, I suggest adding thin white strikes around the logo will make it perfect. Also I always loved the old 'RIP Tombstone' logo, is there any chance you could embed it into executable as well?

Anyway, thanks a lot for your continuous support for this awesome piece of software.

format exception and character limitation

Hello,
since the titlename of each track is transmitted to the outputfile, there is an issue with cutting videos.
When the audiotrack has a title set, the audiofile will not be processed and after the videoencode is finished you get this error:

FormatException (2.0.4.0)

Die Eingabezeichenfolge hat das falsche Format.

System.FormatException: Die Eingabezeichenfolge hat das falsche Format.
bei System.Text.StringBuilder.FormatError()
bei System.Text.StringBuilder.AppendFormatHelper(IFormatProvider provider, String format, ParamsArray args)
bei System.String.FormatHelper(IFormatProvider provider, String format, ParamsArray args)
bei System.String.Format(String format, Object arg0, Object arg1)
bei StaxRip.Audio.CutMkvmerge(AudioProfile ap) in D:\Projekte\VB\staxrip\General\Audio.vb:Zeile 467.
bei StaxRip.Audio.Cut(AudioProfile ap) in D:\Projekte\VB\staxrip\General\Audio.vb:Zeile 188.
bei StaxRip.Audio.Process(AudioProfile ap) in D:\Projekte\VB\staxrip\General\Audio.vb:Zeile 46.
bei StaxRip.GlobalClass._Closure$__._Lambda$__31-1() in D:\Projekte\VB\staxrip\General\GlobalClass.vb:Zeile 114.
bei System.Threading.Tasks.Parallel.<>c__DisplayClass4_0.b__0()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bei StaxRip.GlobalClass.ProcessJob(String jobPath) in D:\Projekte\VB\staxrip\General\GlobalClass.vb:Zeile 138.
bei StaxRip.GlobalClass.ProcessJobs() in D:\Projekte\VB\staxrip\General\GlobalClass.vb:Zeile 37.

another issue i noticed is the symbol "/" is not transmitted correctly to the outputfile. It will be replaced with "_"
example:
input "Deutsch (AC3 @384 kb/s)"
output "Deutsch (AC3 @384 kb_s)"

Port staxrip to Linux

Hello,
Sorry, if I posted my issue here wrongly. But I didn't find a better place to talk about.

I just want to switch to Linux (Debian) as my main OS. But there are still a lot of applications where no Linux version is available. Staxrip is one of these applications. So I have to use Wine or a VM to emulate Windows again.

Is there any chance to port staxrip to Linux? Is it possible? Are there problems with some libraries? I would also offer my help to port it to Linux.
What do you think?

regards
protvis74

DAR in Video vs. DAR in Container (and not only)

  1. For anamorphic SD sources, the Resize section incorrectly calculates the values of its parameters. When PAR 65:45 (Snap2.jpg) is left for the output file, and in the 'Container Options' window set 'Display Aspect Ratio' = 0, then a movie will be obtained (PAR changes to 1: 1) recognized as material:
  • anamorphic (eg in mpv Player and in VLC media player), or as
  • unanamorphic, distorted - in MPC-HC, or in daum PotPlayer.
    The proportions of the sides of the MTN thumbnails are 16: 9 (correct, as determined on the basis of the DAR video), and the StaxRip miniatures (they are bad, as determined on the basis of the container DAR) are 5: 4.
    Snap1
    Snap2

MediaInfo - fragment:
Width : 720 pixels
Height : 576 pixels
Display aspect ratio : 5:4 /MediaInfo treats this as a video parameter, and does not indicate that we are dealing with the .mkv container parameter (Zet-Kaz)/
Original display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 50.000 FPS

The existence of a DAR setting in the 'Container - MKV (merge)' window causes (for me) a bit of confusion. Why can not I stay with the DAR parameter defined only for the resulting video, as it is in StaxRip 32-bits?

  1. Why when creating Templates, StaxRip always assumes that the source file is 1920x1088 PAR 1: 1 video, and for such source forces the indication in the 'Resize' section?

  2. In addition, no longer associated with the DAR: MTN thumbnails are mostly incorrect timestamps, while the StaxRip thumbnails are all correct.

Regards,
Zet-Kaz
/PS Sorry for my Google-english/

AVI Import Filter error

I'm trying to encode video with vapoursynth script, but I get an error like the picture below.
staxrip

The same error is displayed in Virtual Dub2.
VD2

file path
‪C:\Program Files\Python37
‪‪C:\Program Files\VapourSynth
C:\Program Files (x86)\AviSynth+
‪C:\Program Files\Staxrip.2.0.2.4.x64
C:\Program Files\VirtualDub2_43702

Source filter issue

The system cannot find the file specified

File: ffmsindex.exe

Arguments: H:\z\a.mkv H:\z\a_temp\a.ffindex

InvalidOperationException (2.0.2.4)

No process is associated with this object.

System.InvalidOperationException: No process is associated with this object.
at System.Diagnostics.Process.EnsureState(State state)
at System.Diagnostics.Process.get_HasExited()
at StaxRip.Proc.Start()
at StaxRip.GlobalClass.ffmsindex(String sourcePath, String cachePath, Boolean indexAudio, Project proj)
at StaxRip.MainForm.Indexing()
at StaxRip.VideoScript.Synchronize(Boolean convertToRGB, Boolean comparePath)
at StaxRip.MainForm.ModifyFilters()
at StaxRip.MainForm.OpenVideoSourceFiles(IEnumerable`1 files, Boolean isEncoding)

a_new_staxrip.log

when launching mpv.net from the preview window, no audio is played with the video

Hi Revan, Stax, and all Contributors,

When previewing a video, and press "E" to view the resulting video with mpv.net, older versions of staxrip (like 1.7.x.x) did play the audio along with the video. That was useful !
I have not tested many releases of StaxRip for a while, but now I am testing 2.0.2.0 and it seems that audio is not piped to mpv.net.
Is is possible to have the audio back?

How to customize the loadplugin code in vapoursynth script generated automatically?

Notes Before Posting

  • Only Open an issue if it's tied to Staxrip, If issues is tied to external program or filter. Head to Resp page for that project and open an issue there.
  • Beta Releases are Not Covered, Beta Are Pre-Releases and Could Contain Bugs. This is the Risk Your Willing to Take When using Beta releases. Beta Concerns should be posted in the forums.
  • If you Require Help with one of the FrameServers, Programs or Scripting Post in the Forums, Rather then opening a ticket here.
    Link: https://forum.doom9.org/showthread.php?t=175845
  • Check your CPU Specs as Well. Many newer Filters are AVX2 Enabled with no AVX1 support(This is espeically True on VapourSynth side. Which will crash the software if your CPU doesn't support it.
  • Lastly, Only Files that are Released with StaxRip are fully supported, This is done to make debugging easier. Also since all filters have been tested before release. Newer versions can have changes which have not been added to StaxRip yet.

Describe the bug or Issue
I met the same problem as #31. And I think the autoloading clash can be solved by add "try...except..." in the code. So how can I do it? Thanks a lot. (my English is poor...)

Add The Proper Label

Step To Reproduce the Problem

  1. Go to '...'
  2. Click on '....'
  3. Using '...' Encoder
  4. 'Avisynth or VapourSynth' Being Used
  5. Filter(s) x is being Used.
  6. Any Major External Files tied to the Error.
  7. Post Both your Log file & AVS/VS Script.
  8. It it's Tied to Hardware Encoder Post your Hardware Specs along with the Following.

Screenshots
If possible, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. Windows 10 Build 1803]
  • Version [e.g. 1.9]
  • FrameServer Being Used [e.g. Avisynth]
  • Version of External Application / Filter Being Used [e.g. 2.9+10]
  • List of Filters Being Used [e.g. QTGMC]
  • Post your Logs, There Tell contain Allot of Information that Could Help.
  • The More Information Posted, The Easier it will be to Debug.

Additional context
Add any other Information or additional context that can be Helpful.

Please be Clear and as Detailed as Possible

Any Issues left unattended to for Length of Time will automatically be Closed Due and or Locked to inactivity

[Question] How to keep Subtitle Name

hi,

i still running the latest version 2.0.3.0 and when i try to convert a mkv h264 to x265 I've found that the subtitles names are all blank. Every time i need to manually insert the original name using the Container Option:

image

Also the Forced field is lost.

There is a way to keep that information by default to avoid the manual editing every time?
If not, could be anice implementation for a future version (if is possible)

Thanks

Audio isn't MPEG-2/4 AAC with ADTS , BitStream Not Compliant errors

Have been getting this a lot lately across multiple different h264 MKVs to be recompressed. Is there something I can do to identify what the problem is being reported below, or a way to have the muxer be less strict somehow? Or is there a different muxer that can be used?

-------------------- Demux MKV using mkvextract 34 --------------------

"C:\Program Files\StaxRip\Apps\Support\MKVToolNix\mkvextract.exe" K:\TBD\wop1.mkv tracks 2:"K:\TBD\wop1_temp\wop1 ID3 English" 1:"K:\TBD\wop1_temp\wop1 ID1 English.aac" --ui-language en

Extracting track 1 with the CodecID 'A_AAC' to the file 'K:\TBD\wop1_temp\wop1 ID1 English.aac'. Container format: raw AAC file with ADTS headers
Error: Extraction of track ID 2 with the CodecID 'S_DVBSUB' is not supported.

Start: 8:22:35 AM
End: 8:22:36 AM
Duration: 00:00:00

General
Complete name : K:\TBD\wop1_temp\wop1 ID1 English.aac
File size : 0.00 Byte

--------- Error Mux AAC to M4A using MP4Box 0.7.2-DEV-rev1009 ---------

Mux AAC to M4A using MP4Box 0.7.2-DEV-rev1009 failed with exit code: 1 (0x1)

The exit code might be a system error code: STATUS_WAIT_1

The exit code might be a system error code: Incorrect function.

------------ Mux AAC to M4A using MP4Box 0.7.2-DEV-rev1009 ------------

"C:\Program Files\StaxRip\Apps\Support\MP4Box\MP4Box.exe" -add "K:\TBD\wop1_temp\wop1 ID1 English.aac:name= " -new "K:\TBD\wop1_temp\wop1 ID1 English.m4a"

�[33mAudio isn't MPEG-2/4 AAC with ADTS
�[0mError importing K:\TBD\wop1_temp\wop1 ID1 English.aac:name= : BitStream Not Compliant

------------ Mux AAC to M4A using MP4Box 0.7.2-DEV-rev1009 ------------

"C:\Program Files\StaxRip\Apps\Support\MP4Box\MP4Box.exe" -add "K:\TBD\wop1_temp\wop1 ID1 English.aac:name= " -new "K:\TBD\wop1_temp\wop1 ID1 English.m4a"

�[33mAudio isn't MPEG-2/4 AAC with ADTS
�[0mError importing K:\TBD\wop1_temp\wop1 ID1 English.aac:name= : BitStream Not Compliant

Start: 8:22:36 AM
End: 8:22:36 AM
Duration: 00:00:00

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

StaxRip.ErrorAbortException: Mux AAC to M4A using MP4Box 0.7.2-DEV-rev1009 failed with exit code: 1 (0x1)

The exit code might be a system error code: STATUS_WAIT_1

The exit code might be a system error code: Incorrect function.

------------ Mux AAC to M4A using MP4Box 0.7.2-DEV-rev1009 ------------

"C:\Program Files\StaxRip\Apps\Support\MP4Box\MP4Box.exe" -add "K:\TBD\wop1_temp\wop1 ID1 English.aac:name= " -new "K:\TBD\wop1_temp\wop1 ID1 English.m4a"

�[33mAudio isn't MPEG-2/4 AAC with ADTS
�[0mError importing K:\TBD\wop1_temp\wop1 ID1 English.aac:name= : BitStream Not Compliant

at StaxRip.Proc.Start() in D:\Projekte\VB\staxrip\General\Proc.vb:line 339
at StaxRip.mkvDemuxer.Demux(String sourcefile, IEnumerable1 audioStreams, IEnumerable1 subtitles, AudioProfile ap, Project proj, Boolean onlyEnabled, Boolean videoDemuxing) in D:\Projekte\VB\staxrip\General\Demux.vb:line 808
at StaxRip.mkvDemuxer.Run(Project proj) in D:\Projekte\VB\staxrip\General\Demux.vb:line 662
at StaxRip.MainForm.Demux() in D:\Projekte\VB\staxrip\Forms\MainForm.vb:line 3102
at StaxRip.MainForm.OpenVideoSourceFiles(IEnumerable`1 files, Boolean isEncoding) in D:\Projekte\VB\staxrip\Forms\MainForm.vb:line 1973

How to load a .vpy file as a script?

Notes Before Posting

  • Only Open an issue if it's tied to Staxrip, If issues is tied to external program or filter. Head to Resp page for that project and open an issue there.
  • Beta Releases are Not Covered, Beta Are Pre-Releases and Could Contain Bugs. This is the Risk Your Willing to Take When using Beta releases. Beta Concerns should be posted in the forums.
  • If you Require Help with one of the FrameServers, Programs or Scripting Post in the Forums, Rather then opening a ticket here.
    Link: https://forum.doom9.org/showthread.php?t=175845
  • Check your CPU Specs as Well. Many newer Filters are AVX2 Enabled with no AVX1 support(This is espeically True on VapourSynth side. Which will crash the software if your CPU doesn't support it.
  • Lastly, Only Files that are Released with StaxRip are fully supported, This is done to make debugging easier. Also since all filters have been tested before release. Newer versions can have changes which have not been added to StaxRip yet.

Describe the bug or Issue
I load the .vpy file as a source file. But it failed and gives messages,

Failed to load script.

Python exception: name 'core' is not defined

Traceback (most recent call last):
  File "src\cython\vapoursynth.pyx", line 1946, in vapoursynth.vpy_evaluateScript
  File "src\cython\vapoursynth.pyx", line 1947, in vapoursynth.vpy_evaluateScript
  File "D:\else\BDrip\ngnl0_00003\00003_temp\00003_source.vpy", line 5, in <module>
    core.std.LoadPlugin(r"D:\software\BD tools\StaxRip\Apps\Plugins\vs\fmtconv\fmtconv.dll")
NameError: name 'core' is not defined

And I check the file staxrip generated called "%filename%_source.vpy", it added some code before my own script.

import importlib.machinery
mvsfunc = importlib.machinery.SourceFileLoader('mvsfunc', r"D:\software\BD tools\StaxRip\Apps\Plugins\VS\Scripts\mvsfunc.py").load_module()
adjust = importlib.machinery.SourceFileLoader('adjust', r"D:\software\BD tools\StaxRip\Apps\Plugins\VS\Scripts\adjust.py").load_module()
havsfunc = importlib.machinery.SourceFileLoader('havsfunc', r"D:\software\BD tools\StaxRip\Apps\Plugins\VS\Scripts\havsfunc.py").load_module()
core.std.LoadPlugin(r"D:\software\BD tools\StaxRip\Apps\Plugins\vs\fmtconv\fmtconv.dll")
...(contiinue to load a lot of plugins)

I think the problem is that it didn't define variable "core" before using "core.std.LoadPlugin(...)". So how can I load a .vpy script correctly? Thanks a lot!

Add The Proper Label

Step To Reproduce the Problem

  1. Go to '...'
  2. Click on '....'
  3. Using '...' Encoder
  4. 'Avisynth or VapourSynth' Being Used
  5. Filter(s) x is being Used.
  6. Any Major External Files tied to the Error.
  7. Post Both your Log file & AVS/VS Script.
  8. It it's Tied to Hardware Encoder Post your Hardware Specs along with the Following.

Screenshots
Snipaste_2019-09-06_14-53-56
Snipaste_2019-09-06_14-54-15

Desktop (please complete the following information):

  • OS: Windows 10 Build 1903
  • Version 2.0.4.0 stable

Additional context
Add any other Information or additional context that can be Helpful.

Please be Clear and as Detailed as Possible

Any Issues left unattended to for Length of Time will automatically be Closed Due and or Locked to inactivity

NVEnc Error (2.0.3.0) Unknown option: "cuda"

I'm having trouble encoding at all with NVenc x264 with NVenc Cuda selected.

  1. Add any file to encode
  2. Use settings NVenc x264 with NVenc Cuda decoding selected
  3. Try to encode the file

Here's the error I'm getting

Error Video encoding using NVEnc 4.44 (2.0.3.0)

Video encoding using NVEnc 4.44 failed with exit code: 1 (0x1)

The exit code might be a system error code: STATUS_WAIT_1

The exit code might be a system error code: Incorrect function.

------------------- Video encoding using NVEnc 4.44 -------------------

C:\Users\jdcox215\Downloads\Compressed\StaxRip-x64-2.0.3.0-stable\Apps\Encoders\NVEnc\NVEncC64.exe --avhw cuda --vbr 8000 --preset quality --level 4.1 --bframes 8 --ref 4 --cabac -i "F:\Blu Ray\Dragon Ball Z Kai - S01E01 - Prologue to Battle! The Return of Goku!.mkv" -o "F:\Blu Ray\Dragon Ball Z Kai - S01E01 - Prologue to Battle! The Return of Goku!_temp\Dragon Ball Z Kai - S01E01 - Prologue to Battle! The Return of Goku!_new_out.h264"

Error: Unknown option: "cuda"

StaxRip.ErrorAbortException: Video encoding using NVEnc 4.44 failed with exit code: 1 (0x1)

The exit code might be a system error code: STATUS_WAIT_1

The exit code might be a system error code: Incorrect function.

------------------- Video encoding using NVEnc 4.44 -------------------

C:\Users\jdcox215\Downloads\Compressed\StaxRip-x64-2.0.3.0-stable\Apps\Encoders\NVEnc\NVEncC64.exe --avhw cuda --vbr 8000 --preset quality --level 4.1 --bframes 8 --ref 4 --cabac -i "F:\Blu Ray\Dragon Ball Z Kai - S01E01 - Prologue to Battle! The Return of Goku!.mkv" -o "F:\Blu Ray\Dragon Ball Z Kai - S01E01 - Prologue to Battle! The Return of Goku!_temp\Dragon Ball Z Kai - S01E01 - Prologue to Battle! The Return of Goku!_new_out.h264"

Error: Unknown option: "cuda"

at StaxRip.Proc.Start() in D:\Projekte\VB\staxrip\General\Proc.vb:line 339
at StaxRip.NVEnc.Encode() in D:\Projekte\VB\staxrip\Encoding\NVEnc.vb:line 82
at StaxRip.GlobalClass.ProcessVideo() in D:\Projekte\VB\staxrip\General\GlobalClass.vb:line 227
at System.Threading.Tasks.Parallel.<>c__DisplayClass4_0.b__0()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at StaxRip.GlobalClass.ProcessJob(String jobPath) in D:\Projekte\VB\staxrip\General\GlobalClass.vb:line 137

Desktop:

  • OS: Windows 10 Pro Insider Preview Build 18963
  • NVEnc 4.44
  • Logs attached in files

I had been using the exact same settings as I am for this encode for a lot of the other encodes I did today and it worked..... I updated to Staxrip 2.0.3.0 and it stopped working.... so then I continued using 2.0.2.4 and it still wouldn't work...
Dragon Ball Z Kai - S01E01 - Prologue to Battle! The Return of Goku!_new_staxrip.log

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.