Colorimetry conversion from bt.601 to bt.709

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Colorimetry conversion from bt.601 to bt.709

David Ing
Suppose I have two pieces of test collateral which differ only in their colorimetry.  I built them using the two commands shown below.

### bt601.ogv
gst-launch-1.0 videotestsrc pattern=0 num-buffers=30 horizontal-speed=5 do-timestamp=true
! video/x-raw,width=1280,height=720,framerate=30/1,colorimetry=bt601
! queue
! theoraenc
! oggmux name=mux
! filesink location=bt601.ogv

### bt709.ogv
gst-launch-1.0 videotestsrc pattern=0 num-buffers=30 horizontal-speed=5 do-timestamp=true
! video/x-raw,width=1280,height=720,framerate=30/1,colorimetry=bt709
! queue
! theoraenc
! oggmux name=mux
! filesink location=bt709.ogv

Now suppose I want to convert the color profile of an existing file from bt601 to bt709.  Can I do it like this?

### Convert bt601 --> bt709
gst-launch-1.0 filesrc location=bt601.ogv
! decodebin
! videoconvert
! video/x-raw,colorimetry=bt709
! queue
! theoraenc
! oggmux
! filesink location=bt601_to_bt709.ogv

Here are my questions:
  1. When each file is saved, does it contain information about the colorimetry?  (I cannot find any tool which is able to extract the colorimetry info if it exists.)
  2. Does my conversion method (shown in my third command) actually do the trick of converting the colorimetry?




_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Colorimetry conversion from bt.601 to bt.709

Vinod Kesti
you can try

gst-launch-1.0 filesrc location=<path> ! decodebin ! fakesink -v



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel