Ichigo69 icon

Cut scenes from encode

Ichigo69 | PRO | 05/31/14 09:53:25 PM UTC | 0 ⭐ | 312 👁️ | Never ⏰ | []
text |

1.75 KB

|

None

|

0 👍

/

0 👎

# 1. Install software
# -install MKVToolnix and MKVCleaver (http://www.videohelp.com/tools/MKVcleaver)
# -install Avisynth (use 32-bit version for compatibility with plugins/encoders)
# -install Haali Media Splitter (e.g. via http://www.codecguide.com/download_kl.htm) and copy avss.dll into Avisynth's "plugins" directory
# -if you want to hardsub the subtitles, copy vsfilter.dll into Avisynth's "plugins" directory; if not, install Aegisub
# -install encoder, e.g. command-line tool (x264.exe, ffmpeg.exe) or GUI (VirtualDub + x264vfw, Handbrake, etc.)
# -optional: get AvsPmod for writing (and previewing) Avisynth scripts
# -optional: get Lame MP3 ACM codec (http://www.videohelp.com/tools/Lame-MP3) for encoding the audio in VirtualDub
 # 2. Unpack MKV
# -use MKVCleaver to extract subtitles (*.ass, *.srt, etc.) and fonts
# -install fonts into Windows
 # 3. Create script
f = "video file.mkv"
s = "subtitles.ass"
v = DSS2(f)
a = DirectShowSource(f, video=false)
AudioDub(v, a)
TextSub(s)  # only when hardsubbing
# Trim(..., ...) + Trim(..., ...) + Trim(..., ...) + ...    # preview with AvsPmod/VirtualDub, enter frame indices of relevant /u/ sections, remove first # when done
 # 4. Softsubs
# If you don't want to hardsub the subtitles:
# -open subtitles file in Aegisub
# -open source video (or create dummy video with matching frame rate) and switch subtitle timing to 'frame'
# -copy the relevant lines
# -paste them into a new subtitles file, adjust start and stop frame numbers according to the Trim() commands in Step 3
 # 5. Encode new video file
# -open script in encoder
# -set encoding options and encode
# -create new MKV file (if audio was encoded separately, add it here) (if subtitles weren't hardsubbed, add new subtitles file here)

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎