Go to advanced search

by bbond007
Thu Apr 25, 2013 12:50 am
Forum: C/C++
Topic: OpenMAX: How to decode a JPEG (example source code)
Replies: 67
Views: 36814

Re: OpenMAX: How to decode a JPEG (example source code)

When filling the buffer for image_decode, don't send more than one jpeg to the buffer at the time (especially for small images). This is the reason why my earlier code had trouble with smaller JPEGs. For better performance on larger images, increase the buffer size to be greater than the size of yo...
by bbond007
Fri Apr 05, 2013 8:18 pm
Forum: General discussion
Topic: Can use a Pi for all my needs?
Replies: 14
Views: 3253

Re: Can use a Pi for all my needs?

2. I'd like to connect it to the aforementioned TV set and to a 3G (HSPA) USB key (model: ONDA MT835UP, it claims Debian, Fedora, Ubuntu compatibility, kernel ver. 2.6.22 - 2.6.31) and use the Internet connection to see YouTube (and similar portals) videos on my TV set. (I've seen some videos on Yo...
by bbond007
Sun Mar 31, 2013 4:46 am
Forum: General discussion
Topic: OpenVG based YouTube client.
Replies: 74
Views: 13563

Re: OpenVG based YouTube client.

[ On another note, how can I create a desktop shortcut for raspytube ? I tried the X11 [desktop icon] file but didn't work. yeah, raspytube needs to run from a terminal to capture input. It can be done though. I added the following files to the github: sudo cp raspytube.desktop /home/pi/Desktop sud...
by bbond007
Sat Mar 30, 2013 5:08 am
Forum: C/C++
Topic: OpenMAX: How to decode a JPEG (example source code)
Replies: 67
Views: 36814

Re: OpenMAX: How to decode a JPEG (example source code)

Initially, your results seem quite different than what I was seeing, but I was able to reproduce your error message using an image which is much smaller than what I normally use. Thanks Dan! I should have mentioned that my images are very small to begin with (thumbnails from YouTube) and then I'm f...
by bbond007
Sat Mar 30, 2013 2:27 am
Forum: C/C++
Topic: OpenMAX: How to decode a JPEG (example source code)
Replies: 67
Views: 36814

Re: OpenMAX: How to decode a JPEG (example source code)

Why not use the ilclient version (the one in regular c, by Matt Ownby and Anthong Sale? This one seems to have no issues with reliability. I'm getting 30+ fps on 640x425 images over hundreds of thousands of iterations. I did have to tweak a few things in this code. Mostly adjusting the timeouts, an...
by bbond007
Sun Mar 24, 2013 11:41 pm
Forum: General discussion
Topic: Why does the Pi draw constant current, unlike a phone?
Replies: 15
Views: 2207

Re: Why does the Pi draw constant current, unlike a phone?

As the Broadcomm chip is a phone chip (I think) why does the Pi not 'throttle back' when idle and use very low power like a phone. My Android phone lasts 5 days with a 1500mA battery if I don't use it while it does stay connected to WiFi and 3G all that time. The Pi draws a constant current of abou...
by bbond007
Sun Mar 24, 2013 11:20 pm
Forum: C/C++
Topic: OpenMAX: How to decode a JPEG (example source code)
Replies: 67
Views: 36814

Re: OpenMAX: How to decode a JPEG (example source code)

All I did, inside the hello_jpeg.cpp, I am looping around "DoIt" function for a very long time. I put a for loop around this function, and looping it for 100000 times. But, everytime, after few minutes of running, after looping around for only couple thousand loops, the prgram exits by Segmentation...
by bbond007
Sun Mar 24, 2013 10:43 pm
Forum: General discussion
Topic: watching youtube and other videos
Replies: 3
Views: 842

Re: watching youtube and other videos

Will HD Videos (720p and above) display properly? Also wondering if VLC media player is available? I would like to watch videos that I have on another PC. Are there simple instructions to map a network folder? ! FLASH would be too slow RPI to do anything more than "Hello World" for VLC sudo apt-get...
by bbond007
Sun Mar 24, 2013 10:02 pm
Forum: Media centres
Topic: Could someone help me with youtube and netflix to work on PI
Replies: 11
Views: 2844

Re: Could someone help me with youtube and netflix to work o

CalumJEadie wrote:I've updated the documentation for yt and raspytube - check out http://www.raspberrypi.org/phpBB3/viewt ... 22&t=37417

Hope that helps!
merged :) THX!
by bbond007
Sun Mar 24, 2013 9:55 pm
Forum: General discussion
Topic: OpenVG based YouTube client.
Replies: 74
Views: 13563

Re: OpenVG based YouTube client.

Documentation has been updated.

https://github.com/bbond007/raspytube/b ... /README.md

Thank CalumJEadie for that.

BTW, I like this auto-install.... nice work!
by bbond007
Thu Mar 14, 2013 3:37 am
Forum: General discussion
Topic: OpenVG based YouTube client.
Replies: 74
Views: 13563

Re: OpenVG based YouTube client.

How time-intensive would it be to write a fast install script for the OpenVG, including youtube-dl and omxplayer? Noob question, I know, but wanted to have something like this for my young cousin to enjoy a more intuitive YouTube experience on his Pi. Get in touch if you have any ideas... you don't...
by bbond007
Thu Feb 07, 2013 1:52 am
Forum: Gaming
Topic: any good gamepads?
Replies: 11
Views: 3973

Re: any good gamepads?

i like Thrustmaster Ferrari gamepad

its really nice, just no rumble. I have the wireless


this one.

http://www.costcaptain.com/mm5/merchant ... nAod-SAAPg
by bbond007
Fri Feb 01, 2013 12:26 am
Forum: C/C++
Topic: Play an MP3 from a C++ program
Replies: 4
Views: 9021

Re: Play an MP3 from a C++ program

Hello everyone, I am looking for a way to play an mp3 file from a c++ program. The only thing I found is mpg123's api, which I could not make much sense of. Does it even play files or is it just a decoder? Any suggestions? Kind Regards deBazthed http://stackoverflow.com/questions/428884/how-to-play...
by bbond007
Wed Jan 23, 2013 10:31 pm
Forum: General discussion
Topic: Mathematica on Raspberry Pi
Replies: 7
Views: 3996

Re: Mathematica on Raspberry Pi

HizMama wrote:Hello Guys,

I was wondering if it's possible to put Mathematica on Raspberry Pi. Is it compatible? And if it is, will it be able to handle the heat? Thanks in advance!
I think you could run the 68000 MAC version under Basilisk II Mac emulator...

http://basilisk.cebix.net/
by bbond007
Wed Jan 23, 2013 9:01 pm
Forum: General discussion
Topic: OpenVG based YouTube client.
Replies: 74
Views: 13563

Re: OpenVG based YouTube client.

I tried it but the videos it shows are not the same as on the youtube site. http://tinypic.com/r/21o67ir/6 Raspytube uses the YouTube's json-c API, not the website. Again, I'll refer you to the YouTube json-c interactive demo... if you can get the desired results you are looking for by playing with...
by bbond007
Wed Jan 23, 2013 4:12 am
Forum: C/C++
Topic: /dev/input/mouse0 and the scrollwheel
Replies: 4
Views: 4628

Re: /dev/input/mouse0 and the scrollwheel

Thank you, Reading the source, I understand that I should be using /dev/input/eventX and not /dev/input/mouse0. And when reading the event, the scrollwheel is under type 2, code 8. Bram yes, I just realized that you were asking for help with /dev/input/mouse0... and my example uses eventX my bad :(...
by bbond007
Wed Jan 23, 2013 3:52 am
Forum: C/C++
Topic: /dev/input/mouse0 and the scrollwheel
Replies: 4
Views: 4628

Re: /dev/input/mouse0 and the scrollwheel

Hi, I've got the reading of mouse buttons and mouse position working, by reading the /dev/input/mouse0 device three bytes at a time (but,dx,dy). My mouse has a scroll wheel. How can I read the scroll wheel using /dev/input/mouse0 device? I am not running X btw, just straight from the console. Thank...
by bbond007
Wed Jan 23, 2013 1:12 am
Forum: General discussion
Topic: OpenVG based YouTube client.
Replies: 74
Views: 13563

Re: OpenVG based YouTube client.

Thank you for the update bbond007. I pressed C button and I chose Music. I expected my video list to be populated with the same entries as when going to youtube site and choosing Music. It didn't work that way and I reread your post and saw that it doesn't work that way. Wouldn't it be better that ...
by bbond007
Wed Jan 23, 2013 12:39 am
Forum: General discussion
Topic: OpenVG based YouTube client.
Replies: 74
Views: 13563

Re: OpenVG based YouTube client.

Thank you for the update bbond007. I pressed C button and I chose Music. I expected my video list to be populated with the same entries as when going to youtube site and choosing Music. It didn't work that way and I reread your post and saw that it doesn't work that way. Wouldn't it be better that ...
by bbond007
Wed Jan 23, 2013 12:34 am
Forum: General discussion
Topic: OpenVG based YouTube client.
Replies: 74
Views: 13563

Re: OpenVG based YouTube client.

Thanks for explaining, if omxplayer is open source - can't you add some bits to the code that do the seeking, then upload the modded omxplayer to your repo ? (the sentence sounds rude, but I cannot say it any way else - poor english, sorry!) This is kind of related. I fixed the support for Mplayer....
by bbond007
Mon Jan 21, 2013 9:27 pm
Forum: General discussion
Topic: OpenVG based YouTube client.
Replies: 74
Views: 13563

Re: OpenVG based YouTube client.

I was referring to official youtube channels like Music to which you can subscribe if you want to: http://www.youtube.com/channel/HCp-Rdqh3z4Uc?feature=gb_ch_rec If I just type 'music' in the search field, I will get results which I'm not happy with because they are all mixed. Youtube Music offers ...
by bbond007
Mon Jan 21, 2013 1:27 am
Forum: General discussion
Topic: OpenVG based YouTube client.
Replies: 74
Views: 13563

Re: OpenVG based YouTube client.

Hi bbond007 Could you consider adding some popular youtube channels such as music, sport, gaming etc.? Sometimes I like to watch music videos and it would be great if I could just go to menu and choose music channel and play some videos. Thanks Do you just mean to add some popular searches or does ...
by bbond007
Fri Jan 18, 2013 5:28 am
Forum: C/C++
Topic: Tiny C Compiler (TCC) on Raspberry Pi
Replies: 4
Views: 5177

Re: Tiny C Compiler (TCC) on Raspberry Pi

as far as i know, static not declared as a stack variable has no effect other than to make that variables symbol local to that object... seem strange would not support it. How about this other (and probably more important) use? #include <stdio.h> int doSomething() { static bool bInit = false; if(!bI...
by bbond007
Fri Jan 18, 2013 2:05 am
Forum: General discussion
Topic: OpenVG based YouTube client.
Replies: 74
Views: 13563

Re: OpenVG based YouTube client.

raspytube_X11.JPG This application can now run in a X11 window. The app is not really running in X11 window, but it is a clever illusion. How I accomplish this is I create a dummy X11 window, track the movement of that window on the desktop then uses "vc_dispmanx_element_change_attributes" of the V...
by bbond007
Sun Jan 13, 2013 6:54 pm
Forum: General discussion
Topic: OpenVG based YouTube client.
Replies: 74
Views: 13563

Re: OpenVG based YouTube client.

I would try to embed raspytube in an x window using GTK+ in the upcoming month or two :) it would still be controled by keyboard, but window resizing will be available at least. I might not be the best one to do this, but raspytube is currently the best Raspberry Pi youtube player and it'd be aweso...

Go to advanced search