melunko@917: This project is still ON DEVELOPMENT. There is no gst-gpac release yet. melunko@917: melunko@917: This project is a gstreamer element to mux .mp4 files based on gpac library melunko@917: (http://gpac.sf.net). melunko@917: melunko@917: The current element only mux one stream (video MPEG4 or audio AAC). melunko@917: melunko@919: Test pipeline for audio. Change input.mpg and output.mp4 as desired. melunko@917: melunko@919: -- Audio only -- melunko@919: $ gst-launch-0.10 gpacmux name="mpg" ! filesink location="/tmp/output.mp4" melunko@919: gnomevfssrc location="file:///tmp/input.mpg" ! decodebin name="d" { d. ! queue melunko@919: ! ffdeinterlace ! videorate ! videoscale ! "video/x-raw-yuv, width=(int)320, melunko@919: height=(int)240, framerate=(fraction)10/1" ! ffmpegcolorspace ! ffenc_mpeg4 ! melunko@919: "video/mpeg,mpegversion=4" ! queue ! fakesink } { d. ! queue ! audioconvert ! melunko@919: audioresample ! faac ! queue ! mpg. } melunko@917: melunko@919: melunko@919: -- Video only -- melunko@919: $ gst-launch-0.10 gpacmux name="mpg" ! filesink location="/tmp/output.mp4" melunko@919: gnomevfssrc location="file:///tmp/input.mpg" ! decodebin name="d" { d. ! queue melunko@919: ! ffdeinterlace ! videorate ! videoscale ! "video/x-raw-yuv, width=(int)320, melunko@919: height=(int)240, framerate=(fraction)10/1" ! ffmpegcolorspace ! ffenc_mpeg4 ! melunko@919: "video/mpeg,mpegversion=4" ! queue ! mpg. } { d. ! queue ! audioconvert ! melunko@919: audioresample ! faac ! queue ! fakesink } melunko@919: melunko@919: melunko@919: ### Contact person: hallyson"AT"gmail"DOT"com melunko@919: