metadata

Python: Find record time of .mp4 movie

那年仲夏 提交于 2019-12-24 02:17:05
问题 I have a MS windows phone that records decent videos in .mp4 format. Looking in the gallery (film roll) all pictures and videos are arrange in the order they were taken. In python I have been succesfull to find the "date taken" of the photos (using the exifread module), but been out of luck with the videos. Does anybody know how to get this information via python? I recorded a 3 second sample [Date: 2014/01/31] ( download it here ) in case someone wants to look at the file format. 回答1: Thanks

PHP EXIF data not working

老子叫甜甜 提交于 2019-12-24 01:22:14
问题 I am new to PHP, and adapting a script from http://www.techrepublic.com/article/create-a-dynamic-photo-gallery-with-php-in-three-steps/ which generates a table of images in a directory along with some accompanying EXIF data. The only problem is that the code has not display the EXIF data. This happens with even the original source code. My best guess of what is happening is that something in the original source code is old and outdated, and no longer supported by modern PHP. I have made sure

OpenText Content Server Search API: Retrieve a file's category data via URL link in XMLformat?

六月ゝ 毕业季﹏ 提交于 2019-12-24 01:20:00
问题 I've been looking long and hard at documentation and have been googling non-stop but I am falling short. I am using the OpenText Content Server Search API. My goal: I would like to be able to fetch a file via URL, e.g. livelinkhost.mycompany.com?func=doc.fetch&nodeid=3670464" HOWEVER, I would like to be able to grab that individual file's data stored in its Category section and output it as XML using &outputformat=xml The documentation makes it seem like this is not possible and I feel I am

SSRS get meta data of remote report

喜夏-厌秋 提交于 2019-12-24 01:08:42
问题 How can I retrieve the meta data such as Description, Modified/Create Dates etc from a Remote SSRS report. The report itself displays no problems in the ReportViewer control on the aspx page so I can access the report... there doesn't seem to be any properties for those values in the .ServerReport object... thanks heaps! 回答1: There are a couple of ways, one way is to add a web reference to the web services interface of your reporting server and call the GetReportDefinition method. more

how to get extension name (without dot) in MSBuild

青春壹個敷衍的年華 提交于 2019-12-24 01:02:44
问题 I have an ItemGroup, and I use its metadata as identifiers in my MSBuild project for batch processing. For example: <BuildStep TeamFoundationServerUrl="$(TeamFoundationServerUrl)" BuildUri="$(BuildUri)" Name="RunUnitTestsStep-%(TestSuite.Filename)-%(TestSuite.Extension)" Message=" - Unit Tests: %(TestSuite.Filename): %(TestSuite.Extension)"> <Output TaskParameter="Id" PropertyName="RunUnitTestsStepId-%(TestSuite.Filename)-%(TestSuite.Extension)" /> </BuildStep> However, this will not work,

From where in an AVI file can I extract the recorded date?

断了今生、忘了曾经 提交于 2019-12-24 00:36:09
问题 The problem explained I am trying to extract the recorded date from some AVI files (in this particular case created with a Sony DV camcorder). Starting with no knowledge on the format, I have been able to make sense of the metadata in the main chunks in the file using this reference: https://msdn.microsoft.com/en-us/library/windows/desktop/dd318189(v=vs.85).aspx I been searching a lot to find out where the date is stored, but without any luck. The closest that I came was the following answer

Viewing oracle's metadata about primary/foreign key constraints

霸气de小男生 提交于 2019-12-23 18:02:28
问题 Which table contains detailed information(For example the table the foreign key is referring to) about the constraints? The tables 'all_cons_columns' , 'all_constraints' contains only the name of the constraints which isn't very helpful. I am currently using dbms_metadata.get_ddl() but it doesn't work on all the databases. Thanks. 回答1: It is all in there: the column R_CONSTRAINT_NAME in ALL_CONSTRAINTS contains the name of the referenced PK/UK constraint for a foreign key. You can then look

Best Way to Retrieve MetaData from Mp3s In Android

我的梦境 提交于 2019-12-23 13:09:44
问题 I've been working on a small media player app for Android. I'm having some trouble retrieving the meta data from the music files. I've been using the MediaMetadataRetriever , but it has proved to be quite troublesome. Does anyone know of a better way to go about this? If so how would one implement such method? 回答1: I've used JAudioTagger , which you can find here. It supports (basically) every version of ID3, so you're covered even for old files with outdated metadata. Pretty good (and easy)

Reading “People Tags” inserted by Windows Live Photo Gallery

。_饼干妹妹 提交于 2019-12-23 12:57:16
问题 Photo Gallery gives you the ability to mark a person's face and apply a tag to it. I understand it inserts tags directly into the file rather than store it off in a database or accompanying metafile anywhere. So if that's true, what data is it inserting and how is it formatted? 回答1: Here's the code I wanted. It's in C#. public void ReadWLPGRegions(string sourceFile) { string microsoftRegions = @"/xmp/RegionInfo/Regions"; string microsoftPersonDisplayName = @"/PersonDisplayName"; string

C# How can I get each column type and length and then use the lenght to padright to get the spaces at the end of each field

非 Y 不嫁゛ 提交于 2019-12-23 12:19:18
问题 I have a console application that extracts data from a SQL table to a flat file. How can I get each column type and length and then use the lenght of each column to padright(length) to get the spaces at the end of each field. Here is what I have right now that does not include this functionality. Thanks { var destination = args[0]; var command = string.Format("Select * from {0}", Validator.Check(args[1])); var connectionstring = string.Format("Data Source={0}; Initial Catalog=dbname