H.264 in MPEG-2 container?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • F-Man
    Junior Member
    Junior Member
    • Aug 2006
    • 3

    H.264 in MPEG-2 container?

    Hey, I have some video files using the H.264 codec and an .mpg extension. According to MediaCoder, they're in an MPEG-2 container, and needless to say, not many players seem to support said files (from Winamp to WMP to even VLC), only one I could get to work so far is Media Player Classic.

    Anyway, I was wondering how I could convert them to another container such as AVI to make them more... playable. VirtualDub say "MPEG Import Filter: invalid pack at position 3: maker bit not set; possibly MPEG-2 stream.", VirtualDubMod crashes and MediaCoder doesn't seem to support the input file (and also crashed before I updated it to the very latest build).

    What shall I do?
  • anonymez
    Super Moderator
    • Mar 2004
    • 5525

    #2
    avc in mpeg ps/ts is better than in avi. try mplayer to extract raw streams and mux to mp4 or mkv with YAMB or mkvmerge respectively.
    "What were the things in Gremlins called?" - Karl Pilkington

    Comment

    • F-Man
      Junior Member
      Junior Member
      • Aug 2006
      • 3

      #3
      mplayer doesn't seem to be able to play the video as well.

      I get this:

      Too many audio packets in the buffer: <4096 in 8273920 bytes>.
      Maybe you are playing a non-interleaved stream/file or the codec failed?
      For AVI files, try to force non-interleaved mode with the -ni option.
      MPEG: FATAL: EOF while searching for sequence header.
      Video: Cannot read properties.

      Comment

      Working...