fredericopissarra Posted July 31, 2019 at 04:15 PM Share Posted July 31, 2019 at 04:15 PM A ideia é recodificar um vídeo para ele ficar pequeno e sem perdas de qualidade (ou com a menor perda possível): https://is.gd/FnBQYy https://is.gd/wnOTMK https://is.gd/BHwjlU Yep... no Bit Is Myth. Link to comment Share on other sites More sharing options...
kassane Posted August 1, 2019 at 12:40 PM Share Posted August 1, 2019 at 12:40 PM @fredericopissarra, excelente post, mas fui testar o comando do ffmpeg -hwaccel cuvid, mas ocorre um erro: [h264 @ 0x55f8611de100] Error creating a NVDEC decoder: 1 [h264 @ 0x55f8611de100] Failed setup for format cuda: hwaccel initialisation returned error. Então através deste relato substituir por cuda ou nvdec e então funcionou. Link to comment Share on other sites More sharing options...
fredericopissarra Posted August 1, 2019 at 02:25 PM Author Share Posted August 1, 2019 at 02:25 PM Yep.... verifique, antes com: $ ffmpeg -hwaccels Se o seu ffmpeg suporta cuvid ou nvdec. Mesma coisa com encoders (mas a opção é -encoders) - para ver se h264_nvenc é suportado. Link to comment Share on other sites More sharing options...
kassane Posted August 1, 2019 at 07:05 PM Share Posted August 1, 2019 at 07:05 PM 4 horas atrás, fredericopissarra disse: Yep.... verifique, antes com: $ ffmpeg -hwaccels Se o seu ffmpeg suporta cuvid ou nvdec. Mesma coisa com encoders (mas a opção é -encoders) - para ver se h264_nvenc é suportado. Minha GPU é uma GT 710 2GB ffmpeg retornou: Hardware acceleration methods: - vdpau - cuda - vaapi - drm - cuvid O cuvid aqui dar erro. Link to comment Share on other sites More sharing options...
fredericopissarra Posted August 1, 2019 at 11:56 PM Author Share Posted August 1, 2019 at 11:56 PM Tentou 'cuda'? Tem os drivers instalados corretamente? Tá usando os drivers da nVidia ou o nouveau? Anyway... se 'nvdec' funcionou, então tá ok Link to comment Share on other sites More sharing options...
kassane Posted August 2, 2019 at 10:48 AM Share Posted August 2, 2019 at 10:48 AM Estou usando driver NVidia proprietário no Arch-Linux. Já testei com nvdec, cuda e vdpau e funcionam normalmente. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.