Go to advanced search

by JontomXire
Sun Mar 22, 2015 8:30 pm
Forum: Troubleshooting
Topic: apt-get issues after updating Raspbian Wheezy.
Replies: 4
Views: 926

Re: apt-get issues after updating Raspbian Wheezy.

I'll give it a go. Thanks.
by JontomXire
Sun Mar 22, 2015 7:31 pm
Forum: Troubleshooting
Topic: apt-get issues after updating Raspbian Wheezy.
Replies: 4
Views: 926

apt-get issues after updating Raspbian Wheezy.

For various reasons to do with a corrupt SD card, I re-imaged my SD card with the latest Raspbian distro from the most authoritative source I could find and ended up with "2015-02-16-raspbian-wheezy.img". After various network issues that went away with a few reboots, and a few "apt-get update" issu...
by JontomXire
Sun Nov 03, 2013 12:34 pm
Forum: Advanced users
Topic: Correct layout of sysroot for cross-compiler?
Replies: 0
Views: 974

Correct layout of sysroot for cross-compiler?

Hi, all. I am trying to build a cross-compiler for Cygwin following (mostly) a guide I found on the internet. To save building my own eglibc, and to save a lot of other work, I am trying to construct my own sysroot by copying files from my Raspberry Pi to my cross compiler's sysroot directory. The p...
by JontomXire
Fri Nov 01, 2013 9:18 pm
Forum: General discussion
Topic: Cross-Compiler for Windows
Replies: 62
Views: 52048

Re: Cross-Compiler for Windows

I got around the problem building GMP by dropping back to version 4.3.0. Now, when building PPL, I get the error: [INFO ] Installing PPL for host [ERROR] configure: error: Cannot find GMP version 4.1.3 or higher. [ERROR] [ERROR] >> [ERROR] >> Build failed in step 'Installing PPL for host' [ERROR] >>...
by JontomXire
Fri Nov 01, 2013 6:08 pm
Forum: General discussion
Topic: Cross-Compiler for Windows
Replies: 62
Views: 52048

Re: Cross-Compiler for Windows

That cross compiler doesn;t work at all. The text on the web page says to run "<toolchain>\bin\arm-linux-gnueabihf-g++.exe" from the Windows command line. There is no such file. There is a "<toolchain>\bin\arm-linux-gnueabihf-c++.exe". did they mean that? However "<toolchain>/bin" is missing ld, ar,...
by JontomXire
Wed Oct 30, 2013 8:22 am
Forum: Troubleshooting
Topic: omxplayer subtitles are poorly rendered.
Replies: 13
Views: 3978

Re: omxplayer subtitles are poorly rendered.

I still need to know: Display width Rendered character width for each character I still think: Using a vector to return a string is incredibly inefficient in memory. Not returning the calculated width of each row of subtitles is missing a chance to be more efficient. Better to return a vector of str...
by JontomXire
Tue Oct 29, 2013 5:04 pm
Forum: General discussion
Topic: Cross-Compiler for Windows
Replies: 62
Views: 52048

Re: Cross-Compiler for Windows

My Rasbian image is 2013-09-25-wheezy-raspbian. That toolchain says it is compatible with 2013-07-26-wheezy-raspbian.
The gcc on my Raspberry Pi is version 4.7.2. That toolchain is compatible with 4.6.3.
by JontomXire
Mon Oct 28, 2013 9:38 pm
Forum: General discussion
Topic: Cross-Compiler for Windows
Replies: 62
Views: 52048

Re: Cross-Compiler for Windows

Still no luck: [ALL ] tmp-sqr_basecase.s: Assembler messages: [ALL ] tmp-sqr_basecase.s:122: Error: junk at end of line, first unrecognized character is `,' [ALL ] /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/my_cross_compiler/.build/src/gmp-5.0.2/mpn -I.. -...
by JontomXire
Mon Oct 28, 2013 6:49 pm
Forum: General discussion
Topic: Cross-Compiler for Windows
Replies: 62
Views: 52048

Re: Cross-Compiler for Windows

I found this:

http://www.cs.unipr.it/pipermail/ppl-de ... 18580.html

However the verson of crosstool-ng I have doesn't support PPL 1.1. I've taken GMP back a version in the "Companion libraries" config section, and hopefully that will fix it.
by JontomXire
Mon Oct 28, 2013 6:39 pm
Forum: General discussion
Topic: Cross-Compiler for Windows
Replies: 62
Views: 52048

Re: Cross-Compiler for Windows

So the case sensitivity thing was because I was trying to build the cross-compiler in a sub-directory of my home directory, which was on the D drive and so under a /cygdrive mount point, although not obviously so which is why it took me so long to realise even after reading the instructions on page ...
by JontomXire
Sun Oct 27, 2013 6:51 pm
Forum: Troubleshooting
Topic: omxplayer subtitles are poorly rendered.
Replies: 13
Views: 3978

Re: omxplayer subtitles are poorly rendered.

Three words - variable width fonts. And even if I approximated to fixed width, I still need to know how wide the text renderer will render them since both font and size are configurable. I'd also still need to know the image width. I get the impression that omxplayer renders video at native resoluti...
by JontomXire
Sun Oct 27, 2013 1:06 pm
Forum: General discussion
Topic: Cross-Compiler for Windows
Replies: 62
Views: 52048

Re: Cross-Compiler for Windows

I'm trying to build my own cross-compiler as described earlier in this thread, but setting HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\kernel\obcaseinsensitive=0 has no effect no matter how many times I reboot.

Any advice or help would be much appreciated.
by JontomXire
Sun Oct 27, 2013 12:35 pm
Forum: Troubleshooting
Topic: omxplayer subtitles are poorly rendered.
Replies: 13
Views: 3978

Re: omxplayer subtitles are poorly rendered.

There is no "--no-ghost-box" option on my version of omxplayer. I can have a go writing a word wrap routine, but I would need to know how the rendering engine works, specifically APIs to calculate width of rendered text. The routine would also need access to information such as the width of the vide...
by JontomXire
Sun Oct 27, 2013 8:28 am
Forum: Troubleshooting
Topic: omxplayer subtitles are poorly rendered.
Replies: 13
Views: 3978

Re: omxplayer subtitles are poorly rendered.

I have a cut down mkv file (60 seconds) with really long subtitles at about 30 seconds, and long subtitles at other places too. It's 20Mb. I don't think I can attach it here. Any suggestions? I also have an mp4 converted version which should show the issues with the mp4 playback I was talking about....
by JontomXire
Sun Oct 27, 2013 7:23 am
Forum: Troubleshooting
Topic: omxplayer subtitles are poorly rendered.
Replies: 13
Views: 3978

Re: omxplayer subtitles are poorly rendered.

The video mp4 codec that doesn't play is "H264 - MPEG-4 AVC (part 10) (avc1)" according to VLC. I transcoded using VLC on the command line with ":sout=#transcode{vcodec=h264,vb=0,scale=1:std{access=file,mux=mp4,dst=${DEST}}". I have mkvtoolnix. I'll give mmg a go. What is a good file size or should ...
by JontomXire
Sat Oct 26, 2013 3:44 pm
Forum: Troubleshooting
Topic: omxplayer subtitles are poorly rendered.
Replies: 13
Views: 3978

Re: omxplayer subtitles are poorly rendered.

I thought omxplayer was the player used by XBMC. Also, while demo-ing my new toy to a friend, I found that for an old AVI file I haven't watched in years, the subtitles were perfect. They even used the font included in the file. I can't include a cut down version of the file, unless you know a way I...
by JontomXire
Sat Oct 26, 2013 2:41 pm
Forum: General discussion
Topic: Cross-Compiler for Windows
Replies: 62
Views: 52048

Re: Cross-Compiler for Windows

How do I get the cross-compiler? I know that sounds like a noob question, but I have never ever used git, and there is no download link that I can find at any of the webpages referenced above. I tried one of the other links and got myself a toolchain that looked likely, but when I run the gcc in it,...
by JontomXire
Sat Oct 26, 2013 2:30 pm
Forum: Troubleshooting
Topic: omxplayer subtitles are poorly rendered.
Replies: 13
Views: 3978

omxplayer subtitles are poorly rendered.

So my Raspberry Pi, which I had been thinking of getting for a while as a combined games console/media centre, arrived today. After a lot of faffing around with emulators before it arrived, I am finding the real thing so easy to use. I was going to use VLC to play movies, but after some searching ar...

Go to advanced search