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. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|
#1 | Link |
|
Registered User
Join Date: May 2013
Posts: 31
|
How to trim during encoding, in x264?
I was trying to trim directly while encoding with x264, but I couldn't find any way, I wonder if there're any --zones settings to skip the given zones, something like:
Code:
--zones 1100,2300,skip=1/7600,8900,skip=1 Any ideas?
|
|
|
|
|
|
#2 | Link |
|
Registered User
Join Date: Oct 2009
Location: San Francisco, CA
Posts: 99
|
The setting --seek lets you indicate what the starting frame of the encode is, and --frames tells it how many frames to encode. For example:
Code:
--seek 2500 --frames 1000 I am not sure how this interacts with the --zones feature. |
|
|
|
|
|
#3 | Link | |
|
Registered User
Join Date: May 2013
Posts: 31
|
Quote:
Thanks I'll try it asap
|
|
|
|
|
|
|
#4 | Link |
|
Yes, I'm weird.
Join Date: May 2010
Location: Southeast Asia
Posts: 271
|
Remember to add "--stitchable" to the commandline so you don't get into trouble joining them together later.
__________________
“Never argue with stupid people, they will drag you down to their level and then beat you with experience.” — Mark Twain |
|
|
|
|
|
#6 | Link |
|
Registered User
Join Date: Dec 2002
Posts: 5,565
|
--stitchable has nothing to do with keyframes, but if you do each encode separately you won't have trouble with keyframes when appending them in the end anyways. Keyframes are only a problem if you plan on splitting a long encode into smaller parts, not the other way around.
|
|
|
|
![]() |
| Tags |
| avisynth, seek, trim, x264, zones |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|