I believe you are using an invalid pixel format value

Run the following command to get list of pix_formats 

> ffmpeg -pix_fmts







From documentation:

-pix_fmts:
Set pixel format. Use -pix_fmts to show all the supported pixel formats. If the 
selected pixel format can not be selected, ffmpeg will print a warning and 
select the best pixel format supported by the encoder. If pix_fmt is prefixed 
by a +, ffmpeg will exit with an error if the requested pixel format can not be 
selected, and automatic conversions inside filtergraphs are disabled. If 
pix_fmt is a single +, ffmpeg selects the same pixel format as the input (or 
graph output) and automatic conversions are disabled.

https://www.ffmpeg.org/ffmpeg-all.html#Advanced-Video-options

H264 encoding guide...

https://trac.ffmpeg.org/wiki/Encode/H.264

FFMpeg hardware acceleration guide
https://trac.ffmpeg.org/wiki/HWAccelIntro

Google is your friend ;)
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to