Skip to content

Refactore media properties #127

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

cchampet
Copy link
Member

Instead of making copies of all data, converting them our types (char* to string, etc...) and making our transformations (the 'sampleFormatLongName' for example), here we store pointers to FFmpeg objects (AVCodecContext, AVFormatContext, etc...) and have getters around these objects, which access and transform the data the way we want.

Note: some data are not perfectly handled by the FFmpeg library. We fix it by creating copies for them in the corresponding class.

Next step: store metadata in a schema like EBU-Core which can contains technical and editorial metadatas.

Clement Champetier added 2 commits November 12, 2014 14:10
* Remove:
     * file mediaProperty (hpp/cpp)
     * files <type>StreamProperties (hpp)
* Add:
     * file <type>Properties (hpp/cpp)
     * util (hpp/cpp)
* Rename:
     * file printMediaProperty.hpp to print.hpp
     * struct Properties to class FileProperties
@cchampet cchampet force-pushed the dev_refactore_media_properties branch from d3a03c6 to aa8de0e Compare November 12, 2014 13:10
@MarcAntoine-Arnaud
Copy link
Member

Complex to review ...
the first commit mix lot of things ...
And rename a hard to view changes. Are you using git mv ?

@cchampet
Copy link
Member Author

New PR #130

@cchampet cchampet closed this Nov 13, 2014
@cchampet cchampet deleted the dev_refactore_media_properties branch January 30, 2015 16:35
cchampet pushed a commit to cchampet/avTranscoder that referenced this pull request Mar 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants