Giter Site home page Giter Site logo

add colr atom to existing mp4 about mp4v2 HOT 6 CLOSED

jailbreakc avatar jailbreakc commented on August 22, 2024
add colr atom to existing mp4

from mp4v2.

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024

Original comment by [email protected] on 3 Dec 2008 at 12:02

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

from mp4v2.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
r147 adds support to mp4track tool to manipulate COLR.
Example usage would be:

# list colr-boxes, if any
mp4track --colr-list test.m4v

# remove colr-box from all appropriate tracks
mp4track --colr-remove test.m4v

# remove colr-box from track-id=1
mp4track --colr-remove --track-id=1 test.m4v

# add colr-box of default type to tid=1
mp4track --colr-add --track-id=1 test.m4v

# add colr-box of same parameters which HB uses for HD content
mp4track --colr-add --track-id=1 --colr-parm-hd test.m4v

# add colr-box specifying all 3 indexes manually
mp4track --colr-add --track-id=1 --colr-parms=1,2,3 test.m4v

Original comment by [email protected] on 11 Dec 2008 at 2:03

  • Changed state: Accepted

from mp4v2.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
thanks, this works great!

Original comment by [email protected] on 11 Dec 2008 at 1:40

from mp4v2.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
the values for colr-parm-hd and colr-parm-sd are switched (SD should be 616, HD 
should be 111, see 
http://forum.handbrake.fr/viewtopic.php?f=4&t=6352&p=41489&hilit=colr#p36397). 
Attached is a patch 
against r150 to fix this. 

Tested and works as expected now, only part I was unsure about was if the reset 
function should be patched to 
have 616 instead of 111 as well, and I assume the reset function errs on the 
side of assuming SD material, so I 
did change it.

Original comment by [email protected] on 12 Dec 2008 at 12:46

Attachments:

from mp4v2.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
patch applied in r155... that is unless i borked something again as r155 was 
rather large. 

Original comment by [email protected] on 12 Dec 2008 at 8:34

from mp4v2.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024

Original comment by [email protected] on 18 Dec 2008 at 12:25

  • Changed state: Completed

from mp4v2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.