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 24th August 2019, 08:17   #3281  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: Germany
Posts: 5,720
Quote:
Can I ask why does StaxRip keep complaining that my Avisynth plugins directory is missing? It is not missing and present in both Staxrip's directory and in my Program Files folder. I have also tried installing the provided installer as suggested, with the same results.
There was a bug, it happened when VapourSynth was used, I think it was fixed before the last stable version 2.0.3.0 was released.

Quote:
Also, recently all my encodes have been erroring out with the following:

Code:
Video encoding using x265 3.1 failed with exit code: 1 (0x1)

The exit code might be a system error code: STATUS_WAIT_1

The exit code might be a system error code: Incorrect function.
I'm encoding with x265, and I have verified that the encoded file is fine actually. This results in me needing to manually mux the .hevc with the audio file which is annoying...
I would guess it's a x265 issue, people who use the command line, batch files or other apps might not notice this, staxrip does not tolerate error exit codes for x265 however. Please try 2.0.3.0, it uses a new x265 build compiled by Wolfberry. If the error persists post the x265 command line or better the full log file.
stax76 is offline   Reply With Quote
Old 24th August 2019, 09:35   #3282  |  Link
aegisofrime
Registered User
 
Join Date: Apr 2009
Posts: 459
Quote:
Originally Posted by stax76 View Post
There was a bug, it happened when VapourSynth was used, I think it was fixed before the last stable version 2.0.3.0 was released.



I would guess it's a x265 issue, people who use the command line, batch files or other apps might not notice this, staxrip does not tolerate error exit codes for x265 however. Please try 2.0.3.0, it uses a new x265 build compiled by Wolfberry. If the error persists post the x265 command line or better the full log file.
Hi, can confirm that the first mentioned bug is fixed with 2.0.3.0. Thanks!

As for the second part, I have tried to reduce my encoding job to the simplest possible, just feeding a file with ffms as input to a very simplified x265 setting.

I will be happy to post the full log file. To avoid cluttering everyone else, log file on following Pastebin link:

https://pastebin.com/mjCEy7QE

One thing though, I did notice that during x265 encoding there's a complain about "The system cannot find the path specified.". Not sure as to the cause of this, it might be one faulty PATH environment variable on my system, which I'm trying to narrow down at the same time.
aegisofrime is offline   Reply With Quote
Old 24th August 2019, 18:19   #3283  |  Link
aegisofrime
Registered User
 
Join Date: Apr 2009
Posts: 459
Hi all,

I managed to resolve that error on my own.

As it turns out, it was related to cmd.exe showing "The system cannot find the path specified"

I followed the following thread and it turns out I had a rogue registry key in my command processor autorun pointing to a file that didn't exist:

https://superuser.com/questions/7273...path-specified

Deleting the autorun key solved it.

It's unlikely that anyone else will encounter the same issue as me, but I work in IT and I believe in documenting such stuff just in case it helps someone else.
aegisofrime is offline   Reply With Quote
Old 13th September 2019, 22:40   #3284  |  Link
lordalibaski
Registered User
 
Join Date: May 2016
Posts: 19
what happened here then?

Hi guys

Just had another weird issue I used staxrip to convert this file

Code:
Format                         : MPEG-PS
File size                      : 4.27 GiB
Duration                       : 2 h 45 min
Overall bit rate mode          : Variable
Overall bit rate               : 3 683 kb/s
Writing library                : encoded by TMPGEnc Authoring Works 4 Version. 4.0.12.42

Video
ID                             : 224 (0xE0)
Format                         : MPEG Video
Format version                 : Version 2
Format profile                 : Main@Main
Format settings, BVOP          : Yes
Format settings, Matrix        : Custom
Format settings, GOP           : Variable
Duration                       : 2 h 45 min
Bit rate mode                  : Variable
Bit rate                       : 3 386 kb/s
Maximum bit rate               : 8 000 kb/s
Width                          : 720 pixels
Height                         : 480 pixels
Display aspect ratio           : 4:3
Frame rate                     : 29.970 (30000/1001) FPS
Standard                       : NTSC
Color space                    : YUV
Chroma subsampling             : 4:2:0
Bit depth                      : 8 bits
Scan type                      : Progressive
Compression mode               : Lossy
Bits/(Pixel*Frame)             : 0.327
Time code of first frame       : 00:00:00:00
Time code source               : Group of pictures header
Stream size                    : 3.92 GiB (92%)
Writing library                : TMPGEnc Authoring Works 4 Version. 4.0.12.42
Color primaries                : BT.601 NTSC
Transfer characteristics       : BT.601
Matrix coefficients            : BT.601

Audio
ID                             : 189 (0xBD)-128 (0x80)
Format                         : AC-3
Format/Info                    : Audio Coding 3
Format settings, Endianness    : Big
Muxing mode                    : DVD-Video
Duration                       : 2 h 45 min
Bit rate mode                  : Constant
Bit rate                       : 224 kb/s
Channel(s)                     : 2 channels
Channel positions              : Front: L R
Sampling rate                  : 48.0 kHz
Frame rate                     : 31.250 FPS (1536 SPF)
Bit depth                      : 16 bits
Compression mode               : Lossy
Stream size                    : 266 MiB (6%)
Service kind                   : Complete Main

This is the outcome it ended up bigger than the original

Code:
General
Complete name                  : D:\Rock America-02.1-.mp4
Format                         : MPEG-4
Format profile                 : Base Media
Codec ID                       : isom (isom/avc1)
File size                      : 4.88 GiB
Duration                       : 2 h 45 min
Overall bit rate               : 4 211 kb/s
Encoded date                   : UTC 2019-09-12 21:34:12
Tagged date                    : UTC 2019-09-12 21:34:12
Writing application            : StaxRip 2.0.4.2

Video
ID                             : 1
Format                         : AVC
Format/Info                    : Advanced Video Codec
Format profile                 : High 10@L3
Format settings, CABAC         : Yes
Format settings, RefFrames     : 4 frames
Codec ID                       : avc1
Codec ID/Info                  : Advanced Video Coding
Duration                       : 2 h 45 min
Bit rate                       : 4 017 kb/s
Maximum bit rate               : 11.6 Mb/s
Width                          : 720 pixels
Height                         : 480 pixels
Display aspect ratio           : 4:3
Original display aspect ratio  : 4:3
Frame rate mode                : Constant
Frame rate                     : 29.970 (30000/1001) FPS
Standard                       : NTSC
Color space                    : YUV
Chroma subsampling             : 4:2:0
Bit depth                      : 10 bits
Scan type                      : Progressive
Bits/(Pixel*Frame)             : 0.388
Stream size                    : 4.66 GiB (95%)
Writing library                : x264 core 157 r2969 d4099dd
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=15 / lookahead_threads=2 / 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=2pass / mbtree=1 / bitrate=4017 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=81 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
Encoded date                   : UTC 2019-09-12 21:34:12
Tagged date                    : UTC 2019-09-12 21:35:47
Color range                    : Limited
Color primaries                : BT.470 System M

Audio
ID                             : 2
Format                         : AC-3
Format/Info                    : Audio Coding 3
Format settings, Endianness    : Big
Codec ID                       : ac-3
Duration                       : 2 h 45 min
Bit rate mode                  : Constant
Bit rate                       : 192 kb/s
Maximum bit rate               : 203 kb/s
Channel(s)                     : 2 channels
Channel positions              : Front: L R
Sampling rate                  : 48.0 kHz
Frame rate                     : 31.250 FPS (1536 SPF)
Bit depth                      : 16 bits
Compression mode               : Lossy
Stream size                    : 228 MiB (5%)
Language                       : English
Service kind                   : Complete Main
Encoded date                   : UTC 2019-09-12 21:35:42
Tagged date                    : UTC 2019-09-12 21:35:47

I converted it with Vidcoder and the file size is 1.5GB in size! so whats happening?

Thanks for any advice.
lordalibaski is offline   Reply With Quote
Old 14th September 2019, 02:56   #3285  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: Germany
Posts: 5,720
Hi, I think we will need to see the full log file, use pastebin.com.
stax76 is offline   Reply With Quote
Old 14th September 2019, 12:27   #3286  |  Link
lordalibaski
Registered User
 
Join Date: May 2016
Posts: 19
Quote:
Originally Posted by stax76 View Post
Hi, I think we will need to see the full log file, use pastebin.com.

Full log file on what stax? the only time I have ever seen staxrip create a log file is when it fails!
lordalibaski is offline   Reply With Quote
Old 14th September 2019, 12:46   #3287  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: Germany
Posts: 5,720
Quote:
Originally Posted by lordalibaski View Post
Full log file on what stax? the only time I have ever seen staxrip create a log file is when it fails!
It's in the temp/work folder which you can go to with:

Tools > Folder > Working

The name is:

*_staxrip.log

Also try the log viewer:

Tools > Log File

There is also a log file history:

Tools > Folder > Log Files
stax76 is offline   Reply With Quote
Old 14th September 2019, 20:58   #3288  |  Link
-QfG-
QfG Group Germany
 
-QfG-'s Avatar
 
Join Date: Oct 2018
Location: Germany
Posts: 19
Need the Logfile from Vidcoder, so i can say, why your staxrip encode is bigger. I think, Vidcoder uses other values in the settings. Use you 2pass encoding with bitrate 4 017 in Vidcoder, too?
__________________
i7700k@4,8 Ghz / ASUS STRIX Z270e / 16GB DDR4 Corsair / ASUS STRIX GeForce GTX1070 8GB GDDR5
-QfG- is offline   Reply With Quote
Old 14th September 2019, 22:08   #3289  |  Link
lordalibaski
Registered User
 
Join Date: May 2016
Posts: 19
Got the one from staxrip

https://pastebin.com/m8UMpmPB
lordalibaski is offline   Reply With Quote
Old 15th September 2019, 12:59   #3290  |  Link
-QfG-
QfG Group Germany
 
-QfG-'s Avatar
 
Join Date: Oct 2018
Location: Germany
Posts: 19
U using 2 pass with a defined bitrate.

Quote:
x264.exe --pass 2 --bitrate 4017
Your original file has a bitrate from 3386. Change your bitrate lower, or better use a quality based encoding method, for example CRF20 and a slow preset.
__________________
i7700k@4,8 Ghz / ASUS STRIX Z270e / 16GB DDR4 Corsair / ASUS STRIX GeForce GTX1070 8GB GDDR5
-QfG- is offline   Reply With Quote
Old 15th September 2019, 14:21   #3291  |  Link
lordalibaski
Registered User
 
Join Date: May 2016
Posts: 19
I never even noticed that until I read the log file where is the option to stop it from doing 2 pass? I can't find it...thanks.

No worries found the option.
lordalibaski 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 04:19.


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