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.

DM368EVM Print Statements to Console No Longer Appear When Launching Encode from the Touch Screen

Hi I have a question regarding print statements to the console, which print out when I run the encode/decode applications manually, but no longer print out when I launch the same applications from the touch screen.

I'm working with the DM368EVM Rev G.  On my target file system, I run the decode/encode software from the following directory:  /usr/share/ti/dvsdk-demos/   I'm logged in to the EVM through the serial port and I execute the following command to run the encode software:  ./encode -v ../data/videos/test.264 -y 3 -r 1280x720 -b 1000000 -I 4 -f

This sets up the encoder for 720p encoding at 1MBps without storing the video to a file.  When I run that command, I get print statements which I added to the encode main on my console.  Similiar with the decode, I get debug print statements which I added.  In both cases, using printf. 

I also modified the encode shell script to run that same command when I select the encode option from the touch screen on the EVM.  I did this to bypass the config window and the on screen display.  Everything launches successfully, the only thing I no longer see is my printf statements to the console.  There are some print statements that do show up, but these are all from the kernel space I believe.

Any ideas what the difference is between running it manually and launching from the matrix gui?  Is there a way to get my printf statements to show up on the console when launching from the matrix gui? 

Thanks!

Derek

  • Hi, looked into this a bit more today.

    When I press "decode" and "run" on the touchscreen, it then executes the decode shell scipt in /usr/bin/

    I wonder if something could be added to the shell script to direct the printf statements to the console.  Any ideas?

    As a note, running the shell script manually, the print statements work fine, just not when the touchscreen launches the application.

    Derek