This project is still ON DEVELOPMENT. There is no gst-gpac release yet.

This project is a gstreamer element to mux .mp4 files based on gpac library
(http://gpac.sf.net).

The current element only mux one stream (video MPEG4 or audio AAC).

Test pipeline for audio. Change input.mpg and output.mp4 as desired.

-- Audio only --
$ gst-launch-0.10 gpacmux name="mpg" ! filesink location="/tmp/output.mp4"
gnomevfssrc location="file:///tmp/input.mpg" ! decodebin name="d" { d. ! queue
! ffdeinterlace ! videorate ! videoscale ! "video/x-raw-yuv, width=(int)320,
height=(int)240, framerate=(fraction)10/1" ! ffmpegcolorspace ! ffenc_mpeg4 !
"video/mpeg,mpegversion=4" ! queue ! fakesink } { d. ! queue ! audioconvert !
audioresample ! faac !  queue ! mpg. }


-- Video only --
$ gst-launch-0.10 gpacmux name="mpg" ! filesink location="/tmp/output.mp4"
gnomevfssrc location="file:///tmp/input.mpg" ! decodebin name="d" { d. ! queue
! ffdeinterlace ! videorate ! videoscale ! "video/x-raw-yuv, width=(int)320,
height=(int)240, framerate=(fraction)10/1" ! ffmpegcolorspace ! ffenc_mpeg4 !
"video/mpeg,mpegversion=4" ! queue ! mpg. } { d. ! queue ! audioconvert !
audioresample ! faac !  queue ! fakesink }


### Contact person: hallyson"AT"gmail"DOT"com