Anotações de Pablo Lorenzzoni (AKA spectra)

WebSite

http://hackers.propus.com.br/~pablo/

Anotações Diversas

GStreamer

pipeline para converter DVD para Ogg/Theora/Vorbis extraido do codigo do Thoggen:

{
    oggmux name=mux
  ! identity name=outidentity
  ! filesink name=filesink

  {   dvdreadsrc name=src
    ! dvddemux name=demux
    .%s
    ! {
          queue name=q-a-in
        ! %s
        ! audioconvert
        ! audioscale
        ! audio/x-raw-int,rate=44100,channels=2
        ! audioconvert
        ! rawvorbisenc name=a-encoder
        ! queue name=q-a-out
        ! mux.
      }
      {
          demux.%s
        ! queue name=q-v-in
        ! mpeg2dec
        ! videorate
        ! video/x-raw-yuv,framerate=(double)%u.0
        ! videocrop left=%u right=%u top=%u bottom=%u
        ! deinterlace
        ! thyuvscale
        ! video/x-raw-yuv,width=%u,height=%u
        ! theoraenc name=v-encoder
        ! queue name=q-v-out
        ! mux.
      }
  } 
}

pipeline DVD para Ogg/Theora/Vorbis dado pelo autor do Thoggen em http://lists.xiph.org/pipermail/theora/2005-March/000785.html

{oggmux name=mux ! filesink name=filesink  {  dvdreadsrc 
device=/dev/dvd title=0 ! dvddemux  name=demux .audio_00  ! { queue ! 
a52dec ! audioconvert ! audioscale ! audio/x-raw-int,rate=44100,channels=2 ! 
audioconvert ! rawvorbisenc ! queue ! mux. } { demux.video_01 ! queue ! 
mpeg2dec ! videorate ! video/x-raw-yuv,framerate=\(double\)25.0 ! videocrop 
left=4 right=4 top=32 bottom=32 ! deinterlace ! videoscale ! 
video/x-raw-yuv,width=384,height=288 ! theoraenc ! queue ! mux. } } }

Mais um pipeline. Desta vez com saida para a tela http://advogato.org/person/rbultje/diary.html?start=39

gst-launch oggmux name=mux ! filesink location=/tmp/file.ogg { dvdreadsrc
location=/dev/cdrom ! dvddemux name=demux .audio_00 ! { queue ! a52dec
! audioconvert ! rawvorbisenc ! queue ! mux. } { demux.video_00 ! queue
! mpeg2dec ! ffcolorspace ! videoscale
! video/x-raw-yuv,width=384,height=288 ! tee name=t
! { queue ! theoraenc ! queue ! mux. } } } { t. ! queue
! ffcolorspace ! ximagesink }

Mesmo autor acima, outro pipeline. Desta vez em http://sourceforge.net/mailarchive/forum.php?forum_id=5947&max_rows=25&style=nested&viewmonth=200411

$ gst-launch-0.8 $muxer name=mux ! filesink location=$outfile { filesrc
location=$infile ! $demuxer name=demux ! { queue ! $decoder !
ffmpegcolorspace ! $encoder ! queue ! m. } { demux. ! { queue !
$adecoder ! audioconvert ! $aencoder ! queue ! m. } }

-- PabloLorenzzoni - 10 Jun 2005

Topic revision: r2 - 11 Jun 2005 - 00:29:13 - PabloLorenzzoni

Warning: Can't find topic TWiki.WebLeftBarSearch



Warning: Can't find topic TWiki.WebLeftBarWebsList

 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Wiki-SL? Send feedback