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.

Displaying 320x240 Stills

Dear All

I have a 320x240 RGB666 LCD hooked up to my own DM355 board - which I have successfully modified the drivers to support (LSP 01_20_01_014, DVSDK_1_30_01_41). I can write succesfully to OSD using the simplewidgets based drawing utils and displaying 16 bit bitmaps and drawing boxes/text etc works well. I also understand how the transparency works.

First point, I need to test the video window of the fb driver but need some information after unsuccessful attempts to do this. I think I need to create a 320x240 YUYV raw image that I can then copy to the video window. Is there a way to create this raw file from a JPEG/MPEG on a PC  easily ?

Second issue is that I have modified the decode demo removing a lot of the OSD parts etc. However it does not seem to matter what I present (so long as it has the .mpeg4 extension) the applciation always drops out to 'Total Iframes:0, P-Frames:0, B-Frames:0, IDR-frames:0 rejected:0' - there are no errors reported on startup, the application reports successful Video, OSD,Codec setup as well as Entering display,cotnrol and video main loops.

I have used Arcsoft Media Convertor to create a 320x240 AVI which I pass to MEDIACODER  using the command line :

mencoder myfile.avi -ovc raw -of rawvideo -nosound -vf scale=320:240,format=UYVY -o myfile.yuv

I then use the enc applicaiton on the DM355 to create a myfile.mpeg4 . This appears to work successfully.

 

Any pointers on what I may be doing wrong. Also, if the format is not 320x240 can I still expect some sort of output to video ?

 

Many thanks

 

Garry J

 

  • Hello,

    I should have been a bit clearer - the process of creating the mpeg4 using MEDIACODER and the DM355 enc application appears to be successful, i.e. I create an .mpeg4 without reporting any errors, however the same fail occurs using 'decode' on this .mpeg4  i.e. no video output or attempt to play the mpeg4 file at all. The only output is the titles of the stats on the OSD ( reformatted to fit the 320x240)

    Any help welcomed.

    Cheers

     

    Garry J