Getting date recorded data from mp3 file? - mp3

Is it possible to extract date recorded from mp3 files? Are there any audio recorders which embed this data?
Is the file's "date created" field changed during an http upload?
Thanks.

Have a look at http://www.ibiblio.org/mp3info/ (manpage at http://www.ibiblio.org/mp3info/mp3info.html). Alternatively http://www.mutschler.de/mp3ext/ has more of a UI.

Related

Extracting ASCII data from SAP to other systems

We are exporting some data from SAP to Azure. This includes a field containing URL information. SAP stores this in ASCII format.
How this data can be converted to text data in this other system? Is there some standard code/libraries (e.g. Java, Python) available?
More information - when the are seeing data using SAP Logon, it shows as a string "FF060201....." which looks like ASCII Hex. But when I try an online ASCII converter like http://www.unit-conversion.info/texttools/ascii/, it is unable to convert and show the URL (displaying some junk characters). Is this because SAP Logon screen is displaying the data different way whereas actual ASCII data stored in different?
Thanks in advance for any pointers/ help.
Regards,
S. Das
Edit:
This is how I am searching the table using SAP Logon, and seeing the data (stored in the column named Data)

Power BI dynamic csv file path change

I need to change the csv file path dynamically everyday on refresh. Like it would be path/filename_01_Dec_20.csv tomorrow it should be path/filename_02_Dec_20.csv, this way it will change daily. Please let me know if this can be done
Write the query for one of the CSV tables but modify the code where the filepath is specified from e.g.
.../filename_01_Dec_20.csv"...
To
.../filename_" & Date.ToText(Date.From(DateTime.LocalNow()), "dd_MMM_yy") & ".csv"...
This just puts the current date DateTime.LocalNow() in the format you're looking for using the Date.ToText formatting function.

Upload and parse file in Oracle APEX

I'm trying to find the best way to upload, parse and work with text file in Oracle APEX (current version 20.1). Bussiness case: I must upload text file, first line will be saved to table A.
Rest lines contains some records (columns are pipe delimited) should be validated. After that correct recordes should be saved to table B or if there is some error it should be saved to table C (error log).
I tried to do something with the Data Loading wizard but it doesn't fit to my requirements.
Right now I added a "File browse..." item to page, and after page submit I can find this file in APEX_APPLICATION_TEMP_FILES in blob_content.
Is there any other option to work with that file than working with blob_content from APEX_APPLICATION_TEMP_FILES. I find it difficoult to work with type of data.
Text file look something like that:
2020-06-05 info: header line
2020-06-05|columnAValue|columnBValue|
2020-06-05|columnAValue||columnCValue
2020-06-05|columnAValue|columnBValue|columnCValue
have a look into the APEX_DATA_PARSER.PARSE table function. It parses the CSV file and returns the values as rows and columns. It's described in more detail within this blog posting:
https://blogs.oracle.com/apex/super-easy-csv-xlsx-json-or-xml-parsing-about-the-apex_data_parser-package
Simply pass "file.csv" (literally) as the p_file_name argument. APEX_DATA_PARSER does not care about the "real" file name....
The function uses the file extension only to differentiate between delimited, XLSX, XML or JSON files. So simply pass in a static file name like "file.csv". That should be enough.

Vague error when importing CSV file for Google AutoML Vision

When adding an image list to a dataset, I receive the following error:
"Incorrect padding. The transaction could not be committed. Please try
again."
The image list contains 410k items and takes 15+ minutes to import, so just trying again doesn't seem the right course of action.
What does "Incorrect padding" mean and what can I do about it?
It seems that your CSV has invalid format. What you can try is loading the CSV into a spreadsheet and making sure all paths start with gs:// prefix

fetching data from json using php?

I have a Json data retrieved from facebook using graph api, now i am going to parse that data, i decoded that json
$decodedjson= json_decode($jsondata);
after that i got data in following format.
i write
$id= $decodedjson->message_id;
to get the id,
the attachment is an other object, please tell me how can i access the attachment, media, href, alt and the video , display_url and so on, name etc
Thanks
Just like any object -
$vid=($decodedjson[2])->attachment->media[0];
$alt=$vid->alt;
Edit: Noticed the [2]=>... at the top of your var_dump
json_decode - convert json format to php array
You should access it as array
$id= $decodedjson[0]['message_id'];
$attachment= $decodedjson[0]['attachment']['media'];//an array
$video= $decodedjson[0]['media'][0]['video']['owner'];