All pastes #188954 Raw Edit

tamere

public unlisted shellscript v1 · immutable
#188954 ·published 2006-10-02 18:01 UTC
rendered paste body
#! /bin/sh## My 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).## In the code below v4lsrc was replaced with a PNG image for easier# testing at home...## Problem : Keeps PREROLLING.#gst-launch --gst-debug-level=3 \  oggmux name=finalmux \  ! queue \  ! filesink location=out.ogg  videomixer name=picmux \  ! ffmpegcolorspace \  ! theoraenc bitrate=1024 quality=32 \  ! queue \  ! finalmux.  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. \  gnomevfssrc location=mypicture.png \  ! pngdec \  ! ffmpegcolorspace \  ! videoscale ! video/x-raw-yuv,width=640,height=480 \  ! videobox left=-352 border-alpha=0 alpha=1 \  ! queue \  ! picmux. \  gnomevfssrc location=myfile.dv \  ! queue \  ! 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 \    ! vorbisenc bitrate=64000 \    ! queue \    ! finalmux. \    }