FFmpegMediaMetadataRetriever icon indicating copy to clipboard operation
FFmpegMediaMetadataRetriever copied to clipboard

reading ID tags from google drive api v3

Open AlejandroGomz opened this issue 3 years ago • 0 comments

Hi,

when getting Google Drive (Android Java, Drive Api V3) link like String link = fileInformationList.getFiles().get(i).getWebContentLink())

Link looks like https://drive.google.com/uc?id=<DriveFileID>&export=download&access_token=<AccessToken>&alt=media

&alt=media was added programmatically.

and using FileInputStream inputStream = new FileInputStream(link); FFmpegMediaMetadataRetriever mmr = new FFmpegMediaMetadataRetriever(); mmr.setDataSource(inputStream.getFD());

getting FileNotFoundException.

Opening the link in Edge, download or streaming is startet.

Does FFmpegMediaMetadataRetriever works with Google Drive? What's wrong in my code?

Thanks, Alejandro

AlejandroGomz avatar Apr 29 '21 21:04 AlejandroGomz