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.

Linux: ubuntu 14.04

Other Parts Discussed in Thread: AM5728

Tool/software: Linux

hello

I am work in AM5728 -EVM,my SDK is ti-processor-sdk-linux-rt-am57xx-evm-02.00.02.11-Linux-x86-Install.bin The Host is ubuntu14.04 ,

when I use the command:

>>>> runIvahdH264Enc.sh 

I can get a file named "airshow_p352x288.h264" in home dir,but I can't play it in anyways,so I don't know what the file is, I play it with VLC.

Can you help me?

Thanks.

  • Hello,

    The runIvahdH264Enc.sh script is running gstreamer pipeline:


    machine_type="`cat /etc/hostname`"
    filename="/usr/share/ti/video/airshow_p352x288.yuv"
    output="/home/root/airshow_p352x288.h264"

    if [ ! -f $filename ]; then
    echo "Video clip not found"
    exit 1
    fi
    echo ""
    echo "Run H.264 Encoding on IVAHD"
    echo "The encoded output will be saved to /home/root directory"
    echo ""

    gst-launch-1.0 filesrc location=$filename ! videoparse width=352 height=288 format=nv12 ! ducatih264enc ! filesink location=$output

    You could try to run the gstreamer pipeline but please set the locations.


    I am not sure what you mean by "I can't play it in anyways,so I don't know what the file is". Do you mean you can not play the encoded file .h264. If yes please try to play it with :
    gst-launch-1.0 playbin uri=file:///<path_to_file> video-sink=kmssink

    I would recommend you to check this guide also:
    processors.wiki.ti.com/.../Processor_Training:_Multimedia

    BR
    Margarita