[FFmpeg-user] Ffmpeg fails to convert webm files when h264_nvenc forced

Moritz Barsnick barsnick at gmx.net
Wed Feb 28 12:32:32 EET 2018


On Wed, Feb 28, 2018 at 11:30:28 +0100, Moritz Barsnick wrote:
>     [0:v]drawtext=fontfile=/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf:x=8:y=8:fontsize=16:fontcolor=yellow at 1:expansion=strftime:basetime=1518172680000000:text='%Y-%m-%d %H-%M-%S[vout]' \
>    -map '[vout]' -map '[aout]' -c:v h264_nvenc -c:a libvorbis -shortest final_font_test.webm
> 
> (Untested.)

D'uh. Of course, "-c:v h264_nvenc -c:a libvorbis -shortest
final_font_test.webm" is the part that won't work. Please replace the
video codec, or choose .mkv as file suffix.

Moritz


More information about the ffmpeg-user mailing list