diff -r be87d28e8371 -r 04cd5e61dca3 gst-gpac/README --- a/gst-gpac/README Thu Feb 21 17:44:16 2008 +0000 +++ b/gst-gpac/README Mon Feb 25 14:12:27 2008 +0000 @@ -5,7 +5,25 @@ The current element only mux one stream (video MPEG4 or audio AAC). -Test pipeline for audio. Change input.mpg and output.mpg as desired. +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. } -Contact person: hallyson"AT"gmail"DOT"com + +-- 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 +