Go to advanced search

by redhawk
Mon Aug 25, 2014 5:49 pm
Forum: Troubleshooting
Topic: Omxplayer not starting
Replies: 15
Views: 4785

Re: Omxplayer not starting

Are you sure the file isn't corrupt?? Out of the box the Raspberry Pi can play h.264 @ 1080p, h.263 and with purchased codecs you can add mpg-2 / mpeg-1 and vc-1 to the list. Unfortunately having an mp4 doesn't always guarantee successful playback this is just a container file it may have a totally ...
by redhawk
Mon Aug 25, 2014 4:18 pm
Forum: General discussion
Topic: Running x86 apps on ARM
Replies: 13
Views: 7875

Re: Running x86 apps on ARM

I guess performance of ExaGear would be around [email protected]
No it doesn't because the performance of ARMv7 is not comparable to ARMv6 at the same clock speed.

Richard S.
by redhawk
Mon Aug 25, 2014 3:38 pm
Forum: Graphics, sound and multimedia
Topic: USB soundcard input level
Replies: 2
Views: 780

Re: USB soundcard input level

is the microphone input of a typical USB soundcard appropriate for the line-level(?) output of a standard phone or mp3 player? Microphone inputs are mono only so any audio capture would be left channel or mono depending on the device. As for levels it should be possible to lower the mixer levels (a...
by redhawk
Mon Aug 25, 2014 2:44 pm
Forum: C/C++
Topic: Brickwall filter or high order library??
Replies: 0
Views: 417

Brickwall filter or high order library??

I'm working on a small audio project which requires band pass filtering where the high pass is roughly 100Hz and low pass frequency can be adjusted between 1.5kHz to 5kHz. So far I've been able to knock up a crude low pass filter by collecting a certain amount of samples and finding the average at a...
by redhawk
Mon Aug 25, 2014 12:42 pm
Forum: Media centres
Topic: Internet radio controlled by website
Replies: 9
Views: 3589

Re: Internet radio controlled by website

You can install Music on Console with apt-get install moc so there's no need to download or compile any files. To play music from the command line you can simply just run it using mocp but for playback from scripts you'll need the following sequence: mocp -S to start Music on Console server (once on...
by redhawk
Mon Aug 25, 2014 11:03 am
Forum: Media centres
Topic: Internet radio controlled by website
Replies: 9
Views: 3589

Re: Internet radio controlled by website

I do this with Pi it plays streaming music from various internet and feeds them into an FM transmitter dongle so I can listen anywhere in the house or garden. :) For controls I use Apache web server with cgi scripts (you can use php) this communicates with the software playing the music i.e. play / ...
by redhawk
Mon Aug 25, 2014 9:16 am
Forum: Beginners
Topic: Can I use the same OS/SD card for B+ that I use in B? (yes)
Replies: 5
Views: 1156

Re: Can I use the same OS/SD card for B+ that I use in B?

I know the B+ has pretty much all the same hardware as the B - aside from a few small changes. There is no timing crystal to drive the LAN/USB chip the B+ gets it's signal from the SoC using the latest firmware. If you're unable to use the LAN or USB ports then you haven't updated your OS successfu...
by redhawk
Sat Aug 23, 2014 10:43 pm
Forum: Graphics, sound and multimedia
Topic: opusenc stops encding after exactly 3hours 6minutes, 26 sec
Replies: 13
Views: 2368

Re: opusenc stops encding after exactly 3hours 6minutes, 26

You need to add the --raw option to opusenc https://mf4.xiph.org/jenkins/view/opus/ ... html#--raw because the audio data is raw i.e. without a header.

If that doesn't work then I'm all out of answers I'm afraid. :?

Richard S.
by redhawk
Sat Aug 23, 2014 3:52 pm
Forum: Graphics, sound and multimedia
Topic: opusenc stops encding after exactly 3hours 6minutes, 26 sec
Replies: 13
Views: 2368

Re: opusenc stops encding after exactly 3hours 6minutes, 26

I'm not writing the file but just pipe the input audio to socat or netcat through the network, received by an other pi directly pipe to audio output. Is there a way to not doing a wave file ? for a forever audio stream, never stops ! thanks, As far as arecord is concerned it's writing to a file the...
by redhawk
Sat Aug 23, 2014 12:16 pm
Forum: Graphics, sound and multimedia
Topic: opusenc stops encding after exactly 3hours 6minutes, 26 sec
Replies: 13
Views: 2368

Re: opusenc stops encding after exactly 3hours 6minutes, 26

As far as I'm aware the WAV file format is not capable of unlimited recording time due to the requirement of the header to specify the file size. Therefore it's my guess that once arecord has reached it's limit then the program would simply quit and break the pipe. However this has proved puzzling t...
by redhawk
Fri Aug 22, 2014 6:24 pm
Forum: Off topic discussion
Topic: Google Chromecast Drops to Just £18 in UK
Replies: 13
Views: 1974

Re: Google Chromecast Drops to Just £18 in UK

So they finally dropped the price for this useless piece of streaming junk.:) I honestly don't understand the appeal for GCC it's a dumb crippled OS device needing a smart phone to play videos. Considering you could do exactly the same thing with a Android Box / Stick TV or Raspberry Pi anyway what'...
by redhawk
Fri Aug 22, 2014 4:44 pm
Forum: Beginners
Topic: Desktop too zoomed in when using vga to hdmi adapter
Replies: 3
Views: 7209

Re: Desktop too zoomed in when using vga to hdmi adapter

Check your settings in the boot config.txt file http://www.raspberrypi.org/forums/viewtopic.php?t=5851
A image too zoomed may suggest resolution is too low or overscan values are set too high.

Richard S.
by redhawk
Fri Aug 22, 2014 3:00 pm
Forum: General discussion
Topic: How to record video on the pi?
Replies: 6
Views: 972

Re: How to record video on the pi?

How can I record video at 2592×1944 and save it to my usb drive. A example would by nice. :) Assuming you mean the Pi Camera (otherwise that would be silly) then you'll need to use the raspivid tool http://www.raspberrypi.org/documentation/usage/camera/raspicam/raspivid.md I'm not sure if it suppor...
by redhawk
Thu Aug 21, 2014 3:23 pm
Forum: Troubleshooting
Topic: flashing display
Replies: 4
Views: 907

Re: flashing display

Why well my Lenovo PC said it had only 73 MBs So as I did not Trust my PC for many reasons Your memory card has several partitions however only Windows will show the first (and if supported) partition which is your 73MB. To see the true size of the card you'll need to access "Disk Management" or al...
by redhawk
Thu Aug 21, 2014 10:33 am
Forum: Graphics, sound and multimedia
Topic: VOIP pi to pi / Opusenc big latency, why ?
Replies: 3
Views: 2395

Re: VOIP pi to pi / Opusenc big latency, why ?

For a codec to work it must have sufficient buffering to compress data and sufficient buffering to decompress data this is why systems i.e. digital TV and digital Radio are always delayed at the receiving end vs the broadcast station. I don't know much about Opus but there maybe some options for twe...
by redhawk
Tue Aug 19, 2014 10:24 pm
Forum: Beginners
Topic: Resistors & LED's
Replies: 14
Views: 2238

Re: Resistors & LED's

How did you do that? I'm using a very basic DC-DC converter circuit it takes the 1.2v input and generates a much high voltage output. There are several circuits designs online (usually called 1.5v LED driver) i.e. http://www.elteh.net/sheme/led/15v-driver-za-bijelu-led.html which is very similar to...
by redhawk
Tue Aug 19, 2014 8:25 pm
Forum: Beginners
Topic: Resistors & LED's
Replies: 14
Views: 2238

Re: Resistors & LED's

Actually you can power LEDs with a 1.2v AA battery (okay so I cheated) :D

Image

Richard S.
by redhawk
Tue Aug 19, 2014 8:00 pm
Forum: Beginners
Topic: Resistors & LED's
Replies: 14
Views: 2238

Re: Resistors & LED's

LEDs (and most diodes in general) have a P layer and N layer (impurities added to the silicon), for electrons to pass the depletion zone it requires a certain amount of voltage (potential difference) before current can flow. For LEDs you need a forward voltage of 2.0 (red??) before they can do their...
by redhawk
Tue Aug 19, 2014 7:37 pm
Forum: Beginners
Topic: Resistors & LED's
Replies: 14
Views: 2238

Re: Resistors & LED's

I thought I would test the a few of the LED's out, I grabbed an AA battery, that was new. (1.5V) The LED was quite bright at first but soon died in under 10 seconds. LEDs should not be driven directly from a battery since they have a specific maximum current rating. Some button cell batteries have ...
by redhawk
Tue Aug 19, 2014 7:16 pm
Forum: General discussion
Topic: cheapest usb camera
Replies: 9
Views: 7865

Re: cheapest usb camera

Before you buy a USB webcam just be aware of the difference between that and the Pi Camera. The Pi Camera has direct connection to the GPU via the CSI this makes it possible to capture 1080p 30fps video and take high resolution snaps shots without crapping on the ARMv6 processor. The USB webcam does...
by redhawk
Tue Aug 19, 2014 6:08 pm
Forum: Beginners
Topic: flash erase operation has been cancelled because ...
Replies: 10
Views: 1853

Re: flash erase operation has been cancelled because ...

What memory card have you got (i.e. class, size, brand name) ??

Richard S.
by redhawk
Tue Aug 19, 2014 11:42 am
Forum: Beginners
Topic: Is it possible to access files on my Pi from Windows?
Replies: 2
Views: 457

Re: Is it possible to access files on my Pi from Windows?

To add to previous poster the ssh service must be enabled within XBMC before you can use WinSCP.
Different distros have different login id and passwords so please consult the FAQs before proceeding.

Richard S.
by redhawk
Mon Aug 18, 2014 10:46 pm
Forum: Graphics, sound and multimedia
Topic: Use a Windows PC to stream mic recorded audio to the Pi
Replies: 2
Views: 1246

Re: Use a Windows PC to stream mic recorded audio to the Pi

You need something to encode audio and stream it something like Winamp + Oddcast DSP should do and perhaps shoutcast or JetAudio plugin. I believe VLC can be configured to stream although I haven't really tested this for only audio. Oddcast DSP requires an Icecast server, shoutcast plugin requires a...
by redhawk
Sun Aug 17, 2014 4:22 pm
Forum: Camera board
Topic: What is the Rolling Shutter Speed?
Replies: 12
Views: 5473

Re: What is the Rolling Shutter Speed?

In your earlier reply you said it doesn't have global shutter and now it doesn't have rolling shutter so what does it have?
I think jamesh made a typo the Pi Camera is 100% rolling shutter from some of the video samples I've seen so far.

Richard S.
by redhawk
Sun Aug 17, 2014 3:41 pm
Forum: Wanted
Topic: Voice recorder from Line input. VOX?
Replies: 13
Views: 9597

Re: Voice recorder from Line input. VOX?

Simple C code is all you need i.e. example in pseudocode: 0: open temp file, reset timer 1: capture audio into storage buffer 2: commit storage buffer to temp file 3: increment timer 4: check storage buffer for silent or noisy levels 5: if noisy reset timer and goto 1: 6: if timer < 30 seconds goto ...

Go to advanced search