News:

--

Main Menu

Avidemux: Match the Codec

Started by Jay123210599, October 04, 2024, 08:51:33 PM

Previous topic - Next topic

Jay123210599

I have a YUV 444 10bit video, but when I used Avidemux's filters to burn in subtitles, the output was YUV 420 8bit. How do I get it to match the input video codec?

eumagga0x2a

The internal interchange format in Avidemux is YV12 (8-bit YUV 4:2:0 with U and V planes swapped). In other words, there is no way to preserve 10-bit YUV444 in Avidemux, except for the copy mode.

Jay123210599

Quote from: eumagga0x2a on October 05, 2024, 04:52:54 AMThe internal interchange format in Avidemux is YV12 (8-bit YUV 4:2:0 with U and V planes swapped). In other words, there is no way to preserve 10-bit YUV444 in Avidemux, except for the copy mode.
Quote from: eumagga0x2a on October 05, 2024, 04:52:54 AMThe internal interchange format in Avidemux is YV12 (8-bit YUV 4:2:0 with U and V planes swapped). In other words, there is no way to preserve 10-bit YUV444 in Avidemux, except for the copy mode.

So it's impossible to change the video codec for the output when using filters?

eumagga0x2a

The pixel format will have been YV12, so whatever the encoder does with it later, the information lost is not recoverable.

Jay123210599

Quote from: eumagga0x2a on October 05, 2024, 02:27:19 PMThe pixel format will have been YV12, so whatever the encoder does with it later, the information lost is not recoverable.

So yes, there's no way to get anything other than YUV420 8bit for my videos when using burning in subtitles?

eumagga0x2a

Quote from: Jay123210599 on October 05, 2024, 06:26:50 PMSo yes, there's no way to get anything other than YUV420 8bit for my videos when using burning in subtitles?

Yes, correct.

Barrythecrab

My question will reveal my ignorance, and I hope this is related enough to not be a hijack but... if I load a HuffYuv 422 into Avidemux, filter it in some way, and export it as HuffYuv 422, does it go thru a 420 "route" before the 422 export thereby losing information along the way? Or am I misunderstanding everything?

eumagga0x2a

You've got it right: whatever goes through a filter chain (a video encoder is technically also a member of the filter chain), gets converted to 8-bit 420 chroma-subsampled pixel format as this is the format all video filters and most encoders expect as input.