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.

ti-dmai encoder problem

Other Parts Discussed in Thread: DM3730

Hi all,

          I have a Beagle board xM Rev.C on to which DVSDK 4.01 is ported. I decoded the demo video(davincieffect.mpeg4) using ti-dmai applications as given below.

 

root@beagleboard-dvsdk:/usr/share/ti/ti-dmai-apps# ./video_decode_io2_dm3730.x47

0MV -c mpeg4dec -i /usr/share/ti/data/videos/davincieffect.mpeg4 -o /media/sda1/

raw.yuv

Starting application...

Loader created and primed, entering main loop..

Loaded Frame 1: frame size 9967

Display Frame 1: Wrote UYVY frame size 1843200 (1280x720) to disk

Loaded Frame 2: frame size 491

Display Frame 2: Wrote UYVY frame size 1843200 (1280x720) to disk

Loaded Frame 3: frame size 19

Display Frame 3: Wrote UYVY frame size 1843200 (1280x720) to disk

Loaded Frame 4: frame size 19

Display Frame 4: Wrote UYVY frame size 1843200 (1280x720) to disk

Loaded Frame 5: frame size 491

Display Frame 5: Wrote UYVY frame size 1843200 (1280x720) to disk

Decoding operation completes without any problem. 
when i try to encode the generated .yuv file in resolution greater than 720x480 the encoding process does not happen. it reads two frames and the system hangs. encoding operation for 800x600 resolution is given below. 
root@beagleboard-dvsdk:/usr/share/ti/ti-dmai-apps# ./video_encode_io1_dm3730.x47
0MV -c mpeg4enc -i /media/sda1/raw.yuv -o /media/sda1/output.m4v -r 800x600
Starting application...
 Frame 0: Read UYVY frame size 960000 (800x600) from file
 Frame 1: Read UYVY frame size 960000 (800x600) from file
Has anyone faced this problem or is there any reasons why encoding operations stops or the system hangs.?
Thanking you,
Shravan Kulkarni

  • Hello,

    Please check the codec datasheet, iirc the codec packaged in DVSDK 4.01 supports D1 resolution. Whereas the DVSDK 4.02 codec supports upto 720P.

    Thanks

    Brijesh 

  • Hi Brijesh,

                       Thank you for your reply. Is there any patch or update for DVSDK 4.01 which makes it to encode 720p?  

                       Does DVDSK 4.02 support Beagleboard-xM Rev.C straight away or does it need any patch such that DVSDK 4.02 works with Beagleboard-xM Rev.C?

     

    Thanking you,

    Shravan Kulkarni

  • Hello,

    There is no patch release, you have to move to DVSDK 4.02 to get 720P encode. I do not see any reason why this will not work on beagleXM (which i believe is based on DM3730 and have the same DSP). Please note that we validate everything on TI DM3730 EVM and i do not know the details of Beagleboard kernel patches/toolchain hence i am not sure if it will work straight away.

     

    Thanks

    Brijesh