Skip to content

Implement adding metadata to output video.#20

Merged
bramp merged 2 commits intobramp:masterfrom
mandrakey:output_meta_tags
Jun 5, 2016
Merged

Implement adding metadata to output video.#20
bramp merged 2 commits intobramp:masterfrom
mandrakey:output_meta_tags

Conversation

@mandrakey
Copy link
Copy Markdown
Contributor

I added a simple implementation for adding metadata to the output video.

I realised it using an ArrayList, storing each "-metadata" value as a String. Thought about using a HashMap, but I didn't see a real reason for that.

public String video_preset;
public String video_filter;
public String video_filter_complex;
public List<String> meta_tags;
Copy link
Copy Markdown
Owner

@bramp bramp May 5, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you call this video_meta_tags

@bramp
Copy link
Copy Markdown
Owner

bramp commented May 5, 2016

Very cool. I added a few comments, that should be easy to fix.

* meta_tags -> video_meta_tags
* wrap -metadata arguments in quotes
* remove quotes from metadata values when adding since they break the command
@mandrakey
Copy link
Copy Markdown
Contributor Author

I have to leave now until tonight - if any other issues arise, I'll gladly fix them later.

@bramp bramp merged commit 6a6e120 into bramp:master Jun 5, 2016
@bramp
Copy link
Copy Markdown
Owner

bramp commented Jun 5, 2016

Thanks! I made a couple of minor changes, and merged.

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