[gst-devel] Using mkv (mjpeg) files with gnlcomposition/gnlfilesource
Edward Hervey
bilboed at gmail.com
Thu Jul 1 22:18:11 CEST 2010
On Thu, 2010-07-01 at 11:42 -0700, Wes Miller wrote:
> PIPELINE
>
> gst-launch gnlcomposition \
> { \
> gnlfilesource name="s1" location="/home/wmiller/2.mkv" \
> start=0 duration=5000000000 media-start=0
> media-duration=5000000000 \
> } \
> ! queue2 ! matroskademux ! image/jpeg ! jpegdec !
> ffmpegcolorspace ! videorate ! autovideosink
>
1/ gnlfilesource already decodes the stream for you. No need for
another demuxer/decoder, so remove the second-to-last line above.
2/ You might want to specify the stream to use from the file (if
there's both audio and video for example) by setting the caps property
on gnlfilesource (ex : caps="video/x-raw-yuv")
Edward
>
More information about the gstreamer-devel
mailing list