in: Specify Input Video File
[Format]-in=filename [Input] filename : input video file [Function] Specifies input video file.
This subcommand is commonly used and provides an alternative to the video subcommand.
Example: Specifies sample.avi as an input video file.
> medianocheH264 -in=sample.avi -out=sample.usm
out: Specify Output Movie File
[Format] -out=filename [Input] output : output movie file (usm file) [Function] Specifies output file name.
This subcommand is commonly used. Specify output file name with the file extension "usm".
Example: Specifies sample.usm as output file name.
> medianocheH264 -in=sample.avi -out=sample.usm
video: Specify Input Video File
[Format]-video##=filename [Input] filename : video file ## : video track number (## = 00) [Function] Specifies input video file.
Example: Assigns an AVI file smpvid.avi to track 00.
> medianocheH264 -video00=smpvid.avi -audio00=smpaud.wav -out=sample.usm
alpha: Specify Alpha File
[Format] -alpha##=filename [Input] filename : alpha file ## : alpha track number (## = 00) [Function] Specifies input alpha file.
When creating an alpha movie, specify an AVI file containing the alpha channel to encode.
Example: Assigns an alpha channel in an AVI file smpvid.avi to track 00.
> medianocheH264 -video00=smpvid.avi -audio00=smpaud.wav -out=sample.usm \ -alpha00=smpvid.avi
audio: Specify Audio File
[Format]-audio##=filename [Input] filename : audio file ## : audio track number (## = 00 - 31) [Function] Specifies input audio file.
Example: Assigns music file, English voice file and Japanese voice file to track 00, 01 and 02, respectively.
> medianocheH264 -video00=smpvid.avi -out=sample.usm \ -audio00=music.wav -audio01=voice_en.wav -audio02=voice_ja.wav
target: Specify Target Platform
[Format]-target=platform [Input] platform : Platform Name ps3 : SCE PlayStation 3 ps4 : SCE PlayStation 4 xboxone : Microsoft Xbox One wiiu : Nintendo Wii U vita : SCE PlayStation Vita [Function] Specifies the target platform name.
This option is mandatory to encode to H.264 video.
Example: Set the target to PlayStation 3.
> medianocheH264 -video00=smpvid.avi -audio00=smpaud.wav -out=sample.usm – h264_profile=high \ -target=ps3
mca: Specify Audio File for Surround Movie
[Format]-mca**_##=filename [Input] filename : audio files ** : audio track number ## : audio channel number (## = 00 - 05) [Function] Specifies audio file for surround movie
Channel Number | Speaker Position |
---|---|
00 | LEFT |
01 | RIGHT |
02 | LEFT Surround |
03 | RIGHT Surround |
04 | CENTER |
05 | LFE |
Example: Assigns audio files for surround movie to track 0.
> medianocheH264 -video00=smpvid.avi -out=sample.usm \ -mca00_00=fl.wav -mca00_01=fr.wav -mca00_02=sl.wav -mca00_03=sr.wav \ -mca00_04=c.wav -mca00_05=lfe.wav
subtitle: Specify Subtitle Information File
[Format]-subtitle##=filename [Input] filename : subtitle information file ## : subtitle channel (## = 00 - 15) [Function] Specifies subtitle information file.
Example: Specifies English and Japanese subtitle information files for channel 00 and channel 01, respectively.
> medianocheH264 -video00=smpvid.avi -audio00=smpaud.wav -out=sample.usm \ -subtitle00=subttl_en.txt -subtitle01=subttl_ja.txt
cuepoint: Specifying Cuepoint Information File
[Format]-cuepoint=filename [Input] filename: cuepoint information file [Function] Specifies cuepoint information file.
For details about cuepoint information file, see Cuepoint Information File.
Example:
> medianocheH264 -in=sample.avi -out=sample.usm -cuepoint=sample_cuepoint.txt
crop: Crop part of the Original Image
[Format]crop=crx,cry,crw,crh [Input] crx: X coordinate of cropped image against the original image cry: Y coordinate of cropped image against the original image crw: Image width after cropping crh: Image height after cropping [Function] Crops a part of original image.
Any values are allowed, as long as the cropped image is inside of the original image.
The default is no cropping.
Example: Crops video at (0,0) with width 640 and height 480.
> medianocheH264 -in=sample.avi -out=sample.usm -crop=0,0,640,480
scale: Scales up/down the Original Image
[Format]scale=scw,sch [Input] scw : the width of resized image sch : the height of resized image [Function] Scales up/down the original image by averaging pixel value
Default is no scaling.
Example: Resizes to video with width 640 and height 480.
> medianocheH264 -in=sample.avi -out=sample.usm -scale=640,480
bitrate: Bitrate
[Format]-bitrate=rate [Input] rate: bitrate [bps] [Function] Specifies the bitrate of output movie file in bps (bits per second).
When this subcommand is not specified, the movie file with the highest quality will be output without retrying the encoding.
Default: 3000000bps.
Example: Set the bitrate to 6Mbps.
> medianocheH264 -video00=smpvid.avi -audio00=smpaud.wav -out=sample.usm \ -bitrate=6000000
h264_profile: H.264 Profile Setting
[Format]-h264_profile=profile [Input] profile: Profile Name high : H.264 High Profile main : H.264 Main Profile baseline : H.264 Baseline Profile [Function] Specifies the H.264 Profile Type.
When this subcommand is not specified, High profile is applied.
Example: Set the profile to high
> medianocheH264 -video00=smpvid.avi -audio00=smpaud.wav -out=sample.usm – target=ps3 \ -h264_profile=high
framerate: Frame Rate
[Format]-framerate=decfr -framerate=fr_num,fr_den [Input] decfr: frame rate in decimal number fr_num: numerator of frame rate in fractional number fr_den: denominator of frame rate in fractional number [Function] Specifies movie frame rate (fps).
The following two formats are available:
Up to 60 fps can be specified. When omitted, original frame rate of video material is used.
Example: Specifies 29.97 fps for movie frame rate.
> medianocheH264 -video00=smpvid.avi -audio00=smpaud.wav -out=sample.usm \ -framerate=29.97
hca: Encode audio source for HCA codec
[Format] -hca=sw [Input] sw: switch for HCA encoding ON: Encode as HCA OFF: Not encode as HCA (Default) [Function] Specifies whether or not to encode audio source as HCA codec.
When setting this option as disabled, encode audio source with ADX codec.
hca_quality: Sound quality when encoding as HCA
[Format] -hca_quality=count [Input] count: Selects encoding quality from the following 5 values 5 = Highest 4 = High (default) 3 = Medium 2 = Low (high compression) 1 = Lowest (highest compression) [Function] Set sound quality for HCA encoding.
Rough relationship between encoding quality value and compression rate is shown below:
Quality | Mono | Stereo or more |
---|---|---|
5 | 1/4 | 1/4 |
4 | 1/6 | 1/6 |
3 | 1/8 | 1/8 |
2 | 1/10 | 1/12 |
1 1/12 1/16 |
cleanup: Delete intermediate files
[Format]-cleanup=sw [Input] sw = switch for deleting intermediate files ON: Delete (Default) OFF: Not delete [Function] Specifies whether to delete intermediate files that are created during encoding process.
When set to OFF, CRI Movie video files (.usv) and CRI Movie audio files (.usa) are left in the same folder where the CRI Movie file (.usm) exists.
Default setting is ON (to delete).