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 14th March 2024, 18:13   #20481  |  Link
archiel
Registered User
 
Join Date: Apr 2019
Posts: 46
Interlaced but no de-interlace option

Can anyone assist with how to re-encode and decomb when the interlace option is greyed-out.

From MediaInfo the file is clearly interlaced, and RB is loading with Frame Rate 50 and showing half duration (1 hour rather than 2).
Code:
Frame rate mode                          : VFR
Frame rate mode                          : Variable
Frame rate                               : 50.275
Frame rate                               : 50.275 FPS
Original frame rate                      : 25.000
Original frame rate                      : 25.000 FPS
FrameRate_Original_Num                   : 25
FrameRate_Original_Den                   : 1
Frame count                              : 375872
Standard                                 : PAL
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Chroma subsampling                       : 4:2:0
Bit depth                                : 8
Bit depth                                : 8 bits
Scan type                                : Interlaced
Scan type                                : Interlaced
Scan type, store method                  : SeparatedFields
ScanType_StoreMethod_FieldsPerBlock      : 2
Scan type, store method                  : Separated fields (2 fields per block)
Scan order                               : TFF
Scan order                               : Top Field First
Bits/(Pixel*Frame)                       : 0.203
archiel is offline   Reply With Quote
Old 14th March 2024, 20:30   #20482  |  Link
Ryushin
Registered User
 
Ryushin's Avatar
 
Join Date: Mar 2011
Posts: 424
Quote:
Originally Posted by archiel View Post
Can anyone assist with how to re-encode and decomb when the interlace option is greyed-out.

From MediaInfo the file is clearly interlaced, and RB is loading with Frame Rate 50 and showing half duration (1 hour rather than 2).
Code:
Frame rate mode                          : VFR
Frame rate mode                          : Variable
Frame rate                               : 50.275
Frame rate                               : 50.275 FPS
Original frame rate                      : 25.000
Original frame rate                      : 25.000 FPS
FrameRate_Original_Num                   : 25
FrameRate_Original_Den                   : 1
Frame count                              : 375872
Standard                                 : PAL
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Chroma subsampling                       : 4:2:0
Bit depth                                : 8
Bit depth                                : 8 bits
Scan type                                : Interlaced
Scan type                                : Interlaced
Scan type, store method                  : SeparatedFields
ScanType_StoreMethod_FieldsPerBlock      : 2
Scan type, store method                  : Separated fields (2 fields per block)
Scan order                               : TFF
Scan order                               : Top Field First
Bits/(Pixel*Frame)                       : 0.203
I only have a few PAL DVDs at 25ps. I have some Blu-rays at 25fps (Doctor Who and some other BBC shows), dealing with these has always been tricky. Most of the times, RibBot shows the 25fps, and I upconvert to 60fps. I've use handbrake to handle these sometimes and upconvert to 60fps using BOB and under video changing to 60FPS, then using CQ08. Then I take the output and put it into RB.

When RB detects detelecine or doing the de-interlace, it has for the most part, always been superior to Handbrake for the output.
Ryushin is offline   Reply With Quote
Old 15th March 2024, 00:09   #20483  |  Link
FTLOY
Friend of a friend..
 
FTLOY's Avatar
 
Join Date: Feb 2023
Posts: 160
Quote:
Originally Posted by archiel View Post
Can anyone assist with how to re-encode and decomb when the interlace option is greyed-out.
I would suggest creating a custom script that does what RB doesn't want to do, in situations like this.

I could send you some script's that should do what you want ?
FTLOY is offline   Reply With Quote
Old 15th March 2024, 09:46   #20484  |  Link
archiel
Registered User
 
Join Date: Apr 2019
Posts: 46
Quote:
Originally Posted by FTLOY View Post
I would suggest creating a custom script that does what RB doesn't want to do, in situations like this.

I could send you some script's that should do what you want ?
That would be appreciated - I was going to revert to Handbrake - but would prefer to stay with RB if I can.
archiel is offline   Reply With Quote
Old 15th March 2024, 09:49   #20485  |  Link
FTLOY
Friend of a friend..
 
FTLOY's Avatar
 
Join Date: Feb 2023
Posts: 160
Quote:
Originally Posted by archiel View Post
That would be appreciated - I was going to revert to Handbrake - but would prefer to stay with RB if I can.
I have sent you a PM, and I will send another regarding this, OK.
FTLOY is offline   Reply With Quote
Old 15th March 2024, 10:00   #20486  |  Link
archiel
Registered User
 
Join Date: Apr 2019
Posts: 46
4K, 16 cores and prefetch = 12

Try as I might, I cannot find any problem with encoding a 4K (46GB) file running with unlimited threads on a 7950X.

So far i have tried
NO DE
unlimited threads
editing prefetch in the job#.avs file
Setting "Use multiple processing threads = 12" in Settings, Main
With DE
Setting
/port nnnn /priority normal /restart-if-no-progress /avisynth-prefetch-threads 12 /x264-threads 32 /x265-threads 32

Each encode took (almost exactly) the same time and produced (almost exactly) the same output.

The only thing left to test is under DE what if I remove /avisynth-prefetch-threads 12.
archiel is offline   Reply With Quote
Old 15th March 2024, 10:11   #20487  |  Link
FTLOY
Friend of a friend..
 
FTLOY's Avatar
 
Join Date: Feb 2023
Posts: 160
Quote:
Originally Posted by archiel View Post
Try as I might, I cannot find any problem with encoding a 4K (46GB) file running with unlimited threads on a 7950X.

So far i have tried
NO DE
unlimited threads
editing prefetch in the job#.avs file
Setting "Use multiple processing threads = 12" in Settings, Main
With DE
Setting
/port nnnn /priority normal /restart-if-no-progress /avisynth-prefetch-threads 12 /x264-threads 32 /x265-threads 32

Each encode took (almost exactly) the same time and produced (almost exactly) the same output.

The only thing left to test is under DE what if I remove /avisynth-prefetch-threads 12.
Well, like I said, there will be some trial & error, until you find the sweet spot for your setup.
FTLOY is offline   Reply With Quote
Old 15th March 2024, 15:03   #20488  |  Link
archiel
Registered User
 
Join Date: Apr 2019
Posts: 46
Quote:
Originally Posted by archiel View Post
Try as I might, I cannot find any problem with encoding a 4K (46GB) file running with unlimited threads on a 7950X.

So far i have tried
NO DE
unlimited threads
editing prefetch in the job#.avs file
Setting "Use multiple processing threads = 12" in Settings, Main
With DE
Setting
/port nnnn /priority normal /restart-if-no-progress /avisynth-prefetch-threads 12 /x264-threads 32 /x265-threads 32

Each encode took (almost exactly) the same time and produced (almost exactly) the same output.
I previously noted that the only thing left to test is under DE was 'what if I remove /avisynth-prefetch-threads 12'.

I did, and while initially it to looked to be running faster, it crashed and while it looked as if I could shutdown RB, the only way back in was a reboot and on reboot, both RipBot264.ini and encoder.ini were blank. Retried a couple more times (just in case) - same problem.

So, at least for my single PC setup,
  • local only (no DE) is just as fast as DE for all encodes.
  • restricting prefetch makes no difference on a local only setup
  • restricting prefetch is absolutely necessary for 4k on a DE setup

So until I find a compelling use-case for DE over local, I have turned it off.

In summary, I have reverted to my old setup, but at least I no longer have any 'what if I tried...'s floating around.
archiel is offline   Reply With Quote
Old 15th March 2024, 15:14   #20489  |  Link
valnar
Registered User
 
Join Date: Dec 2001
Location: Cleveland
Posts: 518
Quote:
Originally Posted by archiel View Post
So until I find a compelling use-case for DE over local, I have turned it off.

In summary, I have reverted to my old setup, but at least I no longer have any 'what if I tried...'s floating around.
I've found that using DE isn't quite as fast as using Ripbot separately on multiple PC's if you're running through a series. Just divide up the episodes between them. If you're doing a movie and can dedicate a few computers, then yes.
valnar is offline   Reply With Quote
Old 15th March 2024, 20:33   #20490  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,803
Quote:
So until I find a compelling use-case for DE over local, I have turned it off.
Local DE may be necessary if you have CPU with high number of cores like Xeons or Threadrippers.
Atak_Snajpera is offline   Reply With Quote
Old 17th March 2024, 01:04   #20491  |  Link
FTLOY
Friend of a friend..
 
FTLOY's Avatar
 
Join Date: Feb 2023
Posts: 160
Quote:
Originally Posted by Atak_Snajpera View Post
No. I will start some coding tomorrow.
We have an update, ppl

Code:
v1.27.1
Added: JobWindowDefaultPosition option in ripbot264.ini. Accepted values [center,top,right,bottom,left]
Added: Subtitle file size
Added: Filter list for DEFAULT and FORCED subtitles
Fixed: Disappearing chapters in chapter.txt file
Fixed: UI issues in segments table
Fixed: Cover art not added in batch mode
FTLOY is offline   Reply With Quote
Old Yesterday, 15:00   #20492  |  Link
Ryushin
Registered User
 
Ryushin's Avatar
 
Join Date: Mar 2011
Posts: 424
Thanks for the Update

Thanks for the update Atak. You keep updating and maintaining RB, I so much appreciate it.

Next time you happen to want to do some coding, can ask for a batch enhancement.

I've been encountering a big time sink dealing with multiple audio channels in batch mode.

For example, the files I've been creating for local use have two streams, AC3 first and Dolby TrueHD second.

MakeMKV creates the files with the highest quality audio channel first, and the sub (core) channel second.

After adding the files in batch mode, I have to go edit each job, set the core audio to the first channel and the higher quality to the second channel. Waiting for RB to analyze the high quality channels takes 30-90 seconds each time, at least for TrueHD audio. AC3 only takes a couple of seconds.

It would be nice to have up to 3 audio settings since RB can handle three channels. Options would first to choose which audio channel to pull from and then what to do with it.

Thanks again Atak for everything.
Ryushin is offline   Reply With Quote
Old Yesterday, 17:16   #20493  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,803
Quote:
Originally Posted by Ryushin View Post
Thanks for the update Atak. You keep updating and maintaining RB, I so much appreciate it.

Next time you happen to want to do some coding, can ask for a batch enhancement.

I've been encountering a big time sink dealing with multiple audio channels in batch mode.

For example, the files I've been creating for local use have two streams, AC3 first and Dolby TrueHD second.

MakeMKV creates the files with the highest quality audio channel first, and the sub (core) channel second.

After adding the files in batch mode, I have to go edit each job, set the core audio to the first channel and the higher quality to the second channel. Waiting for RB to analyze the high quality channels takes 30-90 seconds each time, at least for TrueHD audio. AC3 only takes a couple of seconds.

It would be nice to have up to 3 audio settings since RB can handle three channels. Options would first to choose which audio channel to pull from and then what to do with it.

Thanks again Atak for everything.
I will add the same filtering for audio streams next time. No eta though.
Atak_Snajpera 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 04:55.


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