Video is slow when recording video and audio in matroska container

amyl amsel47 at gmail.com
Thu Oct 25 16:59:37 PDT 2012


I am using the TI DM365 EVM to record 720p video and audio into a container
file.  I have gstreamer version 0.10.  When playing back the recorded file,
the video frame rate is slow (3-10 frames per second), while the audio is
normal.  I am using TI codecs to take advantage of the DSP.  Here is my
pipeline:

gst-launch v4l2src always-copy=FALSE num-buffers=5000 
! 'video/x-raw-yuv, format=(fourcc)NV12, framerate=(fraction)30/1,
width=(int)1280, height=(int)720' 
! tee name=t 
! queue max-size-bytes=0 max-size-buffers=0 max-size-time=10000000000 
! TIVidenc1 codecName=h264enc engineName=codecServer
contiguousInputFrame=TRUE bitRate=80000000 rateControlPreset=1
encodingPreset=1 
! mux. alsasrc num-buffers=-1 typefind=TRUE do-timestamp=TRUE 
! audio/x-raw-int,width=16  ! queue max-size-bytes=0 max-size-buffers=0
max-size-time=10000000000 
! TIAudenc1 codecName=aaclcenc engineName=codecServer genTimeStamps=true
numOutputBufs=2 numChannels=2 bitrate=128000 samplefreq=44100  
! queue max-size-bytes=0 max-size-buffers=0 max-size-time=10000000000 
! audio/mpeg, mpegversion=4 
! matroskamux name=mux ! filesink location=vidaudtest.mkv qos=FALSE
sync=true t. 
! queue 
! TIDmaiVideoSink videoStd=720P_60 videoOutput=component sync=false
hideOSD=true contiguousInputFrame=TRUE numBufs=3 useUserptrBufs=TRUE
qos=FALSE -v --gst-debug-level=3 &>log.txt

I'd like to know if there are any changes I can make to this pipeline to
improve its performance.  Thanks



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Video-is-slow-when-recording-video-and-audio-in-matroska-container-tp4656710.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list