View Full Version : StaxRip
Yanak
21st April 2017, 23:33
Noticed a problem occurring with 1.4.2.9 and also with last 1.4.3.1, ( just downloaded this last version and saw you already added the remove icon in menu, it's perfect thank you, did not had time to explore more than this for now )
It's about mp4box, seems like you changed the mp4box version since the 1.4.2.9 version, now when i try to open a .mov file using the automatic mode i get an error message and program crash :
https://pastebin.com/vsx2sm7B
This is fixed if i replace the mp4box.exe by a older one from version 1.4.2.7 or .8 for example.
Thank you.
stax76
21st April 2017, 23:55
I reverted mp4box.
Magik Mark
22nd April 2017, 00:07
Stax,
Build 1428 and above causes Avysynth Exception Error
stax76
22nd April 2017, 00:08
Is there a error message with debug info?
need4speed
22nd April 2017, 10:18
Hi again,
have a maybe dumb question but was wondering if there is any way to import a file (AVC and x265 mainly) and have staxrip read the conversion settings (from mediainfo I guess) and auto-set all parameters according to the imported file?
Just asking since I happen to get some files very well encoded and have some difficulties in replicating encoding parameters from mediainfo to staxrip.
Hope it is clear and it's just a curiosity really.
Thanks
stax76
22nd April 2017, 11:32
Probably there is a way or I can add one, you need to know how to program in vb.net and powershell or hope somebody helps you with it.
stax76
22nd April 2017, 12:00
I'm adding TIVTC to staxrip, profile suggestions are welcome.
VincAlastor
22nd April 2017, 12:18
@VincAlastor
It seems the .NET IO namespace is implemented in the mscorlib.dll assembly, when staxrip starts and opens a source it does not load a System.IO.FileSystem assembly, when I run the HDR script which works fine on my system then it loads System.IO.FileSystem which staxrip contains along with 30 other assemblies only needed for C# scripting. The reason C# scripting needs 47 nuget packages is it was designed to be .NET Core compatible.
I don't like having 47 nuget packages, 30 assemblies and frequent bug reports that probably only .NET framework engineers do understand. I will definitely remove C# scripting at the end of the year. The next build has this script ported to powershell, powershell scripting will remain supported by staxrip, it needs only one nuget package.
Which OS are you using? I just tried it on my vmware Win 7 test system, works fine too.
I've tested new v2 script and it works! :thanks:
First result after 3 hours video material HDR could save 7,5% bitrate against "normal" 10 bit encoding. :) But of course hard to handle while playback without HDR display and 10 bit pipeline (---> e.g. SVP with MPC-HC breaks 10bit pipeline).
VincAlastor
22nd April 2017, 12:20
Another topic that I observe over the years in Staxrip development is the automation of forced sup (BD) to idx conversions.
We know that this is more complex than it initially seems because
1. not only forced captions in elementary sup streams can be set, but also whole sup streams in the Blu Ray structure (in mpls, clpi, bdmv files) are marked as forced. And
2. idx elematary streams can only be marked completely or not as a forced, with an mkv merge entry.
For many years this means for us that you have to look at almost every sup before manual conversion and decide whether is it a forced stream or not or has it flagged forced captions, which have to extracted later to make a new idx forced stream.
MeGUI tries to discover the forced sups using Haali MediaSplitter (it doesn't work on my system). However, makemkv do it better. It also checks the mpls / clpi / bdmv files. But makemkv does not use bdsup2sub for sup to idx conversions. This can only do Staxrip!
I see tremendous potential for automation, which seems now to be feasible in Staxrip.
And I think the topic is important because indirectly through the opus audio codec elementary sup streams can have the same size as stereo audio streams.
I hope I have triggered a few impulses.
sneaker_ger
22nd April 2017, 12:27
First result after 3 hours video material HDR could save 7,5% bitrate against "normal" 10 bit encoding. :)
I hope you are not just using --crf encoding and compare the file sizes afterwards? That's not a proper comparison.
but also whole sup streams in the Blu Ray structure (in mpls, clpi, bdmv files) are marked as forced.
There is no forced flag for complete tracks on Blu-ray at all. That's what makes it so difficult to automate.
VincAlastor
22nd April 2017, 12:54
I hope you are not just using --crf encoding and compare the file sizes afterwards? That's not a proper comparison.
I used the hole v2 script, all other settings were the same.
There is no forced flag for complete tracks on Blu-ray at all. That's what makes it so difficult to automate.
I'm sorry that's not true. Take a look to tool BDedit to take a better look into BD structures.
stax76
22nd April 2017, 12:55
I'm not really a subtitle expert and can only improve staxrip's subtitle support when people provide as much technical information as possible.
VincAlastor
22nd April 2017, 13:06
I'm trying to find better links, but after 3 min i found a good howto set complete forced sup streams via BDedit. That's the same way you can find forced sups. :)
https://forum.videohelp.com/threads/319506-Force-subs-without-rebuilding
VincAlastor
22nd April 2017, 13:11
I'm trying to find better links, but after 3 min i found a good howto set complete forced sup streams via BDedit. That's the same way you can find forced sups. :)
https://forum.videohelp.com/threads/319506-Force-subs-without-rebuilding
much better howto
https://forum.videohelp.com/threads/365145-How-to-turn-on-subtitle-by-default-on-movie-only-BD-R#post2328339
sneaker_ger
22nd April 2017, 13:34
Of course you can create a simple programming to activate a specific track on a disc with no menu. The problem is to detect this automatically for complex commercial Blu-rays. You'd basically need to implement a full Blu-ray player and even then wouldn't automatically know which buttons to press (a human can read the "Play" graphic but your PC cannot). Not 100% impossible but out of scope for almost any encoding software.
VincAlastor
22nd April 2017, 13:49
Of course you can create a simple programming to activate a specific track on a disc with no menu. The problem is to detect this automatically for complex commercial Blu-rays. You'd basically need to implement a full Blu-ray player and even then wouldn't automatically know which buttons to press (a human can read the "Play" graphic but your PC cannot). Not 100% impossible but out of scope for almost any encoding software.
you only have to integrate a tiny but complex tool like bdedit - makemkv does the same without to be a fully bdplayer :/
It's only one value in .bdmv. it's no magic. And it has nothing to do with complex java BD menues and so on. Please check some of your commercial BD's with BDedit you will see it's simply a .bdmv file too.
After this step you can check elementary streams directly for forced captions.
At the end you have found all possible forced tracks of a BD.
sneaker_ger
22nd April 2017, 14:00
you only have to integrate a tiny but complex tool like bdedit - makemkv does the same without to be a fully bdplayer :/
MakeMKV does not. It looks for forced captions in all subtitle tracks and that's it.
It's only one value in .bdmv. it's no magic. And it has nothing to do with complex java BD menues and so on. Please check some of your commercial BD's with BDedit you will see it's simply a .bdmv file too.
I don't know where to find this. Can you make a screenshot and mark the point where I can see this?
After this step you can check elementary streams directly.
Why do I need to check something when BDedit supposedly told me already?
VincAlastor
22nd April 2017, 14:20
MakeMKV does not. It looks for forced captions in all subtitle tracks and that's it.
I don't know where to find this. Can you make a screenshot and mark the point where I can see this?
Why do I need to check something when BDedit supposedly told me already?
Yes, you only have to klick on posted links.
You have to understand that there are 2 methods to set forced sup's:
- set forced captions directly in elementary sup stream --> that's what you know
- define forced streams in .bdmv or maybe .mpls (i forgot it after some years) --> that's the new part for you
Please take a look yourself with bdedit, that's the way you will understand, thank you!
For Staxrip i've contacted BDedit Dev.
sneaker_ger
22nd April 2017, 14:26
Your links do not describe how to detect forced subtitle tracks in e.g commercial Blu-rays. They show how to add programming to a (simple) Blu-ray to make it select one specific track.
VincAlastor
22nd April 2017, 14:33
Your links do not describe how to detect forced subtitle tracks in e.g commercial Blu-rays. They show how to add programming to a (simple) Blu-ray to make it select one specific track.
...ok, than it must be magic...
i'll do what i can to find information for you, while you could do it for yourself! It's not simple for me cause of my english skills, google bdinfo bdedit find forced sub.
sneaker_ger
22nd April 2017, 14:39
I'm not searching. This topic has been discussed here several times over the years and always with the same conclusion. You can write a program to do X but a program doing X can be written in infinite ways.
Of course if you do think you know for sure I am wrong it would be on you to supply Stax with the necessary information for him to implement your feature request.
VincAlastor
22nd April 2017, 14:45
I'm not searching. This topic has been discussed here several times over the years and always with the same conclusion. You can write a program to do X but a program doing X can be written in infinite ways.
Of course if you do think you know for sure I am wrong it would be on you to supply Stax with the necessary information for him to implement your feature request.
https://forum.doom9.org/showthread.php?t=169976
I'm trying to support staxrip with the help of bdedit dev.
VincAlastor
22nd April 2017, 15:22
Of course you can create a simple programming to activate a specific track on a disc with no menu. The problem is to detect this automatically for complex commercial Blu-rays. You'd basically need to implement a full Blu-ray player and even then wouldn't automatically know which buttons to press (a human can read the "Play" graphic but your PC cannot). Not 100% impossible but out of scope for almost any encoding software.
Ahhhh now i know what you mean! Yeah it's important that a tool knows which language you prefer. In a BD menu you will press "start movie" in your language. Only with this info some sup streams will be defined as forced. The critical point is, that the button command isn't tagged with a language code. That's true and very very complex to read out and identify with an tool.
I'm sorry and thank you.
VincAlastor
22nd April 2017, 17:44
I'm not really a subtitle expert and can only improve staxrip's subtitle support when people provide as much technical information as possible.
ok stax76 i've got some logical and simple tips:
1. in staxrip's subtitle options the first set language of subs to demux should be automatically the one and only possible language for forced subs.
2. After demux the sup files bdsup2sup could convert them all to idx (and should be muxed by mkvmerge later). [that's not new, that's how it should work right now]
3. If bdsup2sup detect forced captions in a "forced language stream" it should perform it's build-in function "only export forced subs". This additionally idx file should be automatically tagged as forced and muxed by mkvmerge later too.
4. Now the trick: if bdsup2sup couln't find forced captions in one of all demuxed forced language sup streams, it should count the lines of every forced language stream. If it found a stream with 200 or less subtitle lines (this value could be user definable) staxrip should set this as forced in mkvmerge.
5. Otherwise the video doesn't contain forced subtitles.
edit 2017-05-28:
6. instead of converting with bdsub2sup you only check and extract forced sup's with it and finally convert them all to srt with a good OCR algorithm like in subtitle edit
https://www.videohelp.com/software/Subtitle-Edit
In practical use it seems to be realistic that staxrip will hit every forced subtitle except perhaps in some silent movies this way.
What do you and users think about that solution?
need4speed
22nd April 2017, 18:45
ok stax76 i've got some logical and simple tips:
1. in staxrip's subtitle options the first set language of subs to demux should be automatically the one and only possible language for forced subs.
2. After demux the sup files bdsup2sup could convert them all to idx (and should be muxed by mkvmerge later). [that's not new, that's how it should work right now]
3. If bdsup2sup detect forced captions in a "forced language stream" it should perform it's build-in function "only export forced subs". This additionally idx file should be automatically tagged as forced and muxed by mkvmerge later too.
4. Now the trick: if bdsup2sup couln't find forced captions in one of all demuxed forced language sup streams, it should count the lines of every forced language stream. If it found a stream with 200 or less subtitle lines (this value could be user definable) staxrip should set this as forced in mkvmerge.
5. Otherwise the video doesn't contain forced subtitles.
In practical use it seems to be realistic that staxrip will hit every forced subtitle except perhaps in some silent movies this way.
What do you and users think about that solution?
Or maybe just check the file size, forced subs size is always way smaller than subs or sdh?
Inviato dal mio GT-N7100 utilizzando Tapatalk
VincAlastor
22nd April 2017, 19:06
yes, we only speak about the "bigger sized" blu ray .sup files :) thank you
stax76
22nd April 2017, 19:06
@VincAlastor
Thanks for infos, I've added an issue on the tracker.
VincAlastor
22nd April 2017, 19:17
@VincAlastor
Thanks for infos, I've added an issue on the tracker.
after many years these stupid checking of sup streams... i could kiss you man!!! thank you so much!
Natty
23rd April 2017, 17:39
http://imgh.us/qaac_stax.png
can we pls get an option of "original" here ?
stax76
23rd April 2017, 17:49
@Natty
It might be tricky to add, I've created a issue on the tracker at github.
Natty
23rd April 2017, 23:35
thank u very much sir
AMED
23rd April 2017, 23:46
@Natty
It might be tricky to add, I've created a issue on the tracker at github.I would love this feature. it would be really helpful for batch encodes.
chummy
24th April 2017, 11:40
When i use some avisynth external script, Staxrip keep all temp files at same directory from avs script and video file, it dont even create temp file directory or delete files at end. With normal video encoding without usage of avs script temp folder creation works fine. I try changing temp file directory but everytime it reset and all temp files are stored in avs script directory.
Is there someway to avoid all temp files being leave at avs script directory?
stax76
24th April 2017, 12:03
there is a exception for following files:
files types without audio: "m4v", "m2v", "y4m", "mpv", "avc", "hevc", "264", "h264", "265", "h265"
text based file types: "d2v", "dgi", "dga", "dgim", "avs", "vpy"
in the options you can try if defining the temp dir helps in this case. (Options > Paths > Temp Files Directory)
stax76
24th April 2017, 16:38
@Natty
@AMED
A new build with the channel feature is online.
Natty
24th April 2017, 21:02
@Natty
@AMED
A new build with the channel feature is online.
thank u very much for this and x265 2.4.2..
Magik Mark
24th April 2017, 23:46
Is there a error message with debug info?
https://s10.postimg.org/dimsedas5/Stax_Error.png (https://postimg.org/image/dimsedas5/)
This is found in line 7:
f3kdb(y = 48, cb = 48, cr = 48, grainy = 48, grainc = 48, keep_tv_range = true)
Only happened in stax build v1428 and above
stax76
25th April 2017, 00:14
The dll is supposed to support both avs and vs, avs don't seem to work though, probably I forgot to test it for avs, for avisynth you can try 1.5.1, that's what was probably included before.
http://nmm.me/fh
I think there is a issue with your frame rate.
Yanak
25th April 2017, 00:50
Hi again,
have a maybe dumb question but was wondering if there is any way to import a file (AVC and x265 mainly) and have staxrip read the conversion settings (from mediainfo I guess) and auto-set all parameters according to the imported file?
Just asking since I happen to get some files very well encoded and have some difficulties in replicating encoding parameters from mediainfo to staxrip.
Hope it is clear and it's just a curiosity really.
Thanks
This will be a dream if possible to do, i already tried to transpose mediainfo settings into x265 from a high quality and tiny size x265 file without success, such option or tool will be a dream.
After messing around for few days i post here few filters I made using last Staxrip versions, some might serve for other users or simply serve as examples :
Some overlay filters that i put inside a new [overlay] menu :
#Media File overlay, browse for a media file, picture or video, select where to display it ( top left, top right, bottom right etc and center of the screen, and option to add a margin from borders in pixels, for example display at top left with 10px margin from top and right side of the screen, no margin possible if placed on the center of the screen :
https://s14.postimg.org/ebk3byxgx/445653_Untitled.gif
File = Margin_px=$enter_text:Margin from borders in pixels, set 0 for no margin (Example: 3)$ Input_File=$select:msg:Type of file selected for the Overlay;Picture - Image|ImageSource;Avi|AviSource;d2v|MPEG2Source;dgi|DGSource;dgim|DGSourceIM;mp4 mov m4v|LSMASHVideoSource;x264 h264 avc x265 h265 hevc ts m2ts mts m2t|LWLibavVideoSource;wmv|DDS2;Other ( FFvideoSource by default )|FFvideoSource$("$browse_file$") Overlay(Input_File,$select:msg:File Overlay Position;Top Left|x=Margin_px,y=Margin_px;Top Right|x=%target_width%-Input_File.width-Margin_px,y=Margin_px;Center Screen|x=(%target_width%/2)-(Input_File.width/2),y=(%target_height%/2)-(Input_File.height/2);Bottom Left|x=Margin_px,y=%target_height%-Input_File.height-Margin_px;Bottom Right|x=%target_width%-Input_File.width-Margin_px,y=%target_height%-Input_File.height-Margin_px$,opacity=$enter_text:Enter Overlay Transparency from 0.0 (transparent) to 1.0 (fully opaque) (example: 0.45)$,mode="blend")
#Browse logo/picture, in case you don't want the more advanced filter posted above , this one is only for pictures, skipping the step asking for media input type , browse for a picture file, select transparency level and where to display it, possible to add margin from borders too :
LogoFile = Margin_px=$enter_text:Margin from borders in pixels, set 0 for no margin (Example: 3)$ logo=ImageSource("$browse_file$") Overlay(logo,$select:msg:Logo Overlay Position;Top Left|x=Margin_px,y=Margin_px;Top Right|x=%target_width%-logo.width-Margin_px,y=Margin_px;Center Screen|x=(%target_width%/2)-(logo.width/2),y=(%target_height%/2)-(logo.height/2);Bottom Left|x=Margin_px,y=%target_height%-logo.height-Margin_px;Bottom Right|x=%target_width%-logo.width-Margin_px,y=%target_height%-logo.height-Margin_px$,opacity=$enter_text:Enter Overlay Transparency from 0.0(transparent) to 1.0(fully opaque) (example: 0.45)$,mode="blend")
#Logo select from a list, select a logo form a list, here 3 different logos ( replace images paths in code by your own pictures path ) and option to select where to place it + transparency and margin in pixels from borders option :
https://s14.postimg.org/dm1azmccx/614687_Untitled2.gifLogo = Margin_px=$enter_text:Margin from borders in pixels, set 0 for no margin (Example: 3)$ logo=ImageSource($select:msg:Logo picture;Default Logo|"F:\frame.png";Second Logo|"F:\frame2.png";Third Logo|"F:\frame3.png"$) Overlay(logo,$select:msg:Logo Overlay Position;Top Left|x=Margin_px,y=Margin_px;Top Right|x=%target_width%-logo.width-Margin_px,y=Margin_px;Center Screen|x=(%target_width%/2)-(logo.width/2),y=(%target_height%/2)-(logo.height/2);Bottom Left|x=Margin_px,y=%target_height%-logo.height-Margin_px;Bottom Right|x=%target_width%-logo.width-Margin_px,y=%target_height%-logo.height-Margin_px$,opacity=$enter_text:Enter Overlay Transparency from 0.0(transparent) to 1.0(fully opaque) (example: 0.45)$,mode="blend")
#WaterMark, add a text overlay, enter text, select font size, position on screen, should auto adjust positions no matter the font size or font used if you replace it in code by another one :
https://s14.postimg.org/hiemvm529/619355_Untitled3.gif
Watermark = Subtitle("$enter_text:Add Watermark Text$",$select:msg:Watermark Position;Top Left|x=3,y=0,align=7;Top Center|y=0,align=8;Top Right|x=%target_width%-3,y=0,align=9;Center of The Screen|align=5;Bottom Left|x=3,y=%target_height%,align=1;Bottom Center|y=%target_height%,align=2;Bottom Right|x=%target_width%-3,y=%target_height%,align=3$,font="Aparajita",size=$enter_text:Font Size (Example: 30)$,text_color=$ffffff,halo_color=$000)
#Timer, overlay a timer on screen, font size and position options :
Timer = font_height=$enter_text:Font Size (example: 30)$ Showtime(offset_f=$enter_text:Set the Starting Frame Number of the Timer (ex: 0 100 -100)$,$select:msg:Display Position;Top Left|x=font_height*2,y=font_height/1.6;Top Center|y=font_height/1.6;Top Right|x=%target_width%-font_height*2,y=font_height/1.6;Bottom Left|x=font_height*2,y=%target_height%-font_height/4.8;Bottom Center|y=%target_height%-font_height/4.8;Bottom Right|x=%target_width%-font_height*2,y=%target_height%-font_height/4.8$,font="Aparajita",size=font_height,text_color=$ffffff,halo_color=$000)
#SMPTE , overlay a SMPTE timer, select font size + position options :
SMPTE = font_height=$enter_text:Font Size (example: 30)$ ShowSMPTE(offset_f=$enter_text:Set the Starting Frame Number of the Timer (ex: 0 100 -100)$,$select:msg:Display Position;Top Left|x=font_height*2,y=font_height/1.6;Top Center|y=font_height/1.6;Top Right|x=%target_width%-font_height*2,y=font_height/1.6;Bottom Left|x=font_height*2,y=%target_height%-font_height/4.8;Bottom Center|y=%target_height%-font_height/4.8;Bottom Right|x=%target_width%-font_height*2,y=%target_height%-font_height/4.8$,font="Aparajita",size=font_height,text_color=$ffffff,halo_color=$000)
#Current Time, overlays the current (PC) time on the video, options to choose where to display it + font size :
Current Time = font_height=$enter_text:Font Size (example: 30)$ ScriptClip("subtitle(time("+chr(34)+"%H:%M:%S"+chr(34)+"),font="+chr(34)+"Aparajita"+chr(34)+",$select:msg:Display Position;Top Left|x=3,y=1,align=7;Top Center|y=1,align=8;Top Right|x=%target_width%-3,y=1,align=9;Center of The Screen|align=5;Bottom Left|x=3,y=%target_height%,align=1;Bottom Center|y=%target_height%,align=2;Bottom Right|x=%target_width%-3,y=%target_height%,align=3$,size=font_height,text_color=$ffffff,halo_color=$000)")
#Frame Number, overlay the frame number on the video, options to choose where to display it + font size :
Frame Number = font_height=$enter_text:Font Size (example: 30)$ ShowFrameNumber(scroll=false,offset=$enter_text:Set the Starting Frame number (ex: 0 100 -100)$,$select:msg:Display Position;Top Left|x=font_height/8,y=font_height/1.6;Top Center|x=(%target_width%-(font_height*2.1))/2,y=font_height/1.6;Top Right|x=%target_width%-font_height*2.2,y=font_height/1.6;Bottom Left|x=font_height/8,y=%target_height%-font_height/4.8;Bottom Center|x=(%target_width%-(font_height*2.1))/2,y=%target_height%-font_height/4.8;Bottom Right|x=%target_width%-font_height*2.2,y=%target_height%-font_height/4.8$,font="Aparajita",size=font_height,text_color=$ffffff,halo_color=$000)
Following ones don't need explanations i guess :
ChangeFPS = ChangeFPS($select:msg:Change FPS;60 FPS|60;50 FPS|50;30 FPS|30;25 FPS|25$)
Colors = $select:msg:Colors Change;Grey scale|Greyscale;Show Alpha|ShowAlpha;Show Red|ShowRed;Show Green|ShowGreen;Show Blue|ShowBlue;Invert|Invert;Swap UV|SwapUV$
ConvertTo = $select:msg:Convert To;YV12 (PC.709)|ConvertToYV12(matrix="PC.709");YV12 (Rec709)|ConvertToYV12(matrix="Rec709");YV12 (PC.601)|ConvertToYV12(matrix="PC.601");YV12 (Rec601)|ConvertToYV12(matrix="Rec601");YV12 (RBG)|ConvertToYV12(matrix="RBG");YV24 (PC.709) for not mod2|ConvertToYV24(matrix="PC.709")$
Mirror = $select:msg:Mirror Video;Flip Horizontal|FlipHorizontal; Flip Vertical|FlipVertical$
Reverse Video = Reverse
Rotate = $select:msg:Rotate Video;Turn 90° Left|TurnLeft;Turn 90° Right|TurnRight;Turn 180°|Turn180$
Some of those like timers or frame display will need adjusting if you change the font used in those examples codes, the ones using subtitle function like watermark or current time should auto adjust them positions no matter the font or the size of the font used.
Pictures files used as logo or overlay need to be mod2 most of the times, i could bypass this using ConvertToYV24 at the start of the filter but I'm still not sure yet if this will bring some issues with some footage or colors incorrect, I noticed no differences when leaving the program add his usual ConvertToYV12 then later adding myself manually a ConvertToYV24 filter on the top of it but i need to learn more on this.
I started also to do some crop and letterbox aspect ratio filters for 1080p and 1440p footage, again mod2 stuff limits a bit and for example i need to crop 20px on top and 22px on bottom, can't crop 21px on both sides on non mod2 stuff unless converting to ConvertToYV24 ( again not sure on sub effects of this yet ) , anyways here it is a example for mod2 stuff :
#LetterBox for 1080p footage ( mod2 compatible )
LetterBox 1920x1080 Footage = $select:msg:Select Letter Box Aspect-Ratio for your 1920x1080px footage;1.85:1 35mm standard US/UK widescreen|letterbox(20,22);1.896:1 DCI/SMPTE digital cinema container|letterbox(34,34);2.00:1 SuperScope original ratio US studios 1954 to 1960|letterbox(60,60);2.20:1 70mm Todd-AO 1955 - Super Panavision70 1959 to 1983|letterbox(104,104);2.33:1 Techniscope 1960-1976|letterbox(128,128);2.35:1 35mm anamorphic pre-1970|letterbox(132,132);2.37:1 21:9 cinema displays on Tv's from 2009 to 2012|letterbox(134,136);2.39:1 35mm anamorphic post-1970 Panavision/CinemaScope|letterbox(138,138);2.55:1 Original Cinemascope55 before optical sound added to film in 1954- up to 1957|letterbox(164,164);2.66:1 Full frame output from Super 16mm negative when an anamorphic lens system has been used|letterbox(178,180);2.76:1 Ultra Panavision 70 - MGM Camera 65 - 1957 to 1966|letterbox(192,192);3.00:1 Super WideScreen|letterbox(220,220)$
#LetterBox for 1080p footage ( for footage not needing mod2 this one )
LetterBox 1920x1080 non mod2 Footage = $select:msg:Select Letter Box Aspect-Ratio for your 1920x1080px footage;1.85:1 35mm standard US/UK widescreen|letterbox(21,21);1.896:1 DCI/SMPTE digital cinema container|letterbox(33,34);2.00:1 SuperScope original ratio US studios 1954 to 1960|letterbox(60,60);2.20:1 70mm Todd-AO 1955 - Super Panavision70 1959 to 1983|letterbox(103,104);2.33:1 Techniscope 1960-1976|letterbox(128,128);2.35:1 35mm anamorphic pre-1970|letterbox(131,132);2.37:1 21:9 cinema displays on Tv's from 2009 to 2012|letterbox(135,135);2.39:1 35mm anamorphic post-1970 Panavision/CinemaScope|letterbox(138,138);2.55:1 Original Cinemascope55 before optical sound added to film in 1954- up to 1957|letterbox(163,164);2.66:1 Full frame output from Super 16mm negative when an anamorphic lens system has been used|letterbox(179,179);2.76:1 Ultra Panavision 70 - MGM Camera 65 - 1957 to 1966|letterbox(192,192);3.00:1 Super WideScreen|letterbox(220,220)$
Same filter but instead of letterbox it's just a crop of the video :
#Crop options for 1080p not mod2 :
1920x1080px Footage Crop Aspect-Ratios = $select:msg:Select Crop Aspect-Ratio for your 1920x1080px footage;1.85:1 35mm standard US/UK widescreen|crop(0,20,0,-22);1.896:1 DCI/SMPTE digital cinema container|crop(0,34,0,-34);2.00:1 SuperScope original ratio US studios 1954 to 1960|crop(0,60,0,-60);2.20:1 70mm Todd-AO 1955 - Super Panavision70 1959 to 1983|crop(0,104,0,-104);2.33:1 Techniscope 1960-1976|crop(0,128,0,-128);2.35:1 35 mm anamorphic pre-1970|crop(0,132,0,-132);2.37:1 21:9 cinema displays on Tv's from 2009 to 2012|crop(0,134,0,-136);2.39:1 35 mm anamorphic post-1970 Panavision/CinemaScope|crop(0,138,0,-138);2.55:1 Original Cinemascope55 before optical sound added to film in 1954- up to 1957|crop(0,164,0,-164);2.66:1 Full frame output from Super 16 mm negative when an anamorphic lens system has been used|crop(0,178,0,-180);2.76:1 Ultra Panavision 70 - MGM Camera 65 - 1957 to 1966|crop(0,192,0,-192);3.00:1 Super WideScreen|crop(0,220,0,-220)$
Also finishing all those for 1440p footage , wish i could enter those presets on the cropping viewer directly somehow , not sure if i can make some menus there, did not had much time yet but i'm testing things to make them use easier and progressing on this, need more time :p
A few things i miss and would like to see one day or another :
- Possibility in the event command filters to add custom made muxer profiles or custom made encoding profiles filter.
Let's say i have multiples mp4 muxing profiles or multiples x265 encoding profiles all having a different name, i would like to do stuff using the event commands like " if encoding profile name is X265_HQ do ..." or " If muxer profile name is MP4_Cover do ..."
- What i really miss the most is a easy way to trim a clip in different parts so i can apply different filters to each parts easily , right now we can cut a video in multiples parts and all selected parts are added in form or trim() + trim () + trim () etc.
What i would like to do is in the viewer cut the parts i want but get output as part1=trim() part2=trim() part3(trim() into different filter lines and at the end getting a last filter being part1+part2+part3, all those added in form of individual filters so i can apply other filters between those parts
Right now i do this manually, the "Cutting" filter is automated, and for good reasons, i can use it in the viewer to cut parts, then add a few dummy filters, then rename "Cutting" to "Cutting1" for example then add part1= to the trim code first part and edit dummy filters previously added to add part2 part3 + trim sections and at the end a dummy filter to return me part1+part2+part3
Maybe i missed it but for now I did not found a good solution to do this stuff in a more automated way using the program possibilities, with this it will be easy to insert a filter between part 1 and part 2 and apply a filter only on part 2 etc
- Having a "+" button in the code editor adding a new empty/blank filter that i can edit there without having to add first a dummy filter from main window to manually edit them after in the editor window will be nice.
- I saw you added up and down arrows to move filters on the contextual menu, very nice addition, maybe it is possible to add such thing in the code editor too, a couple of arrow in form of buttons maybe ? ( maybe next the option "+" above ).
I don't ask for all this to be done, just throwing this here in case one day it becomes easy to do , the last changes really open a lot of new possibilities and i'm more than happy with the program, makes things way easier, and for now did not had time to start messing with powershell, this will need quite some free tiem to experiment stuff with but i will come at some point hopefully.
Sorry for the long post and for breaking the forum layout and again thanks a lot for all.
Magik Mark
25th April 2017, 00:53
The dll is supposed to support both avs and vs, avs don't seem to work though, probably I forgot to test it for avs, for avisynth you can try 1.5.1, that's what was probably included before.
http://nmm.me/fh
I think there is a issue with your frame rate.
Stax,
I used the dll you recommended and placed it in C:\Program Files\AviSynth+\plugins64+
Same Problem
Magik Mark
25th April 2017, 00:57
Got it working
Moved it to \StaxRip Test Build\Apps\Plugins\both\flash3kyuu_deband
Instead
stax76
25th April 2017, 00:59
Because it loads the dll with LoadPlugin, you can see that with 'Code Preview', there you can also see the path where you need to replace the dll, the easiest way to open the folder is using the apps dialog.
Main Menu > Apps > Manage > Plugins > AviSynth > flash3kyuu_deband
Just type deband in the search field of the apps dialog.
chummy
26th April 2017, 12:54
there is a exception for following files:
files types without audio: "m4v", "m2v", "y4m", "mpv", "avc", "hevc", "264", "h264", "265", "h265"
text based file types: "d2v", "dgi", "dga", "dgim", "avs", "vpy"
in the options you can try if defining the temp dir helps in this case. (Options > Paths > Temp Files Directory)
When i change temp dir at option it dont work at all keep reseting location to default. If i change temp directory and save as template it just crashi script loading, then i need to reset templates to default for work.
That big amount of temp files for exception files are a bit annoying to remove everytime. If there is a way to make it save all files sinde a temp directory folder like common encoding would be great.
IntelHEVC
26th April 2017, 16:02
Hi Stax76
There is a bug in version 1.4.3.2 in profile Intel hardware encoding!
The hevc codec is output as h265.
That is not right!
Correct is the file transfer on hevc ...
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Encoding using QSVEncC 2.62 x64
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
@echo off
C:\Stax\Apps\QSVEncC\QSVEncC64.exe --codec h265 --quality fastest --ref 4 --scenechange --profile main --level 4 --colormatrix bt709 --colorprim bt709 --transfer bt709 --vbr 991 -i E:\Scenarist\00051.m2ts_1eng_temp\DTSEnc.avs -o E:\Scenarist\DTSEnc.h265
cmd.exe /C call "E:\Scenarist\00051.m2ts_1eng_temp\DTSEnc_QSVEncC.bat"
Error: Unknown value "h265" for "--codec"
Cancel error!
IntelHEVC
26th April 2017, 16:10
Hi Stax76
There is a bug in version 1.4.3.2 in profile Intel hardware encoding!
The hevc codec is output as h265.
That is not right!
Correct is the file transfer on hevc ...
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Encoding using QSVEncC 2.62 x64
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
@echo off
C:\Stax\Apps\QSVEncC\QSVEncC64.exe --codec h265 --quality fastest --ref 4 --scenechange --profile main --level 4 --colormatrix bt709 --colorprim bt709 --transfer bt709 --vbr 991 -i E:\Scenarist\00051.m2ts_1eng_temp\DTSEnc.avs -o E:\Scenarist\DTSEnc.h265
cmd.exe /C call "E:\Scenarist\00051.m2ts_1eng_temp\DTSEnc_QSVEncC.bat"
Error: Unknown value "h265" for "--codec"
Cancel error!
suspiciousBob
26th April 2017, 17:09
I am choosing to convert the source .dstma to 768kbps .dts using ffmpeg as the converter.
StaxRip x64 v1.4.3.2 generated the following line in its script:
C:\Users\username\Desktop\StaxRip-x64-1.4.3.2-test\Apps\ffmpeg\ffmpeg.exe -i "S:\source\source_temp\source ID2 English.dtsma" -strict -2 -b:a 768k -ac 6 -y -hide_banner "S:\source\source_temp\source ID2 English_out1.dts"
Which then fails (and generates a 0 byte .dts file) with the following error:
Input #0, dts, from 'S:\source\source_temp\source ID2 English.dtsma':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Audio: dts (DTS-HD MA), 48000 Hz, 5.1(side), s16p
[dca @ 00000000006e35c0] Specified channel layout '5.1' is not supported
Stream mapping:
Stream #0:0 -> #0:0 (dts (dca) -> dts (dca))
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
If i remote the "-ac 6" parameter from the above command then the .dtsma file is transcoded to .dts as expected.
It this something I can fix myself in StaxRip or is it a bug that can get fixed?
Johan Anderson
1st May 2017, 17:15
Hi,
I am using the test version 1.4.3.2 and I am getting the following error for Intel h265:
Error: Unknown value "h265" for "--codec"
Start: 18:03:22
End: 18:03:22
Duration: 00:00:00
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Encoder output file is missing
My Intel graphic card is activated and has quicksync. When I use the check hardware option, I get QuickSyncVideo (hw encoding) unavailable. Any idea why this occurs?
My specs are these: Processor - I7-4702MQ with Intel HD Graphics 4600 and Nvidia GeForce GT 750M.
i was trying to encode a flac file but i cant import it in staxrip. avisynth gives no video error. is there only way by which we can encode only audio in staxrip. thanks :)
i was trying to encode a flac file but i cant import it in staxrip. avisynth gives no video error. is there only way by which we can encode only audio in staxrip. thanks :)
This should work :
right click on the audio field and " Open " your flac file.
select the audio output format profile and right click again on the audio field and selet " Execute "
https://s14.postimg.org/g3d26ue8x/21687520170505132453.png
This should just process the flac file and convert it to the desired output format.
stax76
5th May 2017, 17:16
@suspiciousBob
It should work with the build from today.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.