Add metadata value for presence of audio channel in video blobs by brenogazzola...
source link: https://github.com/rails/rails/pull/42392
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Summary
When working with video files it is often useful to know if the file has an audio channel or not, since any ffmpeg command that includes a filter for audio will fail otherwise.
This PR uses information already extracted by probe_from
in video_analyzer
to add an boolean named audio
to the metadata that is set to true
is the file contains an audio channel, and false
if it doesn't.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK