📄 mpeg_play.1
字号:
.\" @(#)mpeg_play.1 2.1a 93/01/27 SMI;.TH MPEG_PLAY 1 "28 May 1995".SH NAMEmpeg_play \- plays mpeg-1 encoded bitstreams using X11.SH SYNOPSIS.B mpeg_play[.B -nob] [.B -nop] [.B -display display_name] [.B -quality {on|off}] [.B -dither dither_option] [.B -loop ] [.B -eachstat ] [.B -seek offset] [.B -start num] [.B -end num] [.B -gamma gamma_correction_value] [.B -framerate num] [.B -no_display ] [.B -controls {on|off|none}] [.B -shmem_off ] [.B -l_range num] [.B -cr_range num] [.B -cb_range num] [.B -quiet ].B file_name.SH DESCRIPTION.B mpeg_playdecodes and displays mpeg-1 encoded bitstreams on systems running X11.The player will create a new window, display the bitstream, and exit.Any error messages or notices are sent to stderr. .SH OPTIONS.HP.B -nob : causes the player to ignore and not display any B frames..HP.B -nop : causes the player to ignore and not display any P and B frames..HP.B -display display_name : causes the player to open the window on the display \fIdisplay_name\fP..HP.B -quality {on|off}: forces player to choose output quality over speed when on, and vice versawhen off. When quality is on, the player uses a computationally expensiveIDCT and also improves playback through improved handling of half pixelmotion vectors. The default can be set to on if you compile mpeg_play with the flag -DQUALITY..HP.B -dither dither_option : selects from a variety of dither options. The possible values are:.RS.HPordered - ordered dither. .HPordered2 - a faster ordered dither. This is the default..HPmbordered - ordered dithering at the macroblock level. Although thereis a noticeable decrease in dither quality, this is the fastest ditheravailable..HPfs4 - Floyd-Steinberg dithering with 4 error values propagated..HPfs2 - Floyd-Steinberg dithering with 2 error values propagated..HPfs2fast - Fast Floyd-Steinberg dithering with 2 error values propagated..HPhybrid - Hybrid dithering, a combination of ordered dithering for the luminancechannel and Floyd-Steinberg 2 error dithering for the chrominance channels. Errorsare NOT propagated properly and are dropped all together every two pixels in eitherdirection..HPhybrid2 - Hybrid dithering as above, but with error propagation among pixels..HP2x2 - A dithering technique using a 2x2 pixel area for each pixel. The image displayedis 4 times larger than the original image encoded. Random error terms are added to each pixel to break up contours and gradients..HPgray - Grayscale dithering. The image is dithered into 128 grayscales. Chrominanceinformation is thrown away..HPgray256 - Grayscale dithering. The image is dithered into 256 grayscales(requires private colormap). Chrominance information is thrown away..HPcolor - Full color display (only available on 16/24 bit color displays)..HPcolor2 - Full color display with increased size (only available on 16/24bit color displays)..HPnone - no dithering is done, no image is displayed. Used to time decoding process..HPmono - Floyd-Steinberg dithering for monochrome displays..HPthreshold - Floyd-simple dithering for monochrome displays..HPppm - Write a PPM file for each frame..RE.HP.B -loop: makes the player loop back to the beginning after reaching the end..HP .B -owncm: makes the player use a private colormap for the window..HP .B -step: requires the user to press return for each new frame..HP .B -seek offset: before playing the movie, seek to the given offset in the file (usefulfor large movies). In this case -end is redefined to give the number offrames to play, and -start has no meaning. The offset should point to aSequence or (closed) GOP header, but data will be discarded until one isfound.The initial sequence header will be parsed before the seek. The skippedsections must not change the quantization matrices or the results areundefined. .HP.B -start num: Waits to start display until this frame number (previous frames areparsed)..HP .B -end num: ends display at this frame number (except when -seek is used)..HP.B -gamma gamma_correction_param: specifies the amount of gamma correction. Default is 1.0. Use highervalues if movie looks dark and hard to see..HP .B -framerate num: sets the framerate of the playback to num frames per second. A value of0 indicates that the stream should be played as fast as possible. Thedefault is to play at the rate specified in the stream (if possible). Notethis is merely a framerate limiter, it will not discard frames to meet therate..HP.B -controls {on|off|none}: determines the initial interactive X user interface control barstate (if available). The value on (default) opens the control bar atinitialization and enters pause mode after displaying the first frame.The value off leaves the control bar initially hidden and beginsplayback without pausing (similar to the old behavior). The control barcan be toggled on and off at any time by clicking in the video display window, unless the-controls none option is specified, in which case the control bar isunavailable and playback functions as though the player were builtwithout interactive controls (exactly the old behavior)..HP .B -quiet: suppresses printing of frame numbers, timing information, and most errormessages..HP.B -eachstat: causes statistics to be displayed after each frame. Only valid whencompiled with -DANALYSIS..HP.B -shmem_off: turns shared memory off..HP.B -l_range num_colors: sets the number of colors assigned to the luminance component whendithering the image. The product of l_range, cr_range and cb_rangeshould be less than the number of colors on the display..HP.B -cr_range num_colors: sets the number of colors assigned to the red component of thechrominance range when dithering the image. The product of l_range,cr_range and cb_range should be less than the number of colors on thedisplay..HP.B -cb_range num_colors: sets the number of colors assigned to the blue component of thechrominance range when dithering the image. The product of l_range,cr_range and cb_range should be less than the number of colors on thedisplay..HP.B -no_display: dithers, but does not display, usually used for testing and timingpurposes..SH NOTESThe player expects video streams only. It can handle multiplexed MPEG streams(video+audio streams) by discarding the audio. .LPSome streams do not end with the proper sequence end code and will probably generatean "Improper sequence end code." error when done playing..LPThis player can play XING data files. Be aware that XING makes no use of temporal redundancy or motion vector information. In other words, they do not use any P or B frames in their streams. Instead, XING data is simply a sequence of I frames. SinceI frames take significantly longer to decode, performance of the player using XINGdata is not representative of the player's ability..LPThe player does not play MPEG-1 D-frame streams, but they are a rarity..LPIf the player is compiled without the controlbar, then it can playmultiple streams in different windows..SH VERSIONThis is version 2.1a, containing some new features since 2.0, and several bugfixes. It is a major change since version 1.0..SH BUGSThe only known bug is that multiple mpeg_plays cannot seem to be runsimultaneously on a multiprocessor SPARC 20 or a SparcCenter 2000E usingshared memory(in particular: "On a bi-processor Sparc 20/20 sparc-processor 2000E running Solaris 2.3 or 2.4, it is not possible to run two concurrent 'mpeg_play -loop'on the same bitstream. One of the mpeg_play dies when it loops." Thismay be a problem with the X shared memory library and not our code.).SH AUTHORS.HPKetan Patel - University of California, Berkeley, kpatel@cs.berkeley.edu.HPBrian Smith - University of California, Berkeley, bsmith@cs.berkeley.edu.HPHenry Chi-To Ma - University of California, Berkeley, cma@cs.berkeley.edu.HPKim Man Liu - University of California, Berkeley, kliu@cs.berkeley.edu.HPSteve Smoot - University of California, Berkeley, smoot@cs.berkeley.edu.HPEugene Hung - University of California, Berkeley, eyhung@cs.berkeley.edu
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -