![]() ![]() ![]() H.264: Which One Is Better? Why We Need to Convert HEVC to H.264? Progress made at 30 FPS) ffmpeg -hwaccel dxva2 -threads 1 -i source.mp4 -map 0 -c:v libx264 -crf 18 -c:a copy out.Click the links below to jump to the part you are most interested in. But it is painfully slow (somewhere around 40 FPS) : ffmpeg -i source.mp4 -map 0 -c:v libx264 -crf 18 -vf format=yuv420p -c:a copy output.mp4īased on the doc I did check that dxva2 is enabled and working fine (roughly 300 FPS) : ffmpeg -hwaccel dxva2 -threads 4 -i source.mp4 -f null -benchmarkīut as soon as I throw a -map to convert the 0 stream (which I presume is the video) to libx264 then I'm back at CPU-bound performances (task manager shows the GPU sits mostly idle, CPU is 100%. This works totally fine if I use CPU-bound libraries. ![]() mp4 file encoded with hevc which I would want converted to h264 : ffprobe version git-ce297b4 Copyright (c) 2007-2020 the FFmpeg developersĬonfiguration: -enable-gpl -enable-version3 -enable-sdl2 -enable-fontconfig -enable-gnutls -enable-iconv -enable-libass -enable-libdav1d -enable-libbluray -enable-libfreetype -enable-libmp3lame -enable-libopencore-amrnb -enable-libopencore-amrwb -enable-libopenjpeg -enable-libopus -enable-libshine -enable-libsnappy -enable-libsoxr -enable-libsrt -enable-libtheora -enable-libtwolame -enable-libvpx -enable-libwavpack -enable-libwebp -enable-libx264 -enable-libx265 -enable-libxml2 -enable-libzimg -enable-lzma -enable-zlib -enable-gmp -enable-libvidstab -enable-libvmaf -enable-libvorbis -enable-libvo-amrwbenc -enable-libmysofa -enable-libspeex -enable-libxvid -enable-libaom -enable-libgsm -disable-w32threads -enable-libmfx -enable-ffnvcodec -enable-cuda-llvm -enable-cuvid -enable-d3d11va -enable-nvenc -enable-nvdec -enable-dxva2 -enable-avisynth -enable-libopenmpt -enable-amf I'm relatively new to the entrails of ffmpeg so feel free to point out anything in my question which would not make sense. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |