Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find a proper format for codec ‘h264’ (id 28), pixel format ‘none’ #116

Open
ljr0683 opened this issue Apr 20, 2022 · 0 comments

Comments

@ljr0683
Copy link

ljr0683 commented Apr 20, 2022

I downloaded jocover’s git hub ffmpeg and compiled it to stream the video to the web on the Jetsonano board
However, i tried
ffmpeg -c:vh264_nvmpi -i /dev/video -f null -

Cannot find a proper format for codec ‘h264’ (id 28), pixel format ‘none’ (id-1)

Assertion *codec_id != AV_CODEC_ID_NONE failed at src/libavdevice/v4l2.c:811

I got this error

and I tried ./ffmpeg -encoders | grep 264

As a result of this console, the output is as follows:

v… h264_nvmpi nvmpi H.264 encoder wrapper (codec h264)
v… h264_v4l2m2m V4L2 mem2mem H.264 encoder wrapper (codec h264)
v… h264_vaapi H.264/AVC (VAAPI) (codec h264)

The camera specs are like this maybe Sony IMX219, a model called Raspberry Pi Camera Module V2

ioctl: VIDIOC_ENUM_FMT

Index : 0

Type : Video Capture

Pixel Format: ‘RG10’

Name : 10-bit Bayer RGRG/GBGB

I’d really appreciate your help

thx

@ljr0683 ljr0683 changed the title Unknown encoder 'h264_nvmpi' help Cannot find a proper format for codec ‘h264’ (id 28), pixel format ‘none’ Apr 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant