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.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 Encoder GUIs

Reply
 
Thread Tools Search this Thread Display Modes
Old 1st February 2018, 22:17   #2841  |  Link
Malphie
Registered User
 
Join Date: Nov 2017
Posts: 3
Can someone tell me that how can i merge two different videos into one? I want to use my intro but staxrip keeps giving errors.

Quote:
Error Merge source files using mkvmerge 17.0.0 (1.7.0.4)

Merge source files using mkvmerge 17.0.0 failed with exit code: 2 (0x2)

The exit code might be a system error code: STATUS_WAIT_2

The exit code might be a system error code: The system cannot find the file specified.


--------------- Merge source files using mkvmerge 17.0.0 ---------------

D:\Programlar\StaxRip-x64-1.7.0.4-test\Apps\MKVToolNix\mkvmerge.exe -o C:\Users\Administrator\Desktop\Op_1080p48kHz_new_merged.mkv "C:\Users\Administrator\Desktop\Op_1080p48kHz_new.mp4" + "C:\Users\Administrator\Desktop\[ReinForce] Mahouka Koukou no Rettousei (BDRip 1920x1080 x264 FLAC)\[ReinForce] Gekijouban Mahouka Koukou no Rettousei ~Hoshio Yobu Shoujo~ (BDRip 1920x1080 x264 FLAC).mkv"

mkvmerge v17.0.0 ('Be Ur Friend') 64-bit
'C:\Users\Administrator\Desktop\Op_1080p48kHz_new.mp4': Using the demultiplexer for the format 'QuickTime/MP4'.
'C:\Users\Administrator\Desktop\[ReinForce] Mahouka Koukou no Rettousei (BDRip 1920x1080 x264 FLAC)\[ReinForce] Gekijouban Mahouka Koukou no Rettousei ~Hoshio Yobu Shoujo~ (BDRip 1920x1080 x264 FLAC).mkv': Using the demultiplexer for the format 'Matroska'.
'C:\Users\Administrator\Desktop\Op_1080p48kHz_new.mp4' track 0: Using the output module for the format 'AVC/h.264'.
'C:\Users\Administrator\Desktop\Op_1080p48kHz_new.mp4' track 1: Using the output module for the format 'AAC'.
'C:\Users\Administrator\Desktop\[ReinForce] Mahouka Koukou no Rettousei (BDRip 1920x1080 x264 FLAC)\[ReinForce] Gekijouban Mahouka Koukou no Rettousei ~Hoshio Yobu Shoujo~ (BDRip 1920x1080 x264 FLAC).mkv' track 0: Using the output module for the format 'AVC/h.264'.
'C:\Users\Administrator\Desktop\[ReinForce] Mahouka Koukou no Rettousei (BDRip 1920x1080 x264 FLAC)\[ReinForce] Gekijouban Mahouka Koukou no Rettousei ~Hoshio Yobu Shoujo~ (BDRip 1920x1080 x264 FLAC).mkv' track 1: Using the output module for the format 'FLAC'.
No append mapping was given for the file no. 1 ('C:\Users\Administrator\Desktop\[ReinForce] Mahouka Koukou no Rettousei (BDRip 1920x1080 x264 FLAC)\[ReinForce] Gekijouban Mahouka Koukou no Rettousei ~Hoshio Yobu Shoujo~ (BDRip 1920x1080 x264 FLAC).mkv'). A default mapping of 1:0:0:0,1:1:0:1 will be used instead. Please keep that in mind if mkvmerge aborts with an error message regarding invalid '--append-to' options.
Warning: The track number 0 from the file 'C:\Users\Administrator\Desktop\[ReinForce] Mahouka Koukou no Rettousei (BDRip 1920x1080 x264 FLAC)\[ReinForce] Gekijouban Mahouka Koukou no Rettousei ~Hoshio Yobu Shoujo~ (BDRip 1920x1080 x264 FLAC).mkv' can probably not be appended correctly to the track number 0 from the file 'C:\Users\Administrator\Desktop\Op_1080p48kHz_new.mp4': The codec's private data does not match (lengths: 43 and 46). Please make sure that the resulting file plays correctly the whole time. The author of this program will probably not give support for playback issues with the resulting file.
Error: The track number 1 from the file 'C:\Users\Administrator\Desktop\[ReinForce] Mahouka Koukou no Rettousei (BDRip 1920x1080 x264 FLAC)\[ReinForce] Gekijouban Mahouka Koukou no Rettousei ~Hoshio Yobu Shoujo~ (BDRip 1920x1080 x264 FLAC).mkv' cannot be appended to the track number 1 from the file 'C:\Users\Administrator\Desktop\Op_1080p48kHz_new.mp4'. The formats do not match.



StaxRip.ErrorAbortException: Merge source files using mkvmerge 17.0.0 failed with exit code: 2 (0x2)

The exit code might be a system error code: STATUS_WAIT_2

The exit code might be a system error code: The system cannot find the file specified.


--------------- Merge source files using mkvmerge 17.0.0 ---------------

D:\Programlar\StaxRip-x64-1.7.0.4-test\Apps\MKVToolNix\mkvmerge.exe -o C:\Users\Administrator\Desktop\Op_1080p48kHz_new_merged.mkv "C:\Users\Administrator\Desktop\Op_1080p48kHz_new.mp4" + "C:\Users\Administrator\Desktop\[ReinForce] Mahouka Koukou no Rettousei (BDRip 1920x1080 x264 FLAC)\[ReinForce] Gekijouban Mahouka Koukou no Rettousei ~Hoshio Yobu Shoujo~ (BDRip 1920x1080 x264 FLAC).mkv"

mkvmerge v17.0.0 ('Be Ur Friend') 64-bit
'C:\Users\Administrator\Desktop\Op_1080p48kHz_new.mp4': Using the demultiplexer for the format 'QuickTime/MP4'.
'C:\Users\Administrator\Desktop\[ReinForce] Mahouka Koukou no Rettousei (BDRip 1920x1080 x264 FLAC)\[ReinForce] Gekijouban Mahouka Koukou no Rettousei ~Hoshio Yobu Shoujo~ (BDRip 1920x1080 x264 FLAC).mkv': Using the demultiplexer for the format 'Matroska'.
'C:\Users\Administrator\Desktop\Op_1080p48kHz_new.mp4' track 0: Using the output module for the format 'AVC/h.264'.
'C:\Users\Administrator\Desktop\Op_1080p48kHz_new.mp4' track 1: Using the output module for the format 'AAC'.
'C:\Users\Administrator\Desktop\[ReinForce] Mahouka Koukou no Rettousei (BDRip 1920x1080 x264 FLAC)\[ReinForce] Gekijouban Mahouka Koukou no Rettousei ~Hoshio Yobu Shoujo~ (BDRip 1920x1080 x264 FLAC).mkv' track 0: Using the output module for the format 'AVC/h.264'.
'C:\Users\Administrator\Desktop\[ReinForce] Mahouka Koukou no Rettousei (BDRip 1920x1080 x264 FLAC)\[ReinForce] Gekijouban Mahouka Koukou no Rettousei ~Hoshio Yobu Shoujo~ (BDRip 1920x1080 x264 FLAC).mkv' track 1: Using the output module for the format 'FLAC'.
No append mapping was given for the file no. 1 ('C:\Users\Administrator\Desktop\[ReinForce] Mahouka Koukou no Rettousei (BDRip 1920x1080 x264 FLAC)\[ReinForce] Gekijouban Mahouka Koukou no Rettousei ~Hoshio Yobu Shoujo~ (BDRip 1920x1080 x264 FLAC).mkv'). A default mapping of 1:0:0:0,1:1:0:1 will be used instead. Please keep that in mind if mkvmerge aborts with an error message regarding invalid '--append-to' options.
Warning: The track number 0 from the file 'C:\Users\Administrator\Desktop\[ReinForce] Mahouka Koukou no Rettousei (BDRip 1920x1080 x264 FLAC)\[ReinForce] Gekijouban Mahouka Koukou no Rettousei ~Hoshio Yobu Shoujo~ (BDRip 1920x1080 x264 FLAC).mkv' can probably not be appended correctly to the track number 0 from the file 'C:\Users\Administrator\Desktop\Op_1080p48kHz_new.mp4': The codec's private data does not match (lengths: 43 and 46). Please make sure that the resulting file plays correctly the whole time. The author of this program will probably not give support for playback issues with the resulting file.
Error: The track number 1 from the file 'C:\Users\Administrator\Desktop\[ReinForce] Mahouka Koukou no Rettousei (BDRip 1920x1080 x264 FLAC)\[ReinForce] Gekijouban Mahouka Koukou no Rettousei ~Hoshio Yobu Shoujo~ (BDRip 1920x1080 x264 FLAC).mkv' cannot be appended to the track number 1 from the file 'C:\Users\Administrator\Desktop\Op_1080p48kHz_new.mp4'. The formats do not match.


at StaxRip.Proc.Start() in D:\Projekte\VS\VB\StaxRip\General\Proc.vb:line 338
at StaxRip.MainForm.ShowOpenSourceDialog() in D:\Projekte\VS\VB\StaxRip\Forms\MainForm.vb:line 4782

Last edited by Malphie; 2nd February 2018 at 21:08. Reason: describing my problem
Malphie is offline   Reply With Quote
Old 3rd February 2018, 15:29   #2842  |  Link
RieGo
Registered User
 
Join Date: Nov 2009
Posts: 59
Quote:
Originally Posted by Malphie View Post
Can someone tell me that how can i merge two different videos into one? I want to use my intro but staxrip keeps giving errors.
see:
Quote:
The formats do not match.
make sure all video files have the same codec, resolution and framerate.
i'm not sure about audio. one file uses aac the other one flac(?). maybe that's your problem
RieGo is offline   Reply With Quote
Old 4th February 2018, 13:07   #2843  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
@Balthazar2k4

There was a bug forcing mod 16 instead of using the mod value defined in the options which has 8 as default.
stax76 is offline   Reply With Quote
Old 4th February 2018, 21:43   #2844  |  Link
Yanak
Registered User
 
Join Date: Oct 2011
Posts: 275
Hello Stax, few tools that might need an update :

AVSMeter - 2.7.1
KNLMeansCL - 1.1.1
masktools2 - 2.2.13
MediaInfo - 17.2
VSFilterMod_x64 - r5 see : https://github.com/stax76/staxrip/issues/348 & https://forum.doom9.org/showthread.p...36#post1829836

FFmpeg 3.4.1 ( i had various issues one month or so ago with the one in Staxrip and some actions performed, getting a newer build resolved them, well no issues linked to ffmpeg since a while so... )

Plugins_JPSDR - 2.0.5 if i understood correctly it have now aWarpSharpMT so aWarpSharp2 might be removed, need confirmation.

Not sure if all are needed or if there is incompatibilities when mixed, so far i had no problems but not mixing them much.

Thank you.

Edit :
@ sausuke :
You might be interested by this : https://github.com/satishsampath/fra...ment-362878180
Someone finally made Debugmode frameserver compatible with x64 ( win7 only for now ), no need of MP_Pipepline anymore for this now

Last edited by Yanak; 4th February 2018 at 22:48.
Yanak is offline   Reply With Quote
Old 5th February 2018, 05:22   #2845  |  Link
sausuke
Registered User
 
Join Date: Dec 2011
Posts: 23
Quote:
Originally Posted by Yanak View Post
Hello Stax, few tools that might need an update :

AVSMeter - 2.7.1
KNLMeansCL - 1.1.1
masktools2 - 2.2.13
MediaInfo - 17.2
VSFilterMod_x64 - r5 see : https://github.com/stax76/staxrip/issues/348 & https://forum.doom9.org/showthread.p...36#post1829836

FFmpeg 3.4.1 ( i had various issues one month or so ago with the one in Staxrip and some actions performed, getting a newer build resolved them, well no issues linked to ffmpeg since a while so... )

Plugins_JPSDR - 2.0.5 if i understood correctly it have now aWarpSharpMT so aWarpSharp2 might be removed, need confirmation.

Not sure if all are needed or if there is incompatibilities when mixed, so far i had no problems but not mixing them much.

Thank you.

Edit :
@ sausuke :
You might be interested by this : https://github.com/satishsampath/fra...ment-362878180
Someone finally made Debugmode frameserver compatible with x64 ( win7 only for now ), no need of MP_Pipepline anymore for this now
Wow thank you. Glad I visited this forum again gonna read it now.
sausuke is offline   Reply With Quote
Old 5th February 2018, 11:15   #2846  |  Link
DaMacFunkin
Registered User
 
Join Date: Mar 2002
Posts: 140
Hello I need a new Laptop to run Stax, i currently use Nvenc to convert my Blu-ray collection to HEVC with stax, which do you think is the better combination of the 2 below?

Intel® Core™ i5-6300HQ processor with GTX 1060 Graphics or..
Intel® Core™ i7-7500U processor with GTX1050 Graphics.

Any advise would be appreciated.
DaMacFunkin is offline   Reply With Quote
Old 6th February 2018, 07:19   #2847  |  Link
phazer11
Registered User
 
Join Date: Feb 2018
Posts: 11
So. Would like to first say thank you for the GUI and all your hard effort Stax, I've been a fan for a while now.

Recently I've been using a program by the name of Hybrid GUI for a bit easier time denoising video and line darkening (since the line darkeners are 32-bit). This is how I discovered an oddity and also a bit of an issue using SMDegrain in Stax (since Stax is more reliable in some ways and also has mClean to boot!).

Using the following in Hybrid results in ~1.8 FPS in Hybrid using x265 custom very slow settings.
Code:
SMDegrain(tr=12,thSAD=800,thSADC=400,contrasharp=true,interlaced=false,subpixel=3,prefilter=0,blksize=16,search=5,Truemotion=false,thSCD1=2400)
Now in Stax I have to remove the contrasharp=true because I receive an error saying "Script error. There is no function named 'medianblur'." Perhaps because you don't have RemoveGrainHD? I know that was one of the problems in Hybrid GUI (the author selur has since fixed it).

So for now I'm running the script with contrasharp turned off and here's the other weirdness. Stax is not utilizing the cpu to its' full potential, the usage info in taskmanager for Hybrid shows ~75-98% usage. Stax shows a max of 88% and hovers in the 30s and 40s for the most part and the FPS shows this @ ~0.75-1 FPS.

To be clear, I've updated all versions of the softwares used (x265 etc.) to the same versions where possible (due to Hybrid using 64-bit and 32-bit) and checked the settings dozens of times to be sure before I posted anything. Stax and Hybrid are within margin of error speed wise (to be expected with the same version of x265) with no filters enabled so... yeah just weird.

So I don't know if the speed problem is Stax's fault but I thought I would at least let you know about the contrasharp issue and maybe you'd have some insight into the speed issue.

Also, if I could I would like to request some deband options be included.

Last edited by phazer11; 6th February 2018 at 07:37.
phazer11 is offline   Reply With Quote
Old 7th February 2018, 09:10   #2848  |  Link
RieGo
Registered User
 
Join Date: Nov 2009
Posts: 59
Quote:
Originally Posted by DaMacFunkin View Post
Hello I need a new Laptop to run Stax, i currently use Nvenc to convert my Blu-ray collection to HEVC with stax, which do you think is the better combination of the 2 below?

Intel® Core™ i5-6300HQ processor with GTX 1060 Graphics or..
Intel® Core™ i7-7500U processor with GTX1050 Graphics.

Any advise would be appreciated.
depending on how much quality/efficiency you want.
for quality you probably pefer cpu encoding, so i7-7500 would be your choice.
in terms of gpu decoding/encoding i don't think there would be a significant difference between gtx 1060 and 1050. even my 1030 does a perfectly fine job at decoding 4k hevc 10bit streams
RieGo is offline   Reply With Quote
Old 7th February 2018, 14:27   #2849  |  Link
DaMacFunkin
Registered User
 
Join Date: Mar 2002
Posts: 140
Quote:
Originally Posted by RieGo View Post
depending on how much quality/efficiency you want.
for quality you probably pefer cpu encoding, so i7-7500 would be your choice.
in terms of gpu decoding/encoding i don't think there would be a significant difference between gtx 1060 and 1050. even my 1030 does a perfectly fine job at decoding 4k hevc 10bit streams
Mum thanks for that, what would the speed difference be between cpu encoding and nvenc?
Nvidia quotes the 1060 as having twice as many coda cores as the 1050?
DaMacFunkin is offline   Reply With Quote
Old 7th February 2018, 19:04   #2850  |  Link
deekey777
Registered User
 
Join Date: Jan 2008
Posts: 92
ffmpeg supports AMD's VCE (over AMF), https://ffmpeg.zeranoe.com/forum/vie...?t=4231#p12946
Is it possible to use it in StaxRip (instead of VCEEnc)?
deekey777 is offline   Reply With Quote
Old 8th February 2018, 04:41   #2851  |  Link
CCaptain00
Registered User
 
Join Date: Jan 2018
Posts: 3
Quote:
Originally Posted by sneaker_ger View Post
AVS Filters -> Edit Code

But I see now it converts to 8 bit by default. Edit from:
Code:
FFVideoSource("%source_file%", colorspace = "YUV420P8", \
              cachefile = "%source_temp_file%.ffindex")
to;
Code:
FFVideoSource("%source_file%", cachefile = "%source_temp_file%.ffindex")
and try again.

Note that this may break certain filters.
This fixed my 10 bit encodes but seems to have broken my ability to add hardcoded subtitles. Has anyone else tested or experienced this? I have tested this on StaXrip 1.7.0.0 and 1.7.0.6. Should I try updating ffmpeg to 3.4.1?
CCaptain00 is offline   Reply With Quote
Old 8th February 2018, 13:45   #2852  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
It's probably possible to write a script that renders subtitles separately on alpha and overlay it onto the 10 bit video in AviSynth+.

But: since StaxRip supports VapourSynth you might want to try that. Should be easier than AviSynth since it supported 10 bit from the beginning.
sneaker_ger is offline   Reply With Quote
Old 8th February 2018, 18:17   #2853  |  Link
CCaptain00
Registered User
 
Join Date: Jan 2018
Posts: 3
Quote:
Originally Posted by sneaker_ger View Post
It's probably possible to write a script that renders subtitles separately on alpha and overlay it onto the 10 bit video in AviSynth+.

But: since StaxRip supports VapourSynth you might want to try that. Should be easier than AviSynth since it supported 10 bit from the beginning.
I will try Vapour Synth if my current test doesn't work. No clue on how to script that. I have been doing some investigating. It seems VSFilterMod is used for hardcoding subtitles. I found a revision (R5) of VSFilterMod here:

https://github.com/sorayuki/VSFilterMod/releases

29 days ago r5 … support YUV420P10 and YUV420P16 for vapoursynth.
CCaptain00 is offline   Reply With Quote
Old 8th February 2018, 18:39   #2854  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
VapourSynth has another subtitle renderer integrated. (I don't know if StaxRip uses that or VSFilter(Mod) by default.)
http://www.vapoursynth.com/doc/plugins/subtext.html


If you need updated build of VSFilterMod you can download it here:
https://www.nmm-hd.org/newbbs/viewtopic.php?f=17&t=1989
sneaker_ger is offline   Reply With Quote
Old 8th February 2018, 20:33   #2855  |  Link
CCaptain00
Registered User
 
Join Date: Jan 2018
Posts: 3
Quote:
Originally Posted by sneaker_ger View Post
VapourSynth has another subtitle renderer integrated. (I don't know if StaxRip uses that or VSFilter(Mod) by default.)
http://www.vapoursynth.com/doc/plugins/subtext.html


If you need updated build of VSFilterMod you can download it here:
https://www.nmm-hd.org/newbbs/viewtopic.php?f=17&t=1989
It took me awhile but it seems that installing and switching to vapoursynth fixed my issues.

1) 10 bit pipeline by default (at least using ffms2 as a source filter)
2) Hardcoded subtitles now work
*Bonus* I can hardcode SUP subtitles without converting to IDX
CCaptain00 is offline   Reply With Quote
Old 8th February 2018, 21:35   #2856  |  Link
Gereral1
Registered User
 
Gereral1's Avatar
 
Join Date: Dec 2017
Posts: 1
Using latest straxrip 1.7 64bit

Video encoding second pass using x265 2.5+14 failed with exit code: 1073807364 (0x40010004)


Happens with UHD 4k files on second pass. First pass on bitrate works fine. Cost me 30 hrs close to throwing this program out. Last test running bitrate and bitrate quality mode. If it fails then I'm uninstalling.
Gereral1 is offline   Reply With Quote
Old 8th February 2018, 21:47   #2857  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Always post the log when reporting problems.


I would at least update StaxRip + x265 before I try again if the problem is reproducable. (And I'd test with shortened file, like 10 seconds. Not encode 30 hours just for testing.)
https://github.com/stax76/staxrip/bl...r/changelog.md
https://forum.doom9.org/showpost.php...postcount=5882
sneaker_ger is offline   Reply With Quote
Old 12th February 2018, 16:12   #2858  |  Link
8-BaLL
Registered User
 
Join Date: Jun 2012
Posts: 75
It is mentioned in the 1.7.0.2 version:

Quote:
update: QTGMC 3.357
Was the update just for Avisynth or also Vapoursynth?

Also is the "FrameRateControl" script the latest 1.2 version in 1.7.0.6?

If I want to update scripts or encoders like x265, is it just enough to overwrite the versions in the folder?

One thing Ive noticed is (compared to 1.7.0.0) that the 1.7.0.6 version (with overwritten x265.exe in the folder by the newest version 2.6-37) was actually encoding slower than 1.7.0.0 at exactly same settings. Also I had a freeze (app crash) at like 50-60% or so.

Its something like 2.5 fps vs 1.5 fps speed difference.

The only script I was using is QTGMC within Vapoursynth (exactly same QTGMC preset), so I cant really tell if the slowdown was caused by newer x265 version or newer QTGMC version, because I think 1.7.0.0 has older version than 1.7.0.6, but Im not sure if only Avisynth version of it or also VS version was updated as well..

I know 1.7.0.6 is a beta build still. So for now I went back to 1.7.0.0 and will do some more comparisons... Other than that its a great program, esp. since QTGMC seems to work pretty consistently out of the box.
8-BaLL is offline   Reply With Quote
Old 12th February 2018, 16:16   #2859  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Quote:
Originally Posted by 8-BaLL View Post
If I want to update scripts or encoders like x265, is it just enough to overwrite the versions in the folder?
Most of the time: yes. But sometimes there can be changes in the tools that require a deeper change within StaxRip.
sneaker_ger is offline   Reply With Quote
Old 13th February 2018, 20:35   #2860  |  Link
Marban
Registered User
 
Join Date: Jul 2010
Posts: 16
new information about HDR-->SDR? i didnt saw it in the new beta version.
Marban is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 19:01.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.