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.

TIVidenc1 only works with 320 x 240 or lower resolution

I am trying to stream a video feed from Gumstix to a base station and want to offload processing to DSP, so use TIVidenc1.
Using the commands suggested in the various online tutorial and examples, only resolutions smaller than 320x240 work when g-streamer is used in conjunction with TIVidenc1. 
I have tried other pipelines that do not use TIVidenc1 and can get higher resolutions albeit very poor performance.
So I know that camera supports a higher resolution but with TIVidenc1 I cannot stream with higher resolution.
Any suggestions.
Regards
Ali
  • Hi Ali,

    Could you give an example for the gstreamer's pipeline with TIVidenc1 which you are using and have not successful streaming with resolution greater then 320x240. This behaviour seems strange because the DSP C64x hasn't such limitation.

    Also give me an example of the pipeline without TIVidenc1 which you are using.

    BR

    Tsvetolin Shulev

  • Thanks for your reply. I am using the following pipelines.

    As you have correctly understood, I am unable to achieve resolution higher than 320x240.

    On the sender (with TIVidenc1)

    gst-launch-0.10 v4l2src ! video/x-raw-yuv,width=320,height=240 ! ffmpegcolorspace ! TIVidenc1 codecName=h264enc engineName=codecServer ! rtph264pay ! udpsink host=192.168.xx.xx port=xxxx

    On the sender (without TIVidenc1) (Note that higher resolution is possible this way but the performance is terrible even on lowest resolutions)

    gst-launch-0.10 videotestsrc ! video/x-raw-yuv,width=320,height=240 ! x264enc ! rtph264pay ! udpsink host=192.168..xx.xx port=xxxx

    On the receiver

    gst-launch-0.10 udpsrc port=xxxx caps='application/x-rtp' ! rtph264depay ! ffdec_h264 ! ffmpegcolorspace ! autovideosink

    I have checked with cmemk circular buffer (in loadmodules.sh) and it is 8MB which should be enough for any resolution. Also checked the dmesg output and says that it is initialised OK.

    Additional info: I am using a USB logitech HD webcam.

    Thanks

    Ali

  • Hi Ali,

    I'm trying to reproduce  the issue but didn't succeed and I need some additional information about your board and software release and version.

    BR

    Tsvetolin Shulev

  • Hi,
    Basic information is as follows:
    Gumstix Overo WaterCOM (Omap 3530, DSP C64x chip)
    OMAP3530-GP ES3.1.2, CPU-OPP2, L3-165MHz, Max CPU Clock 720 mHz
    Linux Angstrom kernel 2.6.34
    GStreamer 0.10
    Texas Instruments X-Loader 1.5.1
    OMAP3530-GP ES3.1.2
    Board revision: 1
    pools have been defined as follows:
    modprobe cmemk allowOverlap=1 phys_start=0x86300000 phys_end=0x87300000 \
            pools=1x8388608,1x6291456,1x345600,1x691200,1x1
    Can you please specify what additional information would be helpful?
    Thanks for your continued efforts.
    Ali
  • Hi Ali,

    I have tested the TIVidenc1 behaviour with different hardware (omap3530evm board) and software (dvsdk 4.03 with Linux kernel 2.6.37) therefore I think there are two possible reasons for your issue:

    - The network subsystem of your board has not enough throughput for streaming video with higher resolution

    - Possible to have some bugs in the Linux distribution which you are using

    But these assumptions should be checked.

    BR

    Tsvetolin Shulev

  • Hi,

    Once again, thanks for your continued help.

    I have tried using different network conditions including wired ethernet but same issue. I have also tried to record the video (no streaming) using filesink, but video files of resolution greater than 320 x 240 are just empty streams...

    So, what do you suggest is the best way forward.

    Thanks

    Ali 

  • Hi Ali,

    The last your tests eliminate the possibility the network throughput to be a reason for your issue. Therefore I recommend you to try with different software release DVSDK 4.03 for example.

    BR

    Tsvetolin Shulev