What do MP4 metadata tags such as "gssd" or "gsst" mean? - tags

I am extracting metadata from mp4 files and found some keys that I cannot identify: "gssd", "gsst", "gstd" and "gspu" are some of them.
I know of keys defined for iTunes (in AtomicParsley's website there is some info), but those won't appear in the .mp4 files I have analyzed with a hex editor. Instead I find these not-telling-me-anything keys. Their values are also not very representative: their type is text and they look like "0", "300953" or "B4A7D6381HH"
Has anyone dealt with these tags before? What do they mean?

This superuser question and this forum post suggest that those meta tags are added by Google for tracking purposes.
I did a little test of my own. I took a video I uploaded to vimeo and checked the metadata using MediaInfo. It did not contain any of the tags gsst, gstd, gssd, gshh in the general section or any other section.
Next I uploaded the downloaded Vimeo video to YouTube. I proceeded to download the video once again and checked the meta tags. Turns out the meta tags were present.
gsst : 0
gstd : 156990
gssd : B4A7DD6E1MM1359518628237025
gshh : r1---sn-p5qlsu7r.c.youtube.com
Using Chrome's Developer tools > Resources it looks like gshh points to the XHR videoplayback. It's the direct link in the page and seems to be embedded in the file. I couldn't determine what the others store.
Minor Update
I went back today and used Youtube's editing capabilities to add a filter to my video. I downloaded the video and some of the values changed.
gsst : 0
gstd : 156850
gssd : BADC235C1MM1359899059491718
gshh : r1---sn-p5q7ynl7.c.youtube.com
The superuser question noted that some of these values change. In this instance, same video with an edit performed via Youtube, only gstd and gssd changed. I thought gssd might be a hash, but I found no evidence to support this idea.
For the curious, this is the video I used for the test.
Vimeo: https://vimeo.com/15508855
Youtube: http://www.youtube.com/watch?v=rxFqL9I66-U

Related

TinyMCE - Upload images, media and documents to your own server

I am using TinyMCE for publishing articles in some journalistic and cultural portals.
As for the media (images, audio, video, documents), everything will have to be uploaded and managed internally, without using external links to services such as YouTube and TinyPIC, which I have no control over to ascertain the permanence of the media.
I was already using the images_upload_url option for images but I cannot find a similar option for all other media or a general option that works for all media types.
For some current sites I am using the external responsivefilemanager plugin but I was hoping that in future releases of TnyMCE an internal option similar to images_upload_url would be integrated.
Is this an option I can't find or has it not yet been integrated and responsivefilemanager still needs to be used?
I recently had the same question, turns out if you are using a paid plan for TinyMCE, you could use their TinyDrive plugin & a TinyCloud account.
This allows to upload images, files and medias, plus it better integrates with their tools (ie you have a nice UI to access uploaded files by your text editor)
It may answer your need! I give you the link to their documentation: https://www.tiny.cloud/docs/tinymce/6/tinydrive-introduction/. You have a nice example on this page, to try it :
Click on the Upload icon and upload your video
Click on Insert > Media > General
Click on the Upload icon and here is your video that you can add to your text content
Have a great day,

Writing MP4 tags for M4A or MP4 audio files

I have a strange problem with MP4 tagging.. I can figure out 2 styles of tags, one that works with mp3tag and tagscanner, another that works with MusicBee.. But I can't figure out one that universally works with all of those. So I write 2 sets of tags into the file...
and even this isn't enough.. Players like AIMP and Clementine still can't read MP4 files I tagged this way. I need to open mp3tag load my files and save them.. then it will write tags that those music players understand.. but I can't find good documentation anywhere.
Does anyone know what kind of tags I need to write to make all of them be able to read the tags? I tried to look mp4s that work in all of them and it is no use, I see tags like "Artist".. I already write a tag called "Artist".. I mean it looks like "Artist" in exif also, this is the tag that I wrote that MusicBee understands.
I use the AudioGenie Windows Library to write the tags. There are 2 different methods for writing a tag.. one is called an ISLT text frame (which I have no idea what that is) and requires an integer code as well as text when writing. Another is called an iTune text frame and requires a string frame ID as well as text.
I tried to shove MP3 ID3v2 tags in both of those as well, to see if that was what the third group of players that can't read my tags wanted. But that didn't work. I only tried this because I read somewhere that ID3v2 tags are widely used in MP4 files (it was only on one comment in stackoverflow that I read this, so I'm skeptical)
Could someone point me in the right direction?

How to include subtitles in Azure Media Services' manifest?

Using the portal I uploaded a video to an input-asset and encoded it into an output-asset. On the output-asset I uploaded a .vtt file via "Upload captions" button. I can reproduce the video with the captions/subtitles in https://ampdemo.azureedge.net/, using the manifest URL and an extra URL for the .vtt file in the "Tracks" options. However other video players don't seem to support captions/subtitles via an extra URL (for example in Android or here). Is there a way to somehow include the captions/subtitles in the manifest? I see manifests from other sources including subtitles. For example, https://d3rlna7iyyu8wu.cloudfront.net/skip_armstrong/skip_armstrong_stereo_subs.m3u8 (can be played here).
Unfortunately there's not a way to add the captions to the manifest itself. However, you pointed to the Bitmovin player and it actually supports VTT captions as per https://bitmovin.com/docs/player/articles/subtitle-and-closed-captions-support. Here's some example code that includes the VTT link https://cdn.bitmovin.com/player/web/8/docs/interfaces/core_config.sourceconfig.html

Umbraco 8 - Upload and Embed Videos from Local File

What I'm trying to achieve is to upload a video to the Media section in Umbraco 8 CMS and embed then choose the video to embed in Content, just like what is normally done with images. The video can be .mp4/.avi etc.
Looks like Umbraco 8 only supports YouTube and Vimeo videos, but that's not ideal in my case.
Umbraco 8 supports a lot more than YouTube and Vimeo out of the box: https://our.umbraco.com/apidocs/v8/csharp/api/Umbraco.Web.Media.EmbedProviders.html
If there IS an external provider you'd like to use, but it isn't in the list above, it's possible to create your own embed provider to make the Embed dialog support it. As long as it supports OEmbed it shouldn't be crazy complicated to do, I think. Have a look here: https://our.umbraco.com/documentation/extending/Embedded-Media-Provider/
In case you are simply not able to use an external video service, you probably have to do something like what is mentioned here: https://our.umbraco.com/forum/using-umbraco-and-getting-started/84626-inserting-video-banners-in-umbraco (in short, create a Media Picker property on your document type and handle it in the template like Micha describes)
In umbracoSettings.config file there's a section disallowedUploadFiles. Is Mp4 in there? You should be able to do this
There is also a max file size, so maybe check your vide is under that as well

List Out all video from url

I am trying to list out all Video from a url. For this i m sending an request to "You Tube"
url as "http://www.youtube.com/" and want to list out all available video . But i didn't get anything from that request ? any idea or any documentation hint ?
There are utilities for downloading youtube videos (for example Linux has youtube-dl), but it's not uncommon for sites with large numbers of downloadable files to prevent attempts to simply download everything - and even though you said you wanted to list rather than download all the videos, that's unfortunately what it would suggest to a website administrator.
Besides, files on youtube are not accessed by simple urls like http://www.youtube.com/filename
Something more is required. I don't think you can treat the (what is it?) 11 character alphabet soup as a filename, it's a parameter passed to the software which streams back the video.
EDIT: youtube-dl is a command-line program in Linux and probably BSD. You need to know the URL of the Youtube video so you can type (for example)
youtube-dl http://www.youtube.com/watch?v=Z1JZ9O15280
If you had a list of these URLs you could put them in a file and make a bulk download script - but that takes us back to your original question.
In Firefox I would right-click on a link to a Youtube video and choose 'copy link location'. Then paste the URLs one at a time into a text file. But this question is drifting away from mere programming...