View Full Version : problem with ffvdeosource input yv24 videos
miltonsoto658
4th February 2018, 06:06
I was using ffvideoSource to input x264 yuv444 video, and output video is rgb then i set colorspace="yv24" gives me error
invalid colorspace name specified:(
raffriff42
4th February 2018, 07:31
Please post a MediaInfo report (text mode is preferred - see here (https://daxcloud.zendesk.com/hc/en-us/articles/207143307-Using-MediaInfo-to-inspect-the-media-properties-of-a-video-or-audio-file), bottom of page)
(I suspect the codec does not produce YV24, and you need to select some other format)
miltonsoto658
4th February 2018, 09:32
Please post a MediaInfo report (text mode is preferred - see here (https://daxcloud.zendesk.com/hc/en-us/articles/207143307-Using-MediaInfo-to-inspect-the-media-properties-of-a-video-or-audio-file), step 3)
(I suspect the codec does not produce YV24, and you need to select some other format)
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High 4:4:4 Predictive@L3
Format settings : 1 Ref Frames
Format settings, CABAC : No
Format settings, RefFrames : 1 frame
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 12 s 565 ms
Source duration : 12 s 554 ms
Bit rate : 78.4 Mb/s
Width : 720 pixels
Clean aperture width : 720 pixels
Height : 480 pixels
Clean aperture height : 480 pixels
Display aspect ratio : 3:2
Clean aperture display aspect ratio : 3:2
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:4:4
Bit depth : 10 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 9.459
Stream size : 117 MiB (98%)
Source stream size : 117 MiB (98%)
Language : English
Encoded date : UTC 2018-01-31 11:44:27
Tagged date : UTC 2018-01-31 11:45:20
Color range : Limited
Color primaries : BT.601 NTSC
Matrix coefficients : BT.601
colour_primaries_Original : BT.601 NTSC
transfer_characteristics_Original : BT.601
matrix_coefficients_Original : BT.601
Audio
ID : 2
Format : PCM
Format settings : Little / Signed
Format settings, Endianness : Little
Format settings, Sign : Signed
Codec ID : sowt
Duration : 12 s 670 ms
Bit rate mode : Constant
Bit rate : 1 536 kb/s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 kHz
Bit depth : 16 bits
Stream size : 2.32 MiB (2%)
Language : English
Encoded date : UTC 2018-01-31 11:44:38
Tagged date : UTC 2018-01-31 11:45:20
isnt yuv444 yv24? im not sure
raffriff42
4th February 2018, 09:56
Here's the problem:
>Bit depth : 10 bits
If you are using AviSynth+, you can do this:LWLibavVideoSource(<path>, format="YUV444P10", stacked=true)
ConvertFromStacked(bits=10)
ConvertBits(8)
Not sure about a classic AviSynth solution. Maybe others can suggest something.
miltonsoto658
4th February 2018, 10:49
Here's the problem:
>Bit depth : 10 bits
If you are using AviSynth+, you can do this:LWLibavVideoSource(<path>, format="YUV444P10", stacked=true)
ConvertFromStacked(bits=10)
ConvertBits(8)
Not sure about a classic AviSynth solution. Maybe others can suggest something.
its the same problem for 8bit yuv444 video, and I cant use Lwlibavvideosource, it gives me this system invalid error:scared:
Yanak
4th February 2018, 13:22
Please post a MediaInfo report (text mode is preferred - see here (https://daxcloud.zendesk.com/hc/en-us/articles/207143307-Using-MediaInfo-to-inspect-the-media-properties-of-a-video-or-audio-file), step 3)
(I suspect the codec does not produce YV24, and you need to select some other format)
Sorry for disrupting but maybe you will be interested in this for future uses :
https://mediaarea.net/MediaInfoOnline
No upload of the file, no installation needed, still in testing phase but seems to work nice for what i could test until now ;)
FranceBB
4th February 2018, 14:51
@miltonsoto658... are you using the latest ffms2? https://www.dropbox.com/s/snepd7t006fpg8o/ffms2000-test8.7z?dl=1
Not sure about a classic AviSynth solution. Maybe others can suggest something.
In Avisynth, ffms2 dithers 10bit sources down to 8bit by default, but colour space is preserved, which means that it's gonna be 4:4:4 8bit.
FFMpegSource2("example.mp4", atrack=-1)
Otherwise, you can use the 10bit hack (http://nmm.me/10r) in ffms2 that brings 10bit sources to 16bit stack, so you can do whatever post-processing you like and then dither it down to 10bit output.
sneaker_ger
4th February 2018, 14:56
In AviSynth+ (and VapourSynth) ffms2 uses the native 10 bit formats instead of dithering down to 8 bit.
sneaker_ger
4th February 2018, 15:12
FWIW: For me opening x264 4:4:4 10 bit source works with and without colorpspace="yv24". I'm using AviSynth+ r2580 and ffms2000-test8.
I was using ffvideoSource to input x264 yuv444 video, and output video is rgb then i set colorspace="yv24" gives me error
invalid colorspace name specified:(
"RGB"? Your MediaInfo says "YUV".
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.