Go to advanced search

by vadim
Tue Oct 22, 2013 10:57 am
Forum: General discussion
Topic: The busiest Pi...
Replies: 17
Views: 4247

Re: The busiest Pi...

Hmmm, what's the point of overloading the system? The tasks I do regularly that take up to 100% of cpu power are compilation, live aac encoding and VPN gateway at high speeds with encryption. Don't fancy doing them all at the same time :)
by vadim
Tue Oct 22, 2013 9:06 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread. [I2S works]
Replies: 1001
Views: 584353

Re: I2S: Anyone got it running? (answer is yes!)

I2S defines 50% duty cycle for stereo link. That's what is implemented in bcm2708-i2s. Nevertheless, BCM2835 is flexible in terms of timing and can be made clock slave. Anyway, the other formats are in TODO for the driver but will never get done unless there is demand and perseverance :) Is it safe ...
by vadim
Mon Oct 21, 2013 10:33 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread. [I2S works]
Replies: 1001
Views: 584353

Re: I2S: Anyone got it running? (answer is yes!)

The current version of PCM driver understands only I2S format, but can be tricked to work. I would tie all BCLK and MCLK pins and drive them from RPi's PCM clock (integer division from 19.2MHz is possible in your case). Adjust frame length and position of words in bcm2708-i2s. Read the BCM2835 manua...
by vadim
Mon Oct 21, 2013 3:36 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Multiple I2S input
Replies: 29
Views: 28958

Re: Multiple I2S input

any news? ;)
by vadim
Mon Oct 21, 2013 2:58 pm
Forum: Troubleshooting
Topic: Ethernet Dropping Out
Replies: 19
Views: 2325

Re: Ethernet Dropping Out

I would test the voltage at the moment this happens and if that's fine then switch to a fresh SD card.
by vadim
Mon Oct 21, 2013 2:48 pm
Forum: General discussion
Topic: trying to stream raspicam but no success
Replies: 2
Views: 1069

Re: trying to stream raspicam but no success

--disable-asm is the right option for configuring libx264
by vadim
Mon Oct 21, 2013 2:46 pm
Forum: General discussion
Topic: trying to stream raspicam but no success
Replies: 2
Views: 1069

Re: trying to stream raspicam but no success

Perhaps, some library was compiled with assembler code that is not compatible with RPi. Try to rebuild libx264 without asm (there should be a .configure option for that). Actually, I don't understand why you need to transcode the video, anyway. Use -vcodec copy for video.
by vadim
Mon Oct 21, 2013 2:34 pm
Forum: Beginners
Topic: Basic way to shutdown via web
Replies: 5
Views: 16259

Re: Basic way to shutdown via web

make sure it is accessible from your iphone only :)
by vadim
Mon Oct 21, 2013 2:22 pm
Forum: Troubleshooting
Topic: Ethernet Dropping Out
Replies: 19
Views: 2325

Re: Ethernet Dropping Out

What did you try before concluding that only reinstallation helps?
by vadim
Sun Oct 20, 2013 8:40 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread. [I2S works]
Replies: 1001
Views: 584353

Re: I2S: Anyone got it running? (answer is yes!)

what codec is on the module? perhaps, there is a driver for it.
by vadim
Sun Oct 20, 2013 8:36 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread. [I2S works]
Replies: 1001
Views: 584353

Re: I2S: Anyone got it running? (answer is yes!)

if they are 3 least significant bits i see no problem at all. Treat them as 16 bit anyway
by vadim
Sun Oct 20, 2013 8:05 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread. [I2S works]
Replies: 1001
Views: 584353

Re: I2S: Anyone got it running? (answer is yes!)

it is possible to connect. getting it to work will involve writing kernel modules and modifying i2s driver. look for asoc driver and its author Florian who might have started to make the driver universal. your bit wide FS on mono sourceand 65 bit frames are a deviation from defaults
by vadim
Fri Oct 18, 2013 12:55 pm
Forum: Camera board
Topic: Imprecise camera fps
Replies: 12
Views: 4728

Re: Imprecise camera fps

Yes, manipulations should be done only before I-frames. It is good that I-frames can be forced. In my case one I-frame instead of 2 P-frames per 8 seconds shouldn't affect the bitrate, so I don't see any downside to this approach.
Unfortunately, I'm not a C programmer :oops: Is mmal well documented?
by vadim
Fri Oct 18, 2013 12:25 pm
Forum: Camera board
Topic: Imprecise camera fps
Replies: 12
Views: 4728

Re: Imprecise camera fps

Thanks, Andy. I tried to use resampling and that would work if the framerates of the incoming stream were known. The problem with raspivid stream is that the actual framerate is not known. So ffmpeg makes a wrong assumption and resamples to that wrong framerate. Over time extra frames keep adding up...
by vadim
Fri Oct 18, 2013 11:06 am
Forum: Camera board
Topic: Imprecise camera fps
Replies: 12
Views: 4728

Re: Imprecise camera fps

Thanks for this additional info.
Time for hacking raspivid then :) I still think that if I ask raspivid to give me 25fps then it should make sure I get 25fps (on average with bearable jitter).
by vadim
Fri Oct 18, 2013 10:15 am
Forum: Beginners
Topic: HELP losing motivation as a beginner
Replies: 10
Views: 3806

Re: HELP losing motivation as a beginner

There are several electronic and paper magazines that publish projects that work. Linux User and Developer magazine devotes a lot of attention to RasPi. Some months ago it published Top 10 relatively easy projects. http://www.raspberry-pi-geek.com/ is a new magazine covering various aspects of RPi i...
by vadim
Fri Oct 18, 2013 9:54 am
Forum: Camera board
Topic: Imprecise camera fps
Replies: 12
Views: 4728

Re: Imprecise camera fps

Thank you. So now we have a downside of moving clock source to the camera board. I think raspivid can still sync camera stream to OS time by droping excess frame(s) at end of GOP whenever the number of frames captured exceedes the expected number of frames. At the same time SPS/IPS could be added be...
by vadim
Sat Oct 12, 2013 12:29 pm
Forum: Camera board
Topic: Imprecise camera fps
Replies: 12
Views: 4728

Imprecise camera fps

I hope someone can help me with this issue or give some useful tips. The problem I have is that when recording or streaming video with audio the video stream starts to lag behind sound and the lag keeps increasing. To isolate the problem I recorded 5Hr of video with this command: raspivid -w 360 -h ...
by vadim
Wed Oct 02, 2013 7:04 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread. [I2S works]
Replies: 1001
Views: 584353

Re: I2S: Anyone got it running? (answer is yes!)

most probably some control commands are not implemented in the card driver. try muting/unmuting in alsa mixer.
by vadim
Wed Oct 02, 2013 7:46 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread. [I2S works]
Replies: 1001
Views: 584353

Re: I2S: Anyone got it running? (answer is yes!)

make sure you have bcm2708 platform selected
by vadim
Mon Sep 30, 2013 9:04 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread. [I2S works]
Replies: 1001
Views: 584353

Re: I2S: Anyone got it running? (answer is yes!)

This is exactly how I tested. I connected both LCRIN and LCROUT to PCM_FS and used 44,1khz for recording with arecord. Today I tested again to check whether I made something wrong before, but it still does not work. Using wm8731 recording works (If I use 48khz, 8khz and 32khz are not working at the...
by vadim
Fri Sep 27, 2013 1:51 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread. [I2S works]
Replies: 1001
Views: 584353

Re: I2S: Anyone got it running? (answer is yes!)

Vhigh=2V, so Pi can give that. As a general precaution use short leads for clocks and use resistors on digital lines because you're using different power sources on both ends of i2s.
by vadim
Tue Sep 24, 2013 9:37 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Multiple I2S input
Replies: 29
Views: 28958

Re: Multiple I2S input

Well, luckily in my configuration I need to output only MCLK because I will configure one of ADCs to work as master. My biggest problem will be soldering SMD, I have never done it before :lol: joy, oh joy! sounds like fun. soic-8 was difficult enough for me.good luck with wm8782! btw, from my memor...
by vadim
Mon Sep 23, 2013 9:39 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Multiple I2S input
Replies: 29
Views: 28958

Re: Multiple I2S input

Do you know how to make Pi act as a slave? By removing quartz oscillator :mrgreen: and connecting external clock instead of it? What about outputting clock on GPIO pin? Pi can be a slave and that's probably the best configuration. It doesn't need MCLK in as some codecs do. In my test the MCLK was c...
by vadim
Mon Sep 23, 2013 5:25 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Multiple I2S input
Replies: 29
Views: 28958

Re: Multiple I2S input

Since WM8783 recreates own BCLK from LRCLK and all the clocks should be in sync I run into problems at higher rates. In my case codec's MCLK and Pi's BCLK are generated independently although from one PLLD. At higher rates the jitter and phase shifts create nice :twisted: white noise masking the inc...

Go to advanced search