Jump to content

garfius

Members
  • Posts

    15
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Narnia
  • Interests
    Microcontrollers and stuff

Contact Methods

  • Github
    https://github.com/Garfius
  • Discord
    garfius#2812

Recent Profile Visitors

1848 profile views
  1. What have you used?
  2. Same situation here. Documenting. kernel module sunxi-cedrus seems to work, i see it responsible for: /dev/v4l <= /dev/media0 <= /dev/video0 <= I guess the correct ffmpeg codec might be h264_v4l2m2m, but when i use it, i always get: [h264_v4l2m2m @ 0x26de9c0] Could not find a valid device [h264_v4l2m2m @ 0x26de9c0] can't configure encoder A command example might be: ffmpeg -i input.mp4 -an -vcodec h264_v4l2m2m -b:v 2M -pix_fmt nv21 out.mp4 So i guess we are missing an environment variable or a library, or permissions? Any help will be appreciated. Thanks. ------------------------extension--------------- using: ffmpeg -loglevel debug -i /home/garfius/input.mp4 -vf scale=1920:1080 -vcodec h264_v4l2m2m -y -an -pix_fmt nv12 -b:v 2M test.mp4 Get: [Parsed_scale_0 @ 0x21ed1a0] w:1024 h:768 fmt:yuvj420p sar:1/1 -> w:1920 h:1080 fmt:nv12 sar:3/4 flags:0x4 [h264_v4l2m2m @ 0x21ba660] probing device /dev/video0 [h264_v4l2m2m @ 0x21ba660] driver 'cedrus' on card 'cedrus' in splane mode [h264_v4l2m2m @ 0x21ba660] v4l2 capture format not supported [h264_v4l2m2m @ 0x21ba660] Could not find a valid device [h264_v4l2m2m @ 0x21ba660] can't configure encoder
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines