现在的位置: 首页 > 综合 > 正文

DvdPlayer一些信息

2018年03月31日 ⁄ 综合 ⁄ 共 4256字 ⁄ 字号 评论关闭

DvdPlayer is the main execution program the RTD1073 runs to enable everything from display, infra-red control, enable service, install application to control video and audio playback etc.

DvdPlayer是RTD1073的主执行程序,它接管着开发板的一切,包括显示、红外遥控、启动服务、安装软件以控制音视频回放等。
It is started by the init process and is guarded by RootApp which will restart it once it is crashed.

它又init进程创建,并由RootApp看护,一旦崩溃由RootApp重启。(注:译者发现一个现象,结束了RootApp,他还是会重启。why?)
It's the most secretive part of the box, the source of this very important program is not available and is likely to be different from device to device.

它是整个高清播放盒中最神秘的部分,但是这个最重要的程序的源代码是闭源的,而且很可能随着设备的不同而不同。(注:确实是不同的,像遥控的前导码就不同,我手上有三种1073版的播放器,我发现遥控的前导码只是跟固件有关,刷了谁的固件就得用谁的遥控,不过可以买一个usb的遥控,自己写一个小的daemon,将按键通过管道给到DvdPlayer以实现通用。)
There are however some closely related source from the RTD1261 chipset family, which is available from Conceptronic, please check
[http://rtd1073.wikidot.com/source-code]

但是,来自RTD1261芯片族的一些相关的源代码可以从Conceptronic公司的网站上下载。http://rtd1073.wikidot.com/source-code (T_T,该链接好像已经失效了)

Although, up till now as this document is written no source is available from any manufacturer regarding this core program. However some common tweaks are available for
controlling the use of the device. Thanks to Jason from http://consumerelectronicshacker.blogspot.com/

尽管到目前为止,这个核心的程序还是没有找到源代码,但是一些通用的调整方法可以用在这类播放器上。感谢Jason的分享。http://consumerelectronicshacker.blogspot.com/,部落格,你们懂的。

The tweaks would allow one to control the player device via stdin to the DvdPlayer.

这些调整可以让你通过标准输入去控制播放器。
e.g. application which include but not limited to web control of the player to timed control or even automatic control of the device can be made.

可以写一些类似于但不仅限于WEB控制(就是网页遥控器那个,我的想法是写一个android的控制端和一个播放器里面的服务端,通过android手机去控制播放器更靠谱一些)。
The following details the steps to use the tweaks or hacks.

接下来是黑客般的调整方法:

1. telnet "IP to the box"

2. username: root

3. killall DvdPlayer

4. killall RootApp

5. cd /usr/local/bin

6. ./RootApp DvdPlayer

7. available control keys

a - audio button
b - takes you into the recording setup screen
c - delete schedule when in recording, otherwise doesn't appear to do anything
f - reverse play «
j - reverse zoom (starts at max zoom and goes back to 1)
l - slow play reverse
m - mute on/off
n - skip to next title (not chapter)
o - Shut down quickly
p - skip to prior title (not chapter)
q - go back 10 SECONDS
r - start recording / switch to av
s - subtitle toggle
v - volume -
z - normal zoom

A - left
B - 30 Second Skip
C - Command Line interpreter, engineering mode, see below
D - right
E - Delete
F - Fast forward »
G - Asks for GCode. Not sure what the GCode is. Tried a VCR+ code given the context, but the code I tried only crashed the player.
H - report some kind of status
L - slow play forward
M - Menu
N - Next chapter
O - shut down normally
P - Prior chapter
Q - Stop
S - Play
T- AV input screen
V - volume +
W - up
X - down
Z - Step / pause

- - goto

- repeat a/b

- repeat button

- go to USB screen

$ - go to REC directory
& - graphical file copy, looks nice. Much better than the cut/copy/paste concept you can do from the remote.
( - start performance logging
) - stop performance logging
~ - memory allocation status
0-9 - same as entering 0-9. Jumps to title. I did not know you could jump to a specific title that way on this player, so something new.

[ - source button
] - go to ScreenPlay Pro root drive
{ - home button
, - return button
/ - go to setup menu
\ - switch tv system

ESC - Go to setup menu

In engineering mode, you can type HELP and get this:

在工程模式中输入HELP得到:

Engineering Mode Command List:

工程模式的命令列表
port: read or write value to specified address

port:在指定的地址读写值
setdebug: set audio/video debug flag

setdebug:设置音视频的调试标记
setbri : set Video In Brightness value (00~ff)

setbri:设置视频亮度(我记得好像菜单里面只有50级,这里居然有256级)
setcont : set Video In Contrast value (00~ff)

setcont:设置对比度(00-ff)
setsatu : set Video In Saturation value (00~ff)

setsatu:设置颜色饱和度(我发现mp801h刷了T10s的固件之后,在遥控节目这个值是-7且不可设置)
sethue : set Video In Hue value (00~ff)

sethue:设置色度(也是一样-7,切不可设置)
setscal : set the coefficients of VIN Scaling (0x1000~0xFFFF)

setscal:设置垂直扫描系数
setcolorm

copyfree: enable copy-free

copyfree:自由拷贝(不知干嘛用的)
netperf : Enable network performance meter. Use on or off to tern on/off this feature netperf no decode, means streaming only without decode.

netperf:开启网络状态监视,就是要不要解码。
setyc: set YC separation parameters [6 parameters]
| save: save setting
| load: load setting
| default: use factory default setting
| show: show current setting
shell: Unix Shell to execute unix command

shell:执行Unix Shell命令
kill: kill the program immediately (to generate coredump)

kill:向进程发送信号,次操作将产生内存转储。
quit: quit from command line interpreter

quit:从命令行退出

The same program can also be found in box using the brother chipset RTD1261 and RTD1282.

他的姐妹版RTD1261和RTD1282也能找到相同的程序。

Information Reference:
[http://emtec.mhdworld.com/modules/newbb/viewforum.php?forum=33]
[http://consumerelectronicshacker.blogspot.com/2009/02/g-toolchain-fixed.html]

【上篇】
【下篇】

抱歉!评论已关闭.