Giter Club home page Giter Club logo

sfd_muxer's Introduction

SFD Muxer

中文

Open source CRI Sofdec Muxer.

Introduction

CRI Sofdec file format (SFD) is a type of video middleware format which developed by CRI Middleware Co., Ltd.

Now(2021), CRI Middleware has stopped supporting this format.

This tool is built as a limited alternative to CRI Sofdec SDK, used for made community localization or community DLC for some classic video games.

How to Use

Usage:

SFD_Muxer (-y) [-v [video]]… [-a [audio]]… [-o [output]] (-sfd [sample sfd]) (-s [sofdec stream verson]) (-as [audio offset]) (-l [language])

Option:

-y:   default overwrite output file.
-v:   input video filename(mpeg-1 video, less than 16)  
-a:   input audio filename(SFA/Dolby Digital AC-3/Dobly Digital AIX audio, less than 32)
-o:   output filename.
-sfd: sample Sofdec file. Build with this file's parameter. If using this parameter, "-s" and "-as" will be not use.
-s:   Sofdec stream verson. In the first "private_stream_2" start address + 0x2C, write in ASCII.
-as:  The start offset value of the audio stream.
      This parameter demonstrate first audio stream's "stream_ID", with +0xC0.
-l:   language. (e = english[default], c= chinese)
      The code is writing in UTF-8, so must using "chcp 65001" to change terminal codepage when using chinese in windows.

Sample:

SFD_Muxer -v AT_OP0D.m1v -a AT_OP0D.sfa -a AT_OP0D.ac3 -o AT_OP0D.sfd

Q&A

  1. What is SFA File?

    SFA file is a type of CRI ADX file, for the last 6 bytes of padding ("(c)CRI") must in 0x119-0x11F.

  2. What is Dobly Digital AIX?

    Dobly Digital AIX is a type of CRI AIX file 。CRI AIX file is a type of Audio containers for multichannel adx.

    Dobly Digital AIX need conformed to constraint conditions below:

    1. Track num = 3 and Phrase num = 1;
    2. All ADX in AIX must be 2 channek and 6 channels of Dolby Digital Surround and tracks within the AIX data correspond as follows:
      AIX track channel DoblyDIgital channel
      1st track Left channel Front left channel
      1st track Right channel Front right channel
      2nd track Left channel Back left channel
      2nd track Right channel Back right channel
      3rd track Left channel Front center channel
      3rd track Right channel Low-frequency effects channel
  3. What's the "field"'s mean in "ERROR 2XX" word?

    This field all define in ISO/IEC 11172-1(MPEG-1 Part 1). If need, please read that.

TODO:

MPEG-2 video support
Better SFA/AIX audio surropt

sfd_muxer's People

Contributors

nebulas-star avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

sfd_muxer's Issues

Crash Nitro Kart .sfd

Hi, I have a problem with the videos in this game. The gamecube version was released in English only, but inside the iso there are all the files of the other languages. By editing a file with hxd, I was able to start the game with audio and text in Italian, only the videos remained in English. Opening the .sfd files with a program, I discovered that inside there are all the audio tracks of the other languages. I would simply rename these internal files, so that the videos start in Italian. Can you help me?

SFD problem with Mortal Kombat Shaolin Monks (XBOX)

Hello, first of all I want to thank you for the great tool, it has great features and especially compatibility with the game I'm modifying: Mortal Kombat Shaolin Monks for Xbox 1. However, I'm having a little problem with the video, at first it runs with normal frames, but halfway through it reduces drastically until it is 1 FPS. I'll leave the sample:
Download

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.