[gst-devel] Change Framerate of recorded stream
Wes Miller
wmiller at sdr.com
Wed Aug 25 18:38:37 CEST 2010
Rob,
Well, it looks like a good start, but it doesn't quite work. Any
suggestions based on the following?
Wes
As written (with filename fixes):
gst-launch-0.10 gnlfilesource duration=10000000000000 \
media-duration=100000000000 \
location="file:///c:/gstreamer/bin/2.mkv"
\
! autovideosink
I get:
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element
/GstPipeline:pipeline0/GnlFileSource:gnlfilesource0: Could not perform
seek on resource.
Additional debug info:
..\..\..\Source\gnonlin\gnl\gnlsource.c(332): ghost_seek_pad ():
/GstPipeline:pipeline0/Gn
lFileSource:gnlfilesource0:
Sending initial seek to upstream element failed
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
If I replace autovideosink with fakesink -v I get:
Setting pipeline to PAUSED ...
/GstPipeline:pipeline0/GnlFileSource:gnlfilesource0/GstURIDecodeBin:internal-uridecodebin:
source = (GstFileSrc) source
/GstPipeline:pipeline0/GnlFileSource:gnlfilesource0/GstURIDecodeBin:internal-uridecodebin/
GstDecodeBin2:decodebin20/GstTypeFindElement:typefind.GstPad:src: caps
= video/x-matroska
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GnlFileSource:gnlfilesource0/GstURIDecodeBin:internal-uridecodebin/
GstDecodeBin2:decodebin20/GstMatroskaDemux:matroskademux0.GstPad:sink:
caps = video/x-matr
oska
/GstPipeline:pipeline0/GnlFileSource:gnlfilesource0/GstURIDecodeBin:internal-uridecodebin/
GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0.GstPad:sink0: caps
= image/jpeg, width
=(int)640, height=(int)480, framerate=(fraction)25/1
/GstPipeline:pipeline0/GnlFileSource:gnlfilesource0/GstURIDecodeBin:internal-uridecodebin/
GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0: max-size-buffers =
5
/GstPipeline:pipeline0/GnlFileSource:gnlfilesource0/GstURIDecodeBin:internal-uridecodebin/
GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0: max-size-bytes =
2097152
ERROR: from element
/GstPipeline:pipeline0/GnlFileSource:gnlfilesource0: Could not perform
seek on resource.
Additional debug info:
..\..\..\Source\gnonlin\gnl\gnlsource.c(332): ghost_seek_pad ():
/GstPipeline:pipeline0/Gn
lFileSource:gnlfilesource0:
Sending initial seek to upstream element failed
ERROR: pipeline doesn't want to preroll.
/GstPipeline:pipeline0/GnlFileSource:gnlfilesource0/GstURIDecodeBin:internal-uridecodebin/
GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0.GstPad:src0: caps =
image/jpeg, width=
(int)640, height=(int)480, framerate=(fraction)25/1
/GstPipeline:pipeline0/GnlFileSource:gnlfilesource0/GstURIDecodeBin:internal-uridecodebin/
GstDecodeBin2:decodebin20/GstJpegDec:jpegdec0.GstPad:sink: caps =
image/jpeg, width=(int)6
40, height=(int)480, framerate=(fraction)25/1
/GstPipeline:pipeline0/GnlFileSource:gnlfilesource0.GstGhostPad:src0:
caps = video/x-raw-y
uv, format=(fourcc)I420, width=(int)704, height=(int)480,
framerate=(fraction)25/1
/GstPipeline:pipeline0/GnlFileSource:gnlfilesource0/GstURIDecodeBin:internal-uridecodebin.
GstGhostPad:src0: caps = video/x-raw-yuv, format=(fourcc)I420,
width=(int)704, height=(int
)480, framerate=(fraction)25/1
/GstPipeline:pipeline0/GnlFileSource:gnlfilesource0/GstURIDecodeBin:internal-uridecodebin/
GstDecodeBin2:decodebin20.GstDecodePad:src0: caps = video/x-raw-yuv,
format=(fourcc)I420,
width=(int)704, height=(int)480, framerate=(fraction)25/1
/GstPipeline:pipeline0/GnlFileSource:gnlfilesource0/GstURIDecodeBin:internal-uridecodebin/
GstDecodeBin2:decodebin20/GstJpegDec:jpegdec0.GstPad:src: caps =
video/x-raw-yuv, format=(
fourcc)I420, width=(int)704, height=(int)480, framerate=(fraction)25/1
Setting pipeline to NULL ...
/GstPipeline:pipeline0/GnlFileSource:gnlfilesource0.GstGhostPad:src0:
caps = NULL
/GstPipeline:pipeline0/GnlFileSource:gnlfilesource0/GstURIDecodeBin:internal-uridecodebin.
GstGhostPad:src0: caps = NULL
/GstPipeline:pipeline0/GnlFileSource:gnlfilesource0/GstURIDecodeBin:internal-uridecodebin/
GstDecodeBin2:decodebin20.GstDecodePad:src0: caps = NULL
/GstPipeline:pipeline0/GnlFileSource:gnlfilesource0/GstURIDecodeBin:internal-uridecodebin/
GstDecodeBin2:decodebin20/GstJpegDec:jpegdec0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GnlFileSource:gnlfilesource0/GstURIDecodeBin:internal-uridecodebin/
GstDecodeBin2:decodebin20/GstJpegDec:jpegdec0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GnlFileSource:gnlfilesource0/GstURIDecodeBin:internal-uridecodebin/
GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0.GstPad:sink0: caps
= NULL
/GstPipeline:pipeline0/GnlFileSource:gnlfilesource0/GstURIDecodeBin:internal-uridecodebin/
GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0.GstPad:src0: caps =
NULL
/GstPipeline:pipeline0/GnlFileSource:gnlfilesource0/GstURIDecodeBin:internal-uridecodebin/
GstDecodeBin2:decodebin20/GstMatroskaDemux:matroskademux0.GstPad:video_00:
caps = NULL
/GstPipeline:pipeline0/GnlFileSource:gnlfilesource0/GstURIDecodeBin:internal-uridecodebin/
GstDecodeBin2:decodebin20/GstMatroskaDemux:matroskademux0.GstPad:sink:
caps = NULL
/GstPipeline:pipeline0/GnlFileSource:gnlfilesource0/GstURIDecodeBin:internal-uridecodebin/
GstDecodeBin2:decodebin20/GstTypeFindElement:typefind.GstPad:src: caps
= NULL
Freeing pipeline ...
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Change-Framerate-of-recorded-stream-tp2336869p2338536.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list