ISO/IEC 13818-3 – Does apple iTunes have documentation on standards for audio file’s uploaded for streaming and the iTunes store

Documentation related to the ISO/IEC 13818-3 standard. The standard for information technology, generic coding of moving pictures, and associated audio information systems.

I would like to know before coding and modifying audio files such as .mp4 files submitted to the iTunes store or other media type’s such as Podcasts, that it applies to Apple’s media standards.

  • Or is there a universal pre-processing stage Apple implements when such audio files are submitted to iTunes?

So far I have only found a utility set that allows conversion from .wav files to .mp4 by iTunes. Would be nice to know what these conditions these droplet files and scripts provide, specification-wise.

The Mastering Suite (Apple)

How to create an event handler to throw a javascript alert() when a document is uploaded to 2016 Sharepoint document library?

How to create an event handler to throw a JavaScript alert() when a document is uploaded to 2016 SharePoint document library? I would like the alert message to state the file name. This seems like it should be simple enough, but every where I look I need visual studio and need to know .NET.

sharepoint online – .aspx file uploaded to document library won’t open, despite identical file uploaded earlier working fine

I uploaded an .aspx file (a simple HTML button with a mailto: link) to a document library on my SharePoint Online site, with the intention of putting it into an Embed web part on a separate page. This worked fine: The page now has an Embed web part that contains the button.

Now, I want to make changes to the .aspx file. I uploaded a new version of the file to the same library. However, rather than working as expected, the new version has different behavior:

  • If I click on the newly uploaded .aspx file from the library, it downloads instead of rendering in my browser.
  • If I use the newly uploaded .aspx file as a target for my Embed web part, the button does not appear.
  • If I manually navigate to the URL of the newly uploaded .aspx file, I receive the following error message:

Sorry, something went wrong

File Not Found.

Debug Only Section Begins (visible in DEBUG builds or prodbubble)——————
System.IO.FileNotFoundException: File Not Found.
at Microsoft.SharePoint.ApplicationRuntime.SPVirtualFile.CalculateFileDependencies(HttpContext context, SPRequestModuleData basicRequestData, ICollection& directDependencies, ICollection& childDependencies)
at Microsoft.SharePoint.ApplicationRuntime.SPDatabaseFile.EnsureDependencies(HttpContext context, SPRequestModuleData requestData)
at Microsoft.SharePoint.ApplicationRuntime.SPDatabaseFile.EnsureCacheKeyAndViewStateHash(HttpContext context, SPRequestModuleData requestData)
at Microsoft.SharePoint.ApplicationRuntime.SPDatabaseFile.GetVirtualPathProviderCacheKey(HttpContext context, SPRequestModuleData requestData)
at Microsoft.SharePoint.ApplicationRuntime.SPVirtualPathProvider.GetCacheKey(String virtualPath)
at System.Web.Compilation.BuildManager.GetCacheKeyFromVirtualPath(VirtualPath virtualPath, Boolean& keyFromVPP)
at System.Web.Compilation.BuildManager.GetVPathBuildResultFromCacheInternal(VirtualPath virtualPath, Boolean ensureIsUpToDate)
at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
Debug Only Section Ends——————

TECHNICAL DETAILS

Troubleshoot issues with Microsoft SharePoint Foundation.
Correlation ID: 5835c19f-d083-0000-d1f2-3eb51cd2d202

Date and Time: 4/23/2021 4:55:14 PM

I initially thought there must be something wrong with the new file I had uploaded, so I tried uploading an exact copy of the original file. No luck, same broken behavior, despite the files being exactly the same.

The original file still works, but I am hesitant to make any changes to it now, in case doing so will cause it to display this broken behavior as well.

How can I get a newly uploaded file to behave like the ones I uploaded before (open instead of downloading when clicked on, valid target for an Embed web part)?

security – Mysterious uploaded picture in media library

we use a security facility on our WP website which sends email alerts each time a post is published, an image is uploaded, a plugin is updated, etc.
This morning I have received an alert about an image in the media library, which was uploaded from an IP address located in other country.

I have checked out the image in the media library, it has no title and no author…
How could this happen?
enter image description here

Why I can not set width/height of uploaded with with JS code

Hello,

In Laravel 8 / tailwindcss 2 / Alpinejs 2.8 app I have a form when current image is shown and
new image 1) can be selected with preview and 2) Saved by Js code with axios
request 3) on successfull upload current image is replaces with new preview image
and I have a problem when current image has big size then new uploade image looks broken.
I try to fix it with js code setting size to image on the form size of new uploaded file :

window.axios.post(‘/admin/settings/app_big_logo/images/upload’, imageUploadData).then((response) => {
let img_app_big_logo = document.querySelector(“#img_app_big_logo”) // show uploaded image @endsection the form
if (img_app_big_logo) {
// set new uploaded image
img_app_big_logo.src = response.data.settingsItemImgProps.image_url + ( ‘?dt=’ + Math.floor(Date.now() / 1000) )

console.log(‘document.querySelector(“#img_preview_app_big_logo”).width::’)
console.log(document.querySelector(“#img_preview_app_big_logo”).width)
// I got width/height of new uploaded image – in console I see small values of image
SEMrush

// But after assigning width/height of preview image
img_app_big_logo.width= document.querySelector(“#img_preview_app_big_logo”).width //+ “px”
img_app_big_logo.height= document.querySelector(“#img_preview_app_big_logo”).height //+ “px”

// I check and see prior width/height of PRIOR BIG image – so new uploaded image looks broken
console.log(‘img_app_big_logo.width::’)
console.log(img_app_big_logo.width)
console.log(‘img_app_big_logo.height::’)
console.log(img_app_big_logo.height)

}
}).catch((error) => {
console.error(error)

});

Why error and how can it be fixed ?

Thanks!

 

theming – How to theme multiple uploaded files in custom form module Drupal 8

I want to create a file field where I can upload multiple files but I want to change design of the uploaded file.

I want to remove checkbox, I want to display only count of the file instead of name of the file and I want add remove buttons to each files.

It will display this info when user upload file I just want to change design of the file info. I have uploaded example image of what I want to do

I what this

enter image description here

instead of this

enter image description here

I want to do this using custom module. Please help me

Thanks

filters – Where to hook to force WP to create compressed copy of uploaded image even if its small

I want to write a filter function and need help figuring out where it would be best to hook in or if there is any possibility at all.

My problem:

I am utilizing the jpeg_quality hook along with max_srcset_image_width hook and some custom intermediate sizes for optimization purposes.

The problem is that WP only makes a copy for an image only if a registered image size is lower then the original.

Say that my site has registered image sizes: 600×600, 1200×1200 and I set max_srcset_image_width to 1200 and jpeg_quality to 60. It works great unless the user uploads an image with resolution between 600×600 and 1200×1200. Then WP will only make the 600×600 copy, and use the original image for any situation that needs larger image. Often these original images have very low compression ratios which results in double or even triple size of what they would have been if the image was processed by WP.

What I plan to do is make it so that when WP finds that a registered image size is larger then the original, then it will proceed by making a copy with the same size as the original. That way it will utilize the compression ratio that is set in jpeg_quality.

Any help appreciated.

Pictures uploaded to Facebook display wrong colors, but only in Firefox

I’ve noticed on several occasions that the colors of my photos are slightly off when uploaded to Facebook. But I noticed this apparently is only in Firefox.

Take this photo, for example: https://www.facebook.com/stroiman.photography/photos/a.119725813405108/144011940976495

When viewed in Firefox (macOS), the colors are off. Most noticeably in the bottom of the picture, where the rock is too red and saturated. When viewing the page on Chrome or Safari, the colors looks correct*.

I also uploaded the same photo to 500px, where the colors look correct* in Firefox: https://500px.com/photo/1030535577/the-red-waterfall-by-peter-stroiman

When the colors look correct in 500px, then my conclusion must be that it is not me doing something wrong. Although I edit the photos in ProPhoto or ROMM RGB, I always export to sRGB color space from inside Capture One.

I read somewhere that Facebook compresses the image into a proprietary ICC profile as a means to save kB, so this probably relates to Firefox doing color management different from other browsers (unfortunately, I didn’t save the link to that page).

Is there anything I can do, e.g. export to a different ICC profile for Facebook to make sure that colors are rendered correctly in all browsers? It annoys me that users of a particular browser does not see the images as they were intended, and in this particular case looks over-processed.

* By “Looking correct”, I based this on a visual inspection with the browser and Capture One side to side.

Edit: As reference, this is the original file I uploaded to Facebook: http://stroiman.com/Red%20waterfall_facebook.jpg

Pictures uploaded to Facebook displays wrong colors, but only in Firefox

I’ve noticed on several occasions that the colors of my photos are slightly off when uploaded to Facebook. But I noticed this apparently is only in Firefox.

Take this photo, for example: https://www.facebook.com/stroiman.photography/photos/a.119725813405108/144011940976495

When viewed in Firefox (MacOS), the colors off. Most noticeably in the bottom of the picture, where the rock is too red and saturated. When viewing page on Chrome or Safari, the colors looks correct*.

I also uploaded the same photo to 500px, where the colors look correct* in Firefox: https://500px.com/photo/1030535577/the-red-waterfall-by-peter-stroiman

When the colors look correct in 500px, then my conclusion must be that it is not me doing something wrong. Although I edit the photos in ProPhoto or ROMM RGB, I always export to sRGB color space from inside Capture One.

I read somewhere that Facebook compresses the image into a proprietary ICC profile as a means to save kB, so this probably relates to Firefox doing color management different from other browsers (unfortunately, I didn’t save the link to that page).

Is there anything I can do, e.g. export to a different ICC profile for Facebook to make sure that colors are rendered correctly in all browsers? It annoys me that users of a particular browser does not see the images as they were intended, and in this particular case looks over-processed.

* By “Looking correct”, I based this on a visual inspection with the browser and Capture One side to side.

Edit: As reference, this is the original file I uploaded to facebook: http://stroiman.com/Red%20waterfall_facebook.jpg

sharepoint rest api – Uploaded file does not have same SHA-256 checksum as local copy

I have used SharePoint for a month or so now and have recently noticed the following behaviour:

If I upload, say, a pdf file to SharePoint and then download it again the SHA-256 checksum of the two files is the same as expected. This is also true of .png, .odt and .txt files.

However if I do the same thing with .docx or .xlsx files then the SHA-256 checksum of the two files is different!

I have also developed a perl script using REST that can upload and download files to SharePoint and have noticed the same behaviour. This causes problems because, effectively, the local file, in general, is NOT the same file on SharePoint.