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.

  • Resolved

Linux/AM5718: How to set main profile and intra-interval properties in a GStreamer pipeline with ducatih264enc?

Mastermind 7560 points

Replies: 4

Views: 1819

Part Number: AM5718

Tool/software: Linux

Hi Champs,

I'd like to set main(or high) profile and intra-interval properties in a GStreamer pipeline w/ ducatih264enc.
Could you please let me know the example pipeline for it?

Regards,
j-breeze
  • Hi j-breeze,
    Can you try below pipeline
    gst-launch-1.0 -v videotestsrc num-buffers=100 ! 'video/x-raw, format=(string)NV12, width=(int)1280, height=(int)720, framerate=(fraction)30/1,bitrate=(int)30' ! ducatih264enc inter-interval=1 intra-interval=60 bitrate=4000 profile=77 ! h264parse ! filesink location=test.h264

    Execute gst-inspect-1.0 ducatih264enc on target to know the properties of the encoder plugin

    Ramprasad
  • In reply to Ramprasad:

    Hi Ramprasad,

    Thank you for your prompt reply and I'd like to ask you one more question.

    Can I use "rate-preset=low-delay" instead of "inter-interval=1" because I want to use B frames?

    Regards,
    j-breeze

  • In reply to j-breeze:

    HI j-breeze,
    If you want B frames , set inter-interval > 1.
    B frames and low-delay are contradictory to each other. For low-delay case, B frames should not be inserted
  • In reply to Ramprasad:

    Hi Ramprasad,

    I was able to insert B frames. Thank you for your prompt support.

    Regards,
    j-breeze

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.