[gst-devel] video playback fast

Pavan Kumar Patale pavanpatale at hotmail.com
Mon Sep 18 20:00:09 CEST 2006


Hi,

I tried to create simple avi file by caputring raw-video from my ibm webcam 
using pipeline
$gst-launch-0.8 -v avimux name=mux ! filesink location=test.avi v4lsrc ! 
ffmpegcolorspace ! mux.

When i try to playback using the pipeline
gst-launch-0.8 -v filesrc location=test.avi ! avidemux ! ffmpegcolorspace !  
xvimagesink

The video plays back at a very faster rate.

The verbose mode shows framerate=25 while both recording as well as 
playback.

Could anyone pls let me know what could be problem ?.  Same is with 
gstreamer-0.10 also.

Thanks,
Pavan.

While Recording:-
+++++++++++++++
$gst-launch-0.8 -v avimux name=mux ! filesink location=test.avi v4lsrc ! 
ffmpegcolorspace ! mux.

RUNNING pipeline ...
/pipeline0/mux.src: caps = video/x-msvideo
/pipeline0/filesink0.sink: caps = video/x-msvideo
/pipeline0/ffmpegcolorspace0.src: caps = video/x-raw-yuv, width=(int)16, 
height=(int)16, framerate=(double)25, format=(fourcc)I420
/pipeline0/mux.video_00: caps = video/x-raw-yuv, width=(int)16, 
height=(int)16, framerate=(double)25, format=(fourcc)I420
/pipeline0/ffmpegcolorspace0.src: caps = video/x-raw-yuv, width=(int)320, 
height=(int)240, framerate=(double)25, format=(fourcc)I420
/pipeline0/mux.video_00: caps = video/x-raw-yuv, width=(int)320, 
height=(int)240, framerate=(double)25, format=(fourcc)I420
/pipeline0/v4lsrc0.src: caps = video/x-raw-rgb, bpp=(int)24, depth=(int)24, 
endianness=(int)4321, red_mask=(int)255, green_mask=(int)65280, 
blue_mask=(int)16711680, width=(int)320, height=(int)240, 
framerate=(double)25
/pipeline0/ffmpegcolorspace0.sink: caps = video/x-raw-rgb, bpp=(int)24, 
depth=(int)24, endianness=(int)4321, red_mask=(int)255, 
green_mask=(int)65280, blue_mask=(int)16711680, width=(int)320, 
height=(int)240, framerate=(double)25
/pipeline0/mux.src: active = TRUE
/pipeline0/mux.video_00: active = TRUE
/pipeline0/filesink0.sink: active = TRUE
/pipeline0/v4lsrc0.src: active = TRUE
/pipeline0/ffmpegcolorspace0.sink: active = TRUE
/pipeline0/ffmpegcolorspace0.src: active = TRUE


While Running:-
+++++++++++
gst-launch-0.8 -v filesrc location=test.avi ! avidemux ! ffmpegcolorspace !  
xvimagesink

RUNNING pipeline ...
/pipeline0/filesrc0.src: caps = video/x-msvideo
/pipeline0/avidemux0.sink: caps = video/x-msvideo
/pipeline0/filesrc0.src: active = TRUE
/pipeline0/avidemux0.sink: active = TRUE
/pipeline0/avidemux0.video_00: active = TRUE
/pipeline0/avidemux0.video_00: caps = video/x-raw-yuv, format=(fourcc)I420, 
framerate=(double)25, width=(int)320, height=(int)240
/pipeline0/ffmpegcolorspace0.sink: caps = video/x-raw-yuv, 
format=(fourcc)I420, framerate=(double)25, width=(int)320, height=(int)240
/pipeline0/ffmpegcolorspace0.sink: active = TRUE
/pipeline0/ffmpegcolorspace0.src: active = TRUE
/pipeline0/ffmpegcolorspace0.src: caps = video/x-raw-yuv, width=(int)320, 
height=(int)240, framerate=(double)25, format=(fourcc)YUY2
/pipeline0/xvimagesink0.sink: caps = video/x-raw-yuv, width=(int)320, 
height=(int)240, framerate=(double)25, format=(fourcc)YUY2
/pipeline0/xvimagesink0.sink: active = TRUE
/pipeline0/filesrc0.src: active = FALSE
/pipeline0/xvimagesink0.sink: active = FALSE
/pipeline0/ffmpegcolorspace0.sink: active = FALSE
/pipeline0/ffmpegcolorspace0.src: active = FALSE
/pipeline0/avidemux0.sink: active = FALSE
/pipeline0/avidemux0.video_00: active = FALSE
Execution ended after 29 iterations (sum 1111548000 ns, average 38329241 ns, 
min 460000 ns, max 71090000 ns).
/pipeline0/filesrc0.src: caps = NULL
/pipeline0/avidemux0.sink: caps = NULL
/pipeline0/ffmpegcolorspace0.src: caps = NULL
/pipeline0/xvimagesink0.sink: caps = NULL






More information about the gstreamer-devel mailing list