Uncompressed YUV 4:2:2 exporting as RGB

Here you can submit bugreports
Post Reply
Kieran O Leary

Uncompressed YUV 4:2:2 exporting as RGB

Post by Kieran O Leary »

Hello,

I'm using 0.5.0. Putting an h264 file through an uncompressed 4:2:2 workflow results in an uncompressed raw rgb file being output. I'm assuming that the output should be v210. The 4:2:0 option also results in rgb. The two different outputs have bit depths of 4 and 5 bits which seems odd as well.

mediainfo:
Original h264:

Code: Select all

General
Complete name                            : C:\Users\PC\Desktop\watch\MVI_1856ds.MOV
Format                                   : MPEG-4
Format profile                           : QuickTime
Codec ID                                 : qt  
File size                                : 330 MiB
Duration                                 : 1mn 1s
Overall bit rate                         : 44.9 Mbps
Encoded date                             : UTC 2012-12-23 13:46:59
Tagged date                              : UTC 2012-12-23 13:46:59

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Baseline@L5
Format settings, CABAC                   : No
Format settings, ReFrames                : 1 frame
Format settings, GOP                     : M=1, N=12
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 1mn 1s
Bit rate                                 : 43.3 Mbps
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Original height                          : 1 088 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 25.000 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.836
Stream size                              : 318 MiB (97%)
Language                                 : English
Encoded date                             : UTC 2012-12-23 13:46:59
Tagged date                              : UTC 2012-12-23 13:46:59
Color range                              : Full
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.601

Audio
ID                                       : 2
Format                                   : PCM
Format settings, Endianness              : Little
Format settings, Sign                    : Signed
Codec ID                                 : sowt
Duration                                 : 1mn 1s
Bit rate mode                            : Constant
Bit rate                                 : 1 536 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Stream size                              : 11.3 MiB (3%)
Language                                 : English
Encoded date                             : UTC 2012-12-23 13:46:59
Tagged date                              : UTC 2012-12-23 13:46:59
h264 to YUV 4:2:2

Code: Select all

General
Complete name                            : C:\Users\PC\Desktop\output\MVI_1856.MOV
Format                                   : MPEG-4
Format profile                           : QuickTime
Codec ID                                 : qt  
File size                                : 5.96 GiB
Duration                                 : 1mn 1s
Overall bit rate                         : 832 Mbps
Writing application                      : Lavf56.30.100

Video
ID                                       : 1
Format                                   : RGB
Codec ID                                 : raw 
Duration                                 : 1mn 1s
Bit rate mode                            : Constant
Bit rate                                 : 829 Mbps
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 25.000 fps
Color space                              : RGB
Bit depth                                : 5 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 16.000
Stream size                              : 5.95 GiB (100%)
Language                                 : English

Audio
ID                                       : 2
Format                                   : PCM
Format settings, Endianness              : Little
Format settings, Sign                    : Unsigned
Codec ID                                 : in24
Duration                                 : 1mn 1s
Bit rate mode                            : Constant
Bit rate                                 : 2 304 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Bit depth                                : 24 bits
Stream size                              : 16.9 MiB (0%)
Language                                 : English

Other
ID                                       : 3
Type                                     : Time code
Format                                   : QuickTime TC
Duration                                 : 1mn 1s
Time code of first frame                 : 00:00:00:00
Time code, striped                       : Yes
Language                                 : English
H264 to yuv4:2:0

Code: Select all

General
Complete name                            : C:\Users\PC\Desktop\output\MVI456_1850.MOV
Format                                   : MPEG-4
Format profile                           : QuickTime
Codec ID                                 : qt  
File size                                : 2.95 GiB
Duration                                 : 40s 640ms
Overall bit rate                         : 624 Mbps
Writing application                      : Lavf56.30.100

Video
ID                                       : 1
Format                                   : RGB
Codec ID                                 : raw 
Duration                                 : 40s 640ms
Bit rate mode                            : Constant
Bit rate                                 : 622 Mbps
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 25.000 fps
Color space                              : RGB
Bit depth                                : 4 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 12.000
Stream size                              : 2.94 GiB (100%)
Language                                 : English

Audio
ID                                       : 2
Format                                   : PCM
Format settings, Endianness              : Little
Format settings, Sign                    : Unsigned
Codec ID                                 : in24
Duration                                 : 40s 619ms
Bit rate mode                            : Constant
Bit rate                                 : 2 304 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Bit depth                                : 24 bits
Stream size                              : 11.2 MiB (0%)
Language                                 : English

Other
ID                                       : 3
Type                                     : Time code
Format                                   : QuickTime TC
Duration                                 : 40s 640ms
Time code of first frame                 : 00:00:00:00
Time code, striped                       : Yes
Language                                 : English
Any help will be greatly appreciated. let me know if you need any further info.
admin
Site Admin
Posts: 1687
Joined: Sat Feb 08, 2014 10:39 pm

Re: Uncompressed YUV 4:2:2 exporting as RGB

Post by admin »

I'm sorry but this is a bug. I will fix it to the next release. Thanks for reporting! :-)

-steipal
Post Reply