Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 4th February 2018, 06:06   #1  |  Link
miltonsoto658
Registered User
 
Join Date: Mar 2017
Posts: 3
problem with ffvdeosource input yv24 videos

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
miltonsoto658 is offline   Reply With Quote
Old 4th February 2018, 07:31   #2  |  Link
raffriff42
Retried Guesser
 
raffriff42's Avatar
 
Join Date: Jun 2012
Posts: 1,376
Please post a MediaInfo report (text mode is preferred - see here, bottom of page)

(I suspect the codec does not produce YV24, and you need to select some other format)

Last edited by raffriff42; 24th February 2018 at 16:29.
raffriff42 is offline   Reply With Quote
Old 4th February 2018, 09:32   #3  |  Link
miltonsoto658
Registered User
 
Join Date: Mar 2017
Posts: 3
Quote:
Originally Posted by raffriff42 View Post
Please post a MediaInfo report (text mode is preferred - see here, 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
miltonsoto658 is offline   Reply With Quote
Old 4th February 2018, 13:22   #4  |  Link
Yanak
Registered User
 
Join Date: Oct 2011
Posts: 275
Quote:
Originally Posted by raffriff42 View Post
Please post a MediaInfo report (text mode is preferred - see here, 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
Yanak is offline   Reply With Quote
Old 4th February 2018, 09:56   #5  |  Link
raffriff42
Retried Guesser
 
raffriff42's Avatar
 
Join Date: Jun 2012
Posts: 1,376
Here's the problem:
>Bit depth : 10 bits

If you are using AviSynth+, you can do this:
Code:
LWLibavVideoSource(<path>, format="YUV444P10", stacked=true)
ConvertFromStacked(bits=10)
ConvertBits(8)
Not sure about a classic AviSynth solution. Maybe others can suggest something.
raffriff42 is offline   Reply With Quote
Old 4th February 2018, 10:49   #6  |  Link
miltonsoto658
Registered User
 
Join Date: Mar 2017
Posts: 3
Quote:
Originally Posted by raffriff42 View Post
Here's the problem:
>Bit depth : 10 bits

If you are using AviSynth+, you can do this:
Code:
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
miltonsoto658 is offline   Reply With Quote
Old 4th February 2018, 14:51   #7  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Germany
Posts: 922
@miltonsoto658... are you using the latest ffms2? https://www.dropbox.com/s/snepd7t006...-test8.7z?dl=1

Quote:
Originally Posted by raffriff42 View Post
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.

Code:
FFMpegSource2("example.mp4", atrack=-1)
Otherwise, you can use the 10bit hack 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.
FranceBB is offline   Reply With Quote
Old 4th February 2018, 14:56   #8  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,550
In AviSynth+ (and VapourSynth) ffms2 uses the native 10 bit formats instead of dithering down to 8 bit.
sneaker_ger is offline   Reply With Quote
Old 4th February 2018, 15:12   #9  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,550
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.

Quote:
Originally Posted by miltonsoto658 View Post
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".
sneaker_ger is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 19:05.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.