Tell me more ×
Audio-Video Production Stack Exchange is a question and answer site for engineers, producers, editors, and enthusiasts spanning the fields of audio, video, and media creation. It's 100% free, no registration required.

I'm trying to create a screencast for playback on the web. Would like to use h.264, webm, and ogg. The source files are in the Apple Animation codec, and they look perfectly accurate. However when I try to convert to mp4 using ffmpeg lossless settings, there is some definite degradation. It seems to be because the source is RGB and ffmpeg auto-selects yuv420p instead.

Incompatible pixel format 'rgb24' for codec 'libx264', auto-selecting format 'yuv420p'

Anyone know how to get the same color accuracy with mp4/h.264 as with Apple Animation?

Thanks

share|improve this question

1 Answer

H.264 does support true lossless compression (see 'Lossless mode' on this page). It seems that to avoid chroma format conversion, you need to encode using the Hi444PP profile, which accepts RGB pixels. However, a cursory search indicates that x264 doesn't support Hi444PP (yet), whereas some commercial codecs like MainConcept do.

share|improve this answer
Seems like maybe a high bitrate would be a good alternative. Of course the OP has long since dealt with this problem one way or another by now. – Matt Browne Feb 25 at 21:28

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.