Writings Photos Code Contact Resume
This is my website. It's mainly dedicated to GNU/Linux, my writings, code, thoughts, news, ... You won't find any windows related materials here, So don't panic!

谷歌浏览器看外网

Submitted by msameer on Sun, 17/02/2013 - 4:46pm

A short introduction about N9 camera stack:
Camera stack for N9 is built on top of V4L2 subdev and media controller interfaces.
A GStreamer source element called subdevsrc (And subdevsrc2 starting from PR 1.2) sits on top of the kernel interfaces.
A closed source component called libomap3camd (OMAP3 camera daemon library) contains all the 3A (Auto exposure, Auto white balance and Auto focus) algorithms in addition
to image capturing. It simply gathers statistics from hardware components such as ISP histpgram (And others) and controls the camera pipeline to adjust image quality.

What do we have?
Nokia was kind enough to provide a compiled binaries subdevsrc and libomap3camd to the MeeGo project. However they have not released the header files for libomap3camd.

This puts us (The community) in an unfavorable situation. We cannot easily manipulate our GStreamer stack, update or fix bugs in subdevsrc (Whose source code is publicly available).

手机vnp的服务器地址怎么填
You can obtain the code from its git repository.
Using the reverse engineered libomap3camd header, I managed to rebuild subdevsrc for NEMO
and got meego-handset camera to work and capture an image :-)

The code built is from this commit:

commit effd37efa3ba026221e0f84ef370d06f1a122b6c
Author: Tommi Myöhänen <tommi.myohanen@digia.com>
Date:   Thu Mar 17 12:38:40 2011 +0200

    Release gst-nokia-videosrc (0.57.0-1)

I failed to build the latest git master due to the old GStreamer photography interface available in Nemo/Mer.

How did all this happen?
It took a day or a bit more of a weekend.
I started by building subdevsrc and creating various enums and structures needed to get it to build (with dummy values).
I then started poking around using the latest nemo mobile release and ltrace.
GstSubdevSrc used 4 functions out of which, cam_set_feature is the most important one.
This approach didn't really work quite well. It seemed that the number of cam_feature_set calls found by ltrace doesn't match those in the code and it seemed that the code used to build the nemo subdevsrc isn't really available.

Here comes N9 to the picture. Thanks to the "beloved" AEGIS framework, ltrace didn't work.
I tried to mock a libomap3camd shared object and LD_PRELOAD it but that also didn't work.

I sat down and wrote a minimal application that would manipulate subdevsrc properties and observe the value of registers (r0 has the library handle but r1 and r2 are really interesting) when gdb breaks on cam_feature_set and I managed to get some values but that was clearly not enough. Even gdb sometimes doesn't break at all :(

The gem was the discovery of a subdevsrc package along with its debugging symbols:
gstreamer0.10-nokia-videosrc-dbg=0.52.19-1+0m6 and gstreamer0.10-nokia-videosrc=0.52.19-1+0m6.
Download and install them (Use inception) and wow! All data structures can be dumped easily using gdb ptype and all enum values can be printed using gdb print.
The only exception was maker_note_t which needed another hack.

And now?
I guess now we can easily update GSTreamer and subdevsrc to the latest and even fix any bugs that we find. I am not sure how crippled our libomap3camd is and whether we can get all subdevsrc working but we are at least in a better position.

Coding and hacking
N9
planet maemo
English

谷歌浏览器看外网

Submitted by msameer on Sun, 11/03/2012 - 3:18pm

Justin TV is a streaming service that uses the broken flash concept in order to allow you to view channels.

Unfortunately it's the only source of Arabic movies, series and shows.

I wrote a GStreamer source that 网站系统维护中,敬请期待!:2021-6-15 · 系统维护公告 尊敬的厦门网网友: 2021年5月20日21时至6月25日12时,海峡社区、海峡博客平台进行系统维护升级,系统将暂停访问,由此给您带来的不便敬请谅解。 and uses libRTMP to connect to the Justin streaming server. The rest is handled by GStreamer ;-)

If you want to watch http://www.justin.tv/ammartv for example, you simply do

gst-launch-0.10 playbin uri=jtv://ammartv

The 2nd plugin is a Totem plugin that indirectly utilizes the GStreamer source.
Given a language code (ar or en or ...), it will download the list of channels in that language and shows them in Totem's side panel. One can then easily double click on a channel and simply watch it. I originally wanted to do the Totem plugin in python but the inability to do asynchronous callback based HTTP requests prevented me :-(

VPN有什么用?是用来干啥的? - Youth.cn:2021-7-6 · 说在前面,VPN不是说给你提供网络来源的,也就是说必须在有网络的情况下使用的,那些以为使用VPN可以不用手机流量免费上网的筒子们,是时候醒醒了。刚刚那个兄弟又会说了,不能用来上 …

Coding and hacking
planet debian
English

谷歌浏览器看外网

Submitted by msameer on Sun, 27/11/2011 - 10:08pm

توجهت اليوم الي السفاره المصرية في هلسنكي لتسليمهم المظروف المحتوي علي بطاقات الاقتراع الخاصة بي
طبعا كان ممكن تتبعت بالبريد لكن المشكله هي:
اولا وصلتنا تعليمات التصويت من السفاره متاخرا
ثانيا اخر موعد لقبول خطابات التصويت البريدي لم يكن يتيح فرصة ارسالها
ثالثا السفاره اغفلت تماما امكانية ارفاق صورة من بطاقة الهويه الفنلنديه مع مظروف الاقتراع و قيل انه يمكن ارسال صورة من الاقامة او رخصة قياده او بطاقة طالب

المهم انه تم تغيير اخر ميعاد للتسليم عدة مرات من صباح السبت الي مسائه ثم الي مساء الاحد

手机上这么好用的功能 你用过吗? - huanqiu.com:2021-9-30 · VPN最实用的地方是可以使用VPN服务器代理上网,譬如我们可以访问国外网站Youtube、Twitter和Facebook等国内无法访问的外国网站(所以你需要学会科学 ...

الحقيقه الرجل كان بسيطا من الشرقيه و يبدو انه فرد امن بس كان بشوشا قام باجلاسنا و عرض علينا شاي قبل ما نمشي

المشكله انه لم يكم متاكد من امكانية استخدام صورة البطاقه
المهم قررت وضع صورة البطاقه بجانب اقرار التصويت البريدي و مظروف الاقتراع داخل مظروف اكبر و ربنا يستر و مايبطلش الصوت.

ماشفتش لا صندوق اقتراع ول اي حاجه و الرجل اخبرنا انه سيعطي المظروف بتاعي انا و مهيتاب للقنصل بكره.

مع الاسف لم اتمكن من المشاركه في لجنة الفرز بتاعة السفاره لكن لما نشوف.

Life
Egypt
Finland
Arabic

谷歌浏览器看外网

Submitted by OPPO 手机vnp的服务器地址填加速软件 on Thu, 10/11/2011 - 12:17pm

If you are using PR 1.1 then you can simply enable zoom during video recording.

Just create a file /etc/camera.conf and add the following lines:

[debug]
recording-zoom = true

社评:防火墙带给中国互联网哪些影响 - huanqiu.com:2021-1-28 · VPN指的是代理服务器,也就是网民俗称的“翻墙软件 ”,而它要翻的那个墙就是“防火墙”。防火墙是中国实现互联网管理一整套技术系统的民间叫法,官方在正式场合从不这么叫它。防火墙并非是把中国互联网同境外互联网隔开,而是对境外 ...

网站系统维护中,敬请期待!:2021-6-15 · 系统维护公告 尊敬的厦门网网友: 2021年5月20日21时至6月25日12时,海峡社区、海峡博客平台进行系统维护升级,系统将暂停访问,由此给您带来的不便敬请谅解。

Coding and hacking
N9
planet maemo
English

谷歌浏览器看外网

Submitted by msameer on Wed, 02/11/2011 - 10:42pm

If you care about the readability more than you care about the eye candy then that's for you ;-)

1) You need to enable developer mode and ssh to the N9.

2) # mkdir -p /usr/share/themes/blanco/meegotouch/libmessagingwidgets0/style/

工信部回应“禁用VPN”:清理对象是无资质者_央广网:2021-7-25 · 工信部回应“禁用VPN”:清理对象是无资质者 在国务院新闻办今日举行的发布会上,有记者问及“有地方出台规定,对违法违规利用VPN上网加强管理”一事,工信部信息通信发展司司长闻库表示,不了 …

4) Insert the following lines:

BubbleItem MLabelStyle#BubbleItemMessageIncoming {
font: $FONT_FAMILY 32px;
}

BubbleItem MLabelStyle#BubbleItemMessageOutgoing {
font: $FONT_FAMILY 32px;
}

BubbleItem MLabelStyle#BubbleTimeStampLabelOutgoing {
font: $FONT_FAMILY light 32px;
}

BubbleItem MLabelStyle#BubbleTimeStampLabelIncoming {
font: $FONT_FAMILY light 32px;
}

5) # su - user
6) $ killall -KILL messaging-ui
7) Enjoy :-)

手机vnp的服务器地址怎么填
Fun
N9
planet maemo
English

谷歌浏览器看外网

Submitted by msameer on Mon, 20/06/2011 - 5:03pm

This is a kernel module I cooked in a couple of days. The idea is to expose a v4l device that gets its data from user space.

I had 2 use cases in mind:
1) Educational purpose for myself (I'm really a kernel noob).
2) Streaming movies over skype, google talk, ... etc.

The idea could be good or completely rubbish but hey ? Learning can only be done with stupid ideas!

The code is highly unstable. It shouldn't oops the kernel but I'm not responsible. I've been developing and testing it inside qemu.

Clone it from the 手机vnp的服务器地址怎么填 via:

手机上这么好用的功能 你用过吗? - huanqiu.com:2021-9-30 · 十几年前,还是功能机的时代,相信很多人都会觉得用手机拍照、听歌以及上网都是很新奇的事情。然而,现在的手机拥有了越来越多新奇有趣的 ...

Here are a few missing bits off the top of my head:

* I'm not following the kernel coding style yet ;-)
* I'm sure my locking, unlocking and concurrency handling is flawed.
* The code is a bit fragile.
* It'd be nice to implement mmap support for the character device. This should eliminate data copies.
* Perhaps expose the character device all the time and generate "fake" frames when streaming starts ? Problem now is one has to be very fast in feeding data to the module otherwise select() on the v4l device will timeout.
* Many more...

If someone finds this idea useful, please drop me a line.
Comments, use cases, ideas and tips are really welcomed!

If I see a lot of interest, I might try to push it to the kernel tree one day ;-)

Update: Seems vloopback already exists and renders my code useless. I might still do something with it as my idea seems a bit simpler but whatever.

Update 2: There's also v4l2loopback and its fork.

Coding and hacking
FLOSS
GNU/Linux
planet debian
OPPO 手机vnp的服务器地址填加速软件

谷歌浏览器看外网

Submitted by msameer on Thu, 27/01/2011 - 11:49pm

Egypt has been fighting for freedom already for 3 days now.

The whole country has experienced a large number of street demonstrations and protests within the last 3 days to be continued also on Friday, the 28th of January and afterwards.

The protests' main goal is to oust dictator Hosni Mubarak's regime, which has been in power for almost 30 years.

We want him out.

A massacre has happened in Suez. Police used live ammunition and tear gas. There are unconfirmed rumors that the army might interfere.

手机上这么好用的功能 你用过吗? - huanqiu.com:2021-9-30 · 十几年前,还是功能机的时代,相信很多人都会觉得用手机拍照、听歌以及上网都是很新奇的事情。然而,现在的手机拥有了越来越多新奇有趣的 ...

The internet has been shutdown completely. Egypt is no longer online since Friday, the 28th of January 00:45 AM.

Text messages to cell phones have been cut off too and all cell phones services will be following. No one knows exactly the intentions of the regime but it doesn't sound good.

Please help us.
Please blog about it in English and in all languages.
Please spread the news everywhere.
Please talk to media.
Please petition your government if that will help.

If there's anything that you can do, please do it and help us save the country and the people.

More news from twitter #jan25.

OPPO 手机vnp的服务器地址填加速软件
手机vnp的服务器地址怎么填
English

谷歌浏览器看外网

Submitted by msameer on Sat, 08/01/2011 - 10:12pm

手机上这么好用的功能 你用过吗? - huanqiu.com:2021-9-30 · 十几年前,还是功能机的时代,相信很多人都会觉得用手机拍照、听歌以及上网都是很新奇的事情。然而,现在的手机拥有了越来越多新奇有趣的 ...

In 2011, some brilliant person decided to publish them only in PDF. The idea itself is not that bad, I just lost the ability to add the bookmark to the desktop. Combine that with the not so great PDF reader for the N900 and my dislike for PDF files in general and you shall understand why I was really annoyed.

I decided to try to convert the PDF to html. htmltopdf is a great tool but the HTML output was horrible and almost impossible to properly cleanup. Each cell was represented by an HTML div that had an absolute position!

At the end, I decided to write a very crude parser that can parse the XML generated from pdftohtml and dump the data to a set of HTML files that I can use and bookmark.

The parser is not a nice piece of code but it works. The HTML files are ugly too but they are fine for me.

The code can be obtained 只剩下门缝的VPN何去何从 - 手机新蓝网:2021-2-7 · 热门推荐 让20元行政处罚不再磨叽!宁波城管要推广这件事 2021-06-16 12:17 嘉兴端午民俗文化节细节公布 今年将新增“云端约会” 2021-06-16 12:17 为“网红主播”发上岗证!. The generated HTML files are in this tarball.

The original PDF can be downloaded from the mosque website.

vpn被封翻墙党该何去何从?App Store连接不上如何解决?(图 ...:2021-1-29 · 工信部回应vpn被封系合理管理 app商店连接不上如何解决 app商店连接不上 App Store连接不上怎么办?有业内人士表示,打不开一片白的原因是,AppStore使用到的其中一个域名s.mzstatic.com使用的证书已过期(测试中返回的是电信骨干网IP)。 You have been warned!

Life
Coding and hacking
Finland
English

谷歌浏览器看外网

Submitted by msameer on Tue, 14/09/2010 - 8:55pm

I'm using Twitter plugin for Contacts and Conversations to twitter on my N900.

Twitter recently moved to OAuth. Problem is the Maemo package is outdated and seems to be unmaintained.

I did some research and came across a blog entry about exploring OAuth-protected APIs and some code. Nice idea but not usable for me.

I ended up sitting down and writing a small python script that will re-route your HTTP requests to api.twitter.com after adding all the OAuth bills and whistles, read the reply from twitter and send it back. Neat ? :-)

There's also supertweet.net which I've discovered after I finished writing my script but seems they don't support all of the twitter API call while my script does that.

The script is simple without much error checking but it's been working for me for a few days already.

Last thing, I'm not interested in running a service like supertweet. I'll not be implementing the full OAuth protocol. Need to use it ? Register your own application.

手机vnp的服务器地址怎么填!

git clone git@gitorious.org:twitter-proxy/twitter-proxy.git

Next step: Thinking of maintaining the twitter plugin for Maemo. I already compiled the latest code and it sort of works fine :-)

Coding and hacking
planet debian
planet maemo
OPPO 手机vnp的服务器地址填加速软件

谷歌浏览器看外网

Submitted by msameer on Fri, 20/08/2010 - 1:52pm

If you are doing a data driven test using QTestLib, make sure the column names you define in the data function matches the variable name you pass to QFETCH()

void Test::foo_data() {
  QTest::addColumn<QString>("foo");
}
void Test::foo() {
  QFETCH(QString, foo);
}

I previously thought the order is enough but I lately spent a day and a half trying to understand why QTestLib refuses to fetch my variables.

Work
Coding and hacking
English

Pages

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • next ›
  • last »
老王加速器官网  surf破解版下载   叉叉加速器纯加速版ios  好用的歪皮恩   电脑ssr设置方法  老王 2.2.7   免费节点二维码分享