1.1 --- a/gst-gpac/README Thu Feb 21 17:44:16 2008 +0000
1.2 +++ b/gst-gpac/README Thu Mar 13 16:29:38 2008 +0000
1.3 @@ -5,7 +5,25 @@
1.4
1.5 The current element only mux one stream (video MPEG4 or audio AAC).
1.6
1.7 -Test pipeline for audio. Change input.mpg and output.mpg as desired.
1.8 +Test pipeline for audio. Change input.mpg and output.mp4 as desired.
1.9
1.10 +-- Audio only --
1.11 +$ gst-launch-0.10 gpacmux name="mpg" ! filesink location="/tmp/output.mp4"
1.12 +gnomevfssrc location="file:///tmp/input.mpg" ! decodebin name="d" { d. ! queue
1.13 +! ffdeinterlace ! videorate ! videoscale ! "video/x-raw-yuv, width=(int)320,
1.14 +height=(int)240, framerate=(fraction)10/1" ! ffmpegcolorspace ! ffenc_mpeg4 !
1.15 +"video/mpeg,mpegversion=4" ! queue ! fakesink } { d. ! queue ! audioconvert !
1.16 +audioresample ! faac ! queue ! mpg. }
1.17
1.18 -Contact person: hallyson"AT"gmail"DOT"com
1.19 +
1.20 +-- Video only --
1.21 +$ gst-launch-0.10 gpacmux name="mpg" ! filesink location="/tmp/output.mp4"
1.22 +gnomevfssrc location="file:///tmp/input.mpg" ! decodebin name="d" { d. ! queue
1.23 +! ffdeinterlace ! videorate ! videoscale ! "video/x-raw-yuv, width=(int)320,
1.24 +height=(int)240, framerate=(fraction)10/1" ! ffmpegcolorspace ! ffenc_mpeg4 !
1.25 +"video/mpeg,mpegversion=4" ! queue ! mpg. } { d. ! queue ! audioconvert !
1.26 +audioresample ! faac ! queue ! fakesink }
1.27 +
1.28 +
1.29 +### Contact person: hallyson"AT"gmail"DOT"com
1.30 +