Author Topic: mpeg-2 to mp4  (Read 115 times)

cell166

  • Newbie
  • *
  • Posts: 1
mpeg-2 to mp4
« on: November 29, 2016, 02:28:13 AM »
I am a super newbie to Avidemux.  When I trim an mpeg-2 video and output the edited video to mp4, I get the following error message:  "Only MP4Video, H264, and H265 supported for video".  Am I missing a step?  Thanks!

eumagga0x2a

  • Hero Member
  • *****
  • Posts: 781
Re: mpeg-2 to mp4
« Reply #1 on: November 29, 2016, 06:45:05 AM »
As the error message says, you can't keep the MPEG-2 codec in a MP4 (or MP4v2) container. If you wish to avoid re-encoding, select Mpeg-PS (.mpg), Mpeg-TS (.ts) or MKV (.mkv) as muxer/output format. If you insist on MP4 or MP4v2, you will have to re-encode video, e.g. into Mpeg4 AVC (x264) and probably also the audio into AAC.