[FFmpeg-user] Automatic encoder selection failed for output stream

Ted Park kumowoon1025 at gmail.com
Sun Mar 1 15:23:35 EET 2020


Hi,

> ffmpeg -y -hide_banner -threads 8 -hwaccel nvdec -hwaccel_output_format cuda -i Saving Mr Banks (2013).mkv -vf scale_cuda=-1:720 -c:v h264_nvenc -rc vbr_hq -profile:v main -minrate 1500k -maxrate 4M -bufsize 5M -acodec ac3 -ac 6 -strict experimental -ar 48000 -b:a 640k -preset slow -flags +loop -cmp chroma -subq 6 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 1 -map 0:v -map 0:m:language:ita -metadata title=Saving Mr Banks (2013) -metadata description=Films -metadata comment=Films ../Films-720p/Saving Mr Banks (2013).mp4

> Automatic encoder selection failed for output stream #0:2. Default encoder for format mp4 (codec none) is probably disabled. Please choose an encoder manually.
> Error selecting an encoder for stream 0:2

I'm thinking you end up needing to specify an encoder explicitly for stream number 2, since it’s selected by metadata, any stream could be tagged Italian.


Regards,
Ted Park



More information about the ffmpeg-user mailing list