全部博文(18)
分类: LINUX
2009-05-07 20:17:31
DEMUX OPTIONS (default values inside brackets) -y: Selects the demux type [mpeg1], m2p, m2t, m2t192, dvd, vbs, abs, aob -vpid: video PID (else, first video stream will be played) -apid: audio PID (else, first audio stream will be played) -asubid: audio substream id (else, first audio substream will be played) -ssubid: spu substream id (else, first spu substream will be played) -z: Repacketizes packets (needed for transport streams) [FALSE] -spu: Enables subpicture [FALSE] -dur: Specifies the duration of the stream, on ms. Required for seeking PLAYBACK OPTIONS (default values inside brackets) -m chip: Selects the board number [0] -L count: Loops the file count times [1] -l: Loops the file infinitely [FALSE] -waitexit: application doesn't stop and exit until q key is pressed -data mode: selects which streams to send to decode: n,a,v,s (n=none) [avs] -ts mode: selects which streams to send PTS to decode: n,a,v,s (n=none) [avs] -save mode: selects which streams to save into file: n,a,v,s (n=none) [n] mode: avs, av, a, vs, v, n -savems mode: same as -save but outputs elementary file with embedded pts and frame_size data -speed N M: set the speed factor to N/M [1 1] -dram controller: sets the dram controller to use [0] -manutest: maunufacture testing mode -pause: starts playback in pause state -bcc filename: use the BCC file filename [NULL] -stcdrift: enable correction of STC-to-PCR drift (SPI only) -stcdbg n: level of debug print [0]..3 -delay time: set delay in ms for audio, video timers relative to stc timer [0] -dmapool count log2_size: sets the count and the log2 size of the dma pool. Default is application dependent. -disk_ctrl level: minimum number of buffer when reactivation of disk must be done. -prebuf size: maximum size in kB read from media for prebuffering. -sat: send audio while in trickmodes [false] -past: play any supported track [disabled]; otherwise video track must have a known codec DISPLAY OPTIONS (default values inside brackets) -no_disp: do not configure the outports -f standard: Sets output format, default is NTSC_M CVT_640x480x50 CVT_640x480x60 CVT_640x480x75 CVT_640x480x85 CVT_800x600x50 CVT_800x600x60 CVT_800x600x75 CVT_800x600x85 CVT_1024x768x50 CVT_1024x768x60 CVT_1024x768x75 CVT_1024x768x85 CVT_1152x864x50 CVT_1152x864x60 CVT_1152x864x75 CVT_1152x864x85 CVT_1280x960x50 CVT_1280x960x60 CVT_1280x960x75 CVT_1280x960x85 CVT_1280x1024x50 CVT_1280x1024x60 CVT_1280x1024x75 CVT_1280x1024x85 CVT_1600x1200x50 CVT_1600x1200x60 DBL3_1952x1232 DBL3_1952x30 HDMI_640x480p59 HDMI_640x480p60 HDMI_480p59 HDMI_480p60 HDMI_720p59 HDMI_720p60 HDMI_1080i59 HDMI_1080i60 HDMI_480i59 HDMI_480i60 HDMI_720x240p59 HDMI_720x240p60 HDMI_2880x480i59 HDMI_2880x480i60 HDMI_2880x240p59 HDMI_2880x240p60 HDMI_1440x480p59 HDMI_1440x480p60 HDMI_1080p59 HDMI_1080p60 HDMI_576p50 HDMI_720p50 HDMI_1080i50 HDMI_576i50 HDMI_720x288p50 HDMI_2880x576i50 HDMI_2880x288p50 HDMI_1440x576p50 HDMI_1080p50 HDMI_1080p23 HDMI_1080p24 HDMI_1080p25 HDMI_1080p29 HDMI_1080p30 HDMI_2880x480p59 HDMI_2880x480p60 HDMI_2880x576p50 HDMI_1080i50_1250 HDMI_1080i100 HDMI_720p100 HDMI_576p100 HDMI_576i100 HDMI_1080i119 HDMI_1080i120 HDMI_720p119 HDMI_720p120 HDMI_480p119 HDMI_480p120 HDMI_480i119 HDMI_480i120 HDMI_576p200 HDMI_576i200 HDMI_480p239 HDMI_480p240 HDMI_480i239 HDMI_480i240 1080p60 1080p59 1080p50 1080i60 1080i59 1080i50 1080i48 1080i47 1080p30 1080p29 1080p25 1080p24 1080p23 1080i50_1250 1080p50_1250 720p60 720p59 720p50 720p30 720p29 720p25 720p24 720p23 ITU_Bt656_525 NTSC_M_Japan NTSC_M PAL_60 PAL_M 480p59 NTSC_M_Japan_714 NTSC_M_714 PAL_60_714 PAL_M_714 480p59_714 ITU_Bt656_625 PAL_BG 576p50 PAL_BG_702 576p50_702 VESA_640x350x85 VESA_640x400x85 VESA_720x400x85 VESA_640x480x60 VESA_640x480x72 VESA_640x480x75 VESA_640x480x85 VESA_848x480x60 VESA_800x600x56 VESA_800x600x60 VESA_800x600x72 VESA_800x600x75 VESA_800x600x85 VESA_1024x768x43 VESA_1024x768x60 VESA_1024x768x70 VESA_1024x768x75 VESA_1024x768x85 VESA_1152x864x75 VESA_1280x768x60RB VESA_1280x768x60 VESA_1280x768x75 VESA_1280x768x85 VESA_1280x960x60 VESA_1280x960x85 VESA_1280x1024x60 VESA_1280x1024x75 VESA_1280x1024x85 VESA_1360x768x60 VESA_1400x1050x60RB VESA_1400x1050x60 VESA_1400x1050x75 VESA_1400x1050x85 VESA_1600x1200x60 VESA_1920x1200x60RB VESA_1920x1200x60 VESA_640x480i30 VESA_640x480i60 edid (to use preferred standard from EDID info) -vgaf standard: sets output format for VGA/DVI output separately from analog out -vmf : specify a filename with a video mode line, used instead of -f options WARNING: Incorrect values in the .vmf file can cause damage to the monitor or TV! Sigma Designs is not responsible for any such damage. -cs colorspace: Sets the output colorspace. [yuv_601] yuv_709 rgb_0_255 rgb_16_235 -sm mode : Sets display scaling mode [letterBox] panScan -asp x y: Sets display aspect ratio (x y in [0-255] range) [4 3] (0 0 means that the source aspect ratio is used for the display aspect ratio (used with WSS). -zoom x y w h: Selects the input window to display [0 0 width height] all zoom values: 0..4095: absolute pixel, 4096..8192: 0%..100% relative size -o output: Selects the output [svideo] composite dvi_8 dvi_16 dvi_24 lvds dig_8 dig_16 dig_24 vga scart component_rgb_scart component_rgb_sog component_rgb_smpte component_yuv_betacam component_yuv_m2 component_yuv_smpte -dvi_hdmi [siI164] siI170 siI9030 - Selects supported DVI/HDMI chip -hdmi state - Force HDMI (AVI info frames and audio) or DVI mode (no AVI/audio), state is optional: [1] 0 -hdcp - Enable HDCP (only valid on siI170 and siI9030 DVI chip) -edid - Display EDID information of the TV/Monitor -ed n: use video format from EDID short descriptor number 'n' (instead of detailed descriptor with '-f edid') -edmode : use closest matching EDID short descriptor -edid_exclude : exclude certain video mode from being used with EDID -edid_force : force certain video modes to be used with EDID, if available in the display can be either of: 24hz 25hz 30hz 50hz 60hz 100hz 120hz 200hz 240hz 4x3 16x9 sd ed hd 480i 480p 576i 576p 720p 1080i 1080p (sd = 480i, 576i, ed = 480p, 576p, hd = 720p, 1080i, 1080p) multiple specifications of -edid_exclude and -edid_force are possible. -edid_limits : limit EDID mode detection to the range specified. all values in Hz. use 0 to disable a range limit. If all exclusions and limits leave no mode available, 640x480p will be used. -edwrite : write data from file (binary, 128 or 256 bytes) to display's EDID EEPROM -hdmi_act : designate the portion of the screen containing actual picture information: [none], full, 16x9top, 14x9top, 64x27, 4x3, 16x9, 14x9, 4x3_14x9, 16x9_14x9, 16x9_4x3 The last 3 are optional clipping formats, e.g. the last is a 16x9 format that could be cropped to 4x3 -hdmi_bars : designate filler bars on the screen, 0..4096: top:end of horizontal bar at top [0], bottom: start of horizontal bar at bottom [4096] left:end of vertical bar at left [0], right: start of vertical bar at right [4096] -hdmi_underscan: tag picture as underscanned (computer) instead of overscanned (video) -hdmi_spd Vendor Product [ ]: Send HDMI SPD infor frame, identifying source product -tmds_mode : Set GPIO pin 'gpio' to 1 when HDMI pixel clock is above 'threshold' MHz class: STB, DVD, DVHS, HDD, DVC, DSC, VCD, Game, PC, BluRay, SACD -hdmi2c n: use I2C module 'n' for DVI/HDMI init (0=software, 1=hardware, 2=built-in hdmi) -agc level: Sets the macrovision level [0] 1 2 3 -cgmsa level: Sets the cgms level [0] 1 2 3 -vscaler scaler_index: Selects the scaler to use to display the video [0] (MainVideoScaler), 1 (VCRScaler), 2 (GFXScaler) -route [main] vcr: Selects the display route to use. -b osd_bitmap_filename: Displays an OSD bitmap at the same time -ba alpha_bitmap_filename: 8bpp-alpha bitmap to be merged with osd -vgab osd_bitmap_filename: Displays an OSD bitmap on the seconday output (VGA) -oa osd_alpha_level (0..255) [128] -ozoom x y w h: Selects the osd input window to display [0 0 width height] -owindow x y w h: Selects the osd output window to display [0 0 width height] -odump : dumps bitmap.bin, dvi.bin and userpref.bin in he specified directory. -oscaler scaler_index: Selects the scaler to use to display the osd image [0] (OSDScaler), 1 (GFXScaler), 2 (MainVideoScaler), 3 (VCRScaler), 5 (SubPictureScaler) -lock_scaler : lock the scaling mode to the given scaler. [none] vcr gfx crt osd spu mv -vgadram: put secondary output bitmap into second DRAM bank -hwc: Displays Sigma logo using the hardware cursor -swap order: swaps the output's color component order [rgb] rbg grb gbr brg bgr -fs type: Selects the field selection algorithm [type] : to select the input field ID that matches the output field ID time: to select the input field the most time accurate one: to select only one field per frame -strips h v : Sets display horizontal and vertical black strip mode (h v in [0-4096] range) [4096 4096] -cutstrips h v : Sets display horizontal and vertical cut strip mode (h v in [0-4096] range) [4096 4096] -nonlin w l: select non-linear scaling width (0..3) and level (0..3) [0 0] Note: also specify '-strips 4096 0' or -nonlin will have no visible effect! -D mode: selects the deinterlacing mode 0: Bob - no deinterlacing 1: modulated Weave 2: motion adaptative 3: Weave -32pd: enables the 3:2 pulldown. Is only active in case of motion adaptative deinterlacing [disable] -motion_config config: configures the motion deinterlacer format:V16V8V4V0 -d2_proportion config: configures the existing vs new field proportion in deinterlacing type 2:0xEFNF -disp_init: force reinitialisation of the display -cdb : sets the color degradation boundary (0..512) [0] -dp : sets the protocol on the digital output (601, 656, vip) [601] -dclk: don't invert the digital video clock (inverted by default) -ddr: use double data rate mode on the digital out (data on both edges of the clock) -ddr_delay: set a DDR data delay (0..7) [0] -dig_no_delay: disable the data delay in non-DDR mode -inv_cap_clk: invert the capture clock, when external H- and V-Sync is used for the digital sync. -scart_en <0|1> : disable/standby (0) or enable (1) the SCART display. pio is optional, defaults to 13. inv is optional, whether to invert the pio polarity or not. -scart_ws <0|1|a> : signal 4:3 (0) or 16:9 (1) or automatic (a) aspect ratio to the SCART connector. pio is optional, defaults to 14. inv is optional, whether to invert the pio polarity or not -sdf standard: Enable HD->SD conversion and sets the SD format, default is NTSC_M -sdcav: Forces the buffered HD->SD conversion mode (needs -sdf option) -sdbuf: Sets the SD standard on the component output, when HD->SD conversion is enabled (needs -sdf option) -sdasp x y: Sets display aspect ratio for the SD output when HD->SD conversion is enabled (x y in [0-255] range) [4 3] -genlock [ ]: Enable genlocking, sync source is either VideoIn (v) or GraphicIn (g). min, max: target phase range, 0..255 (256 = 360 degrees) -input [<656|601|601v> [invv] [invh]]: Set up dummy mode on video or graphic input, for genlock. -time_interval : defines the time interval to play VIDEO OPTIONS (default values inside brackets) -2: Selects MPEG2-HD [default] -3: Selects DivX3.11-SD -4: Selects MPEG4-SD -5: Selects H264-SD -9: Selects WMV_816P -10: Selects VC-1 AP HD -p profile: 2=MPEG-1/2, 3=DivX3.11, 4=MPEG-4, 5=H.264, 9=WMV or VC-1 MP, 10=VC-1 AP -v codec: -pv codec_profile: 2sd 4sd 4sdr 2dvd [2hd] 4hd 4hdr 2sddi 4sddi 4sddir 2dvddi 2hddi 4hddi 4hddir 9sd 9816p 9hd 3sd 3hd 5sd 5hd 10sd 10hd auto -ve video engine: selects the video engine (DSP) to be used, 0 or 1 [0] -vd video decoder: selects the video decoder on the DSP to use. [0] -fixvop : -vtimescale : play m4v with pts expressed in vtimescale units. For mpeg4 over m2t use 45000. -ics colorspace: Forces the input colorspace. [yuv_601] yuv_709 rgb_0_255 rgb_16_235 -cc closed_caption_mode: Selects the closed caption display mode. [tv] soft off -vcodec codec width height: Selects the video codec. codec: mpeg2, mpeg4, divx3, vc1, wmv, h264, jpeg. -extrapict: number of extra picture buffers for display[0] -vprofile: baseline h264 0, main is 1.[0] -vlevel: level: 0..14 is L1..L5.1 for h264.[0] [tv] 608soft 708soft off -vfifo size: select the video bitstream fifo size in KB. Default is application dependent -vxfer count: select the video xfer fifo count. Default is application dependent -ms : enable playback of MS elemtary with PTS files -seq : WMV9 sequence parameter (Decimal or 0xXXXXXXXX Hexadecimal) -scan : sets video scan mode: [source] frame top bot AUDIO OPTIONS (default values inside brackets) -ae audio engine: selects the audio engine (DSP) to be used, 0 or 1 [0] -ad audio decoder: selects the audio decoder on the DSP to use. [0] -c codec: Sets the codec [ac3=ac3_20] ac3_32 ec3 mpeg [aac0=adif] [aac1=adts] [aac2=dsi] wma wmapro wmats dvda [dts=dts_20] dts_32 pcm[24,20,16 = bit per sample]_[1,2,... = channel assign] lpcm[24,20,16 = bit per sample]_[1,2,... = channel assign] lpcma[24,20,16 = bit per sample]_[1,2,..= channel assign], bdlpcm[Bluray LPCM audio] auto -lsbfirst used only for audio pcm wave -afreq: Sets the output audio frequency [44100] -sfg1: Sets sampling frequency of PCM group1 [output frequency]. -audioin: Configures for pcm audioin function [FALSE] -extclk: take audio playback clock from RClk0 input (useful with -audioin) [FALSE] -aialign alignment: align value for the audio input (e.g. 1 for 24 bit, 0 for 32 bit)[1] -ailsbfirst: LSB first instead of MSB first on audio input [FALSE] -source capture_source: [0=I2S] 1=SPDIF -delay capture_delay: Delay to start capturing [1824] -type capture type: 0=Not Specified, 1=PCM, 2=Compressed [PCM] -spdif mode: Sets the spdif mode n=no [u=uncompressed] c=compressed cnd=compressed no decode -dual mode: [stereo] left right mix -lfe: enable LFE channel - for AC3 codec -acmod2dual: dual mode for acmod2 - for AC3 codec -so: Enables/Disables the serial out [1=enable] 0=disable -i2salign alignment: align value for the i2s audio output (e.g. 1 for 24 bit, 0 for 32 bit)[1] -i2ssclknormal: don't invert SClk on i2s audio output [FALSE] -i2sframenormal: don't invert frame on i2s audio output [FALSE] -i2slsbfirst: LSB first instead of MSB first on i2s audio output [FALSE] -i2s16bit: 16 bit sample width instead of 32 bit on i2s audio output [FALSE] -chan: Sets the channel mask C [LR] LCR LRS LCRS LRLsRs LCRLsRs -unsigned: Unsigned PCM data -downsample: For DVD PCM playback protection by converting 24 bit to 16 bit PCM Format -afifo size: select the audio bitstream fifo size in KB. Default is application dependent -axfer count: select the audio xfer fifo count. Default is application dependent -rclkmclk n: provide the current MClk on RClkOut n (0..3) -askip_first_n_bytes: bytes to skip when reading the file from the beginning -bassmode: [0] 0 1 2 3 -afs [0] 1: let audio uCode parse and set sample frequency from stream -channel_delay: [0] 0...7 [0] 0...33, e.g., '-channel 1 23' means put 33 ms delay for channel 1 -audio_cp: set audio copy protection 'C' bit in SPDIF and HDMI audio header -audio_hdmi2c n: use I2C module 'n' for independent DVI/HDMI init (0=software, 1=hardware, 2=built-in hdmi) -------------------------------- Minimum cmd line: ./play_demux --------------------------------