Hi!
I’m trying to transcode H.264 Stream to HEVC. Everything just working fine when I’m using the in-built CPU decoder, but when I turn on the Hardware-accelerated CUVID module, it throws some error with most of my streams.
nvidia-bug-report: https://1drv.ms/u/s!AlIDARy55xh44GHXxlIlt2jipoqJ
FFMPEG CMDLINE:
/root/bin/ffmpeg -hwaccel cuvid -c:v h264_cuvid -i ‘udp://239.192.26.8:1234’ -map 0:0:v -map 0:1:a -c:v hevc_nvenc -f mpegts test.ts
[h264_cuvid @ 0x3d2b800] Video height 14 not within range from 16 to 4096
Error while opening decoder for input stream #0:0 : Invalid argument
My video height with all of streams is HD or PAL resolution, so probably within that range.
stream #0:0 is the video stream.
I’ve tried to add -analyzeduration 10M -probesize 10M flags, the results same.
FFREPORT file: https://1drv.ms/u/s!AlIDARy55xh44F2f_8C1TyKwxA0t
It says:
data partitioning is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[h264 @ 0x31df240] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. ([email protected])
I’ve already written a mail to FFMPEG support, but I didn’t get a response. Maybe you can help me somehow.
Sample from input: Microsoft OneDrive - Access files anywhere. Create docs with free Office Online.
The output file is empty.
My FFMPEG version is the newest: 4.0
FFMPEG compilation parameters:
–prefix=/root/ffmpeg_build --pkg-config-flags=–static --extra-cflags=‘-I/root/ffmpeg_build/include -I/usr/local/cuda/include’ --extra-ldflags=‘-L/root/ffmpeg_build/lib -L/usr/local/cuda/lib64’ --extra-libs=-lpthread --bindir=/root/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree --enable-cuda --enable-cuvid --enable-nvenc --enable-libnpp
CUDA Version: 9.2 (Patch installed)
NVIDIA Driver: 390.48
Card: NVIDIA Quadro P2000
Using Ubuntu 17.10 and I’ve Centos 7 server with the same parameters.
If using something like this:
/root/bin/ffmpeg -i ‘udp://239.192.26.8:1234’ -map 0:0:v -map 0:1:a -c:v hevc_nvenc -f mpegts udp://224.1.1.80:1234/ or file
It runs without an issue/warning.
I made a sample of a working stream too:
Input: Microsoft OneDrive - Access files anywhere. Create docs with free Office Online.
Output: Microsoft OneDrive - Access files anywhere. Create docs with free Office Online.
Is there anything which solves this kind of issue? Am I doing something wrong?
Best regards:
Ferenc Nánási