![]() This is the faster way, ffmpeg -i in.mp4 -vf extractplanesy,formatyuv420p out.mp4. Add -crf 0 for truly lossless re-encoding. This will reset the color information, but pass the luma plane intact. Unless you specify an external decoder (for example, using an AviSynth script) you will be using ffmpeg's internal h.264 decoder. Without knowing the video properties, my generic answer is. So any time you re-compress a video with ffmpeg you are decompressing the video first. Re-encoding a video always involves first decoding (decompressing) the video to uncompressed frames, then encoding (compressing) those uncompressed frames with the new codec/settings. That can vary from something that's visually nearly indistinguishable from the original to something that looks almost nothing like the original. How closely it matches depends on how much the video was compressed and what settings were used. Once you have encoded something to h.264 specs you can never get back the original video from that encoded file, only some that looks like it. That is, x264 is an encoder that produces h.264 video. x264 is a particular encoder that conforms to that spec. H.264 and AVC are the names of the specification for encoding.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |