#6952: Unable to decode & encode a file with cuvid & nvenc -------------------------------------+------------------------------------- Reporter: dogenius01 | Owner: Type: defect | Status: closed Priority: normal | Component: Version: unspecified | undetermined Keywords: nvenc cuvid | Resolution: fixed hwaccel | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+-------------------------------------
Comment (by dogenius01): Now it works perfectly with your advise. $ ffmpeg -hide_banner -hwaccel cuvid -c:v h264_cuvid -resize 854x480 -autorotate 0 -i waterfall.mp4 -c:a aac -c:v h264_nvenc -rc vbr output.mp4 Replying to [comment:2 heleppkes]: > You can pass "-autorotate 0" to stop FFmpeg from trying to rotate the video (which it cannot perform if you use a full cuvid pipeline), but of course if thats required, it might still be a problem. -- Ticket URL: <https://trac.ffmpeg.org/ticket/6952#comment:4> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker _______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://ffmpeg.org/mailman/listinfo/ffmpeg-trac