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 > VapourSynth

Reply
 
Thread Tools Search this Thread Display Modes
Old 21st November 2019, 07:19   #1  |  Link
lansing
Registered User
 
Join Date: Sep 2006
Posts: 1,657
How do I convert matrix rec.709 to rec.601?

I have a blu-ray video that was wrongly converted using rec.601 to 709 while it was originally 709 already. I want to reverse it back. I tried this but nothing changed.

Code:
clip = core.resize.Bicubic(clip, matrix_in_s='709', matrix_s='170m')
lansing is offline   Reply With Quote
Old 21st November 2019, 16:36   #2  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,346
If you are using vsedit to preview, you need to also override the frame props to 709. That's what it's using to convert to RGB for display.

clip = core.std.SetFrameProp(clip, prop="_Matrix", intval=1)
poisondeathray is offline   Reply With Quote
Old 21st November 2019, 18:12   #3  |  Link
lansing
Registered User
 
Join Date: Sep 2006
Posts: 1,657
Quote:
Originally Posted by poisondeathray View Post
If you are using vsedit to preview, you need to also override the frame props to 709. That's what it's using to convert to RGB for display.

clip = core.std.SetFrameProp(clip, prop="_Matrix", intval=1)
Thanks it worked.

A side note, the SetFrameProp on the documentation should have a link to the reference page for frame properties.

http://www.vapoursynth.com/doc/funct...frameprop.html


And setting the matrix to "709" crashes my vseditor.

Code:
clip = core.std.SetFrameProp(clip, prop="_Matrix", data="709")
lansing is offline   Reply With Quote
Reply

Tags
color matrix

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:13.


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