All pastes #189150 Raw Edit

tamere

public shellscript v1 · immutable
·published 2006-10-02 21:29 UTC
rendered paste body
#! /bin/sh                                                                                                     #                                                                                                              # My second attempt at implementing this :                                                                     #                                                                                                              #   http://sf.net/mailarchive/forum.php?thread_id=30671995&forum_id=5947                                       #                                                                                                              # In the code below dv1394src was replaced with a file extracted with                                          # dvgrab because dv1394src segfaults on my Debian box (bug #369936).                                           #                                                                                                              gst-launch \                                                                                                     videomixer name=picmux \                                                                                       ! ffmpegcolorspace \                                                                                           ! theoraenc bitrate=1024 quality=32 \                                                                          ! oggmux name=finalmux finalmux. \                                                                             ! filesink location=out.ogg \                                                                                  gnomevfssrc location=mylogo.png \                                                                              ! pngdec \                                                                                                     ! ffmpegcolorspace \                                                                                           ! videoscale ! video/x-raw-yuv,width=352,height=192 \                                                          ! videobox top=-288 bottom=0 left=0 right=-640 border-alpha=0 alpha=1 \                                        ! queue \                                                                                                      ! picmux. \                                                                                                    v4lsrc device=/dev/video0 copy-mode=false \                                                                    ! videoscale ! video/x-raw-yuv,width=640,height=480 \                                                          ! videobox left=-352 border-alpha=0 alpha=1 \                                                                  ! queue \                                                                                                      ! picmux. \                                                                                                    gnomevfssrc location=myfile.dv \                                                                               ! decodebin name=dvdecoder \                                                                                     dvdecoder.video0 { \                                                                                           ! videoscale ! video/x-raw-yuv,width=352,height=288 \                                                          ! ffmpegcolorspace \                                                                                           ! videobox top=0 bottom=-192 left=0 right=-640 border-alpha=0 alpha=1 \                                        ! queue \                                                                                                      ! picmux. \                                                                                                    } \                                                                                                        #    dvdecoder.audio0 \                                                                                        #    ! audioconvert ! audio/x-raw-float,channels=1 \                                                           #    ! vorbisenc min-bitrate=32000 max-bitrate=64000 \                                                         #    ! queue \                                                                                                 #    ! finalmux. \