Resizing video, and adjusting frame rate

Nuzut nickyonts at gmail.com
Mon Jan 18 11:43:29 PST 2016


I'll give you guys a rundown of my problem. 

I've got a video being that is being transmitted over RTSP using the
gst-rtsp-server with the pipeline: "( rpicamsrc preview=0 bitrate=600000 !
video/x-h264,width=640, height=480,framerate=24/1 ! rtph264pay
config-interval=1 name=pay0 pt=96 )". This works pretty well. My issue is I
want to scale the video to 320x240 and have it at around 1 frame every 5
seconds. 

Here's what I have so far: gst-launch-1.0 rtspsrc
location=rtsp://192.168.0.223:8554/media latency=0 ! rtph264depay !
decodebin ! glupload ! glcolorscale !
video/x-raw,format=RGBA,width=320,height=240, framerate=1/5 ! glimagesink
sync=0
If I try to add "frame rate" to the caps I get the error: **
(gst-launch-1.0:3088): CRITICAL **: gst_video_frame_map_id: assertion
'info->width <= meta->width' failed
ERROR: from element
/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLImageSink:sink:
Failed to convert multiview video buffer

I've also tried: gst-launch-1.0 rtspsrc
location=rtsp://192.168.0.223:8554/media latency=0 ! rtph264depay !
decodebin ! videoconvert ! videoscale ! videorate !
video/x-raw,framerate=1/5 ! glupload ! glcolorscale !
"video/x-raw,format=RGBA,width=320,height=240" ! glimagesink sync=0 
with the result of: WARNING: erroneous pipeline: could not link
glcolorscale0 to glimagesinkbin0

I'm doing this on the RPi2, with the newest gstreamer from git. If anyone
could offer any advice that'd be awesome! :D





--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Resizing-video-and-adjusting-frame-rate-tp4675360.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list