gst-gpac/README
author melunko
Thu Feb 28 08:10:55 2008 +0000 (2008-02-28)
branchtrunk
changeset 932 58d43e2186ba
parent 917 be87d28e8371
permissions -rw-r--r--
[svn r941] gmyth-dbus-server mysql connection timeout increased to 10seconds
     1 This project is still ON DEVELOPMENT. There is no gst-gpac release yet.
     2 
     3 This project is a gstreamer element to mux .mp4 files based on gpac library
     4 (http://gpac.sf.net).
     5 
     6 The current element only mux one stream (video MPEG4 or audio AAC).
     7 
     8 Test pipeline for audio. Change input.mpg and output.mp4 as desired.
     9 
    10 -- Audio only --
    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. }
    17 
    18 
    19 -- Video only --
    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 }
    26 
    27 
    28 ### Contact person: hallyson"AT"gmail"DOT"com
    29