Go to advanced search

by alower
Fri Aug 02, 2019 7:49 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: B101 hdmi input with i2s sound
Replies: 59
Views: 10292

Re: B101 hdmi input with i2s sound

Now it gets even weirder. Running the same queries as above now doesn't work. I get 2fps and a 0kb file.
by alower
Sat Jul 27, 2019 3:03 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: B101 hdmi input with i2s sound
Replies: 59
Views: 10292

Re: B101 hdmi input with i2s sound

Interesting thing is now happening. I plugged my monitor in to my laptop, via the HDMI splitter that is also feeding the video off to the Pi. the v4l2-ctl query now picks up 1080, whereas it was 720 before. Now my commands don't do anything. Fps stats at 0.0, my output file is 0kb. I changed the scr...
by alower
Sat Jul 27, 2019 11:30 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: B101 hdmi input with i2s sound
Replies: 59
Views: 10292

Re: B101 hdmi input with i2s sound

Thanks again, I had just managed to find me way to hardware encoding just before your reply. I (we) (you) have basically done it! Not using hardware encoder, though. I'd really like to get that working if I could as doing other tasks gets a bit tough with software encoder. So, good news. Got myself ...
by alower
Thu Jul 25, 2019 5:01 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: B101 hdmi input with i2s sound
Replies: 59
Views: 10292

Re: B101 hdmi input with i2s sound

I can feel your excitement at the idea of dealing with me again today, so here's some more information for the whole 3fps issue I mentioned in the last reply. If I run "avconv -t 0 -i /dev/video0 -f null /dev/null" the console shows 60fps. It's my understanding that this isn't encoding anything. If ...
by alower
Wed Jul 24, 2019 7:14 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: B101 hdmi input with i2s sound
Replies: 59
Views: 10292

Re: B101 hdmi input with i2s sound

I rebooted this evening (using the same HDMI cables etc) and ran the v4l2-ctl commands as usual. Now, whether I use "v4l2-ctl --set-edid=file=1080P30EDID.txt --fix-edid-checksums" or "v4l2-ctl --set-edid=file=1080P3=50EDID.txt --fix-edid-checksums" I get 1280x720, where as earlier, I got 1920x1080. ...
by alower
Wed Jul 24, 2019 2:01 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: B101 hdmi input with i2s sound
Replies: 59
Views: 10292

Re: B101 hdmi input with i2s sound

This produces the file with perfect audio but, rather oddly, the video isn't there and instead, there's a random image from my laptop's desktop in it's place!? I still get the same "[video4linux2,v4l2 @ 0x11a8a00] Dequeued v4l2 buffer contains 4177920 bytes, but 4147200 were expected. Flags: 0x0000...
by alower
Wed Jul 24, 2019 11:25 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: B101 hdmi input with i2s sound
Replies: 59
Views: 10292

Re: B101 hdmi input with i2s sound

Thank you again for your help. After following those steps, "v4l2-ctl --all" now shows 1920x1080. The arecord command, on its own, is working beautifully and recording the audio. Attempting the ""./yavta --capture=1000 -n 3 --encode-to=file.h264 -f UYVY -m -T /dev/video0" command seems okay but now ...
by alower
Tue Jul 23, 2019 6:59 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: B101 hdmi input with i2s sound
Replies: 59
Views: 10292

Re: B101 hdmi input with i2s sound

Looks like I'm still a little way off getting this working properly. If you wouldn't mind helping me out, @6by9, I'd be extremely grateful. So, using avconv, I can get audio and video working, depending on parameters, but far from perfectly and not necessarily at the same time. Couple of issues: 1 -...
by alower
Tue Jul 23, 2019 12:41 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: B101 hdmi input with i2s sound
Replies: 59
Views: 10292

Re: B101 hdmi input with i2s sound

@6by9, thank you so much, I think we've done it! Will do some playing and post back on here.
by alower
Mon Jul 22, 2019 6:18 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: B101 hdmi input with i2s sound
Replies: 59
Views: 10292

Re: B101 hdmi input with i2s sound

Also, may be worth mentioning, when I ran arecord -l before these changes, I used to get 'sysdefault:CARD=tc358743' show up. When I attempted to record using this device, I would just get a seemingly empty 44 byte file show up in the directory.

Just in case that's useful to you.
by alower
Fri Jul 19, 2019 6:12 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: B101 hdmi input with i2s sound
Replies: 59
Views: 10292

Re: B101 hdmi input with i2s sound

Thanks again, 6by9. Hopefully we're getting there... yavta will never capture audio. It is solely talking to the V4L2 (video capture) side The simplest tool to record the audio is something like arecord. I have observed some odd issues with audio capture from the B101 if you have the Pi audio device...
by alower
Fri Jul 19, 2019 3:39 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: B101 hdmi input with i2s sound
Replies: 59
Views: 10292

Re: B101 hdmi input with i2s sound

Bit of an update to the above in case you get time to check it out. I too got the yvta directory in userland, so I did this inside the new tc358743 directory: git clone https://github.com/6by9/yavta.git cd yavta make I still got the 'Failed to open /dev/video0: Remote I/O error' error. I found on a...
by alower
Fri Jul 19, 2019 4:35 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: B101 hdmi input with i2s sound
Replies: 59
Views: 10292

Re: B101 hdmi input with i2s sound

Bit of an update to the above in case you get time to check it out. I too got the yvta directory in userland, so I did this inside the new tc358743 directory: git clone https://github.com/6by9/yavta.git cd yavta make I still got the 'Failed to open /dev/video0: Remote I/O error' error. I found on an...
by alower
Thu Jul 18, 2019 6:10 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: B101 hdmi input with i2s sound
Replies: 59
Views: 10292

Re: B101 hdmi input with i2s sound

Take a clean SD card and install the latest Raspbian image on it. Raspbian Lite would be my recommendation, but it's up to you if you need the GUI. git clone https://github.com/maditnerd/tc358743.git cd tc358743 nano install.sh Edit line 27 to read " git clone --depth 1 -b rpi-4.14.y-unicam-and-cod...
by alower
Thu Jul 18, 2019 4:16 am
Forum: Graphics, sound and multimedia
Topic: RTMP Stream using GStreamer and a B101
Replies: 7
Views: 2171

Re: RTMP Stream using GStreamer and a B101

Following a lot of helpful advice from the HDMI to CSI-2 via TC358743 on kernel 4.1 thread, I've managed to get Video and Audio from any HDMI out device to my Pi. Big thanks to 6by9 for helping me get this project this far! I'm trying to set up my Pi to Stream to Twitch.tv without having to buy a s...
by alower
Sun Jul 07, 2019 12:08 pm
Forum: General discussion
Topic: How can I tell if the Pi can handle my project long term?
Replies: 8
Views: 534

Re: How can I tell if the Pi can handle my project long term?

Thanks, guys. Helpful stuff, appreciate it.
by alower
Sun Jul 07, 2019 9:42 am
Forum: General discussion
Topic: How can I tell if the Pi can handle my project long term?
Replies: 8
Views: 534

Re: How can I tell if the Pi can handle my project long term?

Thanks, Heater. I appreciate your response. I did ask "How" to test performance, so I'm not sure what you mean when you ask why it's a question? I'm unaware of the best ways in measuring it's performance when completing tasks, so I'm asking. Get yourself a Pi. Get your project running on it. Measure...
by alower
Sun Jul 07, 2019 3:24 am
Forum: General discussion
Topic: How can I tell if the Pi can handle my project long term?
Replies: 8
Views: 534

How can I tell if the Pi can handle my project long term?

Apologies if this is best suited on another topic. I'm starting a project, without wanting to go into detail, it involves running a fairly simple nodejs application, video input and video uploading. I may look at whether this project, assuming all goes well, is something that could be worth selling....
by alower
Thu Jun 27, 2019 4:29 am
Forum: Gaming
Topic: Twitch-O-Matic - Streaming from PC
Replies: 1
Views: 696

Twitch-O-Matic - Streaming from PC

Hello all, A novice here trying to help my little brother use his old PC to stream to Twitch. The PC - It's okay for playing his favourite games but can't quite handle streaming at the same time. https://www.youtube.com/watch?v=FF4ToiFvjls - I saw this video on how to use your Pi, along with another...
by alower
Tue Feb 26, 2019 8:55 am
Forum: Other programming languages
Topic: Node - Electron.js - Best way to load videos in BrowserView/BrowserWindow
Replies: 2
Views: 1260

Node - Electron.js - Best way to load videos in BrowserView/BrowserWindow

Hi there, First time using my model 3 A+ and first post, forgive me if I'm in the wrong place. I'm looking at kicking off a little electron project and was hoping to watch live videos. I'm using Electron 3.0.13 as newer versions don't seem compatible and it works fine, but the live video is extremel...

Go to advanced search