Help - Search - Members - Calendar
Full Version: How to convert from mpg to mp4 container?
Hydrogenaudio Forums > Digital Audio/Video > General A/V
enry2k
Hi
The famous Mainconcept h.264 encoder uses an mpg file format unlike NeroDigital or QuickTime7 which use a mp4 container. Is there any way to convert from mpg to mp4 without recompression?

Regards

Enrico
i4004
.mpg is more robust way to store video, so why do you want to convert at all?

anyway
http://forum.doom9.org/showthread.php?t=93927
(was i faster than kurt? hehe)
smok3
mp4box -add film.mpg film.mp4

may just work.

mp4box compiles & info:
http://forum.doom9.org/showthread.php?t=94874

------------

mp4box -h format
returns:

Suppported raw formats and file extensions:
NHNT .media .nhnt .info
MPEG Audio .mp3
ADTS-AAC .aac
MPEG-4 Visual .cmp .m4v
H263 Video .263 .h263
AVC/H264 Video .h264 .h26L .264 .26L
JPEG Images .jpg .jpeg
PNG Images .png
AMR(WB) Audio .amr .awb
EVRC Audio .evc
SMV Audio .smv

Supported containers and file extensions:
AVI .avi
MPEG-PS .mpg .mpeg .vob .vcd .svcd
QCP .qcp
OGG .ogg
ISO-Media files no extension checking

Supported text formats:
SRT Subtitles .srt
SUB Subtitles .sub
GPAC Timed Text .ttxt
QuickTime TeXML Text .xml (cf QT documentation)

Supported Scene formats:
MPEG-4 XMT-A .xmt .xmta .xmt.gz .xmta.gz
MPEG-4 BT .bt .bt.gz
VRML .wrl .wrl.gz
X3D-XML .x3d .x3d.gz
X3D-VRML .x3dv .x3dv.gz
MacroMedia Flash .swf (very limitted import support only)


edit: right, yamb will do it as well, since it is a mp4box gui...
kurtnoise
QUOTE(i4004 @ Nov 8 2005, 08:25 AM)
anyway
http://forum.doom9.org/showthread.php?t=93927
(was i faster than kurt? hehe)
*


coz I'm not a mp4 fan...tongue.gif

In addition to the smok3 answer, if your mpg file has an ac3/dts stream, you must specify the flag for the video :

mp4box -add film.mpg#video film.mp4
enry2k
Thank you very much for your valuable replies

I will try to do what you have suggested.

I want to get files in an mp4 container to play in hardware players that will use it like the new Ipod.

I was wondering what kind of container will be used in the new Hd dvd and blue ray will be adopted?

Regards
Enrico
i4004
QUOTE
I was wondering what kind of container will be used in the new Hd dvd and blue ray will be adopted?


they wil probably use some structure simillar to present-day dvd (vobs) with program streams (and other stuff) inside, ie you probably have better chances with mainconcept's .mpg streams than with .mp4 when it comes to compatibility with new disc formats.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.