View Single Post
Old 26th January 2021, 22:26   #10  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,750
Quote:
Originally Posted by BlueSky00 View Post
Thanks for your response Ben!

Having two -strict -1 was my mistake when I was transferring my code here. I don't have 2 in my actual code. However, even with one, it does not work and I get the same error.

Code:
ffmpeg  -s 1920x1080  -pix_fmt yuv420p10le  -strict -1  -i all.yuv output.y4m
And here is the error:

'yuv420p10le' is not an official yuv4mpegpipe pixel format. Use '-strict -1' to encode to this pixel format.
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
This is baffling, as you already have a -strict -1 right there! And it's the same order of parameters that I have, so I have no idea why you're getting that error. You may need to consult with some ffmpeg experts.

Also, can you share your entire line? It's possible that something is going weird parsing the original .yuv frames or file. Lots of required parameters to specify.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote