Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-28-2005, 06:27 AM   #1
LQ Newbie
Registered: Feb 2005
Location: Hamburg
Distribution: Debian
Posts: 6

Rep: Reputation: 0
cut mpegs with ffmpeg

can anybody tell me how to cut a mpeg-Video in the console.
If posible at I-Frames.

Best if I can use ffmpeg.

maybe you can post some code for ffmpeg.

I don't want to use an big tool and I don't want to use X.
Old 08-29-2005, 10:59 PM   #2
Senior Member
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 336Reputation: 336Reputation: 336Reputation: 336
You can use the mpgsplit utility, part of the mpgtx package. From the man page:

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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
mpegs Bob Vila Linux - Software 2 12-03-2003 01:37 PM
How To Play Mpegs lil213 Linux - Software 2 10-14-2003 03:26 PM
Combining mpegs? BajaNick Linux - Software 4 09-25-2003 11:50 PM
mpegs in linx bitterjack Linux - Newbie 3 09-12-2003 02:17 AM
konqueror and MPEGS esteeven Linux - General 1 03-26-2002 07:23 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:02 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration