omapfbplayer

Hello there,

Does anybody knows how to use the omapfbplay utility in the beagleboard. What are the command lines switches?

Thanks,

Terry

Quoting Pedro Cruz <pcruz@libertypr.net>:

Does anybody knows how to use the omapfbplay utility in the beagleboard. What are the command lines switches?

Not knowing omapfbplayer I took a short look at the repository:

http://git.mansr.com/?p=omapfbplay;a=blob;f=omapfbplay.c;h=ad35bd5df1bfa5d66e3793f19b1cbf98cae1361f;hb=34293052c5a2ae328eac6903512e6b4ce19b5639

The argument interpretation runs after the following code:

   while ((opt = getopt(argc, argv, "b:d:fFM:P:st:T:v:")) != -1) {
       switch (opt) {
       case 'b':
           bufsize = strtol(optarg, NULL, 0) * 1048576;
           break;
       case 'd':
           dispdrv = optarg;
           break;
       case 'F':
           noaspect = 1;
       case 'f':
           flags |= OFBP_FULLSCREEN;
           break;
       case 'M':
           memman_drv = optarg;
           break;
       case 'P':
           pixconv_drv = optarg;
           break;
       case 's':
           flags &= ~OFBP_DOUBLE_BUF;
           break;
       case 't':
           test_param = optarg;
           break;
       case 'T':
           timer_drv = optarg;
           break;
       case 'v':
           codec_drv = optarg;
           break;
       }
   }

b seems to be the framebuffer size in MB
d name of the display driver
F disable aspect ratio
f Enable Fullscreen playback
M name of the Memory manager driver
...

I'll bet, you'll find out the rest yourself by chasing the variables and their usage :wink:

Hope that helps
Ueli