View Single Post
Old 12th March 2019, 09:09   #8  |  Link
lansing
Registered User
 
Join Date: Sep 2006
Posts: 1,657
Quote:
Originally Posted by poisondeathray View Post
Generally things within the vapoursynth environment will pay attention to the prop setting. It can affect how many filters work, and vsedit too

When you pipe data out, it's just YUV data , with Y4M header (or in the case of raw data, no header) , which do not convey color matrix info . The recieving application does not see the "prop" data or anything. Only things like fps, dimensions, pixel format are conveyed by Y4M
Okay.

Quote:
Some players read the flags and adjust, some do not.
I see, so that's why vlc was playing my dvd in a different color than other players.


Quote:
So for SD to SD, you don't have to do anything, unless the source video had something set incorrectly
What happen if I want to encode my dvd in rec709? For example, I want to join my dvd footage and hd live footage together, so I would have to convert the dvd footage to rec709, and then add a "colormatrix" flag on the encoder indicating that the final encode is rec709?

Code:
dvd_clip = blah
hd_clip = bleh

dvd_clip = core.resize.Bicubic(dvd_clip , matrix_in_s='170m', matrix_s='709')

dvd_clip + hd_clip
lansing is offline   Reply With Quote