This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

scrambled video

Other Parts Discussed in Thread: TMS320DM368

hello ! 

i am running tms320dm368 withdvsdk 4.02.x.

i am running a gstreamer pipeline to record video and later run another pipeline to play the video but the recorded video is scrambled. please guide what could be wrong. the pipelines i am using are given below.

pipeline to record the video is

gst-launch -v v4l2src input-src=composite ! video/x-raw-yuv, h
eight=576, width=720,format=\(fourcc\)NV12 ! queue ! TIVidenc1 engineName=codecS
erver codecName=h264enc contiguousInputFrame=TRUE ! queue ! filesink location=te
st_video2.264

pipeline to play the video 

gst-launch -v filesrc location=test_video2.264 ! TIViddec2 eng
ineName=codecServer codecName=h264dec ! tidisplaysink2 display-output=component

please guide 

Asad

  • Hi,

    Please review the gstreamer pipelines provided in the Software Developer's Guide.

    As a second step I would try the pipelines without the TI accelerated codecs to narrow down the issue.

    Thanks

    Cesar

  • thanks cesar for your reply.

    bringing in  TIPrepEncBuf corrected the video.

    resulting pipeline which worked was

    gst-launch -vvv v4l2src input-src=composite ! video/x-raw-yuv,

    height=576,width=736, format=\(fourcc\)NV12 ! TIPrepEncBuf! queue!  TIVidenc1 engineName=codecServer codecName=h264enc contiguousInputFrame=TRUE ! mpegtsmux ! filesink location=new.ts

    thanks again

    Asad