wseemann / FFmpegMediaMetadataRetriever

FFmpegMediaMetadataRetriever provides a unified interface for retrieving frame and meta data from an input media file.
1.72k stars 387 forks source link

FFmpegMediaMetadataRetriever解析不了flac格式 #260

Closed Fly-Felix closed 1 year ago

Fly-Felix commented 2 years ago

在项目中获取flac音频文件信息时获取失败,使用Android自带MediaMetadataRetriever却能解析,但是MediaMetadataRetriever不支持wma和ogg,目前解决办法只能在项目中同时使用这两个来兼容,另外发现FFmpegMediaMetadataRetriever获取ogg音频文件时间始终为0

wseemann commented 1 year ago

@Fly-Felix Please include a sample file or URL so I can debug your issue.

Fly-Felix commented 1 year ago

时间过去了一段时间,测试文件删除了,当时采取了原生api解析flac格式,用ffmpeg解析一些特殊格式,我记得当时在解析任何一个flac格式音频文件时是无法读取任何数据的,setdatasoure直接会报错,还有一个小小想法,不知道这个库能不能减小体积

---原始邮件--- 发件人: "William @.> 发送时间: 2022年9月24日(周六) 晚上6:36 收件人: @.>; 抄送: @.**@.>; 主题: Re: [wseemann/FFmpegMediaMetadataRetriever] FFmpegMediaMetadataRetriever解析不了flac格式 (Issue #260)

@Fly-Felix Please include a sample file or URL so I can debug your issue.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

wseemann commented 1 year ago

Closed due to inactivity.