Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
Linux Magazine - Missing Anything?

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Glossary
MoreInfo
Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
FAQ
Copyright Info
Terms of Use
Privacy Info
Disclaimer
WorkBoard
Thanks
Donations
Advertising
Masthead / Impressum
Your Account

Communication
Feedback
Forums
Private Messages
Surveys

Features
HOWTOs
News Archive
Submit News
Topics
User Articles
Web Links

Google
Google


The Web
linux-tutorial.info

Who's Online
There are currently, 323 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here

  

mplex



SYNOPSIS

       mplex   [-v|--vervose  num]  [-m|--mpeg 1|2]  [-b|--video-
       buffer      video_buffer_size_kB]      [-r|--muxed-bitrate
       muxed_bitrate_kbps] [-l|--mux-limit num] [-O|--sync-offset
       num] [-f|--format  format_code]  [-V|--vbr]  [-s|--sector-
       size sector_size_B] [-p|--packets-per-pack num] [-h|--sys­
       tem-headers]      [-S|--max-segment-size      output_file­
       size_limit_MB]  [-M|--split-segment] [-?|--help] -o|--out­
       put output_filename_patterninput_file...


DESCRIPTION

       Mplex is a  general-purpose  audio/video  multiplexer  for
       MPEG-1/MPEG-2.   It  accepts  one  or  more MPEG-1/2 video
       stream, MPEG layer II/III  audio  streams  and  AC3  audio
       streams  and multiplexes them into a combined program/sys­
       tem stream according to the constraints  specified.   Many
       different  types  of  output structure are supported along
       with presets for standard VCD  and  SVCD  streams.   These
       latter  can  be  burned  to  CD using tools such as vcdim­
       ager(1) and played in stand-alone players.

       It is also capable of automatically splitting  the  output
       stream  into  chunks  of  a specified size either indepen­
       dently or at sequence end/start points in the input  video
       stream.


GENERAL FUNCTION LETTERS

       -o|-output output_filename_pattern
              This (compulsorary) option sets the pattern for the
              name(s) of output files.

              An integer format code (e.g. %d)  in  the  name  is
              replaced  by  the number of the file generated (see
              printf(3)).

       -v|--verbose num
              Set verbosity level to num:
               0 - warnings and errors only,
               1 - information as well,
               2 - really verbose.

       -?|--help
              Display a synopsis of the command syntax.


FUNCTION LETTERS

       -f|--format format_code
              This command allows one of a number  of  convenient
              preset  output  formats  or  generic MPEG1 or MPEG2
              output to be  selected.  For  the  generic  formats
              other  function letters can be used to control many
              aspects   of   the   multiplexed    stream.     For
              VCD/SVCD/DVD  compliant  output  the  corresponding
              settings.
               5 - User-rate SVCD.  SVCD format but  buffer  size
              bit rate and VBR can be set.
               6  - VCD Stills stream (mixed mode with hi-res and
              standard-res image streams         multiplexed  are
              supported).
               7 - SVCD Stills stream.
               8  - DVD. Don't get too excited.  This is really a
              very minimal       mux format.   It includes  empty
              versions  of  the  peculiar GOP start       sectors
              DVD VOB's include.   This  is  enough  to  persuade
              some  hardware       players to play the stream but
              is a long way from full DVD authoring.

       -r|--mux-bitrate num
              The total (non VBR) / peak (VBR)  bit-rate  of  the
              output stream in k Bits/sec. If unspecified and not
              set by a preset it is automatically calculated from
              the input stream.

       -b|--video-buffer num
              The size of the video input buffer available in the
              target decoder.  The default  is  46KB  the  (tiny)
              size  specified  for VCD.  The size to use for SVCD
              is the (more reasonable) 230KB.  If you are  encod­
              ing  for  a  half-decent  software decoder it makes
              sense to push this up to 500K or more.

       -l|--mux-limit num
              Multiplex limit.  Multiplex only the specified num­
              ber of sectors.  Useful for tuning and debugging.

       -O|--sync-offset num
              Set  the  presentation  timestamp  offset  of video
              stream w.r.t. audio stream (video-audio)  in  mSec.
              This flag is used to produce a stream with synchro­
              nised   audio/video   when   one   stream   started
              before/after   the  other.   This  is  common  when
              transcoding as the synchronisation  information  is
              typically   lost   during   the  (seperate)  decod­
              ing/encoding of audio and video.

       -V|--vbr
              Set variable bit rate multiplexing.  This is needed
              to  multiplex  variable bit-rate video streams cor­
              rectly.

       -s|--sector-size num
              This option specifies the sector size of the output
              stream in bytes.

       -p|--packets-per-pack num
              tures) or audio frame being split  between  chunks.
              frame  reasonable.  This  is  fine for formats like
              that used for  DVDs  where  all  stream  parameters
              appear every GOP.  However, for VCD / SVCD it won't
              work as the players expect each file to start a new
              MPEG sequence.

              For  VCD  / SVCD a different technique is used.  If
              mplex encounters a  sequence  break  (sequence  end
              followed  by  start)  in  the input video stream it
              starts a new output stream and file at the sequence
              start.    Thus   to   split  a  long  video  across
              VCD's/SVCD's you have to get the MPEG video encoder
              to  introduce  sequence  splits at the right points
              (see mpeg2enc(1) for details of how to do this).

       -M|--split-segment
              When splitting a long stream in files based  on  -S
              mplex  does  a  certain  amount of careful "running
              out" to prevent a GOP or audio frame  being  split.
              This  is  wasteful for continuous bit-rate streams.
              If the files are simply going  to  be  concatenated
              for  playback  this "run out" is superfluous and -M
              turns it off.

       -h|--system-headers
              A system header is generated in every  pack  rather
              than just in the first.


DIAGNOSTIC OUTPUT

       When multiplexing using mplex you may get warning or error
       messages complaining about buffer underflow.   This  means
       that  the bit-rate you have specified is simply too low to
       permit the video and audio to be played back without skip­
       ping.   The  fix  is to either reduce the data-rate of the
       input material or increased the output stream bit-rate.


BUGS

       The multiplexer should handle AC3 and MPEG(5.1) audio too.


AUTHOR

       This man page was written by Andrew Stevens.
       If  you have questions, remarks, problems or you just want
       to contact the developers, the main mailing list  for  the
       MJPEG-tools is:
         mjpeg-users@lists.sourceforge.net

       For more info, see our website at
         http://mjpeg.sourceforge.net


SEE ALSO


An undefined database error occurred. SELECT distinct pages.pagepath,pages.pageid FROM pages, page2command WHERE pages.pageid = page2command.pageid AND commandid =


  
Help us cut cost by not downloading the whole site!
Use of automated download sofware ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and therefore is expressedly prohibited. For more details on this, take a look here

Login
Nickname

Password

Security Code
Security Code
Type Security Code


Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!


Amazon Wish List

Did You Know?
You can choose larger fonts by selecting a different themes.


Friends



Tell a Friend About Us

Bookmark and Share



Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.09 Seconds