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

Invalid Pix_FMT for NVMPI Only yuv420p is supported #83

Open
xlordz opened this issue May 4, 2021 · 2 comments
Open

Invalid Pix_FMT for NVMPI Only yuv420p is supported #83

xlordz opened this issue May 4, 2021 · 2 comments

Comments

@xlordz
Copy link

xlordz commented May 4, 2021

As I saw in other closed issues, the patched version can work with yuvj420p, but in my deploy it isn't supported.
Nano with Jetpack 4.5.1.

ffmpeg version c9f3835 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 7 (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04)
configuration: --enable-nonfree --enable-shared --enable-nvmpi --enable-libnpp --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
Input #0, mpeg, from '00000000297000000.264':
Duration: 00:41:54.60, start: 51709.276933, bitrate: 3395 kb/s
Stream #0:0[0x1e0]: Video: h264 (Main), yuvj420p(pc, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 15 fps, 15 tbr, 90k tbn, 30 tbc
[h264_nvmpi @ 0x556c70d750] Invalid Pix_FMT for NVMPI Only yuv420p is supported
Stream mapping:
Stream #0:0 -> #0:0 (h264 (h264_nvmpi) -> h264 (h264_nvmpi))
Error while opening decoder for input stream #0:0 : Invalid data found when processing input

@GavinDarkglider
Copy link
Contributor

Build before this commit.
2006718

Support for yuvj420p was removed there.

@drakorg
Copy link

drakorg commented Jul 13, 2021

Hi, I'm facing the same problem. Picking the previous commit will hopefully solve the issue, which I am doing as I write this, but do you know why support for that pixel format has been removed?
Thank you,
Best regards.

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

3 participants