[FFmpeg-user] Could not write header for output file #0 (incorrect codec parameters ?)
wxcvbn2006 at iol.ie
Sat Jul 25 16:44:38 CEST 2015
>>> The objective is to get lossless audio and video
>> Just to make sure: Do you mean video and
>> lossless audio?
> Yes of course. This was a short way (in a wrong order indeed) to say
> "...to get and keep the best Dazzle can provide without adding artefacts".
> 1- I read the video stream with -pix_fmt yuyv422 then write with
> -pix_fmt yuv422p. No choice, as you wrote,
> “As said, you cannot use PIX_FMT_YUYV422 because no encoder supports it.”
> I think there is no lost but only a different way to organise. Do you agree?
> 2- There are clipping and drops (Highlighted by ++++++++++++++++++++). I
> don't know why. Could you help?
> 3- With libx264 are there some options I could add to improve the
> quality? (libx264 has a lot of options hard for me to understand)
In another thread you wrote:
>> I.e. either use a codec designed for lossless encoding
>> such as "HuffYUV", or use something like x264 with
>> "lossless" settings.
> FFv1 should be superior in (nearly) every regard, for
> example you would need several different x264 libraries
> to support all possible colour spaces and they are not
> supported by Huffyuv at all.
> Carl Eugen
I am confused. What should be the best codec for my usage: FFV1, x264,
Could you tell me the good options for this codec?
More information about the ffmpeg-user