VideoHelp Forum
+ Reply to Thread
Page 16 of 23
FirstFirst ... 6 14 15 16 17 18 ... LastLast
Results 451 to 480 of 669
Thread
  1. Member stax76's Avatar
    Join Date
    Nov 2009
    Location
    On thin ice
    Search PM
    Originally Posted by ricardouk View Post
    Hi stax76.
    Been converting some videos (no audio) to prores and is there a way to use the temp video file as the final exported video?

    for example:
    staxrip converts a video and creates a 28gb video (mov) temp file and after the conversion it remuxes it again to creates the final 28gb exported video, both temp and final video are identical.
    You can disable muxing by selecting the No Muxing muxer profile.

    In fact, you can disable more or less everything except the things you want:

    https://staxrip.readthedocs.io/usage.html#batch-processing
    Quote Quote  
  2. Member Bob.Dig's Avatar
    Join Date
    May 2020
    Location
    Berlin
    Search PM
    What would be the highest quality resizer for up-scaling in staxrip?
    Lately there is much talk about AI-upscaling..., but I guess this is not to find in staxrip (yet)?
    Last edited by Bob.Dig; 28th Jul 2020 at 06:54.
    Quote Quote  
  3. Member
    Join Date
    Aug 2013
    Location
    Central Germany
    Search PM
    There is no "best for every case". Different material may make you prefer different resampler kernels because they differ in the amount of smoothing or "sharpening" (with the side effects of adding ringing artifacts around borders).

    And StaxRip is only a user interface creating and executing AviSynth scripts, so it can only offer you a choice between scaling algorithms provided by AviSynth or its available plugins.

    I don't believe this hyped AI upscaler is available as such. But there are plugins with Edge Directed Interpolation (EDI), especially some based on pre-trained Neural Networks, e.g. NNEDI3: These plugins can upsample images by powers of 2 (means, 2× or 4× ... the original size in both directions), while preserving rather sharp looking edges without too much ringing. You can then downscale to a desired resolution with another simpler resizer (e.g. Spline16).
    Quote Quote  
  4. Member Bob.Dig's Avatar
    Join Date
    May 2020
    Location
    Berlin
    Search PM
    Ok, so what is the highest quality build-in resizer with EDI for up-scaling in staxrip?
    Quote Quote  
  5. Member
    Join Date
    Aug 2013
    Location
    Central Germany
    Search PM
    I am sorry I replied. Now your question makes even less sense than before.
    Quote Quote  
  6. Member Bob.Dig's Avatar
    Join Date
    May 2020
    Location
    Berlin
    Search PM
    Originally Posted by LigH.de View Post
    I am sorry I replied. Now your question makes even less sense than before.
    Just don't over-complicate things. An easy question can be answered the same, for example, there is none or something like that. I am just a novice user using staxrip. I don't search complex solutions.
    If it is not included in staxrip, it doesn't exist for me.
    Quote Quote  
  7. Member
    Join Date
    Aug 2013
    Location
    Central Germany
    Search PM
    I tried:

    Originally Posted by LigH.de View Post
    There is no "best for every case". Different material may make you prefer different resampler kernels because they differ in the amount of smoothing or "sharpening" (with the side effects of adding ringing artifacts around borders).
    Some people like it "sharp" and prefer Lanczos, others don't like the exaggeration of noise and edge ringing. For general content I would suggest neutral or soft bicubic, or Spline16, which avoids too much ringing. If you have several similar functions with different numbers: The higher numbers usually cause a "sharper" image but more artifacts and more exaggerated noise.

    For cartoons I would recommend NNEDI3's rpow2 resize first and then a downscale with Spline16. But that's my personal taste. And I believe StaxRip does not even offer this two-step technique. It may require manual editing of the scvript.

    I just looked into StaxRip ... it has a "SuperRes" submenu. But I believe those are more interesting for computer generated videos? Not sure...

    Let's sum it up: Gotta try them all. Compare them, get a feeling how much you like which. In general, "PointResize" will probably be the least preferred choice, except for resizing pixel images.
    Quote Quote  
  8. Member Bob.Dig's Avatar
    Join Date
    May 2020
    Location
    Berlin
    Search PM
    Ok, thanks anyway. I will look at SuperRes.
    I want to upscale just ordinary TV, no cartoons or similar.
    Quote Quote  
  9. -deleted-
    Last edited by ckronengold; 21st Aug 2020 at 11:23. Reason: resolved issue
    Quote Quote  
  10. I'm unclear on what the differences are between choosing x265 or FFMPEG -x265 encoders. I had been using FFMPEG command line to do my x265 encodes before testing out StaxRip.

    Seems to be a lot more options under x265 than FFMPEG, but is it using a different encoder library? or are the both using libx265?
    Quote Quote  
  11. App Digger JKyle's Avatar
    Join Date
    Oct 2018
    Location
    United States
    Search PM
    libx265 is a version of x265 wrapped and tuned as a module fitted for FFmpeg by the FFmpeg team, while the x265 executable used in StaxRip is a standalone static binary file (built by @Patman) based on the x265 project source. They are both based on the same project, x265, so there are no intrinsic differences except for some minor modifications in the course of being adapted for FFmpeg in libx265.
    Quote Quote  
  12. @Jkyle - Thanks for the info. Thats what i had suspected, but wanted to confirm.

    Following up on that, I was trying to figure out why using x265 was taking significantly different amounts of time than using the ffmpeg x265, so i wanted to run some A/B tests. And thats when I discovered the ffmpeg x265 didn't support 10-bit encoding natively.

    I downloaded and compiles the Media Autobuild Suite, which had an x265 that supported 10-bit and 12-bit. Confirmed that it compiled correctly and supported 10bits. Thought I was on my way. I copied the ffmpeg.exe from the media autobuild into the StaxRip FFmpeg folder and restarted. But when I try the advanced options to choose 10-bits, I'm still getting errors when it runs, where FFMPEG isn't recognizing parameters like "-pix_fmt yuv420p10" or "output-depth=10" or "-profile:v main10."

    So that tells me that I still don't have StaxRip pointing to the right ffmpeg.exe. Should I just re-install StaxRip and swap in the ffmpeg before I ever run it? Since I put the new 10-bit ffmpeg in the same location as the old 8-bit ffmpeg.exe, I'm not clear on why the commands aren't working.

    Any suggestions?
    Quote Quote  
  13. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    "Any suggestions? "

    Use the command line to test your build with some of these "missing" command parameters
    Quote Quote  
  14. -pix_fmt yuv420p10 worked in command line

    "C:\test>ffmpeg.exe -i lightsaber.avi -ss 00:00:05 -t 00:00:05 -c:v libx265 -pix_fmt yuv420p10 D:\test\lighstabertest.mkv"
    created the expected output file, confirmed 10bit with MediaInfo tool.

    -output-depth=10 generates "Unrecognized option 'output-depth=10'.
    Error splitting the argument list: Option not found" in command line. So it seems thats no longer a correct / supported parameter.

    -profile:V main10 resulted in an 8bit output file. (edit, but output a 10bit file when added to the custom field. Obviously more user error).

    "C:\test>ffmpeg.exe -i D:\test\GBH.mkv -ss 00:00:05 -t 00:00:05 -c:v libx265 -profile:V main10 D:\test\gbhtest.mkv"
    created the output file, but MediaInfo says its 8bit.

    I tried the same file again with -pix_fmt yuv420p10, and it resulted in the expected 10bit file.

    [Edit] - Going back into StaxRip, changing the first option from Avisynth/VapourSynth to "Software" works when adding -pix_fmt yuv420p10 to the custom field outputs a 10bit file. So clearly 1d10t user error for not understanding the settings. I left them as is, assuming they were default and should work as is.

    That said, it doesn't seem like FFMmpeg x265 is properly handling HDR10. Looks washed out.

    Original
    Image
    [Attachment 54620 - Click to enlarge]


    x265
    Image
    [Attachment 54621 - Click to enlarge]


    FFmpeg x265
    Image
    [Attachment 54622 - Click to enlarge]
    Last edited by ckronengold; 23rd Aug 2020 at 22:14.
    Quote Quote  
  15. App Digger JKyle's Avatar
    Join Date
    Oct 2018
    Location
    United States
    Search PM
    Originally Posted by ckronengold View Post
    That said, it doesn't seem like FFMmpeg x265 is properly handling HDR10. Looks washed out.
    You're wrong.

    Along with the pixel format/profile options, don't forget to set up proper parameters for color space related options like this:

    Code:
    -color_primaries bt2020 -color_trc smpte2084 -colorspace bt2020nc
    Rec. 2020 and SMPTE ST 2084 (PQ) transfer function for HDR10.

    And make sure to put those values in libx265 private options as well along with SMPTE ST 2086 "Mastering Display Color Volume" static metadata like this:

    Code:
    -x265-params colorprim=bt2020:transfer=smpte2084:colormatrix=bt2020nc:master-display="G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,500)"
    (master-display option is for P3 display.)

    You can also add additional max-cll values if need arises.
    Quote Quote  
  16. Thank you for the proper code. If Handbrake would handle HDR properly, I could stop beating my head off the wall with this. Clearly in over my head here. You're a savior.

    In my earlier attempts, I had used
    HTML Code:
    -master-display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(40000000,50)"  -hdr10  -colorprim bt2020  -colormatrix bt2020nc -transfer smpte2084 -range limited -max-cll "1633,114" -repeat-headers -hrd -aud
    but was getting the same error earlier about unrecognized options. I can see that I was close - but not close enough - to using the correct syntax and parameters. When in doubt, its user error.

    Originally Posted by JKyle View Post
    Originally Posted by ckronengold View Post
    That said, it doesn't seem like FFMmpeg x265 is properly handling HDR10. Looks washed out.
    You're wrong.

    Along with the pixel format/profile options, don't forget to set up proper parameters for color space related options like this:

    Code:
    -color_primaries bt2020 -color_trc smpte2084 -colorspace bt2020nc
    Rec. 2020 and SMPTE ST 2084 (PQ) transfer function for HDR10.

    And make sure to put those values in libx265 private options as well along with SMPTE ST 2086 "Mastering Display Color Volume" static metadata like this:

    Code:
    -x265-params colorprim=bt2020:transfer=smpte2084:colormatrix=bt2020nc:master-display="G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,500)"
    (master-display option is for P3 display.)

    You can also add additional max-cll values if need arises.
    Quote Quote  
  17. App Digger JKyle's Avatar
    Join Date
    Oct 2018
    Location
    United States
    Search PM
    Originally Posted by ckronengold View Post
    In my earlier attempts, I had used
    HTML Code:
    -master-display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(40000000,50)"  -hdr10  -colorprim bt2020  -colormatrix bt2020nc -transfer smpte2084 -range limited -max-cll "1633,114" -repeat-headers -hrd -aud
    but was getting the same error earlier about unrecognized options.
    You must translate x265 options into libx265 private options in order to use them in ffmpeg.
    • The dash(-) prefix is removed.
    • Put = between option names and values.
    • Put : between options.
    • Put , between values.
    • Put all of the above after -x265-params and a space.

    So your original x265 command line option settings should be translated for ffmpeg like this:

    Code:
    -x265-params master-display="G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(40000000,50)":colorprim=bt2020:colormatrix=bt2020nc:transfer=smpte2084:max-cll=1633,114:repeat-headers=1:hrd=1:aud=1
    (-hdr10 is redundant and -range limited can be replaced with the FFmpeg global option -color_range tv)

    And you can put the whole libx265 private options as part of your FFmpeg command line.
    Last edited by JKyle; 24th Aug 2020 at 00:38.
    Quote Quote  
  18. Thank you, again, for the clear explanation. Trying to learn the parameters and the multiple syntax structures at the same time -- with zero base knowledge -- was probably not the best way to approach this. Walk before running and all.

    Originally Posted by JKyle View Post
    You must translate x265 options into libx265 private options in order to use them in ffmpeg.
    • The dash(-) prefix is removed.
    • Put = between option names and values.
    • Put : between options.
    • Put , between values.
    • Put all of the above after -x265-params and a space.

    So your original x265 command line option settings should be translated for ffmpeg like this:

    Code:
    -x265-params master-display="G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(40000000,50)":colorprim=bt2020:colormatrix=bt2020nc:transfer=smpte2084:max-cll=1633,114:repeat-headers=1:hrd=1:aud=1
    (-hdr10 is redundant and -range limited can be replaced with the FFmpeg general option -color_range tv)

    And you can put the whole libx265 private options as part of your FFmpeg command line.
    Quote Quote  
  19. Member
    Join Date
    Jul 2020
    Location
    Ukraine
    Search Comp PM
    Good day. StaxRip-x64-2.1.4.2-Beta.
    Found a significant error. We have a mode: QVBR-Quality Variable bitrate using bitrate
    Codec-Intel H.264
    Preset-Best
    Profile-High
    Level-4.1
    It is possible to specify the video bitrate you want. I have a source file with a video bitrate of 24000. I put 19000 for a new file, but the encoding goes according to a different scenario, and I get QVBR Quality - 23. The final file has a video bitrate of only 3100. Why is the result distorted?

    P.S. My wish is that the authors improve the work of presets and add new ones, because not everyone knows how to work with the command line and are well versed in encoding settings. Thank you for understanding.
    Last edited by hevron; 29th Aug 2020 at 10:38.
    Quote Quote  
  20. Would someone mind explaining which one of these settings is causing my encodes to go from ~12 hours to 128 hours? I'm just playing around with different settings (borrowed from other people's encodes), and don't understand a lot of them. But this set of parameters increased my encode time by 10x. Took my encodes from ~3.5-4 fps to .5 fps.


    C:\StaxRip\Apps\Encoders\x265\x265.exe --crf 18 --profile main10 --output-depth 10 --analysis-reuse-level 1 --tu-intra-depth 4 --tu-inter-depth 4 --rdoq-level 2 --psy-rdoq 2.7 --rskip-edge-threshold 0 --no-early-skip --aq-strength 1.7 --no-cutree --max-merge 4 --rc-lookahead 40 --lookahead-slices 4 --scenecut-bias 0.05 --ref 4 --min-keyint 23 --no-asm --no-slow-firstpass --master-display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635, 16450)L(10000000,50)" --hdr10 --colorprim bt2020 --colormatrix bt2020nc --transfer smpte2084 --range limited --max-luma 1023 --max-cll "1000,243" --hdr10-opt --repeat-headers --hrd --aud --selective-sao 0 --frames 256391 --y4m --output "D:\TestEncode.mkv"-
    Even with a slow preset, these settings are encoding at 4.25 fps and eta for 16 hours.
    C:\StaxRip\Apps\Encoders\x265\x265.exe --crf 18 --preset slow --output-depth 10 --master-display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635, 16450)L(10000000,50)" --hdr10 --colorprim bt2020 --colormatrix bt2020nc --transfer smpte2084 --range limited --max-luma 1023 --max-cll "1000,243" --hdr10-opt --chromaloc 2 --repeat-headers --hrd --aud --uhd-bd --frames 256391 --y4m
    Source file:
    Video
    ID : 1
    Format : HEVC
    Format/Info : High Efficiency Video Coding
    Format profile : Main 10@L5.1@High
    HDR format : SMPTE ST 2086, HDR10 compatible
    Codec ID : V_MPEGH/ISO/HEVC
    Duration : 2 h 58 min
    Bit rate : 57.1 Mb/s
    Width : 3 840 pixels
    Height : 2 160 pixels
    Display aspect ratio : 16:9
    Frame rate mode : Constant
    Frame rate : 23.976 (24000/1001) FPS
    Color space : YUV
    Chroma subsampling : 4:2:0 (Type 2)
    Bit depth : 10 bits
    Bits/(Pixel*Frame) : 0.287
    Stream size : 71.0 GiB (93%)
    Title : MPEG-H HEVC Video / 57070 kbps / 2160p / 23.976 fps / 16:9 / Main 10 @ Level 5.1 @ High / 10 bits / HDR10 / BT.2020
    Language : English
    Default : Yes
    Forced : No
    Color range : Limited
    Color primaries : BT.2020
    Transfer characteristics : PQ
    Matrix coefficients : BT.2020 non-constant
    Mastering display color primaries : Display P3
    Mastering display luminance : min: 0.0050 cd/m2, max: 1000 cd/m2
    Maximum Content Light Level : 1000 cd/m2
    Maximum Frame-Average Light Level : 243 cd/m2

    Audio #1
    ID : 2
    Format : DTS XLL X
    Format/Info : Digital Theater Systems
    Commercial name : DTS-HD Master Audio
    Codec ID : A_DTS
    Duration : 2 h 58 min
    Bit rate mode : Variable
    Bit rate : 3 508 kb/s
    Channel(s) : 8 channels
    Channel(s)_Original : Object Based
    ChannelLayout_Original : Object Based
    Sampling rate : 48.0 kHz
    Frame rate : 93.750 FPS (512 SPF)
    Bit depth : 24 bits
    Stream size : 4.37 GiB (6%)
    Title : DTS:X Master Audio / 7.1 / 48 kHz / 3508 kbps / 24-bit
    Language : English
    Default : Yes
    Forced : No
    Also open to suggestions for settings. Movie is Casino, if thats helpful.
    Last edited by ckronengold; 29th Aug 2020 at 12:07.
    Quote Quote  
  21. Hello everyone !

    I'm new with StaxRip and amazed by the efficiency and quality of the software... for small videos. I have indeed a problem with longer ones. When i try to convert a huge MP4 (remux videos from blurays) into a smaller MP4 h264 (threw "h264" encoder, or threw "NVIDIA h264" encoder), I end up with an incomplete video file : the sound is complete and the right duration, but the video stops much earlier that it should, at 1/5 or 1/4 of the movie (and the total file size is between 1 Gb and 3 Gb, instead of the 8/9 Gb projected file). Each movie always stops at the same TC/size (it changes if i change encoder).


    Any idea of what could be causing that?
    There is still free space on the hard drive (around 92 Gb).

    EDIT: In fact it works well if i choose MKV as a container (the video is complete). So the problem seems linked to MP4 container (MP4box). For now I can export MKV then remux them in MP4 with avidemux, but if you know the solution for direct MP4 export without this bug i'm still interested!






    If data can help, here are the encoding data of an h264 encoding export, for a movie stuck at 3,69 Gb :

    avs2pipemod[info]: writing 129881 frames of 24000/1001 fps, 1280x720,
    sar 0:0, YUV-420-planar-8bit progressive video.
    y4m [info]: 1280x720p 0:0 @ 24000/1001 fps (cfr)
    x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
    x264 [info]: profile High, level 3.1, 4:2:0, 8-bit


    The same movie, this time encoded with NVIDIA h264, stuck at 2,83 Gb :

    NVEncC (x64) 5.03 (r1557) by rigaya, Jun 11 2020 15:24:18 (VC 1916/Win/avx2)
    OS Version Windows 10 x64 (19041)
    CPU AMD Ryzen 9 3950X 16-Core Processor (16C/32T)
    GPU #0: GeForce RTX 2060 SUPER (2176 cores, 1680 MHz)[PCIe3x16][452.06]
    NVENC / CUDA NVENC API 9.1, CUDA 11.0, schedule mode: auto
    Input Buffers CUDA, 20 frames
    Input Info AviSynth+ 3.6.0 r3276(yv12)->nv12 [AVX2], 1280x720, 24000/1001 fps
    Vpp Filters copyHtoD
    Output Info H.264/AVC high @ Level 4.1
    1280x720p 1:1 23.976fps (24000/1001fps)
    Encoder Preset quality
    Rate Control CQP I:18 P:18 B:18
    Lookahead off
    GOP length 240 frames
    B frames 3 frames [ref mode: disabled]
    Ref frames 3 frames, MultiRef L0:auto L1:auto
    AQ off
    Others mv:auto cabac deblock adapt-transform:auto bdirect:auto

    --------------------------------------------

    MP4Box 0.9.0-DEV-rev0-g81b4481e1-gcc10.0.1 Patman

    "C:\Program Files\StaxRip\Apps\Support\MP4Box\MP4Box.exe" -add "C:\--- Test Iris Brey\Peau d'âne (BDremux-mp3)_temp\Peau d'âne (BDremux-mp3)_NVIDIAfinal_out.h264#video:name=" -add "C:\--- Test Iris Brey\Peau d'âne (BDremux-mp3)_temp\Peau d'âne (BDremux-mp3) ID1 -41ms French_a1.mp3#audio:lang=fre:delay=-41:name=" -new "C:\--- Test Iris Brey\Peau d'âne (BDremux-mp3)_NVIDIAfinal.mp4"

    Track Importing MPEG-4 AVC - Width 1280 Height 720 FPS 96000/4004 SAR 1/1



    Another movie (still mp4), stuck at 0.99 Gb, encoding with NVIDIA h264 :

    NVEncC (x64) 5.03 (r1557) by rigaya, Jun 11 2020 15:24:18 (VC 1916/Win/avx2)
    OS Version Windows 10 x64 (19041)
    CPU AMD Ryzen 9 3950X 16-Core Processor (16C/32T)
    GPU #0: GeForce RTX 2060 SUPER (2176 cores, 1680 MHz)[PCIe3x16][452.06]
    NVENC / CUDA NVENC API 9.1, CUDA 11.0, schedule mode: auto
    Input Buffers CUDA, 20 frames
    Input Info AviSynth+ 3.6.0 r3276(yv12)->nv12 [AVX2], 1280x720, 24000/1001 fps
    Vpp Filters copyHtoD
    Output Info H.264/AVC high @ Level 4.1
    1280x720p 1:1 23.976fps (24000/1001fps)
    Encoder Preset quality
    Rate Control CQP I:18 P:18 B:18
    Lookahead off
    GOP length 240 frames
    B frames 3 frames [ref mode: disabled]
    Ref frames 3 frames, MultiRef L0:auto L1:auto
    AQ off
    VUI matrix:bt709,colorprim:bt709,transfer:bt709
    Others mv:auto cabac deblock adapt-transform:auto bdirect:auto
    Last edited by TB54; 4th Sep 2020 at 20:14.
    Quote Quote  
  22. Member
    Join Date
    Mar 2020
    Location
    U.K. not in EU anymore.
    Search Comp PM
    I was recommended this software when I asked for a program which can do a deblocking pass. I have been reading the manual but I just tried to run a test conversion and it failed with this report (I continue my post after this copy-paste, but I copy pasted another block of text and pasted that below my post):


    ------------------------- System Environment -------------------------

    StaxRip : 2.1.3.0
    Windows : Windows 10 Pro N 2004
    Language : English (United Kingdom)
    CPU : AMD Ryzen 9 3900X 12-Core Processor
    GPU : Radeon RX Vega
    Resolution : 2560 x 1440
    DPI : 96

    ----------------------- Media Info Source File -----------------------

    J:\Elgato\Wrestlemania\Wrestlemania(2).mp4

    General
    Complete name : J:\Elgato\Wrestlemania\Wrestlemania(2).mp4
    Format : MPEG-4
    Codec ID : M4V (M4V /M4A /mp42/isom)
    File size : 605 MiB
    Duration : 35 min 14 s
    Overall bit rate : 2 400 kb/s
    Movie name : Wrestlemania(2)
    Recorded date : 2020-08-11
    Encoded date : UTC 2020-08-11 15:28:36
    Tagged date : UTC 2020-08-11 15:28:36
    Cover : Yes

    Video
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High@L3
    Format settings : CABAC / 3 Ref Frames
    Format, CABAC : Yes
    Format, Reference frames : 3 frames
    Format, GOP : M=3, N=6
    Codec ID : avc1
    Codec ID/Info : Advanced Video Coding
    Duration : 35 min 14 s
    Bit rate : 2 171 kb/s
    Width : 640 pixels
    Height : 480 pixels
    Display aspect ratio : 4:3
    Frame rate mode : Variable
    Frame rate : 24.000 FPS
    Minimum frame rate : 2.318 FPS
    Maximum frame rate : 25 000.000 FPS
    Original frame rate : 25.000 FPS
    Standard : PAL
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Bits/(Pixel*Frame) : 0.294
    Stream size : 548 MiB (91%)
    Language : English
    Encoded date : UTC 2020-08-11 15:28:36
    Tagged date : UTC 2020-08-11 15:28:36
    Color range : Limited
    Color primaries : BT.601 PAL
    Transfer characteristics : BT.470 System B/G
    Matrix coefficients : BT.470 System B/G
    Codec configuration box : avcC

    Audio
    ID : 2
    Format : AAC LC
    Format/Info : Advanced Audio Codec Low Complexity
    Codec ID : mp4a-40-2
    Duration : 35 min 14 s
    Source duration : 35 min 13 s
    Bit rate mode : Constant
    Bit rate : 216 kb/s
    Channel(s) : 2 channels
    Channel layout : L R
    Sampling rate : 48.0 kHz
    Frame rate : 46.875 FPS (1024 SPF)
    Compression mode : Lossy
    Stream size : 55.3 MiB (9%)
    Source stream size : 55.3 MiB (9%)
    Language : English
    Encoded date : UTC 2020-08-11 15:28:36
    Tagged date : UTC 2020-08-11 15:28:36
    mdhd_Duration : 2114034

    ----------------------------- Demux audio -----------------------------

    MP4Box 0.9.0-DEV-rev0-g81b4481e1-gcc10.0.1 Patman

    "D:\Program Files\StaxRip-x64-2.1.3.0-stable\Apps\Support\MP4Box\MP4Box.exe" -single 2 -out "J:\Elgato\Wrestlemania\Wrestlemania(2)_temp\Wrest lemania(2) ID1 149ms English.m4a" "J:\Elgato\Wrestlemania\Wrestlemania(2).mp4"

    [iso file] Found stts entry with sample_delta=0 - forbidden ! Fixing to 1
    [iso file] Found stts entry with sample_delta=0 - forbidden ! Fixing to 1

    Start: 05:27:50
    End: 05:27:53
    Duration: 00:00:03

    General
    Complete name : J:\Elgato\Wrestlemania\Wrestlemania(2)_temp\Wrestl emania(2) ID1 149ms English.m4a
    Format : MPEG-4
    Format profile : Base Media
    Codec ID : isom (isom)
    File size : 55.7 MiB
    Duration : 35 min 13 s
    Overall bit rate mode : Variable
    Overall bit rate : 221 kb/s
    Encoded date : UTC 2020-09-14 04:27:51
    Tagged date : UTC 2020-09-14 04:27:51

    Audio
    ID : 2
    Format : AAC LC
    Format/Info : Advanced Audio Codec Low Complexity
    Format profile : AAC@L2
    Codec ID : mp4a-40-2
    Duration : 35 min 13 s
    Bit rate mode : Variable
    Bit rate : 220 kb/s
    Nominal bit rate : 7 b/s
    Maximum bit rate : 227 kb/s
    Channel(s) : 2 channels
    Channel layout : L R
    Sampling rate : 48.0 kHz
    Frame rate : 46.875 FPS (1024 SPF)
    Compression mode : Lossy
    Stream size : 55.3 MiB (99%)
    Encoded date : UTC 2020-09-14 04:27:51
    Tagged date : UTC 2020-09-14 04:27:53

    ---------------------------- Extract cover ----------------------------

    MP4Box 0.9.0-DEV-rev0-g81b4481e1-gcc10.0.1 Patman

    "D:\Program Files\StaxRip-x64-2.1.3.0-stable\Apps\Support\MP4Box\MP4Box.exe" -dump-cover "J:\Elgato\Wrestlemania\Wrestlemania(2).mp4" -out "J:\Elgato\Wrestlemania\Wrestlemania(2)_temp\cover .jpg"

    [iso file] Found stts entry with sample_delta=0 - forbidden ! Fixing to 1
    [iso file] Found stts entry with sample_delta=0 - forbidden ! Fixing to 1

    Start: 05:27:53
    End: 05:27:53
    Duration: 00:00:00

    --------------------------- AviSynth Script ---------------------------

    LoadPlugin("D:\Program Files\StaxRip-x64-2.1.3.0-stable\Apps\Plugins\Dual\L-SMASH-Works\LSMASHSource.dll")
    LoadPlugin("D:\Program Files\StaxRip-x64-2.1.3.0-stable\Apps\Plugins\AVS\RgTools\RgTools.dll")
    LSMASHVideoSource("J:\Elgato\Wrestlemania\Wrestlem ania(2).mp4")
    #AssumeFPS(25)
    Processed = RemoveGrain(mode=2, modeU=2, modeV=2, planar=false)
    Repair(Processed, mode=2, modeU=2, modeV=2, planar=false)

    ------------------------- Source Script Info -------------------------

    Width : 640
    Height : 480
    Frames : 50776
    Time : 17:17.278
    Framerate : 0.2920892 (144/493)
    Format : YUV420P8

    ------------------------- Target Script Info -------------------------

    Width : 640
    Height : 480
    Frames : 50776
    Time : 17:17.278
    Framerate : 0.2920892 (144/493)
    Format : YUV420P8

    ---------------------- Media Info Audio Source 1 ----------------------

    General
    Complete name : J:\Elgato\Wrestlemania\Wrestlemania(2)_temp\Wrestl emania(2) ID1 149ms English.m4a
    Format : MPEG-4
    Format profile : Base Media
    Codec ID : isom (isom)
    File size : 55.7 MiB
    Duration : 35 min 13 s
    Overall bit rate mode : Variable
    Overall bit rate : 221 kb/s
    Encoded date : UTC 2020-09-14 04:27:51
    Tagged date : UTC 2020-09-14 04:27:51

    Audio
    ID : 2
    Format : AAC LC
    Format/Info : Advanced Audio Codec Low Complexity
    Format profile : AAC@L2
    Codec ID : mp4a-40-2
    Duration : 35 min 13 s
    Bit rate mode : Variable
    Bit rate : 220 kb/s
    Nominal bit rate : 7 b/s
    Maximum bit rate : 227 kb/s
    Channel(s) : 2 channels
    Channel layout : L R
    Sampling rate : 48.0 kHz
    Frame rate : 46.875 FPS (1024 SPF)
    Compression mode : Lossy
    Stream size : 55.3 MiB (99%)
    Encoded date : UTC 2020-09-14 04:27:51
    Tagged date : UTC 2020-09-14 04:27:53

    ------------------------ Error Video encoding ------------------------

    Video encoding returned error exit code: 1 (0x1)

    It's unclear what the exit code means, in case it's a Windows system error then it possibly means:

    Incorrect function


    --------------------------- Video encoding ---------------------------

    x265 M-3.4+6-g73f96ff39-gcc11.0.0 Patman

    "D:\Program Files\StaxRip-x64-2.1.3.0-stable\Apps\Support\avs2pipemod\avs2pipemod64.exe" -y4mp "J:\Elgato\Wrestlemania\Wrestlemania(2)_temp\Wrest lemania(2).avs" | "D:\Program Files\StaxRip-x64-2.1.3.0-stable\Apps\Encoders\x265\x265.exe" --crf 18 --output-depth 10 --range limited --sar 255:254 --frames 50776 --y4m --output "J:\Elgato\Wrestlemania\Wrestlemania(2)_temp\Wrest lemania(2)_out.hevc" -

    avs2pipemod[info]: writing 50776 frames of 144/493 fps, 640x480,
    sar 0:0, YUV-420-planar-8bit progressive video.
    x265 [error]: unable to open input file <->
    avs2pipemod[info]: finished, wrote 0 frames [0%].
    avs2pipemod[info]: total elapsed time is 0.015 sec.
    avs2pipemod[error]: only wrote 0 of 50776 frames.

    --------------------------- Video encoding ---------------------------

    x265 M-3.4+6-g73f96ff39-gcc11.0.0 Patman

    "D:\Program Files\StaxRip-x64-2.1.3.0-stable\Apps\Support\avs2pipemod\avs2pipemod64.exe" -y4mp "J:\Elgato\Wrestlemania\Wrestlemania(2)_temp\Wrest lemania(2).avs" | "D:\Program Files\StaxRip-x64-2.1.3.0-stable\Apps\Encoders\x265\x265.exe" --crf 18 --output-depth 10 --range limited --sar 255:254 --frames 50776 --y4m --output "J:\Elgato\Wrestlemania\Wrestlemania(2)_temp\Wrest lemania(2)_out.hevc" -

    avs2pipemod[info]: writing 50776 frames of 144/493 fps, 640x480,
    sar 0:0, YUV-420-planar-8bit progressive video.
    x265 [error]: unable to open input file <->
    avs2pipemod[info]: finished, wrote 0 frames [0%].
    avs2pipemod[info]: total elapsed time is 0.015 sec.
    avs2pipemod[error]: only wrote 0 of 50776 frames.

    Start: 05:31:26
    End: 05:31:27
    Duration: 00:00:00

    ----------------------------- Find Gain 1 -----------------------------

    ffmpeg N-97868-gaa6f38c298-g38490cbeb3-gcc10.1.0 Patman

    "D:\Program Files\StaxRip-x64-2.1.3.0-stable\Apps\Encoders\ffmpeg\ffmpeg.exe" -i "J:\Elgato\Wrestlemania\Wrestlemania(2)_temp\Wrest lemania(2) ID1 149ms English.m4a" -sn -vn -hide_banner -af volumedetect -f null NUL

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'J:\Elgato\Wrestlemania\Wrestlemania(2)_temp\Wrest lemania(2) ID1 149ms English.m4a':
    Metadata:
    major_brand : isom
    minor_version : 1
    compatible_brands: isom
    creation_time : 2020-09-14T04:27:51.000000Z
    Duration: 00:35:13.88, start: 0.000000, bitrate: 221 kb/s
    Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 219 kb/s (default)
    Metadata:
    creation_time : 2020-09-14T04:27:51.000000Z
    handler_name : GPAC ISO Audio Handler
    Stream mapping:
    Stream #0:0 -> #0:0 (aac (native) -> pcm_s16le (native))
    Press [q] to stop, [?] for help
    Output #0, null, to 'NUL':
    Metadata:
    major_brand : isom
    minor_version : 1
    compatible_brands: isom
    encoder : Lavf58.43.100
    Stream #0:0(und): Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s (default)
    Metadata:
    creation_time : 2020-09-14T04:27:51.000000Z
    handler_name : GPAC ISO Audio Handler
    encoder : Lavc58.86.101 pcm_s16le

    Start: 05:31:26
    End: 05:31:27
    Duration: 00:00:00



    This video was created with the Elgato video capture device (I think its a quality product and I have heard the brand advertised on gaming channels; so I assume quite popular). I have not tried another VHS rip from this device I changed to a file encoded with FFMpeg from stills, and it worked fine even reducing the filesize by a 1/5th. Next I tested a large 1.6GB file which seems to be creating an even larger file!





    General
    Complete name : G:\pRon\Reencode\UFC.mp4
    Format : MPEG-4
    Format profile : Base Media
    Codec ID : isom (isom/iso2/avc1/mp41)
    File size : 1.65 GiB
    Duration : 1 h 8 min
    Overall bit rate : 3 456 kb/s
    Writing application : Lavf57.56.100

    Video
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High@L4
    Format settings : CABAC / 4 Ref Frames
    Format settings, CABAC : Yes
    Format settings, Reference frames : 4 frames
    Codec ID : avc1
    Codec ID/Info : Advanced Video Coding
    Duration : 1 h 8 min
    Bit rate : 3 249 kb/s
    Width : 1 920 pixels
    Height : 1 080 pixels
    Display aspect ratio : 16:9
    Frame rate mode : Constant
    Frame rate : 29.970 (30000/1001) FPS
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Bits/(Pixel*Frame) : 0.052
    Stream size : 1.55 GiB (94%)
    Writing library : x264 core 148
    Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=25.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
    Codec configuration box : avcC

    Audio
    ID : 2
    Format : AAC LC
    Format/Info : Advanced Audio Codec Low Complexity
    Codec ID : mp4a-40-2
    Duration : 1 h 8 min
    Duration_LastFrame : -1 ms
    Bit rate mode : Constant
    Bit rate : 198 kb/s
    Channel(s) : 2 channels
    Channel layout : L R
    Sampling rate : 48.0 kHz
    Frame rate : 46.875 FPS (1024 SPF)
    Compression mode : Lossy
    Stream size : 96.7 MiB (6%)
    Default : Yes
    Alternate group : 1

    Other
    ID : 3
    Type : Time code
    Format : QuickTime TC
    Duration : 1 h 8 min
    Time code of first frame : 00:00:00:00
    Time code, striped : Yes
    Language : English
    Default : No
    Quote Quote  
  23. Member
    Join Date
    Mar 2020
    Location
    U.K. not in EU anymore.
    Search Comp PM
    Originally Posted by Lynx_TWO View Post

    Just wanted to followup, these lines work well for de-noiseing using VapourSynth:
    Code:
    SMDegrainHD = clip = havsfunc.SMDegrain(input = clip, tr=3,prefilter=2,thSAD=400,blksize=16, overlap=8, contrasharp = True)
    Code:
    SMDegrain = clip = havsfunc.SMDegrain(input = clip, tr=3,prefilter=2,thSAD=400,blksize=8, overlap=4, contrasharp = True)
    -for blocky sources-

    Code:
    Deblock = clip = core.deblock.Deblock(clip, quant=30, aoffset=2, boffset=2)
    Hi, where do I enter this code?
    Edit: Found it and changed it to this or I got error message:
    SMDegrain(tr=3,prefilter=2,thSAD=400,blksize=8, overlap=4, contrasharp = True)

    How do I make sure my GPU is being utillized? With mediacoder it only uses GPU with x264 and you're limited to 1080p encode or less (I have a 1440p monitor now).
    Edit: Found it.
    Quote Quote  
  24. Member
    Join Date
    Jul 2020
    Location
    Ukraine
    Search Comp PM
    Good night. StaxRip-x64-2.1.4.8-Beta.
    QVBR (Quality Variable bitrate using bitrate) preset for Intel H.264 does not work. This has been observed in all recent beta. Whatever high bitrate I set, the program switches to Quality Variable bitrate using quality - 23. If necessary, I will indicate the exact parameters of my files.
    Also, another preset for Intel H.264: LA (VBR Lookahead) does not work for me. If earlier it was possible to set the maximum Lookahead Depth - 100, now the launch with any settings ends in a crash: Failed to initialize encoder. : invalid video parameters. QSVEncC.exe finished with error!
    Please pay attention to these problems. thanks
    Quote Quote  
  25. Member
    Join Date
    Mar 2020
    Location
    america
    Search Comp PM
    StaxRip 2.1.4.8 (same problem with earlier versions too)
    Win 7 64

    Video trying to encode is US broadcast 1080p,
    with YUV422p10le capture stream used for input

    Tried Staxrip filters options for both portable and for direct installation, same results:

    Use of Filter > Field > IVTC during x264/x265 encoding causes encoding process to crash with following error:

    "output various data from avs to stdout has stopped working"

    log file:

    --------------------------- Video encoding ---------------------------

    x265 M-3.4+6-g73f96ff39-gcc11.0.0 Patman

    C:\homefiles\VideoApps\StaxRip\Apps\Support\avs2pi pemod\avs2pipemod64.exe -dll=C:\homefiles\VideoApps\StaxRip\Apps\FrameServe r\AviSynth\AviSynth.dll -y4mp "E:\VideoInput\Untitled 03_temp\Untitled 03.avs" | C:\homefiles\VideoApps\StaxRip\Apps\Encoders\x265\ x265.exe --crf 14 --preset slow --tune grain --profile main422-10 --output-depth 10 --colorprim bt709 --colormatrix bt709 --transfer bt709 --input-depth 10 --input-csp i422 --dither --frames 13154 --y4m --output "E:\VideoInput\Untitled 03_temp\Untitled 03_out.hevc" -

    avs2pipemod[info]: writing 13154 frames of 24000/1001 fps, 1416x1080,
    sar 0:0, YUV-422-planar-10bit progressive video.
    x265 [error]: unable to open input file <->



    and when trying x264 instead of x265 the error log also says:
    avs [error]: not supported pixel type: YUV422P10


    i just tried x264 again and even with IVTC filter off I still get that error, and it even still happens when i change everything to run at 8bits instead of 10
    isnt there a way to process yuv422 into any kind of x264 file?

    have tried with Staxrip bundled portable AVS/VS and using installed AVS+ and VS, same errors always about only accepting YUV4XX 8 bit
    so the staxrip program has no way to use anything except 8 bit video? no, staxrip can process 10 bit video. but staxrip gets error when i use that. why? how do i get that to work?

    it doesnt make sense why even x265 wouldnt work
    the only filters im using are Source, IVTC and Crop in that order
    Last edited by videobackup; 13th Oct 2020 at 17:02.
    Quote Quote  
  26. Hello!

    I've used StaxRip before and I've found it pretty easy to use. Now I want to try a different usage scenario but I'm having problems :/

    I'm using StaxRip 2.1.3.0. What I'm trying to do is run StaxRip from CLI.

    I would like to:

    Add a job to StaxRip from CLI (or Powershell)
    StaxRip start working on that job.
    I then add another job via CLI, and StaxRip starts working on that.
    I would like to repeat this BUT I want StaxRip to respect the 'Max number of parallel processes' that is set in Settings -> General. Which, in my case, is currently '2'.

    I can't get this to work though. StaxRip keeps on Starting new jobs, even when there are 2 encodes currently being done.

    The commands I'm using are:

    StaxRip -LoadTemplate:TEST1 C:\Users\***\Desktop\video.h264 -StartEncoding

    The template 'TEST1' is just a simple resize 1080p to 1280x720 x264 encode.

    What am I doing wrong?

    Thanks!
    Quote Quote  
  27. Hi,

    i have the Message "Script exceeded memory limit. Consider raising cache size." I know i have to set "core.max_cache_size =". Can you please tell me where exactly in staxrip i can set this for vapoursynth?
    Quote Quote  
  28. Member Bob.Dig's Avatar
    Join Date
    May 2020
    Location
    Berlin
    Search PM
    Originally Posted by User23456 View Post
    Hi,

    i have the Message "Script exceeded memory limit. Consider raising cache size."
    I also got that message and I have plenty of RAM, so I am curios too.
    Quote Quote  
  29. I think it should be written directly in the script which staxrip uses to run vapoursynth. but i couldnt find that script.

    after trying arround a bit i found out that the message dissapears when you write the max cache size function in the box at options - filters - code inserted at top of scripts. :

    Image
    [Attachment 55850 - Click to enlarge]



    im not really sure if this is the right way to do it. but it seems to work, it uses about 4gb more RAM than before...
    Last edited by User23456; 14th Nov 2020 at 05:29. Reason: edit
    Quote Quote  
  30. Member stax76's Avatar
    Join Date
    Nov 2009
    Location
    On thin ice
    Search PM
    Hello, here is a new Beta that addresses a few issues and updates a few tools, have fun (and stay health...)

    Code:
    2.1.4.9 Beta
    ============
    
    - Set the current directory of the StaxRip process to the working
      directory of the current project. (stax76, 44vince44)
    - Video encoders expand macros in custom options. (stax76, 44vince44)
    - Fix audio encoding overwriting original file. (stax76, 44vince44)
    - x265 --min-vbv-fullness --max-vbv-fullness --vbv-live-multi-pass (stax76)
    - ~~x265 multipass order refixed (Dendraspis)~~
      Added comments in source code to prevent further confusions (Dendraspis, 44vince44)
    - x265 'Custom Nth Pass' added to options (Dendraspis)
    - x265 options order slightly changed (Dendraspis)
    - x265 'Analysis Save' has also a 'Browse File' button (Dendraspis)
    - Fixed x265 multipass order for chunks (Dendraspis)
    - Renamed x264/x265 passes for (n>2)-pass-mode (Dendraspis)
    - x265 3.4+53-ge4afbd100 2020-11-02 Yuuki/qyot27
    - nvenc 5.22
    - chapterEditor 1.25
    - SVT-AV1 0.8.6
    - MediaInfo.NET 6.8
    - MediaInfo 20.09
    - Get-MediaInfo 3.5
    - mpv.net 5.4.8.5
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!