mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 07:31:22 +01:00
Ffmpeg stops to work with hdmi input #143
Labels
No labels
bug
enhancement
help wanted
invalid
pull-request
question
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: starred/ffmpeg-rockchip#143
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ErezAlster on GitHub (Feb 9, 2025).
Hi All
I compiled ffmpeg (thanks for the great and easy documentation).
I'm working with orange pi 5 ultra (which has Rockchip 3588).
I'm able to record a video but every several seconds ffmpeg stops with the following error:
this is the ffmpeg exec:
v4l2-ctl -d /dev/video0 -D
Driver Info:
Driver name : rk_hdmirx
Card type : rk_hdmirx
Bus info : fdee0000.hdmirx-controller
Driver version : 6.1.43
Capabilities : 0x84201000
Video Capture Multiplanar
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x04201000
Video Capture Multiplanar
Streaming
Extended Pix Format
v4l2-ctl -d /dev/video0 --get-fmt-video
Format Video Capture Multiplanar:
Width/Height : 1920/1080
Pixel Format : 'NV16' (Y/UV 4:2:2)
Field : None
Number of planes : 1
Flags : premultiplied-alpha, 0x000000fe
Colorspace : Default
Transfer Function : Unknown (0x000000b8)
YCbCr/HSV Encoding: xvYCC 601
Quantization : Limited Range
Plane 0 :
Bytes per Line : 1920
Size Image : 4147200
v4l2-ctl -d /dev/video0 --get-dv-timings
DV timings:
Active width: 1920
Active height: 1080
Total width: 2200
Total height: 1125
Frame format: progressive
Polarities: -vsync -hsync
Pixelclock: 74248000 Hz (30.00 frames per second)
Horizontal frontporch: 88
Horizontal sync: 44
Horizontal backporch: 148
Vertical frontporch: 4
Vertical sync: 5
Vertical backporch: 36
Standards:
Flags:
In the dmesg i'm getting the following error:
Any reason what can be the problem?
Thanks
Erez
@nyanmisaka commented on GitHub (Feb 9, 2025):
This is a kernel issue rather than an ffmpeg issue. 6.1.43 is also an outdated rockchip kernel version.
Required patches for hdmirx kernel driver: https://github.com/armbian/linux-rockchip/commits/rk-6.1-rkr5/drivers/media/platform/rockchip/hdmirx
@ErezAlster commented on GitHub (Feb 9, 2025):
Thanks for the link. is there a nightly build available with the relevant fixes. I'm wondering when a new kernel will be officially release.
I wasn't able to find any documentation about armbian policies about OS & kernel releases/support.
@nyanmisaka commented on GitHub (Feb 10, 2025):
I have no idea about Orange Pi's offical image builds.
After searching, the Orange Pi 5 Ultra is not yet supported by Armbian as it is a fairly new variant of Orange Pi 5 Max. You can try adding it to the Armbian image builder yourself, as well as asking for help from https://github.com/armbian/build/issues.
@ErezAlster commented on GitHub (Feb 10, 2025):
Thanks a lot. I opened a ticket for them in their forums
https://forum.armbian.com/topic/49741-orange-pi-5-ultra-support/