# HG changeset patch # User melunko # Date 1203616488 0 # Node ID ec8c246e9d29634f57a00211f67f0becdf4bcabd # Parent e565e84cefaba66b8316a6f84f0f89bb6b29c41b [svn r928] Added some information at README diff -r e565e84cefab -r ec8c246e9d29 gst-gpac/README --- a/gst-gpac/README Thu Feb 21 17:52:35 2008 +0000 +++ b/gst-gpac/README Thu Feb 21 17:54:48 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 +