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.

Frame rate and resolution

On DM355 EVM, I am experimenting with DVTB. When playing a video in VLC recorded using DVTB the playback seems to be running a bit too fast. What could be the reason? What is the proper way to record a video with reduced frame rate? What parameters do I need to set to change the resolution of the recorded video to a different value (say 320 x 240)?

  • Keep in mind that DVTB is meant for testing and verification of the video capabilities of the device, not necessarily for end product development. A more suitable framework would be something like GStreamer. 

    Gennadiy Kiryukhin said:
    When playing a video in VLC recorded using DVTB the playback seems to be running a bit too fast. What could be the reason? What is the proper way to record a video with reduced frame rate?

    DVTB operates on raw streams which have no timing data, so it operates as fast as the video allows it. Adjusting the frame rate of a recording does not appear to be inherently supported by DVTB, this is something you could do in your own custom software by simply not passing every so many frames into the video codec. The TargetFrameRate parameter in DVTB is for the codec to understand what rate you are actually passing into the codec for keeping proper bitrate statistics, not to actually change the rate.

    Gennadiy Kiryukhin said:
    What parameters do I need to set to change the resolution of the recorded video to a different value (say 320 x 240)?

    To properly use a lower resolution you would need to scale your incoming video before passing it to the codec, there does not appear to be any inherent support in DVTB for using the resizer or software to achieve this. Much like your prior question this is something you could handle in your own custom application, in this case by scaling the incoming video, or cropping out the section you want to encode into a contiguous buffer.