[FFmpeg-user] ffmepg mipi csi video cpature
Nikhil
nikhil.jayakrishna at iwave-global.com
Wed May 22 09:46:23 EEST 2024
I need to test video record using ov5640 camera with mipi-csi interface,
video record is working fine with usb wbcam with the same ffmpeg version
but not with mipi camera
On 22/05/24 12:22 pm, Paul B Mahol wrote:
>
>
> On Wed, May 22, 2024 at 6:34 AM Nikhil via ffmpeg-user
> <ffmpeg-user at ffmpeg.org> wrote:
>
> I need to capture mipi csi camera play, im facing the below errors
>
>
> ffmpeg version n4.2.9-106-g1076d3[ 7169.409991] unknown
> pixelformat:'YU12' 1485 Copyright (c) 2000-2023 the [ 7169.414184]
> mx6s-csi 32e20000.csi1_bridge: Fourcc format (0x32315559) invalid.
> FFmpeg developers built with g[ 7169.424334] unknown
> pixelformat:'YU12'
> cc 11.3.0 (GCC) configuration:[ 7169.430910] mx6s-csi
> 32e20000.csi1_bridge: Fourcc format (0x32315559) invalid.
> --enable-gpl
> --enable-libx264 [ 7169.441024] unknown pixelformat:'YV12'
> libavutil 56.
> 31.100 / 56. [ 7169.447610] mx6s-csi 32e20000.csi1_bridge: Fourcc
> format
> (0x32315659) invalid. 31.100 libavcodec 58. 54.1[ 7169.457747]
> unknown
> pixelformat:'422P' 00 / 58. 54.100 libavformat [ 7169.464270]
> mx6s-csi
> 32e20000.csi1_bridge: Fourcc format (0x50323234) invalid. 58.
> 29.100 /
> 58. 29.100 libav[ 7169.474361] mx6s-csi 32e20000.csi1_bridge:
> width 0,
> height 0 is too small. device 58. 8.100 / 58. 8.100[ 7169.484101]
> mx6s-csi 32e20000.csi1_bridge: width 0, height 0 is too small.
> libavfilter 7. 57.100 / [ 7169.493828] unknown pixelformat:'411P' 7.
> 57.100 libswscale 5. [ 7169.500424] mx6s-csi 32e20000.csi1_bridge:
> Fourcc format (0x50313134) invalid. 5.100 / 5. 5.100 libswresamp[
> 7169.510508] unknown pixelformat:'YUV9' le 3. 5.100 / 3. 5.100 li[
> 7169.517109] mx6s-csi 32e20000.csi1_bridge: Fourcc format
> (0x39565559)
> invalid. bpostproc 55. 5.100 / 55. 5.[ 7169.527203] unknown
> pixelformat:'YVU9' 100 [ 7169.533796] mx6s-csi 32e20000.csi1_bridge:
> Fourcc format (0x39555659) invalid. [ 7169.541454] unknown
> pixelformat:'RGBO' [ 7169.545223] mx6s-csi 32e20000.csi1_bridge:
> Fourcc
> format (0x4f424752) invalid. [ 7169.552474] unknown
> pixelformat:'RGBQ' [
> 7169.556227] mx6s-csi 32e20000.csi1_bridge: Fourcc format
> (0x51424752)
> invalid. [ 7169.563503] unknown pixelformat:'RGBP' [ 7169.567287]
> mx6s-csi 32e20000.csi1_bridge: Fourcc format (0x50424752) invalid. [
> 7169.574544] unknown pixelformat:'RGBR' [ 7169.578317] mx6s-csi
> 32e20000.csi1_bridge: Fourcc format (0x52424752) invalid. [
> 7169.585569]
> unknown pixelformat:'BGR3' [ 7169.589341] mx6s-csi
> 32e20000.csi1_bridge:
> Fourcc format (0x33524742) invalid. [ 7169.596594] unknown
> pixelformat:'RGB3' [ 7169.600369] mx6s-csi 32e20000.csi1_bridge:
> Fourcc
> format (0x33424752) invalid. [ 7169.607619] unknown
> pixelformat:'XR24' [
> 7169.611390] mx6s-csi 32e20000.csi1_bridge: Fourcc format
> (0x34325258)
> invalid. [ 7169.618644] unknown pixelformat:'BX24' [ 7169.622414]
> mx6s-csi 32e20000.csi1_bridge: Fourcc format (0x34325842) invalid. [
> 7169.629666] unknown pixelformat:'AR24' [ 7169.633435] mx6s-csi
> 32e20000.csi1_bridge: Fourcc format (0x34325241) invalid. [
> 7169.640688]
> unknown pixelformat:'BA24' [ 7169.644461] mx6s-csi
> 32e20000.csi1_bridge:
> Fourcc format (0x34324142) invalid. [ 7169.651720] unknown
> pixelformat:'BGR4' [ 7169.655494] mx6s-csi 32e20000.csi1_bridge:
> Fourcc
> format (0x34524742) invalid. [ 7169.662744] unknown
> pixelformat:'RGB4' [
> 7169.666514] mx6s-csi 32e20000.csi1_bridge: Fourcc format
> (0x34424752)
> invalid. [ 7169.673769] unknown pixelformat:'GREY' [ 7169.677547]
> mx6s-csi 32e20000.csi1_bridge: Fourcc format (0x59455247) invalid. [
> 7169.684803] unknown pixelformat:'Y16 ' [ 7169.688575] mx6s-csi
> 32e20000.csi1_bridge: Fourcc format (0x20363159) invalid. [
> 7169.695838]
> unknown pixelformat:'Z16 ' [ 7169.699612] mx6s-csi
> 32e20000.csi1_bridge:
> Fourcc format (0x2036315a) invalid. [ 7169.706896] unknown
> pixelformat:'NV12' [ 7169.710681] mx6s-csi 32e20000.csi1_bridge:
> Fourcc
> format (0x3231564e) invalid. [ 7169.717947] unknown
> pixelformat:'MJPG' [
> 7169.721719] mx6s-csi 32e20000.csi1_bridge: Fourcc format
> (0x47504a4d)
> invalid. [ 7169.728971] unknown pixelformat:'JPEG' [ 7169.732740]
> mx6s-csi 32e20000.csi1_bridge: Fourcc format (0x4745504a) invalid. [
> 7169.739992] unknown pixelformat:'H264' [ 7169.743764] mx6s-csi
> 32e20000.csi1_bridge: Fourcc format (0x34363248) invalid. [
> 7169.751016]
> unknown pixelformat:'MPG4' [ 7169.754787] mx6s-csi
> 32e20000.csi1_bridge:
> Fourcc format (0x3447504d) invalid. [ 7169.762041] unknown
> pixelformat:'CPIA' [ 7169.765810] mx6s-csi 32e20000.csi1_bridge:
> Fourcc
> format (0x41495043) invalid. [ 7169.773072] mx6s-csi
> 32e20000.csi1_bridge: width 0, height 0 is too small. [ 7169.779984]
> unknown pixelformat:'GBRG' [ 7169.783751] mx6s-csi
> 32e20000.csi1_bridge:
> Fourcc format (0x47524247) invalid. [ 7169.791018] unknown
> pixelformat:'GRBG' [ 7169.794803] mx6s-csi 32e20000.csi1_bridge:
> Fourcc
> format (0x47425247) invalid. [ 7169.802067] unknown
> pixelformat:'RGGB' [
> 7169.805836] mx6s-csi 32e20000.csi1_bridge: Fourcc format
> (0x42474752)
> invalid. [video4linux2,v4l2 @ 0xaaa[ 7169.813351] audit: type=1701
> audit(1715857984.588:9): auid=4294967295 uid=0 gid=0 ses=4294967295
> pid=11100 com m="ffmpeg" exe="/usr/local/bin/ffmpeg" sig=6 res=1
> b0262e600] Cannot find a proper format for codec 'none' (id 0), pixel
> format 'none' (id -1) Assertion *codec_id != AV_CODEC_ID_NONE
> failed at
> libavdevice/v4l2.c:815 Aborted
>
> It seems like ffmpeg not supports mipi, is there any updates to
> support
> mipi..
>
>
> Not sure what you trying to say.
>
> Above text only shows that your ffmpeg is ultra old and also broken.
>
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>
More information about the ffmpeg-user
mailing list