Hi everyone,
I use a gst-launch command to encode video, which as follow:
gst-launch -v v4l2src device=/dev/video9 \
! ffmpegcolorspace ! videoscale ! \
video/x-raw-yuv,format=\(fourcc\)UYVY, width=704, height=576 ! \
TIVidenc1 codecName=h264enc \
engineName=codecServer ! filesink location=sample.264
I can get the '"sample.264" file , but when i play it , the speed is so fast than normal .
it likes play with fast forward X3 or X4 speed.
gst-launch filesrc location=sample.264 ! \
typefind ! h264parse ! TIViddec2 padAllocOutbufs=TRUE ! queue ! tidisplaysink2 -v device=/dev/video7
it must be something wrong with my encode ,Who can tell me what the problem is.
I used dm3730evm DVSDK 4.03 and a USB camera YUV420
Thanks in advance.