EnglishFrenchSpanish

OnWorks favicon

mpginfo - Online in the Cloud

Run mpginfo in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command mpginfo that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


mpgtx, mpgsplit, mpgcat, mpgjoin, mpginfo, mpgdemux - manipulate mpeg files

SYNOPSIS


mpgtx command [ options ] file [ range | file ] ...

DESCRIPTION


mpgtx can split and join MPEG files in various ways. Three file types are currently
handled (more to come): MPEG 1 Video files, MPEG 1/2 Audio files (mp1, mp2, and mp3), MPEG
1 System files (audio and video files), MPEG 2 Program files (Experimental), MPEG 2
Transport files (demultiplex and info modes only). mpgtx is a GOP (Group of Pictures)
based editor. This means that mpgtx cuts MPEG files on a Group Of Picture basis, not on a
frame-by-frame basis. A typical GOP duration is about 0.5 sec (approx. 15 frames),
limiting the maximum accuracy of mpgtx.

COMMANDS


-i prints information about files, such as duration, dimention, bitrate, etc.

-j joins files (ranges may be specified, see the RANGES section).

-s splits files according to the specified ranges (see the RANGES section).

-d demultiplexes composite mpeg file.

-T manipulates ID3v1 tags from mp3 files (see tagmp3(1)).

-h prints a (not so) short help message.

-v prints version and exit.

-# where # is a number, splits the given files in # parts.

--force
enables joining of incompatible files (some players are very robust)

--no-parachute
prevents mpgtx to try to catch SIGSEGV signal. This is usefull for debugging.

In addition, when invoked with the names mpgjoin, mpgcat, mpgsplit, mpgdemux, tagmp3 or
mpginfo, mpgtx will modify its behaviour in the following ways:
mpginfo behaves as mpgtx -i
mpgsplit behaves as mpgtx -s
mpgjoin behaves as mpgtx -j
mpgcat behaves as mpgtx -j -o -
mpgdemux behaves as mpgtx -d
tagmp3 behaves as mpgtx -T

OPTIONS


-f force overwriting of files, never ask.

-Ax Change aspect ratio of mpeg. Valid are 1,2,3,4 for 1:1, 4:3, 16:9, 2.2:1

-P Keep junk or unusual headers in splits

-X Desperate mode, search the whole movie for a valid PACK. In addition with Option -N
no search infos will be displayed, only end summary.

-N Suppress progress output to the console. Speeds up operation a little on most
Systems and much on Macintosh OS9.
Suppress time line check in mpginfo mode.

-b NAME
each output file will have the basename NAME

-o FILE
FILE will be used as the output file (used with the join command). if FILE is -,
standard output will be used.

RANGES


Each range must follow a filename or another range. A range in an MPEG file can be
specified using one of this three notations: Note for OSX Users: Ranges must be enclosed
in single or double Quotes!

[a-b] from value a inclusive to value b inclusive. If you want half opened ranges, you
may want to use ]a-b], [a-b[ or ]a-b[.

[n/ntot]
the n th part out of ntot. [1/4] would result in the first quarter of the
specified file.

{a-b-...}
with a , b , ... in ascending order. Split specified file at given boundaries.
{55M} therefore means from beginnig of file to 55Megs and from 55Megs to the end of
file.

VALID VALUES


Values of ranges can be specified in seconds or as a byte offset.

Time Format
HH:MM:SS.SS where the HH: part can be omited

Offset Format
a number optionally followed by M for Megabytes k for kilobytes

Omitted Values
An empty value is valid and is equivalent to the corresponding file boundary:
[-10M] are the first 10 Megabytes of the file.
[1:10:04-] from 1 hour 10 minutes 4 seconds to the end of file.

RETURN VALUE


All programs return 0 upon successful completion and 1 on failure.

EXAMPLES


mpgjoin movie1.mpg [-0:32] [45M-75M] movie2.mpg -o joined.mpg
joined.mpg will contain the first 32 seconds of movie1.mpg followed by 30 Megs of
movie1.mpg starting at 45 Megs followed by the whole file movie2.mpg

mpgtx -124 myfile.mpg -b output
will split myfile.mpg in 124 parts with names output-001.mpg to output-124.mpg

mpgtx -i Wazzup.mp3
will print infos about given file such as duration, bitrate, but also album, track,
song name if this file has an ID3 tag.

mpgcat myfile.mpg [2/2] | lpr
will redirect the second half of myfile.mpg to your printer, emptying it from toner
and paper and make you be fired by your boss... Use carefully.

Use mpginfo online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    GeoServer
    GeoServer
    GeoServer is an open-source software
    server written in Java that allows users
    to share and edit geospatial data.
    Designed for interoperability, it
    publishes da...
    Download GeoServer
  • 2
    Firefly III
    Firefly III
    A free and open-source personal finance
    manager. Firefly III features a
    double-entry bookkeeping system. You can
    quickly enter and organize your
    transactions i...
    Download Firefly III
  • 3
    Apache OpenOffice Extensions
    Apache OpenOffice Extensions
    The official catalog of Apache
    OpenOffice extensions. You'll find
    extensions ranging from dictionaries to
    tools to import PDF files and to connect
    with ext...
    Download Apache OpenOffice Extensions
  • 4
    MantisBT
    MantisBT
    Mantis is an easily deployable, web
    based bugtracker to aid product bug
    tracking. It requires PHP, MySQL and a
    web server. Checkout our demo and hosted
    offerin...
    Download MantisBT
  • 5
    LAN Messenger
    LAN Messenger
    LAN Messenger is a p2p chat application
    for intranet communication and does not
    require a server. A variety of handy
    features are supported including
    notificat...
    Download LAN Messenger
  • 6
    DrJava
    DrJava
    DrJava is a lightweight programming
    environment for Java designed to foster
    test-driven software development. It
    includes an intelligent program editor,
    an int...
    Download DrJava
  • More »

Linux commands

  • 1
    abiviewe
    abiviewe
    abiview - Display the trace in an ABI
    sequencer file ...
    Run abiviewe
  • 2
    abiword
    abiword
    abiword � flexible cross-platform word
    processor ...
    Run abiword
  • 3
    create_icons
    create_icons
    ctn_manpage - Generic CTN manual page
    DESCRIPTION: This is a generic manual
    package for a CTN program. All CTN
    programs will give their brief usage
    synopsis wh...
    Run create_icons
  • 4
    create_icons.94
    create_icons.94
    ctn_manpage - Generic CTN manual page
    DESCRIPTION: This is a generic manual
    package for a CTN program. All CTN
    programs will give their brief usage
    synopsis wh...
    Run create_icons.94
  • 5
    g.removegrass
    g.removegrass
    g.remove - Removes data base element
    files from the user�s current mapset
    using the search pattern. KEYWORDS:
    general, map management, remove ...
    Run g.removegrass
  • 6
    g.renamegrass
    g.renamegrass
    g.rename - Renames data base element
    files in the user�s current mapset.
    KEYWORDS: general, map management,
    rename ...
    Run g.renamegrass
  • More »

Ad