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.

AM5728: Save file into USB HDD with GStreamer

Part Number: AM5728

Hello,

Card: Ti AM5728 evm

Kernel: 4.4.41

I use the pipeline below to encode and save file.mp4:

gst-launch-1.0 -e v4l2src device=/dev/video1 num-buffers=1110 io-mode=4 ! 'video/x-raw, \
format=(string)YUY2, width=(int)1280, height=(int)720, framerate=(fraction)30/1' ! timeoverlay ! vpe num-input-buffers=8 ! \
queue ! ducatih264enc bitrate=4000 ! queue ! h264parse ! qtmux ! filesink location=test.mp4

 

In fact I want to save this in a USB hard disc not in a sd card.

Best regards :)

Faiez,

  • The software team have been notified. They will respond here.
  • Hello,

    Faiez said:

    gst-launch-1.0 -e v4l2src device=/dev/video1 num-buffers=1110 io-mode=4 ! 'video/x-raw, \
    format=(string)YUY2, width=(int)1280, height=(int)720, framerate=(fraction)30/1' ! timeoverlay ! vpe num-input-buffers=8 ! \
    queue ! ducatih264enc bitrate=4000 ! queue ! h264parse ! qtmux ! filesink location=test.mp4

    You could change the location where the video file to be stored by setting the path in the filesink's location property.

    Here is example:

    .... qtdemux ! filesink location=/media/...../folder1/folder2/...

    BR

    Margarita