Videorate (Fast AVI video speed)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Videorate (Fast AVI video speed)

ldac

    Hi all,

I am still trying to fix my "high speed avis" when displaying them. I have followed Arnaut's instructions (thanks a lot) and that seems to be the problem, but it has not been completely fixed.

    Using a webcam in my PC, and executing this pipeline the resulting AVI file is 'high-speed' (I record 15 "real life" seconds that are displayed in a video of 10 seconds lentgh):

gst-launch-0.10 v4l2src num-buffers=200 !
'video/x-raw-yuv,format=(fourcc)I420,width=640,height=480,framerate=(fraction)25/1' !
x264enc ! queue ! avimux ! filesink location=webcamtest.avi


but just adding videorate before the encoder element (x264enc), it is displayed properly. Fine.

    But in the board where I need to record the AVI file, when I add the videorate element, the pipeline hangs up (never finishes although it has the num-buffers property)!!

gst-launch-0.10 mfw_v4lsrc capture-width=640 capture-height=480 num-buffers=200 !
video/x-raw-yuv,format=\(fourcc\)I420,width=640,height=480,framerate=\(fraction\)25/1 ! videorate !
mfw_vpuencoder width=640 height=480 codec-type=std_avc qp=25 iinterval=25 ! h264parse !
queue ! avimux ! filesink location=board.avi

    Why??? How videorate works???

    Thanks a lot.
    All the best.
    LD.



------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel