Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
![]() |
#4761 | Link | |
Registered User
Join Date: Sep 2023
Posts: 2
|
Quote:
Last edited by laserbones; 24th September 2023 at 06:54. |
|
![]() |
![]() |
![]() |
#4762 | Link |
Registered User
Join Date: Sep 2023
Posts: 28
|
What would be the best "source" choice between FFVideoSource (default) FFM2, LWLibAvVideoSource and L-Smash? I don't understand the pros and cons in term of quality, speed, features, compression etc. for encoding .mkv of anime (from Bluray remux)
Also, is it possible (if yes, how?) to add DGDecodeNV as source filter in Staxrip? Thanks for the help Last edited by N'Cha; 28th September 2023 at 05:38. |
![]() |
![]() |
![]() |
#4763 | Link | |
Registered User
Join Date: May 2010
Posts: 104
|
![]() The Train 1964 UHD100 2160p HEVC HDR10 DoVi DTS-HD MA 2.0 Quote:
v.2.29.0 - error log |
|
![]() |
![]() |
![]() |
#4764 | Link |
Registered User
Join Date: Sep 2015
Posts: 17
|
I had re-created my templates in StaxRip over the past few releases since it seemed wise, but now I'm encountering an issue which I'm not sure whether its new behavior of updated underlying tools, or something I forgot to include in my settings.
I have existing .MP4 files with x265 video and AAC audio. Using these as the source file in StaxRip, I make a project that uses Copy/Mux on the video track (I'm not re-encoding or changing anything in the video), but I will re-encode the audio track to make a 2-channel AAC version in addition to the existing 5.1 AAC audio track. The result is saved back to .MP4 format again. The problem is that the resulting .MP4 can no longer seek during playback. It will play fine from the beginning, but attempting to seek hangs things up. Playing the ORIGINAL .MP4 FILE seeks just fine & successfully, which to me meant the x265 encode had everything it needed to seek. So I'm keeping/muxing the video track from the .MP4 where seeking works successfully. But my re-packaged .MP4 using this Copy/Muxed video track now fails to seek, like some flag of the MP4 container is now missing even though the x265 encoding itself is unmodified. Any hints for how I could have broken seeking when using StaxRip Copy/Mux with an MP4 source and destination container & a x265 video track would be appreciated. |
![]() |
![]() |
![]() |
#4767 | Link |
Registered User
Join Date: Feb 2007
Posts: 128
|
Has someone run into this yet?
![]() Sorry, the second part of the log message is German as it seems to come from the system. Essentially it is saying that the process can't access the Settings.dat file as it's already used by another process. Happens to me SOMETIMES while batch processing multiple jobs... It's super-annoying: I return to my PC expecting to see the result of my jobs... and instead I see this window. I can then click retry and batch processing of the next StaxRip project would continue. Probably it's got something to do with my setup though... - I linked to my own installation of VapourSynth R64 and Python 3.11 - I added some VS functions to the profiles Unless it's a common problem, I guess one of the two is triggering it. I resetted/deleted the Settings.dat and also set up StaxRip completely anew... but the problem returned. Totally looks like a race condition issue - like StaxRip is SOMETIMES blocking itself from accessing the settings file while switching to a new job. Whether StaxRip is on HDD or SSD doesn't seem to matter. Again - anyone ever seen that? The randomness makes it so nasty to debug and fix.... edit: I looked at the respective code, looks all well handled with mutexes, and compiled my own version that should do a retry after two seconds and show a warning popup. But the problem didn’t reoccur yet… hum. Maybe NOD32 (my virus scanner) is/was sometimes locking the settings file briefly after it’s saved and before it’s reloaded? Still puzzled… Last edited by katzenjoghurt; 23rd October 2023 at 13:55. |
![]() |
![]() |
![]() |
#4768 | Link |
Registered User
Join Date: Feb 2002
Posts: 776
|
I had to cut out a part of a video. I used trim and imported external audio which should be in sync after the trimming.
After a long encode I discovered that the audio is out of sync. Is trimming with the preview windows also cut the audio? The audio is correct I don't want to touch it. |
![]() |
![]() |
![]() |
#4769 | Link | |
Registered User
Join Date: Feb 2007
Posts: 128
|
Quote:
I've been using an older StaxRip version until recently and there I sometimes (!) also ran into async audio when reencoding older/odd clips, like interlaced DVD extras or so. I would try with a different source filter in your case and a quick test encode (lower resolution / fast encoder settings). Maybe you also notice a slight change in the reported fps after changing the source filter - that would be a good sign that that is the solution. Another idea: as you imported an external audio track manually - maybe for the original audio track some delay was defined in the container that is lost after you add it manually? Last edited by katzenjoghurt; 25th October 2023 at 10:58. |
|
![]() |
![]() |
![]() |
#4770 | Link |
Registered User
Join Date: Feb 2002
Posts: 776
|
The trimming video does also trim the audio. Found these in the log
----------------- Create avi file for audio cutting 1 ----------------- ---------------- Create avi file for subtitle cutting ---------------- As I said, the audio is correct, It did not need to be cut. Maybe there should be an option that when you trim the video, you can disable trimming the audio and subtitles. |
![]() |
![]() |
![]() |
#4771 | Link | |
Registered User
Join Date: Feb 2007
Posts: 128
|
Quote:
Yes, in that case you had to mux the audio track in as a second step after cutting the video stream / reencoding a trimmed section. But you found that out yourself. And it should be a quick process too. Your use case sounds like a real edge case to me though. |
|
![]() |
![]() |
![]() |
#4773 | Link | |
Registered User
Join Date: Feb 2007
Posts: 128
|
Quote:
So you can use StaxRip to just cut the first second of the video stream and ignore audio in your case completely. Some lossless cutting tool would be better in this case though, so you don‘t have to reencode everything just to cut the first second. But the somewhat working ones I’m aware of cost money. Theoretically there‘s also the option to delay the video stream in MKVToolnix by a negative 1000ms. That would mean the first second would be skipped. Not sure how well this is supported by (hardware) players though. |
|
![]() |
![]() |
![]() |
#4774 | Link |
Registered User
Join Date: Feb 2002
Posts: 776
|
I tried video delay, it does not work even on PC. If you add a delay to a video track in MKV, it does not register, it is not written in mkv. Only audio delay.
I do not need to cut audio, audio is from the HDR source and perfectly in sync. Yes at the end I use MKVToolnix to mux the 2 videos. |
![]() |
![]() |
![]() |
#4775 | Link |
Registered User
Join Date: Feb 2007
Posts: 128
|
I also tried out a negative delay in a video stream in MKVToolnix and it worked in VLC.
But as I said - it could very well be that it doesn‘t work in all players. And yes, indeed - you don‘t need to cut the audio for your use case. So just ignore the audio track in StaxRip and just mux the resulting shortened SDR video track together with the HDR video track and the original audio track you already have. Last edited by katzenjoghurt; 26th October 2023 at 15:54. |
![]() |
![]() |
![]() |
#4777 | Link | |
Registered User
Join Date: Feb 2007
Posts: 128
|
Quote:
What‘s actually happening under the hood of MKVToolnix is that a negative delay in a video stream will result in a real cut of the stream. Very probably unprecisely at a neighboring keyframe. I tried it again with a smaller file and there I noticed that it became even smaller by setting a negative delay to the video stream. Meh. Sorry about that bad advice. |
|
![]() |
![]() |
![]() |
#4778 | Link | |
Registered User
Join Date: Dec 2013
Posts: 646
|
Quote:
With TrueHD there can be a residual - positive - delay because it can't be cut at every frame. Somewhat similar to video, TrueHD has "major sync" frames where cuts can be made. |
|
![]() |
![]() |
![]() |
#4779 | Link |
Registered User
Join Date: Dec 2013
Posts: 646
|
StaxRip v2.29 - DoViBaker - Win7 x64
I'm currently looking into DoViBaker. From its repo at github I understand it's an avisynth plugin that processes FEL video, RPU and BL and merge all into one videostream. Initially looking for a all-in-one GUI I imagine StaxRip supports this for a recode. If so, I can use some help on workflow and probably what extra files in what folders should be placed.
I'm on Windows 7 64 bit. I already replaced MKVToolNix "mkv***.exes" with Qt5-build ones. Should Python be involved (I haven't the faintest) is there a way to let it work? I know -QfG- doviscripts have a Python folder that seems to work with Win7. I'm asking a lot, hope you don't mind |
![]() |
![]() |
![]() |
#4780 | Link |
Registered User
Join Date: Dec 2013
Posts: 646
|
Being at it, any idea why StaxRip reports different framerates at import on elementary hevc stream and when in mkv?
I checked the hevc stream; it's definitely 23.976fps, Staxrip shows 25fps. mkv import shows correct 23.976 fps ![]() Last edited by von Suppé; 29th October 2023 at 17:12. |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|