[App] libScreenShot E/F/H

Here are software that related with Samsung F series TVs.
Please don't create any new topic here unless you have software to post/release.
Post Reply

zoelechat
SamyGO Moderator
Posts: 8615
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

[App] libScreenShot E/F/H

Post by zoelechat »

Lib captures TV screen to picture file (.BMP as default). Works on ANY source (HDMI, Smarthub apps, Analog...)
20150606110922.jpg
Usage:
  • First install latest samyGOso as usual, if needed.
  • Extract attached archive and copy libScreenShot.so to /mnt/opt/privateer/usr/libso (create folder if needed)
  • Execute

    Code: Select all

    samyGOso -d -T -B -l /mnt/opt/privateer/usr/libso/libScreenShot.so [arg1...argN]
Usable args are:
  • PATH:/full/path/to - Save screenshot to the given path (default is /dtv).
  • ALT - Alternative capture method, may work better on some TVs (at least T-FXP). Inject with -A instead of -T on F/H.
    -> This option saves to jpeg only and doesn't care of UPSIDE, COLOR, OSD, RAW and HD args (and JPG).
  • OSD - Capture OSD overlay only, in its native resolution. Inject with -A instead of -T on F/H.
  • JPG - Save capture as JPEG. (Known to cause crash on some TVs, especially H).
  • QUALITY:n - Sets JPEG quality (likely 1-100, default is 100, to be used with JPG or ALT).
  • RAW - Save screenshot in raw ARGB8888 bitmap format.
  • HD - Apply some upscaling to capture to save it as FullHD (has no effect on OSD/ALT).
  • UPSIDE - Use that arg if captured image is upside down (has no effect on OSD/ALT).
  • COLOR - Use that one if captured image has "funny" colors.
  • SOURCE - Add captured source suffix to filename (e.g.: _HDMI1 _OSD ...)
  • ALERT (experimental, E/F only) - Will show "Capture" and saved filename popups on capture (mandatory install of libAlert first).
Output filename format is YYYYMMDDHHMMSS.bmp/jpg/raw (same as recordings).
Fullscreen captures are natively 960x540 (1920x1080 if upscaled). OSD only captures can be up to 1920x1080.
ALT and OSD methods might work on D(arm) series as well, needs confirmation.

Archive also include scripts (E/F and H) to be used with libRCremap (as CMD), in case you want to map libScreenShot to an RC key. You might need to edit them to setup your prefered capture options (rcRemap_capture_EF / rcRemap_capture_H - Don't forget chmod +x !!).

Logfile is written to /dtv/ScreenShot.log and shows some useful infos:
SpoilerShow

Code: Select all

[ScreenShot] lib_init, >>>
[ScreenShot] Found data in frame buffer layer: 0
[ScreenShot] Frame buffer address: 0x48021000
[ScreenShot] [Alert] TEXT:'Capture !'
[ScreenShot] Resolution: 1280x720
[ScreenShot] Raw size: 0x384000
[ScreenShot] JPEG address: 0x9185158
[ScreenShot] JPEG size: 86703 (Quality: 100)
[ScreenShot] * Stored to /dtv/usb/sda1/20150615163616_OSD.jpg
[ScreenShot] [Alert] TEXT:20150615163616_OSD.jpg
[ScreenShot] Capture process took: 1088ms
[ScreenShot] <<< lib_deinit
*Changelog:

Code: Select all

13/7/2015
v0.2.9 - Fixed typo
15/6/2015
v0.2.8 - Added SOURCE and ALERT switches
       - Attached libRCremap scripts
8/6/2015
v0.2.5 - First public release
You do not have the required permissions to view the files attached to this post.
I do NOT receive any PM. Please use forum.
zoelechat
SamyGO Moderator
Posts: 8615
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [App] libScreenShot E/F/H

Post by zoelechat »

New version. Added SOURCE and ALERT options, and scripts to be used with libRCremap. See 1st post for usage/explanations.
I do NOT receive any PM. Please use forum.
User avatar
blackbox
SamyGO Project Donor
Posts: 144
Joined: Sun Mar 22, 2015 3:33 am
Location: Germany

Re: [App] libScreenShot E/F/H

Post by blackbox »

not working on my UE48H6600, tv Crash :(
UE48H6600 - T-GFSDEUC_1230.4 - SamyGO by mihd (stabel) and Oscam SVN r11399 Support.... :D
UE46ES6300 - T-MST10PDEUC_2007.0 SamyGO (stabel) and Oscam SVN r11399 Support.... :D
UE55J5550SU - T-HKMFDEUC_1480.4 - SamyGO and Oscam SVN r11399 Support....
!!!! Block OTN Update with Rooter !!!!
zoelechat
SamyGO Moderator
Posts: 8615
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [App] libScreenShot E/F/H

Post by zoelechat »

Sorry, I do not guarantee it works on non-MST H for now (obviously it doesn't :) )
Maybe try with ALT arg, it uses a totally different capture method, who knows...
(and paste log please)
I do NOT receive any PM. Please use forum.
User avatar
prairie
SamyGO Project Donor
Posts: 303
Joined: Wed May 04, 2011 10:30 pm

Re: [App] libScreenShot E/F/H

Post by prairie »

Works with F8500 (T-FXPAKUC) if ALT is used (pictures are tagged with SOURCE=TV instead of DTV1), ALERT works fine - neat feature. Can ALT be made to save in raw or PNG format? I would like to have unaltered RGB values from the frame buffer. So why the 1/2 size, are there two frame buffers that get combined to create the image? And if so, can both be saved?

thanks for this feature!
PN60F8500AFXZA
T-FXPAKUC 1206.3 + SamyGO

"BrickMaster 2015"
zoelechat
SamyGO Moderator
Posts: 8615
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [App] libScreenShot E/F/H

Post by zoelechat »

prairie wrote:if ALT is used (pictures are tagged with SOURCE=TV instead of DTV1).
Can ALT be made to save in raw or PNG format?
Expected and no, they're limitations of ALT method, as told in first post. Anyway, JPG at 100% quality is near to WYSIWYG.
prairie wrote:So why the 1/2 size
Because TV itself can't capture above (at least not in a way I was able to find), not my decision :)
prairie wrote:Are there two frame buffers that get combined to create the image? And if so, can both be saved?
"Framebuffers" concern only OSD and you can save both separately (in HD, without quality loss ;) ) but you'll never see "video in the background".
I do NOT receive any PM. Please use forum.
User avatar
blackbox
SamyGO Project Donor
Posts: 144
Joined: Sun Mar 22, 2015 3:33 am
Location: Germany

Re: [App] libScreenShot E/F/H

Post by blackbox »

OSD is Works with samyGOso -d -A -B -l
ALT is not Works -A or -T
UE48H6600 - T-GFSDEUC_1230.4 - SamyGO by mihd (stabel) and Oscam SVN r11399 Support.... :D
UE46ES6300 - T-MST10PDEUC_2007.0 SamyGO (stabel) and Oscam SVN r11399 Support.... :D
UE55J5550SU - T-HKMFDEUC_1480.4 - SamyGO and Oscam SVN r11399 Support....
!!!! Block OTN Update with Rooter !!!!
zoelechat
SamyGO Moderator
Posts: 8615
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [App] libScreenShot E/F/H

Post by zoelechat »

blackbox wrote:ALT is not Works -A or -T
Funny, everything seems fine... I fixed some typo, please try again new version (ALT and -A, crash is expected if you use -T).
I do NOT receive any PM. Please use forum.
User avatar
blackbox
SamyGO Project Donor
Posts: 144
Joined: Sun Mar 22, 2015 3:33 am
Location: Germany

Re: [App] libScreenShot E/F/H

Post by blackbox »

oky thanks, I can wait ... :)
UE48H6600 - T-GFSDEUC_1230.4 - SamyGO by mihd (stabel) and Oscam SVN r11399 Support.... :D
UE46ES6300 - T-MST10PDEUC_2007.0 SamyGO (stabel) and Oscam SVN r11399 Support.... :D
UE55J5550SU - T-HKMFDEUC_1480.4 - SamyGO and Oscam SVN r11399 Support....
!!!! Block OTN Update with Rooter !!!!
zoelechat
SamyGO Moderator
Posts: 8615
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [App] libScreenShot E/F/H

Post by zoelechat »

No need to wait, 1st post is already updated ;)
I do NOT receive any PM. Please use forum.

Post Reply

Return to “[F] Software”