gst-gpac/README
author melunko
Thu Feb 21 17:54:48 2008 +0000 (2008-02-21)
branchtrunk
changeset 919 ec8c246e9d29
parent 917 be87d28e8371
permissions -rw-r--r--
[svn r928] Added some information at README
melunko@917
     1
This project is still ON DEVELOPMENT. There is no gst-gpac release yet.
melunko@917
     2
melunko@917
     3
This project is a gstreamer element to mux .mp4 files based on gpac library
melunko@917
     4
(http://gpac.sf.net).
melunko@917
     5
melunko@917
     6
The current element only mux one stream (video MPEG4 or audio AAC).
melunko@917
     7
melunko@919
     8
Test pipeline for audio. Change input.mpg and output.mp4 as desired.
melunko@917
     9
melunko@919
    10
-- Audio only --
melunko@919
    11
$ gst-launch-0.10 gpacmux name="mpg" ! filesink location="/tmp/output.mp4"
melunko@919
    12
gnomevfssrc location="file:///tmp/input.mpg" ! decodebin name="d" { d. ! queue
melunko@919
    13
! ffdeinterlace ! videorate ! videoscale ! "video/x-raw-yuv, width=(int)320,
melunko@919
    14
height=(int)240, framerate=(fraction)10/1" ! ffmpegcolorspace ! ffenc_mpeg4 !
melunko@919
    15
"video/mpeg,mpegversion=4" ! queue ! fakesink } { d. ! queue ! audioconvert !
melunko@919
    16
audioresample ! faac !  queue ! mpg. }
melunko@917
    17
melunko@919
    18
melunko@919
    19
-- Video only --
melunko@919
    20
$ gst-launch-0.10 gpacmux name="mpg" ! filesink location="/tmp/output.mp4"
melunko@919
    21
gnomevfssrc location="file:///tmp/input.mpg" ! decodebin name="d" { d. ! queue
melunko@919
    22
! ffdeinterlace ! videorate ! videoscale ! "video/x-raw-yuv, width=(int)320,
melunko@919
    23
height=(int)240, framerate=(fraction)10/1" ! ffmpegcolorspace ! ffenc_mpeg4 !
melunko@919
    24
"video/mpeg,mpegversion=4" ! queue ! mpg. } { d. ! queue ! audioconvert !
melunko@919
    25
audioresample ! faac !  queue ! fakesink }
melunko@919
    26
melunko@919
    27
melunko@919
    28
### Contact person: hallyson"AT"gmail"DOT"com
melunko@919
    29