How to trim .mpeg file without re-encode for free? FCPX?

Hello,


I have some .mpeg clips that have material at the front I don't want. FCPX doesn't recognize the file format during import and am also concerned about unncessary re-ecoding compression anyway. How can I simply trim my clips and still leave in it's file format? I own FCPX and Compressor.


thanks

MacBook Pro with Retina display, OS X Mavericks (10.9.4), Logic Pro X; Final Cut Pro

Posted on Oct 21, 2015 1:23 PM

Reply
9 replies

Oct 21, 2015 3:27 PM in response to SFSaxguy

the file extension is .mpeg. I tried MPEG Streamclip but it wouldn't open the files. I did just upgrade to El Capitan so could try again but the format details are:




General / Container Stream #1

Total Video Streams for this File.................1

Total Audio Streams for this File.................1

Video Codecs Used.................................AVC

Audio Codecs Used.................................AAC LC

File Format.......................................MPEG-TS

Play Time.........................................7mn 35s

Total File Size...................................93.9 MiB

Total Stream BitRate..............................1 728 Kbps

Video Stream #1

Codec (Human Name)................................AVC

Codec (FourCC)....................................27

Codec Profile.....................................Baseline@L3.1

Frame Width.......................................1 280 pixels

Frame Height......................................720 pixels

Display Aspect Ratio..............................16:9

Scan Type.........................................Progressive

Color Space.......................................YUV

Codec Settings (Summary)..........................3 Ref Frames

Codec Settings (CABAC)............................No

Codec Settings (Reference Frames).................3

Video Stream Length...............................7mn 35s 566ms

Video Stream BitRate (Nominal)....................1 500 Kbps

Bit Depth.........................................8 bits

Video Encoder.....................................x264 - core 124

Video Encoder (Settings)..........................cabac=0 / ref=3 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=36 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=24 / keyint_min=2 / scenecut=40 / intra_refresh=0 / rc_lookahead=30 / rc=cbr / mbtree=1 / bitrate=1500 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=1500 / vbv_bufsize=1500 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00

Audio Stream #1

Codec.............................................AAC

Codec (FourCC)....................................15

Audio Stream Length...............................7mn 35s 544ms

Audio Stream BitRate Mode.........................VBR

Number of Audio Channels..........................2

Sampling Rate.....................................44.1 KHz

Menu / Chapters Stream #1


Thanks all

Oct 21, 2015 3:43 PM in response to SFSaxguy

MPEG-TS (transport stream) is weird. There are convertors, try searching for "wondershare."


From wiki and other sources:


Transport streams differ from the similarly named program streams in several important ways: program streams are designed for reasonably reliable media, such as discs (like DVDs), while transport streams are designed for less reliable transmission, namely terrestrial or satellite broadcast. Further, a transport stream may carry multiple programs.

Use in digital video cameras[edit]

Transport Stream had been originally designed for broadcast. Later it was adapted for usage with digital video cameras, recorders and players by adding a 4-byte timecode (TC) to standard 188-byte packets, which resulted in a 192-byte packet.[12][13] This is what is informally called M2TS stream. Blu-ray Disc Associationcalls it "BDAV MPEG-2 transport stream".[12] JVC called it TOD (possibly an abbreviation for "Transport stream on disc") when used in HDD-based camcorders like GZ-HD7.[14][15] The timecode allows quick access to any part of the stream either from a media player, or from a non-linear video editing system.[16] It is also used to synchronize video streams from several cameras in a multi-camera shoot.

Use in Blu-ray[edit]

Filename extension .m2ts is used on Blu-ray Disc Video for files which contain an incompatible BDAV MPEG-2 transport stream due to the four additional octets added to every packet.[12][17] Blu-ray Disc Video titles authored with menu support are in the BDMV (Blu-ray Disc Movie) format and contain audio, video, and other streams in a BDAV container, which is based on the MPEG-2 transport stream format.[18][19] There is also the BDAV (Blu-ray Disc Audio/Visual) format, the consumer oriented alternative to the BDMV format used for movie releases. The BDAV format is used on BD-REs and BD-Rs for audio/video recording.[19] Blu-ray Disc employs the MPEG-2 transport stream recording method. That enables transport streams of a BDAV converted digital broadcast to be recorded as they are with minimal alteration of the packets.[13] It also enables simple stream cut style editing of a BDAV converted digital broadcast that is recorded as is and where the data can be edited just by discarding unwanted packets from the stream. Although it is quite natural, a function for high-speed and easy-to-use retrieval is built in.[13][20] Blu-ray Disc Video uses these modified MPEG-2 transport streams, compared to DVD's program streams that don't have the extra transport overhead.

Oct 21, 2015 3:57 PM in response to SFSaxguy

Wondershare\Filmora is much more a full (paid) editor than I am interested in. Do I really need a converter for this file format? I just want to trim some few frames of the clip. I got them from the free firefox extension Free Video Download helper and just saved a movie with default extension (.mpeg). Just a little cleanup and I'm happy....

Oct 21, 2015 4:10 PM in response to SFSaxguy

If it had been a program stream, Compressor could have opened it , trimmed it and exported as an MPEG PS. – but it can't open a transport stream.


MPEG Streamclip will open it but you'll need to buy the Quicktime Playback Component ($20 I recall) from Apple. Tom Wolsky has a write-up on how to install it.


You can, as David noted earlier, save it as a QuickTime in any number of codecs. But you won't be able to save it as a Transport Stream.


Good luck.


Russ

Oct 21, 2015 5:18 PM in response to SFSaxguy

Hello,


I found libav as a converter and Video DownloadHelper can leverage it for a number of save-to codecs. Attached is a screen shot of the output options.


What would be my best option with this particular type of stream (transport) to convert to, knowing that:


  1. I still want to trim the file a bit and use either FCPX or Compressor.
  2. I want to retain as much of the original "quality" as the original .mpeg file prior to conversion) after trimming is completed?
  3. Saved/edited file is most compatible with bi- OS playback (i.e. MAC and Windows; no DVD, etc); probably with VLC player.


thanks all,


User uploaded file

Oct 21, 2015 6:27 PM in response to SFSaxguy

Hello,


I found libav as a converter and Video DownloadHelper can leverage it for a number of save-to codecs. Attached is a screen shot of the output options.


What would be my best option with the particaulr type of stream to convert to knowing that:


  1. I still want to trim the file a bit
  2. I want to retain as much of the original "quality" as the original .mpeg file prior to conversion) after trimming is completed?
  3. most compatible with multi device playback (really, just MAC and Windows personal devices; no DVD, etc)

ANSWER: I just took the default .mp4 file, then could uses David's suggestion of trimming using MPEG Streamclip to trim with no loss.


thanks again everyone....

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to trim .mpeg file without re-encode for free? FCPX?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.