[19. April 2013] A-400 Advanced Network Setup now available | [11 Jan. 2013] Customize your A-400 Home Screen

Firmware: A-400 [13 May 2013] | C-300 [30 Nov. 2012] | A-300 [30 Nov. 2012] | C-200 [21 Jan. 2013] | A-200/A-210 [10 Aug. 2012]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Thread Closed 
TankTV (AppleTV Clone & Gaya replacement)
01-13-2010, 12:10 AM (This post was last modified: 01-21-2010 04:18 PM by banquo.)
Post: #46
RE: TankTV (AppleTV Clone & Gaya replacement)
Hi, thanks for sharing this but unfortunately I can't get it to work on my pch-a100. Sad

I installed 0.0.2 through CSI but got the white screen error reported above. So I uninstalled lighttppd and tried again, however it appears to crash the hdmi output as soon as you select the web services link, as the screen goes black and will only respond to a restart. When the PCH restarts, the TankTV link has disappeared from the web services menu, although according to CSI its still installed and is running. Huh

I'm running firmware 01-17-091022-15-POP-402-000 and I also have mpd 0.15.1, mpd audio plugin 0.15.1 and telnetd 1.14.1 installed.

Here is the contents of the tanktv.log file.

Code:
(*) DirectFB/Config: Active DTV standard hdtv60
(*) DirectFB/Config: Active DTV signal sdtv
(*) DirectFB/Config: Active DTV connector hdmi
(*) DirectFB/Config: Active Component standard hdtv60
(*) DirectFB/Config: Active Component signal sdtv
(*) DirectFB/Config: Active Component connector ycrcb
(*) DirectFB/Config: Active Analog standard ntsc
(*) DirectFB/Config: Active Analog signal ntsc
(*) DirectFB/Config: Active Analog connector cvbs
(*) DirectFB/Config: Driver options file /etc/smp8634rc
(!) DirectFB/Config: Unable to open config file `//.directfbrc'!
(!) DirectFB/Config: Unable to open config file `/etc/directfbrc.tanktv'!
(!) DirectFB/Config: Unable to open config file `//.directfbrc.tanktv'!

     =======================|  DirectFB 1.0.0  |=======================
          (c) 2001-2007  The DirectFB Organization (directfb.org)
          (c) 2000-2004  Convergence (integrated media) GmbH
        ------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2009-10-22 11:41)
(!) System initialised
(*) Direct/Thread: Running 'EM86 Input' (INPUT, 2533)...
(*) DirectFB/Input: EM86xx remote control 0.1 (SigmaDesigns)
(!) Driver getting globals=0x47df30
[src/mem_mngr.c:325]


Platform configuration:
    DRAM0 = 128 MB, DRAM1 = 128 MB


[src/mem_mngr.c:331] DCC-HD memory configuration:
    Unmapped: DRAM0 = 0.0 MB,    DRAM1 = 10.9 MB
    Mapped:   DRAM0 = 0.0 MB,    DRAM1 = 44.9 MB
[src/mem_mngr.c:335] MMAP_DRAM0_UNMAPPED_BASE = 0x1
[src/mem_mngr.c:335] MMAP_JPEG_BASE = 0xae040e
[src/mem_mngr.c:335] MMAP_MONO_BASE = 0x40a
[src/mem_mngr.c:335] MMAP_MONO_EXT_BASE = 0xd5440e
[src/mem_mngr.c:335] MMAP_VIDEO_1_BASE = 0xae000e
[src/mem_mngr.c:335] MMAP_AUDIO_0_BASE = 0xae000e
[src/mem_mngr.c:335] MMAP_AUDIO_0_SHADOW_BASE = 0xd5400e
[src/mem_mngr.c:335] MMAP_AUDIO_1_BASE = 0xae000e
[src/mem_mngr.c:335] MMAP_AUDIO_1_SHADOW_BASE = 0xae000e
[src/mem_mngr.c:335] MMAP_DRAM0_MEMPOOL_UNMAPPED_BASE = 0x2
[src/mem_mngr.c:335] MMAP_DEMUX_BASE = 0x80000b
[src/mem_mngr.c:335] MMAP_DEMUX_OUTPUT_BASE = 0xa6000b
[src/mem_mngr.c:335] MMAP_MISC_BASE = 0xaa000b
[src/mem_mngr.c:335] MMAP_DRAM1_UNMAPPED_BASE = 0x9
[src/mem_mngr.c:335] MMAP_VIDEO_0_BASE = 0xa
[src/mem_mngr.c:335] MMAP_SPU_BASE = 0x50000a
[src/mem_mngr.c:335] MMAP_VIDEO_2_BASE = 0x80000a
[src/mem_mngr.c:335] MMAP_VIDEO_3_BASE = 0x100000a
[src/mem_mngr.c:335] MMAP_VIDEO_4_BASE = 0x180000a
[src/mem_mngr.c:335] MMAP_DRAM1_MEMPOOL_UNMAPPED_BASE = 0x80000a
[src/mem_mngr.c:335] MMAP_DRAM0_BASE = 0x5
[src/mem_mngr.c:335] MMAP_CPS_BASE = 0x6
[src/mem_mngr.c:335] MMAP_DirectFB_BASE = 0xfc800e
[src/mem_mngr.c:335] MMAP_DRAM0_MEMPOOL_BASE = 0x6
[src/mem_mngr.c:335] MMAP_DRAM1_BASE = 0xae000d
[src/mem_mngr.c:335] MMAP_DRAM1_MEMPOOL_BASE = 0x37c800e
[src/mem_mngr.c:335] MMAP_DCCHD_DATA_BASE = 0x37c800f
[src/mem_mngr.c:335] MMAP_IG_DB_BASE = 0xae000e
[src/mem_mngr.c:335] MMAP_IG_PLANE_BASE = 0xae000e
[src/mem_mngr.c:335] MMAP_PG_DB_BASE = 0xae000e
[src/mem_mngr.c:335] MMAP_PG_EB_BASE = 0xae000e
[src/mem_mngr.c:335] MMAP_PG_CB_BASE = 0x6
[src/mem_mngr.c:335] MMAP_IG_CB_BASE = 0x6
[src/mem_mngr.c:335] MMAP_TS_EB_BASE = 0x6
[src/mem_mngr.c:335] MMAP_TS_FONT_BASE = 0x6
[src/mem_mngr.c:335] MMAP_BDMV_SOUND_BASE = 0x6
[src/mem_mngr.c:335] MMAP_PG_PLANE_BASE = 0xae000e
[src/mem_mngr.c:335] MMAP_IG_EB_BASE = 0xae000e
[src/mem_mngr.c:426] DCC-HD MRUA memory manager configuration:
    0x2 DRAM 0 unmapped bytes (0.000002 MBs) at 0x1790fc94
    0xae0002 DRAM 1 unmapped bytes (10.875002 MBs) at 0x252a42a4
    0x2 DRAM 0 mapped bytes (0.000002 MBs) at 0x1790fc84
    0x2 DRAM 1 mapped bytes (44.906250 MBs) at 0x225bc294
[src/mem_mngr.c:633] MRUA memory map ID MMAP_VIDEO_2_BASE (0x80000a) of size 0x2e0000 allocated at 0x25aa42a4[src/mem_mngr.c:639]
[src/mem_mngr.c:959] ! FAILED to retrieve address of memory map object ID 0xfc800e - object not allocated!
[src/mem_mngr.c:460]     0x2e0000 DRAM 1 unmapped bytes in memory pool at 0x25aa42a4
[src/mem_mngr.c:633] MRUA memory map ID MMAP_DirectFB_BASE (0xfc800e) of size 0x2800000 allocated at 0x22aa4294[src/mem_mngr.c:637]  (virtual 0x2cd60294)[src/mem_mngr.c:639]
(*) DirectFB driver/Config: Connector command "-digital -dvi_hdmi siI9030 -hdmi2c 2 -f HDMI_" for connector 20
(*) DirectFB driver/Config: Force the use of unsupported TV modes
(*) EM863x: Initialized driver
(*) EM863x: Initialized device
(*) DirectFB/Graphics: EM86xx Software Rasterizer 0.1 (Sigma Designs)
[HDMI] ========================== creating pDH ==========================
[HDMI] Detected part at I2C device address 0x72: vendor 0x0001, device 9253, rev.0x02 (Silicon Image)
[HDMI] Using the part: SiI9030 (4), Vendor ID is 0x0001 / 0x9253
[HDMI]    ***   Rx changed, is now ON
[HDMI]    ***   Clock changed, is now STABLE
(*) SMP863x: Reading current HDCP SRM file from non-volatile memory at /mnt/sigma/hdcp.srm
(!) SMP863x: Error: could not open persistent HDCP SRM file: /mnt/sigma/hdcp.srm
(*) SMP863x: No SRM available, fall back to empty, valid HDCP SRM
(*) SMP863x: Writing new HDCP SRM file to non-volatile memory at /mnt/sigma/hdcp.srm
(!) SMP863x: Error: could not open persistent HDCP SRM file for writing
(!) SMP863x: Error: Failed to store empty HDCP SRM in flash memory!
(*) SMP863x: em86_update_video_settings: setting HDMI status to 'Disconnected' (0x4)
(*) SMP863x: em86_dfb2sglobals_synchronize_video_module_config: setting HDMI status to 'Disconnected' (0x4)
(*) SMP863x: em86_dfb2sglobals_synchronize_video_module_config: setting HDMI status to 'Disconnected' (0x4)
(*) Checking  combination: DSOS_NONE, DSOS_SDTV, DSOS_NTSC
(*) Confirmed combination: DSOS_NONE, DSOS_SDTV, DSOS_NTSC
(*) Copy protection options: DigitalVideo_disable=0, AnalogVideo_disable=0, AnalogVideo_imageConstraint=0, Video_agc=0, Video_aps=0, Video_CGMSA=0, HDCP_Enable=0
[HDMI] DHCancelHDCP()
(*) HDMI is no longer secure
(*) Checking  combination: DSOS_NONE, DSOS_SDTV, DSOS_NTSC
(*) Confirmed combination: DSOS_NONE, DSOS_SDTV, DSOS_NTSC
(*) Checking  combination: DSOS_NONE, DSOS_SDTV, DSOS_NTSC
(*) Confirmed combination: DSOS_NONE, DSOS_SDTV, DSOS_NTSC
(*) External device params:
(*) Display params: -no_cp  -component -f NTSC_M -cs yuv_601 -asp 16 9 -analog -f NTSC_M -cs yuv_601 -asp 16 9
(*) SMP863x: Setting MV filter to 0x1400,0x1c00, 0x2c00
(*) Content ARM is 0
(*) SMP863x: Aspect Ratio Match on Variable Width Screen - Auto
(*) AR Match mode: Auto; display frame aspect ratio: 16:9; content picture aspect ratio: 16:9
(*) SMP863x: em86_set_aspect_ratio_match: Applying WSS crop to component and/or composite
(*) SMP863x: em86_get_analog_active_format:
       analog_tv_standard=DSETV_HDTV60
       analog_out_signal=DSOS_SDTV
       media_type=CMT_None
       content_ar=CART_Any
       display_ar=16x9
       arm=DARM_AUTO
(!) SMP863x: em86_get_HDMI_active_format_and_aspect: Parameters don't match any configuration; using defaults !
(*) SMP863x: em86_get_analog_active_format:
       analog_tv_standard=DSETV_HDTV60
       analog_out_signal=DSOS_SDTV
       media_type=CMT_None
       content_ar=CART_Any
       display_ar=16x9
       arm=DARM_AUTO
(!) SMP863x: em86_get_HDMI_active_format_and_aspect: Parameters don't match any configuration; using defaults !
(*) AR: applying mixer aspect ratio 16:9
(*) AR: applying HD-SD aspect ratio 16:9
(*) Checking  combination: DSOS_NONE, DSOS_SDTV, DSOS_NTSC
(*) Confirmed combination: DSOS_NONE, DSOS_SDTV, DSOS_NTSC
(*) SMP863x: em86_configure_encoders() same display_options already applied
(*) SMP863x: Encoder colorspaces: DCS_RGB, DCS_YUV_601, DCS_YUV_601
(*) SMP863x: Configuring deinterlacing; actual mode=0
(*) SMP863x: em86_main_video_scaler_deinterlace: mode=0
(*) Deinterlacing config: Discard/Bob; using_xlacing_motion_scaler=0
(*) SMP863x: HDMI not specified (engine -1), no configuration required
(*) Direct/Thread: Running 'HDMICheckerThread' (CRITICAL, 2535)...
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(*) SMP863x: ------------------------ em86_free_layer_surface layer=0 scaler=0 ------------------------
(*) SMP863x: ------------ em86_init_layer_surface layer=0 group=5 scaler=6 maxbuffers=2 size=1920x1080 forced_dram=0 forced_size=0 ------------
(*) Direct/Interface: Using 'PNG' implementation of 'IDirectFBImageProvider'.
Couldn't set property RMDispMainMixerPropertyID_LayerOrder for module 12: RM_ERROR
Couldn't set property RMDispMainMixerPropertyID_LayerOrder for module 12: RM_ERROR
Couldn't set property RMDispMainMixerPropertyID_LayerOrder for module 12: RM_ERROR
Couldn't set property RMDispMainMixerPropertyID_LayerOrder for module 12: RM_ERROR
Couldn't set property RMDispMainMixerPropertyID_LayerOrder for module 12: RM_ERROR
initializing audio...
initializing plugin...
handleIdle

Edit at 21/01/10
Okay, running via the command line it worked great. Nice work!! Smile
A couple of things I noticed, the UI is output at 480i via HDMI, although video files are displayed at my display setting of 1080p. Also Gaya was not restarted when selecting exit, I had to restart via command line.

Thanks again for sharing such an exiting project.
Find all posts by this user
01-13-2010, 06:31 AM
Post: #47
RE: TankTV (AppleTV Clone & Gaya replacement)
(12-09-2009 06:48 PM)vinayp Wrote:  Yeah my TV does that when switching video modes... kind of annoying actually.


I have had the same experience, and I really hated that!

Cut the cable to the pin 8, it's the control signal sending to TV
to switch between these two modes. Heart

http://pinouts.ws/scart-pinout.html

POPCORN A-110 / 916GB HDD / 1080p
Find all posts by this user
01-14-2010, 07:26 PM
Post: #48
RE: TankTV (AppleTV Clone & Gaya replacement)
Looks nice, most apps do not combine video and audio.
One comment/suggestion: music albums are sorted by song name in stead of track number. this is very annoying if you're used to play complete albums like me.
Find all posts by this user
01-31-2010, 09:54 AM
Post: #49
RE: TankTV (AppleTV Clone & Gaya replacement)
I love what you have started here. Unfortunately I am very impatient and have been checking here for the last couple of months hoping for an updated version.

This has the possibility of making playing music usable on this device. All I need is the ability to queue up music and I will be golden.

Thanks for a great contribution
Find all posts by this user
01-31-2010, 04:20 PM (This post was last modified: 01-31-2010 04:33 PM by vinayp.)
Post: #50
RE: TankTV (AppleTV Clone & Gaya replacement)
Sorry for the lull in development, but we do plan on releasing another version soon. I've unfortunately been a little busy with my day job but SoloHan, another NMT forum member, has joined the project recently so hopefully development can move a little faster.

The big new feature will be music cover art. Unfortunately I haven't been able to reproduce the crashes that some people have been seeing on startup, but I'll work on trying to get to the bottom of that bug. SoloHan has added another useful feature that detects the video mode that was configured in Gaya and automatically switches to that mode when TankTV starts up.

@johndoorzon: You're right, music should be sorted by track number. I'll fix this in the next release as well.

@gww: Playlist support is very high on the TO DO list. If you have any suggestions on how it should work, please let me know. I was thinking that there would be a new Playlists menu under the main Music menu and one of the playlists would be "On-the-go". Then when you browse through music, instead of hitting the "Enter" button to play the song immediately, you could press some other button to add the song to the "On-the-go" playlist.
@banquo: glad you got it working via the command line. not sure why some people are having problems starting it as a webservice... you can force TankTV to run in 1080p from the command line:

./tanktv --dfb:mode=1920x1080

The next version will use the video mode you have chosen in Gaya.
Find all posts by this user
[+] 2 users say Thank You to vinayp for this post
02-01-2010, 12:56 AM
Post: #51
RE: TankTV (AppleTV Clone & Gaya replacement)
I really should be more

For playlists I was thinking something very simple for starters. Instead of going full blown load/save playlists it would be easier to start with a simple play queue. You could, as you suggested, add items by or folder/album by pressing a remote key. The items get added to the queue. If you press the enter key, the current items is stopped and the new item is added to the front of the queue. Pressing the stop button destroys the queue. The skip fwd button would jump to the next item on the queue.

I know this is not as elegant as full playlist support, but it would add to the usability and be a lot simpler to implement in the short term. Then when you guys have fixed all the critical problems, and are bored Smile you can come back and replace it with something more in line with the AppleTV functionality.

Just my little suggestion as someone who is doing none of the work. Please feel free to ignore or ridicule.
Find all posts by this user
02-01-2010, 08:12 PM
Post: #52
RE: TankTV (AppleTV Clone & Gaya replacement)
Hi

I have been trying this out aswell on my a100 model, and I seem to be getting the same errors as above. I follow the instructions but as I hit the tanktv in the webservices menu it starts up but ends in a black screen.

How do I start it by command line? Do I need telnet for that? I'm a bit of rokkie with this, but as everyone else I'm very excited about the features and would appriciate any help!
Find all posts by this user
02-01-2010, 08:20 PM (This post was last modified: 02-01-2010 08:22 PM by vinayp.)
Post: #53
RE: TankTV (AppleTV Clone & Gaya replacement)
gww, thanks for the suggestions. i was thinking of doing something similar with just one active playlist for now and then adding more complex playlist support in the future.

trold48, sorry you're having problems. i wish i had an a100 to figure out why TankTV has problems starting up on that model. in the meantime, yes, you will have to telnet into your box and then type in these commands:

killall gaya
cd /share/Apps/TankTV
export LD_LIBRARY_PATH=lib
./tanktv
Find all posts by this user
02-05-2010, 06:14 PM
Post: #54
RE: TankTV (AppleTV Clone & Gaya replacement)

Vinayp,
Can I port the tanktv to c200?. (I already did). If you said OK, I can proceed further. I can able to get the screen. Looks great. But when I press any key in the remote, it came out. The remote codes may need to change in the source code?.

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730
Find all posts by this user
02-05-2010, 09:57 PM
Post: #55
RE: TankTV (AppleTV Clone & Gaya replacement)
Vaidyasr, great work on the port to the c200! Can you please send me the patches so that I can incorporate them into the main repository? Or if you have a github account, you can just fork the tanktv project and I can pull it in. Thank you!

When you say "it came out", are you saying that after TankTV loads, if you push any button the remote, the program quits (or crashes)? If so, you may be right about different remote codes... I am using the DirectFB headers that were released by Syabas on their GPL downloads page. Those may have codes specific to the A-110.
Find all posts by this user
02-08-2010, 08:01 AM
Post: #56
RE: TankTV (AppleTV Clone & Gaya replacement)
(02-05-2010 09:57 PM)vinayp Wrote:  Vaidyasr, great work on the port to the c200! Can you please send me the patches so that I can incorporate them into the main repository? Or if you have a github account, you can just fork the tanktv project and I can pull it in. Thank you!

When you say "it came out", are you saying that after TankTV loads, if you push any button the remote, the program quits (or crashes)? If so, you may be right about different remote codes... I am using the DirectFB headers that were released by Syabas on their GPL downloads page. Those may have codes specific to the A-110.

I haven't done any modification. I just compiled as is and works fine except the remote codes.

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730
Find all posts by this user
02-09-2010, 01:01 AM
Post: #57
RE: TankTV (AppleTV Clone & Gaya replacement)
Just one question this plays m4a files does that include alac encoded files (apple lossless) many thanks andy, look forward to cover art in next release.keep up the good work
Find all posts by this user
03-18-2010, 05:25 PM
Post: #58
RE: TankTV (AppleTV Clone & Gaya replacement)
Well I for one think TankTV is great & am very grateful for the original authors time and effort. Seeing as development seems to have stopped on this, I've spent some time modifying it for my own benefit to include movie cover art & filtering by Genre. I hope my efforts will trigger a restart of development on this software again.

I'm happy to share the source code. Bear in mind that I'm a professional Java developer & don't know much about c++, so the code probably isn't the neatest Smile

There's some pics below of what I've done (apologies for the crap quality) :-

[Image: P3180022.JPG]

[Image: P3180023.JPG] [Image: P3180024.JPG]

[Image: P3180026.JPG] [Image: P3180027.JPG]

In order to make this work, I've used the TVixie application to generate my cover art & xml descriptions. I'm then loading the xml description into the TankTV database so I can select things by Genre, Year, Actor, etc. So far, only Alphabetical & Genre menu's have been done.

When browsing movies, the cover art and the descriptions on the left take half a second to come up after you stop on an item in the menu. This lets you scroll up and down very quickly without waiting for a screen refresh.

I've also included an option to allow you to press "info" button on your remote to display the tvixie full screen information image. There's an example of what I mean on the tvixie website front page. However, this isn't perfected yet.

I've got some ideas on how to add some bling to it, but I'm not sure my c++ skills are up to the job yet Smile
Find all posts by this user
03-18-2010, 05:49 PM
Post: #59
RE: TankTV (AppleTV Clone & Gaya replacement)
Are you planning to release your version?
Find all posts by this user
03-18-2010, 07:26 PM
Post: #60
RE: TankTV (AppleTV Clone & Gaya replacement)
(03-18-2010 05:25 PM)Beezer Wrote:  Well I for one think TankTV is great & am very grateful for the original authors time and effort. Seeing as development seems to have stopped on this, I've spent some time modifying it for my own benefit to include movie cover art & filtering by Genre. I hope my efforts will trigger a restart of development on this software again.

I'm happy to share the source code. Bear in mind that I'm a professional Java developer & don't know much about c++, so the code probably isn't the neatest Smile

There's some pics below of what I've done (apologies for the crap quality) :-

[Image: P3180022.JPG]

[Image: P3180023.JPG] [Image: P3180024.JPG]

[Image: P3180026.JPG] [Image: P3180027.JPG]

In order to make this work, I've used the TVixie application to generate my cover art & xml descriptions. I'm then loading the xml description into the TankTV database so I can select things by Genre, Year, Actor, etc. So far, only Alphabetical & Genre menu's have been done.

When browsing movies, the cover art and the descriptions on the left take half a second to come up after you stop on an item in the menu. This lets you scroll up and down very quickly without waiting for a screen refresh.

I've also included an option to allow you to press "info" button on your remote to display the tvixie full screen information image. There's an example of what I mean on the tvixie website front page. However, this isn't perfected yet.

I've got some ideas on how to add some bling to it, but I'm not sure my c++ skills are up to the job yet Smile

Love this!

If this gets stable I'd consider running this rather than Gaya.
Love the MP3 functionality in TankTV.
Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Torrentwatch-X - Replacement for Torrentwatch/NMTDVR .:ian:. 213 60,332 11-20-2012 07:42 PM
Last Post: felipesalomao
  Help required to fix Extended gaya Extended 0.4 AquaFire 2 2,078 03-17-2011 07:46 AM
Last Post: accident
  unix/c gurus - Starting a process from gaya without it hanging lordy 5 2,448 05-04-2010 06:43 PM
Last Post: lordy
  gaya / directfb / video memory thica 5 3,376 04-20-2010 07:28 AM
Last Post: thica
  Gaya, mono and interprocess stuff - how does it work? frankvw 11 3,543 03-20-2010 07:28 PM
Last Post: frankvw
  RAR support in gaya / mono / YAMJ x0r 1 2,008 03-09-2010 01:19 AM
Last Post: lundman
  Gaya Extended gshock 107 61,087 11-30-2009 11:56 PM
Last Post: Mesterhak
  HTML Gaya Form Controls vs CSS lordy 0 1,569 11-22-2009 09:25 PM
Last Post: lordy
  Replacement FTP server available? say170 5 2,106 11-08-2009 05:01 PM
Last Post: dc11ab
  Cookies in Gaya Myka 1 1,337 10-17-2009 02:00 AM
Last Post: bdb

Forum Jump: