metadata

ICY metadata support with ffmpeg

为君一笑 提交于 2019-12-18 05:14:10
问题 Is there any way to get ICY metadata from shoutcast stream using FFMpeg ? One way would be to deal with the connection/stream by myself and send Custom IOStream to ffmpeg. Is there any other simple way? or demuxer available ? Thanks 回答1: There was discussion of a patch for supporting it here: http://web.archiveorange.com/archive/v/yR2T400567mWEyyZHg3k But, it doesn't look like it made it in yet. I suggest you simply parse this out yourself. See my answer here for how to do this: https:/

Changing a files metadata in Python

戏子无情 提交于 2019-12-18 05:10:40
问题 Ok, I've searched around here but haven't found anything pointing to a solid answer. I'm trying to change a files artist, filename, rating, genre etc in windows, which shows up when you view folders in 'details'. At the moment I have the files I wish to edit in a list and I am iterating through them, but as I said I am not sure how to change it for each file in the list. def Files(The_FileList): '''Changes each files metadata''' for each_file in The_FileList: #clueless here. return The

MediaMetadataRetriever on streaming source

浪尽此生 提交于 2019-12-18 04:02:59
问题 I am having a tough time displaying the current track playing from a streaming source. Using MediaMetaDataRetriever class returns a NULL, meaning it failed. I wrote a simple method but now I'm inclining to think this only works on media files like MP3, WMA, AVI, etc. public void metaData(){ mmr.setDataSource(urlStation); String metaD = mmr.extractMetadata(MediaMetadataRetriever.METADATA_KEY_ALBUMARTIST); Toast.makeText(MainActivity.this, "Artist = " + metaD, Toast.LENGTH_LONG).show(); Any

Extracting information from PDFs of research papers [closed]

瘦欲@ 提交于 2019-12-17 22:30:11
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I need a mechanism for extracting bibliographic metadata from PDF documents, to save people entering it by hand or cut-and-pasting it. At the very least, the title and abstract. The list of authors and their affiliations would be good. Extracting out the references would be amazing. Ideally this would be an open

Cannot read lifecycle mapping metadata for artifact org.apache.maven.plugins:mav

白昼怎懂夜的黑 提交于 2019-12-17 20:39:25
问题 Earlier today i was just doing some work on a maven project i just imported in and i was having some trouble with it. It wasn't getting a certain dependency. I tried deleting the dependency folder then re downloading it and cleaning the project then updating it but it done nothing. Then i noticed that my other maven project popped up with an error with the pom.xml that the first one had as well. "Cannot read lifecycle mapping metadata for artifact org.apache.maven.plugins:mav" I updated maven

Write dpi metadata to a jpeg image in Java

只愿长相守 提交于 2019-12-17 19:33:44
问题 I am trying to programatically set the dpi metadata of an jpeg image in Java. The source of the image is a scanner, so I get the horizontal/vertical resolution from TWAIN, along with the image raw data. I'd like to save this info for better print results. Here's the code I have so far. It saves the raw image (byteArray) to a JPEG file, but it ignores the X/Ydensity information I specify via IIOMetadata. Any advice what I'm doing wrong? Any other solution (third-party library, etc) would be

How to get and set (change) ID3 tag (metadata) of audio files?

一笑奈何 提交于 2019-12-17 17:33:34
问题 I am working to change ID3 tags, the metadata in audio files, such as: Artist Title Album etc. And the core point,. that edited ID3 tags should be shown only into my app. 回答1: I think this is what you are looking for MyID3 library to set and get tags for media file. Download this jar file MyID3_for_android and add it to your project's build path. here is the sample code. here pathdata is the file path of the audio file. File src = new File(pathdata); MusicMetadataSet src_set = null; try { src

From a Sybase Database, how I can get table description ( field names and types)?

早过忘川 提交于 2019-12-17 17:28:53
问题 I have access to command line isql and I like to get Meta-Data of all the tables of a given database, possibly in a formatted file. How I can achieve that? Thanks. 回答1: Check sysobjects and syscolumns tables. Here is a diagram of Sybase system tables. List of all user tables: SELECT * FROM sysobjects WHERE type = 'U' You can change 'U' to other objects: C – computed column D – default F – SQLJ function L – log N – partition condition P – Transact-SQL or SQLJ procedure PR – prepare objects

ORACLE PL/Scope

巧了我就是萌 提交于 2019-12-17 17:23:58
问题 I didn't find much data about the internals of PL/Scope. I'd like to use it to analyze identifiers in PL/SQL scripts. Does it work only on Oracle 11g instances? Can I reference its dlls to use it on a machine with only ORACLE 9/10 installed? In a related manner, do I have to execute the script in order for its identifiers to be analyzed? 回答1: To answer the easy question first, we do not have to execute the program unit. We have to compile it. That is relatively simple: SQL> alter session set

mpeg-2 library to extract video duration

﹥>﹥吖頭↗ 提交于 2019-12-17 17:23:22
问题 I have recently ventured out into dealing with audio and video related coding and i have limited knowledge about neither one of them. It happens that i have a project that is dealing with mpeg-2 video now. Is there any python library that available out there to extract the duration of the mpeg-2 video itself? 回答1: I don't know any pure python implementations. But maybe the opencv bindings works for you: import cv cvcapture = cv.CaptureFromFile("movie.mpg") cv.GetCaptureProperty(cvcapture,cv