Go to advanced search

by 6by9
Fri Jul 19, 2019 11:23 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: B101 hdmi input with i2s sound
Replies: 39
Views: 4177

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 6by9
Fri Jul 19, 2019 11:19 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: B101 HDMI to CSI-2 Bridge (15 pin FPC) - how to make it run ?
Replies: 14
Views: 349

Re: B101 HDMI to CSI-2 Bridge (15 pin FPC) - how to make it run ?

@6by9 Hi, I'm also trying to get this module working on my 3B+. I think I need to do the reset on the chip, but I'm confused as to how I'm suppose to do this. I read something about pin 133 being used for CAM_GPIO or something in a similar post. I'm just lost at what to do with it. I've followed th...
by 6by9
Fri Jul 19, 2019 11:12 am
Forum: Camera board
Topic: [MOTION] Overexposure using YUV format
Replies: 16
Views: 1373

Re: [MOTION] Overexposure using YUV format

Set the module parameters max_video_width and max_video_height on bcm2835-v4l2 to be equal to or greater than the resolution you are capturing. The defaults are 1280 and 720 respectively. The simplest way is to create a file in /etc/modprobe.d called bcm2835-v4l2 containing the text options bcm2835-...
by 6by9
Fri Jul 19, 2019 11:08 am
Forum: Graphics, sound and multimedia
Topic: HDMI to CSI-2 via TC358743 on kernel 4.1
Replies: 583
Views: 179834

Re: HDMI to CSI-2 via TC358743 on kernel 4.1

I check the video in h264 format and it has an image (no problems) but no audio. Correct, it's an H264 elementary stream which is inherently video only. What I did was see alternatives, look through [email protected]:~ $ arecord -l **** List of CAPTURE Hardware Devices **** card 1: tc358743 [tc358743]...
by 6by9
Fri Jul 19, 2019 10:46 am
Forum: OpenMAX
Topic: Convert color format using GPU in Gstreamer (alternative to videoconvert).
Replies: 7
Views: 238

Re: Convert color format using GPU in Gstreamer (alternative to videoconvert).

But I don't know how it's gonna work with " appsink ". I haven't installed OpenCV on my new Raspbian Buster yet. You stick appsink on the end and it should just work. It is the buffers being passed between the decoder and converter that are dmabufs. In parallel, I am trying different "sink" methods...
by 6by9
Fri Jul 19, 2019 10:40 am
Forum: Graphics, sound and multimedia
Topic: HDMI to CSI-2 via TC358743 on kernel 4.1
Replies: 583
Views: 179834

Re: HDMI to CSI-2 via TC358743 on kernel 4.1

If you just want a single frame in the native format of the source, then use v4l2-ctl v4l2-ctl --set-dv-bt-timings query v4l2-ctl -v pixelformat=UYVY v4l2-ctl --stream-mmap=3 --stream-count=1 --stream-to=foo.uyvy You can add --skip-count=N to skip some frames at the start of the stream. Post proces...
by 6by9
Fri Jul 19, 2019 10:12 am
Forum: General discussion
Topic: Pi4 - custom dual display configuration
Replies: 34
Views: 979

Re: Pi4 - custom dual display configuration

Can you pls provide your view on the issue, thanks!! Are the displays using standard video modes, or something odd? Currently I'd recommend using an EDID editor (various tools are avaiable) to create an EDID that matches your display. You can then use hdmi_edid_file:0=1 hdmi_edid_filename:0=edid0.d...
by 6by9
Thu Jul 18, 2019 8:12 pm
Forum: General discussion
Topic: RPi 4 - Dual screen in CLI
Replies: 12
Views: 391

Re: RPi 4 - Dual screen in CLI

Thank you for your answer, so in GUI I can run strached video? Do you actually want the gui? Your earlier comments said not. From the console you can use drm to display the same plane on both displays but with different source cropping rectangles (this I how x renders a stretched gui) . Hevc decode...
by 6by9
Thu Jul 18, 2019 6:33 am
Forum: OpenMAX
Topic: Convert color format using GPU in Gstreamer (alternative to videoconvert).
Replies: 7
Views: 238

Re: Convert color format using GPU in Gstreamer (alternative to videoconvert).

Note the two patches I'd linked to (they've been picked into our internal repos for testing, so should be available when I get a chance to do that) One includes devices that support bayer formats as compatible with v4l2convert. We support bayer on the input side of our v4l2 device, however there is ...
by 6by9
Wed Jul 17, 2019 8:05 pm
Forum: Troubleshooting
Topic: Simultaneous video encoding & decoding does not work
Replies: 3
Views: 134

Re: Simultaneous video encoding & decoding does not work

I believe that one of my colleagues has made some progress on this today, so hopefully we will have a solution soon.
by 6by9
Wed Jul 17, 2019 7:57 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Pi4B - Coach! I can't do a pull-up!?
Replies: 5
Views: 140

Re: Pi4B - Coach! I can't do a pull-up!?

raspi-gpio is the tool that is provided by Pi Towers for setting up GPIO from the command line. It should be installable from apt.
by 6by9
Wed Jul 17, 2019 7:01 pm
Forum: Graphics programming
Topic: Clone UHD60 outputs on Pi4?
Replies: 1
Views: 37

Re: Clone UHD60 outputs on Pi4?

Generally it is memory bandwidth that is the limiting factor for dual 4k60. Hdmi1 also has a slightly smaller fifo, so the timing of available memory bandwidth is more critical. It may be that we can find settings that allow it with limited scene complexity, but that'll be a little way down the line...
by 6by9
Wed Jul 17, 2019 2:37 pm
Forum: General discussion
Topic: RPi 4 - Dual screen in CLI
Replies: 12
Views: 391

Re: RPi 4 - Dual screen in CLI

I need to play one video on two screens with omxplayer, but without GUI. Right now im using PiWall, so for 2 screens i use 3 Rpi's . The same video on both screens, or different videos? omxplayer won't allow you to replicate the video on both screens directly, but the underlying components will. At...
by 6by9
Wed Jul 17, 2019 1:56 pm
Forum: General discussion
Topic: RPi 4 - Dual screen in CLI
Replies: 12
Views: 391

Re: RPi 4 - Dual screen in CLI

I bet it is possible to have separate consoles on different framebuffers. Last time I was playing with it was for adding additional screens on SPI interface, and assign console to it. I can't remember what I've done then - later I just switched to fbcp and had main (GPU supported) framebuffer just ...
by 6by9
Wed Jul 17, 2019 1:36 pm
Forum: General discussion
Topic: RPi 4 - Dual screen in CLI
Replies: 12
Views: 391

Re: RPi 4 - Dual screen in CLI

I don't believe Linux allows you to stretch the console framebuffer across two screens. I've never seen it on any install I've ever done. I'm not sure what the gain would be in stretching the screen when at the console.

You can control the two displays independently via libdrm when in the console.
by 6by9
Wed Jul 17, 2019 9:06 am
Forum: General discussion
Topic: Pi4 - custom dual display configuration
Replies: 34
Views: 979

Re: Pi4 - custom dual display configuration

On the RPI3 I could operate two WXGA (1280*800) side by side. I'm assuming you mean Rpi3 with legacy drivers (I'm also running on a RPi3). That would have been using Xinerama and have had no hardware acceleration using the 3D hardware. Xinerama also has to do a load of extra work as objects get dra...
by 6by9
Wed Jul 17, 2019 9:01 am
Forum: OpenMAX
Topic: Convert color format using GPU in Gstreamer (alternative to videoconvert).
Replies: 7
Views: 238

Re: Convert color format using GPU in Gstreamer (alternative to videoconvert).

6by9, thank you for the answer! I plan to switch to Raspbian Buster and Raspberry Pi 4 (at Raspbian Stretch, I updated the kernel to 4.19). I hope that in Raspbian Buster with Gstreamer 1.14 I will be able to configure the gst-plugin-bad to output video through the GLES layer. In Raspbian Stretch I...
by 6by9
Tue Jul 16, 2019 9:37 pm
Forum: General discussion
Topic: Pi 4 firmware, software stability improvements
Replies: 66
Views: 6737

Re: Pi 4 firmware, software stability improvements

if double buffer is what you need to make it not look bad... then why wouldn't you do it? It's not the way X does things, therefore is almost a complete rewrite of the whole windowing system. Wayland and Weston were attempts to do this, but when they got there they also found out just how hard it w...
by 6by9
Tue Jul 16, 2019 5:01 pm
Forum: General discussion
Topic: Pi4 - custom dual display configuration
Replies: 34
Views: 979

Re: Pi4 - custom dual display configuration

OK, Pi3 V3D does appear to have a rendering issue, but only because the maximum resolution isn't being clipped to 2048x2048. I need to check why the conditional at https://github.com/raspberrypi/linux/blob/rpi-4.19.y/drivers/gpu/drm/vc4/vc4_kms.c#L432 isn't altering the max render area. I had forgot...
by 6by9
Tue Jul 16, 2019 3:20 pm
Forum: General discussion
Topic: Pi4 - custom dual display configuration
Replies: 34
Views: 979

Re: Pi4 - custom dual display configuration

hdmi_timing/hdmi_group/hdmi_mode in FKMS changes ready, but need to got through the process to be released into the wild. Kernel side is https://github.com/raspberrypi/linux/pull/3082, but it's not going to do much without the firmware side. Pi4, DPI (via VGA666) @ 1080p, HDMI0 @ 1080p. https://driv...
by 6by9
Tue Jul 16, 2019 11:41 am
Forum: C/C++
Topic: i2c - send only read bit without register address and read 2 bytes
Replies: 5
Views: 119

Re: i2c - send only read bit without register address and read 2 bytes

SMBus is defintely NOT what you want. It is a protocol that is partially compatible with I2C, but enforces sending a register address before every read. The datasheet says that tconv is 7.5usecs, which would be 133kHz. With the default I2C frequency being 100kHz you're probably getting away without ...
by 6by9
Tue Jul 16, 2019 11:23 am
Forum: Graphics programming
Topic: Speeding up rpi-fbcp
Replies: 57
Views: 23599

Re: Speeding up rpi-fbcp

Just a short question:Is this rpi-fbcp program still work on latest RPI4 Models? I heard about that RPI4 has a VC6 core than VC4 of previous models but not sure if there is any support changes to it OMX API. Hopefully someone will correct me if I am wrong. It is my understanding that rpi-fbcp (and ...
by 6by9
Tue Jul 16, 2019 11:19 am
Forum: Graphics programming
Topic: Hdmi hotplug not usefull
Replies: 9
Views: 281

Re: Hdmi hotplug not usefull

This sounds like it is more down to your monitor than the Pi. The EDID should be readable even when the display is powered off - there's even a 5V line up the HDMI cable to power the EDID EEPROM. Testing on my Dell monitor here I can read the EDID happily when it is turned off via the soft power but...
by 6by9
Tue Jul 16, 2019 9:34 am
Forum: Graphics, sound and multimedia
Topic: Setting bitrate on the h264_omx in ffmpeg
Replies: 1
Views: 65

Re: Setting bitrate on the h264_omx in ffmpeg

38000kbits/s would be 38Mbit/s. The maximum is normally 25Mbit/s, so I'm assuming you mean 38kbit/s. I haven't tested this, but ffmpeg is often fussy on parameter order and generally they have to be specified before the item they have to be set on. I'd try shifting the -b:v to before the h264_omx ff...
by 6by9
Tue Jul 16, 2019 9:23 am
Forum: OpenMAX
Topic: Convert color format using GPU in Gstreamer (alternative to videoconvert).
Replies: 7
Views: 238

Re: Convert color format using GPU in Gstreamer (alternative to videoconvert).

The GStreamer plugin may support the mapping between Gstreamer and IL for RGBA, but that doesn't mean the underlying component does. The video_decode component supports I420/YU12, YV12, NV12, NV21, and RGB565. Conversion from YUV to RGB is a non-trivial operation. v4l2h264dec and v4l2convert are sup...

Go to advanced search