1 This project is still ON DEVELOPMENT. There is no gst-gpac release yet.
3 This project is a gstreamer element to mux .mp4 files based on gpac library
6 The current element only mux one stream (video MPEG4 or audio AAC).
8 Test pipeline for audio. Change input.mpg and output.mp4 as desired.
11 $ gst-launch-0.10 gpacmux name="mpg" ! filesink location="/tmp/output.mp4"
12 gnomevfssrc location="file:///tmp/input.mpg" ! decodebin name="d" { d. ! queue
13 ! ffdeinterlace ! videorate ! videoscale ! "video/x-raw-yuv, width=(int)320,
14 height=(int)240, framerate=(fraction)10/1" ! ffmpegcolorspace ! ffenc_mpeg4 !
15 "video/mpeg,mpegversion=4" ! queue ! fakesink } { d. ! queue ! audioconvert !
16 audioresample ! faac ! queue ! mpg. }
20 $ gst-launch-0.10 gpacmux name="mpg" ! filesink location="/tmp/output.mp4"
21 gnomevfssrc location="file:///tmp/input.mpg" ! decodebin name="d" { d. ! queue
22 ! ffdeinterlace ! videorate ! videoscale ! "video/x-raw-yuv, width=(int)320,
23 height=(int)240, framerate=(fraction)10/1" ! ffmpegcolorspace ! ffenc_mpeg4 !
24 "video/mpeg,mpegversion=4" ! queue ! mpg. } { d. ! queue ! audioconvert !
25 audioresample ! faac ! queue ! fakesink }
28 ### Contact person: hallyson"AT"gmail"DOT"com