View Single Post
Old 18th November 2019, 14:41   #1754  |  Link
confessor
Registered User
 
Join Date: Nov 2019
Posts: 9
Thanks in advance.
Code:
# to convert "I:\BDMV\PLAYLIST\00000.mpls"
# (referencing the M2TS/SSIF files 00000)
# to 3D Side-by-Side.
# Movie title: m
#
# Source MPLS information:  Blu-ray 3D.
# MPLS file: 00000.mpls
# Video   :  Und  AVC, 1080p, 23.976 fps, left-eye
# Video   :  Und  MVC, 1080p, 23.976 fps, right-eye (32 3D-Planes)
# Audio   :  Rus  DTS, Multi-channel, 48 Khz
# Subtitle:       PGS, 3D-plane: undefined
#LoadPlugin("H:\Downloads\BD3D2MK3D\BD3D2MK3D\toolset\plugins64bit\FRIMSource.dll")
LoadPlugin("H:\Downloads\BD3D2MK3D\BD3D2MK3D\toolset\plugins64bit\DGMVCDecode.dll")

##LoadPlugin(H:\Downloads\BD3D2MK3D\BD3D2MK3D\toolset\plugins64bit\VSFilter.dll")
#LoadPlugin("H:\Downloads\BD3D2MK3D\BD3D2MK3D\toolset\plugins64bit\SupTitle.dll")

# Load the two video streams (203743 frames per stream)
#interleaved = FRIMSource("mvc", "00000.track_4113.264", "00000.track_4114.mvc", layout = "alt", num_frames = 203743, cache = 2, platform = "")
interleaved = DGMVCSource("00000.track_4113.264", "00000.track_4114.mvc", view = 0, frames = 203743, mode = "auto")
# Current base view: left eye.
# The views are in the common order: AVC stream = left view, MVC stream = right view.
left  = SelectEven(interleaved)
right = SelectOdd(interleaved)

# Hardcode subtitles
##left  = VobSub(left,  "subtitle_to_hardcode_left.sub")
##right = VobSub(right, "subtitle_to_hardcode_right.sub")
#left  = SupTitle(left,  "subtitle_to_hardcode_left.sup")
#right = SupTitle(right, "subtitle_to_hardcode_right.sup")

# Build Side-by-Side stream
StackHorizontal(Left, Right)
AssumeFPS("ntsc_film")

# Return the 3D clip.
Return(last)#.Info()

Last edited by confessor; 18th November 2019 at 19:36.
confessor is offline