Git Product home page Git Product logo

3d_mvc_to_sbs_mkv's Introduction

Convert mvc to sbs mkv

This docker container can convert frame-packed (mvc) mkv files to side-by-side (sbs) mkv files. All audio and subtitle tracks are copied to the output file.

Makemkv should output two streams one for the left and one for the right eye. This script will take the multi view encoded streams and combine them back into a sbs video.

Based on 3DVideos2Stereo, 2016 Making a side-by-side 3D video out of blu-ray

# Extract one frame
ffmpeg -ss 01:27:38 -i input.mkv -frames:v 1 -q:v 2 frame_9.png
docker buildx build . --tag mvc_to_sbs
# Note the right eye file does not support spaces in the file path
docker run --rm -it -v ./input:/input -v ./output:/output mvc_to_sbs /input/input_file_left.mkv /input/input_file_right.mkv /output/output_file.mkv
# The right eye file can be omitted
docker run --rm -it -v ./input:/input -v ./output:/output mvc_to_sbs /input/input_file.mkv nothing /output/output_file.mkv
# debug command
docker run --rm -it --entrypoint /bin/bash -v ./input:/input -v ./output:/output mvc_to_sbs
/entrypoint.sh /input/input_file.mkv nothing /output/output_file.mkv
wine /usr/local/bin/d3d11-triangle/d3d11-triangle.exe
# test with first 10 minutes
ffmpeg -i input/input_file_full.mkv -to 00:10:00 -c copy input/input_file.mkv
ffmpeg -i input/input_file_full_left.mkv -to 00:10:00 -c copy input/input_file_left.mkv
ffmpeg -i input/input_file_full_right.mkv -to 00:10:00 -c copy input/input_file_right.mkv

3d_mvc_to_sbs_mkv's People

Contributors

raldone01 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.