gst-gpac/README
author melunko
Thu Mar 13 16:29:38 2008 +0000 (2008-03-13)
branchtrunk
changeset 942 c93bfa74c71f
parent 917 be87d28e8371
permissions -rw-r--r--
[svn r951] gmyth now is 0.8.1. Added methods epg_is_connected() and scheduler_is_connected()
     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