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 21st August 2017, 17:38   #15041  |  Link
MAX9
Registered User
 
MAX9's Avatar
 
Join Date: Aug 2016
Location: Bulgaria
Posts: 9
Yeah yeah I indeed use interlaced material, but I'm not sure to deinterlace mandatory. I mean what is the problem if I leave it interlaced?
MAX9 is offline   Reply With Quote
Old 21st August 2017, 18:34   #15042  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,806
Quote:
Originally Posted by MAX9 View Post
Yeah yeah I indeed use interlaced material, but I'm not sure to deinterlace mandatory. I mean what is the problem if I leave it interlaced?
I hope you are not encoding interlaced footage as progressive...
Atak_Snajpera is online now   Reply With Quote
Old 21st August 2017, 19:00   #15043  |  Link
MAX9
Registered User
 
MAX9's Avatar
 
Join Date: Aug 2016
Location: Bulgaria
Posts: 9
No no, I don't think so. After all MediaInfo says interleaved, top field first.


Edit: Deinterlacing is super slow to me around 2 fps / sec. For this project I will not deinterlace.
Now I will try 2 pass mode, seems faster.
First try I make 1 pass mode and locked size (7300 kbps) 2 hours video encoded for 8 hours. Audio encode AC3 first in Vegas, cuz singpost is too slow in frameserver and then laod it in ripbot.

The mada***s for second then power goes off when encode was almost complete...

Last edited by MAX9; 22nd August 2017 at 06:04.
MAX9 is offline   Reply With Quote
Old 22nd August 2017, 00:15   #15044  |  Link
soneca
Registered User
 
Join Date: Feb 2008
Location: Brazil
Posts: 753
Hello Atak, I tested again using the same material and in version 1.19.5 does not freeze, the detection and the cut are much faster than in version 1.20.0.
I continued testing with version 1.20.0 and it worked. On the first test it did not work and on the second it worked.

Sources for the test:

Video
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, RefFrames : 4 frames
Codec ID : 27
Duration : 5 min 1 s
Bit rate mode : Constant
Nominal bit rate : 30.0 Mb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 29.970 (30000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : MBAFF
Scan type, store method : Interleaved fields
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.483
soneca is offline   Reply With Quote
Old 22nd August 2017, 12:41   #15045  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,806
Quote:
Originally Posted by MAX9 View Post
No no, I don't think so. After all MediaInfo says interleaved, top field first.


Edit: Deinterlacing is super slow to me around 2 fps / sec. For this project I will not deinterlace.
Now I will try 2 pass mode, seems faster.
First try I make 1 pass mode and locked size (7300 kbps) 2 hours video encoded for 8 hours. Audio encode AC3 first in Vegas, cuz singpost is too slow in frameserver and then laod it in ripbot.

The mada***s for second then power goes off when encode was almost complete...
I've just realized that resizing from 1440x1080 to 1920x1080 is not required because Ripbot automatically adds --sar 4:3 switch to command line for that anamorphic resolution. This flag tells decoder to stretch 1440x1080 to 1920x1080 on fly during decoding.

Summary
1) Do not resize in vegas nor in ripbot264 anamorphic 1440x1080 to 1920x1080. Less pixels to encode = faster encoding
2) Do not use 2-pass. Use Constant Quality mode (CRF20). Single pass is always faster than two passes. Besides you do not have to guess "optimal" bitrate for you video.
In Constant Quality mode encoder dynamically adjust bitrate needed for specific footage.

Ps. Writing "2 fps / sec" makes no sense because it means 2 frames per second per second.

Last edited by Atak_Snajpera; 22nd August 2017 at 12:46.
Atak_Snajpera is online now   Reply With Quote
Old 22nd August 2017, 13:18   #15046  |  Link
MAX9
Registered User
 
MAX9's Avatar
 
Join Date: Aug 2016
Location: Bulgaria
Posts: 9
OK, but the first thing I try is to encode in everything default and the final result is displayed 4:3. I even try to add --sar 4:3 in AviSynth menu, but show error or must be add to profile code?
I use 1 pass mode beacuse i need defined size of the file.
2 fps / sec I mean that is the speed it encode.
MAX9 is offline   Reply With Quote
Old 22nd August 2017, 13:51   #15047  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,806
Quote:
OK, but the first thing I try is to encode in everything default and the final result is displayed 4:3. I even try to add --sar 4:3 in AviSynth menu, but show error or must be add to profile code?
I've just checked. If resolution in ripbot264 is 1440x1080 --sar 4:3 is always added to commandline. You can verify that by looking in Job folder file Jobx_EncodeVideo1.cmd.
After encoding mediainfo should show Display Aspect Ratio: 16:9

Quote:
2 fps / sec I mean that is the speed it encode.
You do not understand. fps means Frames Per Second. So your encoding speed is 2 Frames Per Second not 2 Frames Per Second Per Second. That additional /sec makes no sense.
It is like saying that my car's speed is 100 kph/h

Last edited by Atak_Snajpera; 22nd August 2017 at 13:56.
Atak_Snajpera is online now   Reply With Quote
Old 22nd August 2017, 15:03   #15048  |  Link
MAX9
Registered User
 
MAX9's Avatar
 
Join Date: Aug 2016
Location: Bulgaria
Posts: 9
Quote:
Originally Posted by Atak_Snajpera View Post
I've just checked. If resolution in ripbot264 is 1440x1080 --sar 4:3 is always added to commandline. You can verify that by looking in Job folder file Jobx_EncodeVideo1.cmd.
After encoding mediainfo should show Display Aspect Ratio: 16:9
Ok will made some tests

Quote:
Originally Posted by Atak_Snajpera View Post
You do not understand. fps means Frames Per Second. So your encoding speed is 2 Frames Per Second not 2 Frames Per Second Per Second. That additional /sec makes no sense.
It is like saying that my car's speed is 100 kph/h
Ugh I get it now, tottaly miss this. Sory for stupid mistake.



This is what I get:


And this is commands i get when i just add file from frameserver
Quote:
--level 4.0 --aud --nal-hrd vbr --vbv-bufsize 25000 --vbv-maxrate 25000 --b-pyramid none --tff
When add manualy --sar 4:3, everything got fine. (just now I understood where it's place)


Ok I try to encode just one raw file and everything is like you say: automatically add --sar 4:3
but through frameserve something goes wrong



Quote:
Originally Posted by vegas + frameserver
"E:\Download\RipBot264v1.20.0\tools\avs2yuv\avs2yuv.exe" "D:\Temp\RipBot264temp\job1\job1.avs" -o - | "E:\Download\RipBot264v1.20.0\tools\x264\x264_x64.exe" --opencl --opencl-device 0 --opencl-clbin "%TEMP%\x264_lookahead.clbin" --crf 20 --fps 25 --force-cfr --min-keyint 25 --keyint 250 --frames 337 --sar 1:1 --level 4.0 --aud --nal-hrd vbr --vbv-bufsize 25000 --vbv-maxrate 25000 --b-pyramid none --tff --stdin y4m --output "D:\Temp\RipBot264temp\video.264" -
Quote:
Originally Posted by raw video
"E:\Download\RipBot264v1.20.0\tools\avs2yuv\avs2yuv.exe" "D:\Temp\RipBot264temp\job1\job1.avs" -o - | "E:\Download\RipBot264v1.20.0\tools\x264\x264_x64.exe" --opencl --opencl-device 0 --opencl-clbin "%TEMP%\x264_lookahead.clbin" --crf 20 --fps 25 --force-cfr --min-keyint 25 --keyint 250 --frames 138 --sar 4:3 --level 4.0 --aud --nal-hrd vbr --vbv-bufsize 25000 --vbv-maxrate 25000 --b-pyramid none --tff --stdin y4m --output "D:\Temp\RipBot264temp\video.264" -

Last edited by MAX9; 22nd August 2017 at 16:54.
MAX9 is offline   Reply With Quote
Old 22nd August 2017, 17:44   #15049  |  Link
byteshare
ByteShare
 
byteshare's Avatar
 
Join Date: Sep 2014
Location: On the Internet
Posts: 560
Quote:
Originally Posted by Atak_Snajpera View Post
If resolution in ripbot264 is 1440x1080 --sar 4:3 is always added to commandline.
For other resolutions does that mean we need to make note and manually add it with MKVToolNix?
Guessing not for SAR 16:9
byteshare is offline   Reply With Quote
Old 22nd August 2017, 17:55   #15050  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,806
@MAX9
Yes, you are right frameserved .avi has wrong --sar value like you said. I will have to check what is happening under the hood.
I've also noticed that hanging is most likely cause by ResampleMT. I guess I will have to restore old method in next update.

Quote:
For other resolutions does that mean we need to make note and manually add it with MKVToolNix?
Guessing not for SAR 16:9
No. Normal non anamorphic resolutions get --sar 1:1. (=no scaling during decoding). Only 1440x1080 gets --sar 4:3 (~1.3333)
Atak_Snajpera is online now   Reply With Quote
Old 22nd August 2017, 23:55   #15051  |  Link
soneca
Registered User
 
Join Date: Feb 2008
Location: Brazil
Posts: 753
Atak, in any future version could come back with the option(.ini) to minimize to the taskbar?
For the tray it is annoying to check the tempo of the encode unless the status was shown when the cursor is on top.
soneca is offline   Reply With Quote
Old 23rd August 2017, 15:48   #15052  |  Link
Shrekage
Registered User
 
Join Date: Feb 2012
Posts: 51
Is there any way to have the encoding client shut down the servers, without shutting down the client? I am running a client that is NOT encoding, and I wish that machine not to shut down, but have the servers shut down when encoding finished
Shrekage is offline   Reply With Quote
Old 23rd August 2017, 16:37   #15053  |  Link
byteshare
ByteShare
 
byteshare's Avatar
 
Join Date: Sep 2014
Location: On the Internet
Posts: 560
Quote:
Originally Posted by Atak_Snajpera View Post
@MAX9
No. Normal non anamorphic resolutions get --sar 1:1. (=no scaling during decoding). Only 1440x1080 gets --sar 4:3 (~1.3333)
Sorry, I don't think I was clear. I was implying for situations that are not 4:3, 1:1, 16:9, such as when you crop.
byteshare is offline   Reply With Quote
Old 23rd August 2017, 16:57   #15054  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,806
Croping does not change anything in this case. Still --sar 1:1 will be used.
Atak_Snajpera is online now   Reply With Quote
Old 23rd August 2017, 19:35   #15055  |  Link
slalom
Registered User
 
slalom's Avatar
 
Join Date: Jan 2010
Posts: 456
Quote:
Originally Posted by Shrekage View Post
Is there any way to have the encoding client shut down the servers, without shutting down the client? I am running a client that is NOT encoding, and I wish that machine not to shut down, but have the servers shut down when encoding finished
You can choose the pcs that will shut down, and those who won't
__________________
E5 2697 v2 @ 3.0GHz on P9X79 Deluxe 24GB
Xeon E5-2680 v2 @ 3.1GHz 16GB
Sony Vaio VPC-F13Z1E/B
slalom is offline   Reply With Quote
Old 23rd August 2017, 21:43   #15056  |  Link
slalom
Registered User
 
slalom's Avatar
 
Join Date: Jan 2010
Posts: 456
@Atak

After one major update (can't remember which) when the main PC freezes, or restarts, generally everything unexpected happens

when I restart the program it doesn't see the finished chunks in temp folder to continue from that point, and restarts the job, massive waste of time
__________________
E5 2697 v2 @ 3.0GHz on P9X79 Deluxe 24GB
Xeon E5-2680 v2 @ 3.1GHz 16GB
Sony Vaio VPC-F13Z1E/B
slalom is offline   Reply With Quote
Old 24th August 2017, 10:20   #15057  |  Link
LazyNcoder
Registered User
 
Join Date: Feb 2015
Posts: 33
Hi,

Something weird is happening to me. Since the last update, if I choose in AviSynth to resize the content to HD-Ready, the "info.txt" file in the job directory will be deleted. and I'll get the following error:


---------------------------
Application Error
---------------------------
Exception EFOpenError in module EncodingClient.exe at 0002418E.

Cannot open file "E:\Temp\RipBot264temp\job1\info.txt". The system cannot find the file specified.


---------------------------
OK
---------------------------


If I change it back to no resize, the file will be created and everything is fine.
LazyNcoder is offline   Reply With Quote
Old 24th August 2017, 10:36   #15058  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,806
Most likely result of buggy ResampleMT plugin. Make sure that you have video=Spline36Resize() in your script instead of video=Spline36ResizeMT()
Atak_Snajpera is online now   Reply With Quote
Old 24th August 2017, 23:06   #15059  |  Link
Shrekage
Registered User
 
Join Date: Feb 2012
Posts: 51
Quick cosmetic change on EncodingClient

can you adjust the encoding client windows to show 16 rows instead of 14?
Shrekage is offline   Reply With Quote
Old 30th August 2017, 16:26   #15060  |  Link
Shrekage
Registered User
 
Join Date: Feb 2012
Posts: 51
Is there any way to increase the CPU utilization of the encoding process when using the denoise option MDegrain (SLOW) seems like it is slow because it is not multi-threaded. (on that machine, even with DE enabled and all 16 encoders targeted to that machine, only about 60% utilization occurs...)

Attached Images
 
Shrekage is offline   Reply With Quote
Reply

Tags
264, 265, appletv, avchd, bluray, gui, iphone, ipod, ps3, psp, ripbot264, x264 2-pass, x264 gui, x264_64, x265, xbox360

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 08:42.


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