Показано с 1 по 7 из 7

Тема: ScreenShot Utility for Windows

  1. #1
    Senior Member
    Регистрация
    13.12.2006
    Сообщений
    2,331

    ScreenShot Utility for Windows

    http://www.denktenk.com/modules/newb...=5037&forum=23

    This is a Windows application (it requires .net) to capture screenshots from the Relook. It automates the manual tasks of installing the files, and using FTP to get the captured file.

    To get the ScreenShot application, download the zipped files (at http://chputney.googlepages.com/screenshot)and unzip them to a directory. Run the application.

    The usage is easy. Change the Relook address box to your address, and user and password boxes and Relook directory boxes if necessary. Change the Windows directory box to where you wish to put the screenshots (or leave it alone and you can set the directory when the picture is saved.

    Use the "Install Grabber" button, the first time that you run the application. This will FTP three files (grabber.ko, grabpic, and fb2bmp) to the Relook directory, chmod these files, and then execute insmod grabber.ko. If grabber.ko is already installed, a status message will show this and it won't be installed twice.
    Use the "Screen Shot" button to capture a screen shot. The first time it is pressed, a telnet login is processed, so there are a few seconds delay for the first shot, but the next shots are done without a re-login.
    The captured file can be several different bitmap sizes, but the aspect ratio is not correct. This is corrected by loading the file into a pictureBox on the screen in the correct aspect ration. The 4:3 or 16:9 buttons change the view.
    The "Save the Shot" button saves the image to a file in the Windows directory (you can change this at Save time) with a unique name picXXXX.bmp in the aspect ratio chosen.

    When captured, the aspect ratios are typically not correct: 4:3 480 X 576, 544 X 576 720 X 576, 16:9 544 X 576, 720 X 576, NTSC 4:3 720 X 480.
    These are all saved as: 4:3 = 600 X 450, 16:9=700 X 394 to correct the aspect ratio.
    There is a problem with capturing NTSC pictures. I'm not sure if this is because the only NTSC I know may be 4:2:2 encoded or is a basic issue with grabber.

    This version captures only the video. I plan to add the menu in the next version.
    Tested with DGS 2.16, Neumo 2.13.6, and Fantacy 2.13.6. It seems that telnet to the Relook is not always consistent, so you may notice that the application stumbles the first time you perform a screenshot after you install the grabber. Good luck and happy capturing. Let me know any of any bugs you notice.

    Charles Putney
    http://chputney.googlepages.com/ScreenShot.zip

  2. #2
    Senior Member
    Регистрация
    13.12.2006
    Сообщений
    2,331

    Re: ScreenShot Utility for Windows

    http://denktenk.no-ip.org/misc/misc_...creenShot2.zip

    Version 2 of the ScreenShot is available here: http://chputney.googlepages.com/screenshot2

    Updates in version 2:
    The five input box values are saved so that your defaults are loaded on start.
    The "Screen Shot" button has an option to include the menu framebuffers.
    When viewing the screenshot, the video and menu framebuffers can be switched on or off.
    Framebuffer 1 transparency (called blend on the Relook) can be adjusted.
    The "Save the Shot" button saves the composite image as you see it.




    Usage:
    The usage is as version 1 (see version 1 here: http://chputney.googlepages.com/screenshot) with these additions:

    When you start the ScreenShot application, set the five input boxes to your own parameters and press the "Install Grabber" button. When the Grabber is uploaded and installed on the Relook, "Upload Done" appears on the status display.

    For a screenshot with no menus, use the "Screen Shot" button with the "Include Menu" radio button off. This captures the video buffer only. Adjust the aspect ratio as desired and then save the result with the "Save the Shot" button.

    If you want to include menus, click on the "Include Menu" radio button and then the "Screen Shot" button. This captures the video, framebuffer 1 and 2 (and the vignette is generated). Now use the radio buttons under the picture to switch the framebuffers on or off until you see the screen as you want it. Framebuffer 1 can be made transparent with the slider. Then save the result with the “Save the Shot” button.



    Further Details:
    The Relook display structure has framebuffer 2 at the back, video in the middle, and framebuffer 1 at the front. The Grabber and fb2bmp get these three framebuffers as bmp files, but do not get any information about how they are displayed. That’s why it is up to you to create the composite image. In the Relook channel menu, the active video is displayed as an inset menu. This is not available so it is created from the video and overlayed in the correct place as needed. On the Relook, framebuffer 1 can be transparent (blend level) but the routine fb2bmp does not capture any of this information. When the fb1.bmp file is downloaded, it is transformed from an 8BPP bmp to a 32BPP bmp with an alpha byte. (In this bmp, there is red, blue, green, and alpha for each pixel.) The colour that is intended to be completely transparent is sort of purple in the 8BPP bmp file. This colour is transformed to 0 for each of the RGBA bytes and now really is completely transparent. The rest of framebuffer 1 is completely opaque and since this framebuffer is on top of the video, will obscure it. The slider control, changes the alpha for each pixel and the framebuffer can be blended. The blending is performed for each colour of each pixel (regardless of the original video, it is converted to a “standard” bitmap of 720 X 576 so there are 414720 pixels of 4 bytes each !!) by the rule: new pixel colour = video_colour * fb1_alpha + fb1_colour * (1 – fb1_alpha) where alpha is between 0 and 1.



    With the Grabber, the small active video is not available, so it is created and can be overlayed on top of framebuffer 1. This kludge has the obvious drawback that this version can work correctly only if the small picture is in the right place in all versions. A future version could make this sizable and movable.
    Whoops: I forgot to add the three files needed to ScreenShot version 2. So if you unzipped it to the same directory as version 1, all is ok, but a new installation will be missing grabber etc. I have fixed this in the download at http://chputney.googlepages.com/screenshot2

  3. #3
    Senior Member
    Регистрация
    23.11.2007
    Сообщений
    473

    Re: ScreenShot Utility for Windows

    janigor
    Не сочти за труд. Объясни пожалуйста обычными словами, для чего эти скрин шоты и как куда они ставятся.

  4. #4
    Senior Member
    Регистрация
    13.12.2006
    Сообщений
    2,331

    Re: ScreenShot Utility for Windows

    Это программа для винды, с помощью которой через ФТП можно получить скриншот экрана с тюнера.

    To get the ScreenShot application, download the zipped files (at http://chputney.googlepages.com/screenshot)and unzip them to a directory. Run the application.

    The usage is easy. Change the Relook address box to your address, and user and password boxes and Relook directory boxes if necessary. Change the Windows directory box to where you wish to put the screenshots (or leave it alone and you can set the directory when the picture is saved.
    Для получения скриншота, нужно скачать архив и разархивировать в какой-то каталог. Запустить приложение.
    В проге указать адрес приемника, имя и пароль для входа в приемник. Указать каталог, в котором на компе будут сохраняться скрины.

  5. #5
    Senior Member
    Регистрация
    23.11.2007
    Сообщений
    473

    Re: ScreenShot Utility for Windows

    Ни screenshot2, ни screenshot не запустились - ошибка при инициализации приложения.

  6. #6
    Senior Member
    Регистрация
    13.12.2006
    Сообщений
    2,331

    Re: ScreenShot Utility for Windows

    Наверное нужно установить .NET Framework

    ... (it requires .net) ...

  7. #7
    Senior Member
    Регистрация
    23.11.2007
    Сообщений
    473

    Re: ScreenShot Utility for Windows

    Благодарю за подсказку

Ваши права

  • Вы не можете создавать новые темы
  • Вы не можете отвечать в темах
  • Вы не можете прикреплять вложения
  • Вы не можете редактировать свои сообщения
  •