Skip to content
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

More metadata required #184

Open
sameignatovich opened this issue Nov 9, 2017 · 1 comment
Open

More metadata required #184

sameignatovich opened this issue Nov 9, 2017 · 1 comment

Comments

@sameignatovich
Copy link

Hello!

I used your gem about a year. And in my practice i need title of audio stream(s) inside video. Can you release it?

@sameignatovich
Copy link
Author

Ok, i found your mistake.

In source file lib/ffmpeg/movie.rb line 111:

:tags => stream[:streams],

need to be:

:tags => stream[:tags],

output before changing:

2.4.2 > m.audio_streams[1]
=> {:index=>2, :channels=>6, :codec_name=>"dts", :sample_rate=>48000, :bitrate=>0, :channel_layout=>"5.1(side)", :tags=>nil, :overview=>"dts ([0][0][0][0] / 0x0000), 48000 Hz, 5.1(side), s32p,  bit/s"}

after:

2.4.2 > m.audio_streams[1]
=> {:index=>2, :channels=>6, :codec_name=>"dts", :sample_rate=>48000, :bitrate=>0, :channel_layout=>"5.1(side)", :tags=>{:language=>"rus", :title=>"DTS-HD Master Audio / 5.1 ch / 48 kHz / 24 bit / 3836 kbps - MVO [West Video]."}, :overview=>"dts ([0][0][0][0] / 0x0000), 48000 Hz, 5.1(side), s32p,  bit/s"}

Please, make this fix and release new version

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

No branches or pull requests

1 participant