Go to advanced search

by saintdev
Mon Apr 22, 2013 5:18 am
Forum: Arch
Topic: New hardware random number generator
Replies: 5
Views: 11109

Re: New hardware random number generator

Hardware has always been there, but no way to take advantage [...] This should fix entropy problems, /dev/random and /dev/urandom should work properly What previous entropy problems were there on the Pi? I'm using a Raspberry Pi as an offline Bitcoin wallet, and I'm very interested in hearing if th...
by saintdev
Fri Apr 19, 2013 4:00 am
Forum: OpenMAX
Topic: is real-time decoding possible?
Replies: 23
Views: 13031

Re: is real-time decoding possible?

You're right that once the decoding kicks into gear it keeps up fine. The specific latency I'm trying to eliminate is the time between when the first 264 frame is submitted to the decoder, to when it's display on the screen (through a tunnel). Every frame after the first seems to be behind by this ...
by saintdev
Sat Apr 13, 2013 6:06 am
Forum: OpenMAX
Topic: omxtx - open source transcoding example
Replies: 239
Views: 127639

Re: omxtx - open source transcoding example

The ffmpeg command is simply wrapping the raw video in a container -- no conversion -- so specifying the input frame rate won't help anything. Actually, it does help. In the case of a stream like raw h264 that contains no timing information, the input frame rate is used to calculate the timestamps ...
by saintdev
Fri Apr 12, 2013 3:09 am
Forum: OpenMAX
Topic: omxtx - open source transcoding example
Replies: 239
Views: 127639

Re: omxtx - open source transcoding example

same result, seemingly no frame rate or timing is being put in the container: Properties for the input file needs to go before the input filename. Also, when you're specifying fractional frame rates, it's best to specify the exact frame rate. Otherwise, your audio and video may slowly get out of sy...
by saintdev
Mon Apr 08, 2013 9:41 pm
Forum: OpenMAX
Topic: omxtx - open source transcoding example
Replies: 239
Views: 127639

Re: omxtx - open source transcoding example

dickon wrote:Update this evening.

End the output filename with '.nal', and it'll avoid ffmpeg's output altogether and dump the raw NALs to the output file.

Might be useful to some. Enjoy.
The typical extension for raw h264 is .264.
by saintdev
Wed Feb 20, 2013 4:14 am
Forum: Beginners
Topic: boot from flash IC??
Replies: 5
Views: 785

Re: boot from flash IC??

ghans wrote: 3) You could use Micro SD Cards with an adaptor : http://www.kickstarter.com/projects/443 ... spberry-pi
Adafruit also has a Low-profile microSD adapter available.
by saintdev
Mon Feb 18, 2013 7:25 am
Forum: C/C++
Topic: Speeding up build time w/ gcc / g++
Replies: 10
Views: 4328

Re: Speeding up build time w/ gcc / g++

There is also ccache to cache compiled object files. More useful if you're doing frequent rebuilds.
by saintdev
Sat Feb 16, 2013 5:45 am
Forum: Advanced users
Topic: scheduler ignores niceness
Replies: 6
Views: 5053

Re: scheduler ignores niceness

AutoStatic wrote:Why not use chrt?
I wasn't aware of it, tbh.
by saintdev
Sat Feb 09, 2013 8:40 pm
Forum: Advanced users
Topic: scheduler ignores niceness
Replies: 6
Views: 5053

Re: scheduler ignores niceness

Heh, Con (Kolivas) predicted something like this would happen. He attempted something very similar with BFS, before the patch was even proposed to mainline. He gave up on it because it caused too many other problems, like the one you have found. Also nice 19 isn't strictly idle time only, it still h...
by saintdev
Wed Feb 06, 2013 7:09 pm
Forum: OpenMAX
Topic: Proposal for OMX.broadcom.read_media
Replies: 3
Views: 3040

Re: Proposal for OMX.broadcom.read_media

If I'm reading this correctly, this sounds like the OpenMAX content pipes (have a look at the spec if you want more info). I haven't actually checked, but would suspect these are not implemented.
by saintdev
Tue Feb 05, 2013 9:28 pm
Forum: Arch
Topic: New hardware random number generator
Replies: 5
Views: 11109

Re: New hardware random number generator

Thanks for getting that added so quickly!
by saintdev
Tue Feb 05, 2013 9:27 pm
Forum: Arch
Topic: Upstream ArchLinux packages not in ArchLinuxArm
Replies: 9
Views: 2382

Re: Upstream ArchLinux packages not in ArchLinuxArm

Opera is closed source and not available for ARM. They only have builds for x86, x86_64 and PowerPC available.
by saintdev
Tue Feb 05, 2013 9:13 pm
Forum: General programming discussion
Topic: Search all Raspberry Pis in my local network!!
Replies: 16
Views: 17176

Re: Search all Raspberry Pis in my local network!!

This requires you have avahi-daemon running on each Pi. ~ $ avahi-browse --terminate --resolve --parsable _workstation._tcp | grep '^=.*\\091b8\\05827\\058eb.*$' Will give you some output like =;eth0;IPv6;rapier\032\091b8\05827\058eb\0584a\05814\05806\093;Workstation;local;rapier.local;2601:1:XXXX:X...
by saintdev
Sat Feb 02, 2013 8:30 pm
Forum: OpenMAX
Topic: OMX_AllocateBuffer fails for audio decoder component
Replies: 30
Views: 11903

Re: OMX_AllocateBuffer fails for audio decoder component

I guess we are not going to see decoders and encoders real soon from Broadcom that support encodings other than PCM. Dom has already added support for Vorbis to the latest testing firmware (along with a few other royalty free video codecs) see this post . These are not real hardware accelerated cod...
by saintdev
Mon Jan 14, 2013 9:30 am
Forum: OpenMAX
Topic: omxtx - open source transcoding example
Replies: 239
Views: 127639

Re: omxtx - open source transcoding example

The trick to solving this is to configure the encoder to send them more frequently, but I can't see a way to do that. Doing it manually -- ie, making a copy of them, and sending them every so often (once an I-frame seemed sane; they're only small) produces the dreaded For most storage containers (m...
by saintdev
Mon Jan 07, 2013 6:39 am
Forum: OpenMAX
Topic: OMX_AllocateBuffer fails for audio decoder component
Replies: 30
Views: 11903

Re: OMX_AllocateBuffer fails for audio decoder component

I don't think the protocol has changed too much between the two versions. Though I haven't yet looked at the 0.26 protocol changes yet. No need for you to worry about getting it to work with 0.25, I can take care of it ;)
by saintdev
Mon Jan 07, 2013 4:27 am
Forum: OpenMAX
Topic: omxtx - open source transcoding example
Replies: 239
Views: 127639

Re: omxtx - open source transcoding example

Also, if your libav* is from libav.org and not ffmpeg.org, I'm hearing word that the former is very very broken code verses ffmpeg's version. I think Debian carries the former instead of the latter. Try against the latter. It more than likely will work better. (reason? Politics at ffmpeg/libav's le...
by saintdev
Sun Jan 06, 2013 8:55 pm
Forum: OpenMAX
Topic: OMX_AllocateBuffer fails for audio decoder component
Replies: 30
Views: 11903

Re: OMX_AllocateBuffer fails for audio decoder component

pimiv wrote:Hi. Thank you for your reply.

I just uploaded the code to github: https://github.com/1stsetup/piMythclient
Awesome, I'll see what I can do to help out.
It currently works with myth v0.26
Heh, I'm still stuck on 0.25-fixes, the Gentoo maintainers are still getting 0.26 ready.
by saintdev
Sat Jan 05, 2013 9:32 pm
Forum: OpenMAX
Topic: OMX_AllocateBuffer fails for audio decoder component
Replies: 30
Views: 11903

Re: OMX_AllocateBuffer fails for audio decoder component

Hi, I'm working on a program to play livetv from a mythtv backend. I got the communication with the backend working and can start a stream. In this case mpegps. I use ffmpeg to demux the stream an have the video working using example code from the hello_video and omxplayer. I think you mean MPEG-TS...
by saintdev
Tue Jan 01, 2013 9:44 pm
Forum: OpenMAX
Topic: omxtx - open source transcoding example
Replies: 239
Views: 127639

Re: omxtx - open source transcoding example

Raw h.264 does not have a way to encode the framerate. I thought libav defaulted to 1000fps in this case, this may have been changed recently, I haven't done much with raw h.264 lately.
by saintdev
Wed Dec 19, 2012 2:56 am
Forum: Linux Kernel
Topic: Con Kolivas' BFS for the Pi
Replies: 0
Views: 817

Con Kolivas' BFS for the Pi

For those of you interested in compiling your own kernels, I have patched Con Kolivas' BFS on top of the Raspberry Pi patches. The repo is available at https://github.com/saintdev/linux-rpi-bfs . The rpi-bfs branch tracks the 3.2 series, the rpi-bfs-next branch tracks the 3.6 series. The 3.2 patch n...
by saintdev
Wed Dec 19, 2012 12:14 am
Forum: General discussion
Topic: Berryboot v1.1 - Boot menu / OS installer
Replies: 557
Views: 257011

Re: Berryboot v1.1 - Boot menu / OS installer

Not true. Arch is using a merged /usr layout where /lib is migrated to /usr/lib. Any distro other then Arch that does that? Fedora were the ones to suggest the merge. I'm not sure they have made the switch yet or not. Busybox's switch_root which we use to load and pass over control to systemd does ...
by saintdev
Tue Dec 18, 2012 11:08 pm
Forum: General discussion
Topic: Berryboot v1.1 - Boot menu / OS installer
Replies: 557
Views: 257011

Re: Berryboot v1.1 - Boot menu / OS installer

"No such file" can mean "/sbin/init does not exist", but it can also mean "a library /sbin/init depends on does not exist", Arch has switched over to a full systemd implementation. I think /sbin/init used to be symlinked to systemd, I'm not sure if this is still the case. Let's take a look at the A...
by saintdev
Wed Dec 12, 2012 10:31 pm
Forum: OpenMAX
Topic: omxtx - open source transcoding example
Replies: 239
Views: 127639

Re: omxtx - open source transcoding example

The program queries the codecs from the encoder (as a dump). I have a MPEG2 license, yet that particular codec is not outputted by this dump. Why not? Because it doesn't query the codecs from the decoder, which is what the licence you have bought enables. I wanted to see if it could encode to anyth...

Go to advanced search