[FFmpeg-user] Transcode video problem with h264_nvenc

Sven C. Dack sven.c.dack at sky.com
Wed Oct 19 14:03:31 EEST 2016


On 19/10/16 10:46, Gabor Alsecz wrote:
> Dear All,
>
> I try to transcode a video with h264_nvenc codec with the following command
> (including stdout/pipe, Windows):
> ffmpeg -i perspective1440.mp4 -c:v h264_nvenc -profile:v high -vf
> format=nv12 -qp 0 -f h264 - > perspective1440_out_nvenc.mp4
>
The option "-f h264" specifies a raw video output without a container. Not every 
video player is able or willing to play such a file. MPV, gxine and mplayer do 
play it, VLC does not (at least not by default).

You could try "-f flv" and see if your player accepts it. FLV is often used in 
streaming and may be more suitable for your needs.

Sven



More information about the ffmpeg-user mailing list