Videos in web sites and apps are starting to catch up with images in terms of popularity and they are a constantly growing part of the media strategy for most organizations. This means bigger challenges for developers who need to handle these videos in their web sites and mobile apps. Cloudinary's mission is to solve all developer needs around image and video content management. In this blog post, we are excited to introduce Cloudinary's complete cloud-based video content management solution for developers.

What does it include? Here are some highlights:

Video upload API and UI widget - upload your videos directly to cloud storage

Programmable and interactive interface for managing video assets

Real-time video transcoding and manipulation via CDN delivery URLs

Customizable video player with user engagement analytics See demo

Live video streaming directly from web and mobile apps See demo

AI based video tagging and transcription

Webinar

Videos are now responsible for about 25% of the average download bandwidth of web sites (SpeedCurve analysis). As you can see in the chart below, this reflects a huge growth of about 400% compared to just two years ago. 2017 is definitely the year of video and while <video> didn't kill the <img> tag and (probably) never will, managing and delivering videos in modern web sites and mobile apps involves growing complexities for developers.

Video is the fastest-growing element of page real estate. Source: SpeedCurve blog

When Cloudinary's service was publicly launched back in 2012, our first mission was to solve image management needs for web and app developers: from uploading images from any device and storing them in the cloud, through manipulating the images on-the-fly to match any graphic design and screen resolution, to dynamically optimizing the images and delivering them via a fast CDN to worldwide users. Then, in May 2015, we expanded our solution and introduced Cloudinary's cloud-based service for video upload, real-time manipulation and optimized viewing.

Our new offer provided the same cloud-based service API for both images and videos. While the image management space keeps evolving, since 2015, we have also continued enhancing our video transcoding capabilities. Today, about 30% of Cloudinary's 5000 paying customers already upload and manipulate tens of millions of videos every month, and this number is growing quite rapidly.

The challenges developers face with the videos in their web sites tend to be more complex than images. The video files can be huge, which means longer upload & download times and very CPU-intensive transcoding and manipulation. The set of potential devices, resolutions, video formats and video codecs is large and confusing. The desired optimal user experience requires modern video players with user engagement statistics and, in some cases, also monetization capabilities.

Today we are excited to introduce the next generation of our cloud-based video content management service - even more advanced real-time video transcoding together with a modern video player, live video streaming, AI based video tagging and transcript, and more; All aimed at simplifying the video workflow for web and mobile developers while improving and enhancing the end-user experience.

Whether you are delivering top quality professional videos or user-generated clips, whether you have an eCommerce site, news channel, travel forum, or advertising agency, the back-end challenges involved in quickly uploading and then delivering optimized, high quality video to any device in any location is always there, as are the challenges of adjusting the output to match your design needs, and providing a great front-end user experience. And all these challenges mount if you want to broadcast that video live or integrate and share that content in social networks.

Cloudinary addresses all this and more by providing the following capabilities as part of a single, streamlined solution:

An end-to-end solution for dynamic videos in web sites and apps starts from the ability to upload directly from the browser or mobile apps. A single line of code allows users to upload any image or video file to the cloud without even going through your servers:

Ruby: Copy to clipboard Cloudinary :: Uploader .upload(file, resource_type : :video , public_id : " sea_turtle " ) PHP: Copy to clipboard \ Cloudinary \ Uploader ::upload( file , array( " resource_type " => " video " , " public_id " => " sea_turtle " )); Python: Copy to clipboard cloudinary.uploader.upload( file , resource_type = " video " , public_id = " sea_turtle " ) Node.js: Copy to clipboard cloudinary.uploader.upload(file, function (result) {console.log(result); }, { resource_type : " video " , public_id : " sea_turtle " }); Java: Copy to clipboard cloudinary.uploader().upload(file, ObjectUtils.asMap( " resource_type " , " video " , " public_id " , " sea_turtle " ));

You can also use our upload widget, which provides a built-in user interface for your users to select and upload image and video files.

Uploaded videos are stored securely in the cloud. Once uploaded, you can manage your cloud-based database of media files using our administrative API or using Cloudinary's Digital Asset Management user interface.

Video files might be uploaded in various different formats, codecs, resolutions and aspect ratios. These properties will most likely not match the design of your site and the various devices, browsers and resolutions your visitors use. Videos are delivered to web sites using HTTP/S URLs. Cloudinary supports format conversion, video codec optimization, and resizing and cropping of videos using regular CDN delivery URLs. The video transcoding and manipulation is performed according to the instructions in the URL, while the video processing is done in real-time, on-the-fly, in the cloud when the first user accesses the URL.

For example, below is a video as originally uploaded followed by a web friendly MP4 200x200 cropped version of the video. The transcoding and cropping is done on-the-fly by adding the w_200,h_200,c_fill,g_north dynamic manipulation instructions to the video delivery URL.

URL: Copy to clipboard https://res.cloudinary.com/demo/ video/upload/ w_200,h_200,c_fill,g_north/ sea_turtle.mp4 Ruby: Copy to clipboard cl_video_tag( " sea_turtle " , :width => 200 , :height => 200 , :gravity => " north " , :crop => " fill " ) PHP: Copy to clipboard cl_video_tag( " sea_turtle " , array ( " width " => 200 , " height " => 200 , " gravity " => " north " , " crop " => " fill " )) Python: Copy to clipboard CloudinaryVideo( " sea_turtle " ).video(width= 200 , height= 200 , gravity= " north " , crop= " fill " ) Node.js: Copy to clipboard cloudinary.video( " sea_turtle " , { width : 200 , height : 200 , gravity : " north " , crop : " fill " }) Java: Copy to clipboard cloudinary.url().transformation( new Transformation().width( 200 ).height( 200 ).gravity( " north " ).crop( " fill " )).videoTag( " sea_turtle " ); JS: Copy to clipboard cloudinary.videoTag( ' sea_turtle ' , { width : 200 , height : 200 , gravity : " north " , crop : " fill " }).toHtml(); jQuery: Copy to clipboard $ .cloudinary.video( " sea_turtle " , { width : 200 , height : 200 , gravity : " north " , crop : " fill " }) React: Copy to clipboard <Video publicId = " sea_turtle " > <Transformation width = " 200 " height = " 200 " gravity = " north " crop = " fill " /> </Video> Vue.js: Copy to clipboard <cld-video publicId = " sea_turtle " > <cld-transformation width = " 200 " height = " 200 " gravity = " north " crop = " fill " /> </cld-video> Angular: Copy to clipboard <cl-video public-id = " sea_turtle " > <cl-transformation width = " 200 " height = " 200 " gravity = " north " crop = " fill " > </cl-transformation> </cl-video> .Net: Copy to clipboard cloudinary.Api.UrlVideoUp.Transform( new Transformation().Width( 200 ).Height( 200 ).Gravity( " north " ).Crop( " fill " )).BuildVideoTag( " sea_turtle " ) Android: Copy to clipboard MediaManager.get().url().transformation( new Transformation().width( 200 ).height( 200 ).gravity( " north " ).crop( " fill " )).resourceType( " video " ).generate( " sea_turtle.mp4 " ); iOS: Copy to clipboard cloudinary.createUrl().setResourceType( " video " ).setTransformation(CLDTransformation().setWidth( 200 ).setHeight( 200 ).setGravity( " north " ).setCrop( " fill " )).generate( " sea_turtle.mp4 " )

There are plenty of additional video manipulation building blocks that you can mix & match to create your desired composite videos. These include effects, filters, overlays of images, videos and text, and more. Below you can see a more advanced example that applies a color saturation decrease filter and adds an image (watermark), as well as video and text overlays at selected times within the video.

URL: Copy to clipboard https://res.cloudinary.com/demo/ video/upload/ ar_21:9,c_fill,w_500,ac_none/e_saturation:-50/l_cloudinary_icon,g_north_east,e_brightness:200,o_40,x_5,y_5,w_120/l_text:Roboto_34px_bold:Cute.Animals,co_white,g_west,x_10,so_2/l_video:funny_dog,w_200,g_south_east,y_10,x_10,so_2/ sea_turtle.mp4 Ruby: Copy to clipboard cl_video_tag( " sea_turtle " , :transformation =>[ { :aspect_ratio => " 21:9 " , :width => 500 , :audio_codec => " none " , :crop => " fill " }, { :effect => " saturation:-50 " }, { :overlay => " cloudinary_icon " , :gravity => " north_east " , :effect => " brightness:200 " , :opacity => 40 , :x => 5 , :y => 5 , :width => 120 }, { :overlay =>{ :font_family => " Roboto " , :font_size => 34 , :font_weight => " bold " , :text => " Cute.Animals " }, :color => " white " , :gravity => " west " , :x => 10 , :start_offset => " 2 " }, { :overlay => " video:funny_dog " , :width => 200 , :gravity => " south_east " , :y => 10 , :x => 10 , :start_offset => " 2 " } ]) PHP: Copy to clipboard cl_video_tag( " sea_turtle " , array ( " transformation " => array ( array ( " aspect_ratio " => " 21:9 " , " width " => 500 , " audio_codec " => " none " , " crop " => " fill " ), array ( " effect " => " saturation:-50 " ), array ( " overlay " => " cloudinary_icon " , " gravity " => " north_east " , " effect " => " brightness:200 " , " opacity " => 40 , " x " => 5 , " y " => 5 , " width " => 120 ), array ( " overlay " => array ( " font_family " => " Roboto " , " font_size " => 34 , " font_weight " => " bold " , " text " => " Cute.Animals " ), " color " => " white " , " gravity " => " west " , " x " => 10 , " start_offset " => " 2 " ), array ( " overlay " => " video:funny_dog " , " width " => 200 , " gravity " => " south_east " , " y " => 10 , " x " => 10 , " start_offset " => " 2 " ) ))) Python: Copy to clipboard CloudinaryVideo( " sea_turtle " ).video(transformation=[ { ' aspect_ratio ' : " 21:9 " , ' width ' : 500 , ' audio_codec ' : " none " , ' crop ' : " fill " }, { ' effect ' : " saturation:-50 " }, { ' overlay ' : " cloudinary_icon " , ' gravity ' : " north_east " , ' effect ' : " brightness:200 " , ' opacity ' : 40 , ' x ' : 5 , ' y ' : 5 , ' width ' : 120 }, { ' overlay ' : { ' font_family ' : " Roboto " , ' font_size ' : 34 , ' font_weight ' : " bold " , ' text ' : " Cute.Animals " }, ' color ' : " white " , ' gravity ' : " west " , ' x ' : 10 , ' start_offset ' : " 2 " }, { ' overlay ' : " video:funny_dog " , ' width ' : 200 , ' gravity ' : " south_east " , ' y ' : 10 , ' x ' : 10 , ' start_offset ' : " 2 " } ]) Node.js: Copy to clipboard cloudinary.video( " sea_turtle " , { transformation : [ { aspect_ratio : " 21:9 " , width : 500 , audio_codec : " none " , crop : " fill " }, { effect : " saturation:-50 " }, { overlay : " cloudinary_icon " , gravity : " north_east " , effect : " brightness:200 " , opacity : 40 , x : 5 , y : 5 , width : 120 }, { overlay : { font_family : " Roboto " , font_size : 34 , font_weight : " bold " , text : " Cute.Animals " }, color : " white " , gravity : " west " , x : 10 , start_offset : " 2 " }, { overlay : " video:funny_dog " , width : 200 , gravity : " south_east " , y : 10 , x : 10 , start_offset : " 2 " } ]}) Java: Copy to clipboard cloudinary.url().transformation( new Transformation() .aspectRatio( " 21:9 " ).width( 500 ).audioCodec( " none " ).crop( " fill " ).chain() .effect( " saturation:-50 " ).chain() .overlay( new Layer().publicId( " cloudinary_icon " )).gravity( " north_east " ).effect( " brightness:200 " ).opacity( 40 ).x( 5 ).y( 5 ).width( 120 ).chain() .overlay( new TextLayer().fontFamily( " Roboto " ).fontSize( 34 ).fontWeight( " bold " ).text( " Cute.Animals " )).color( " white " ).gravity( " west " ).x( 10 ).startOffset( " 2 " ).chain() .overlay( new Layer().publicId( " video:funny_dog " )).width( 200 ).gravity( " south_east " ).y( 10 ).x( 10 ).startOffset( " 2 " )).videoTag( " sea_turtle " ); JS: Copy to clipboard cloudinary.videoTag( ' sea_turtle ' , { transformation : [ { aspectRatio : " 21:9 " , width : 500 , audioCodec : " none " , crop : " fill " }, { effect : " saturation:-50 " }, { overlay : new cloudinary.Layer().publicId( " cloudinary_icon " ), gravity : " north_east " , effect : " brightness:200 " , opacity : 40 , x : 5 , y : 5 , width : 120 }, { overlay : new cloudinary.TextLayer().fontFamily( " Roboto " ).fontSize( 34 ).fontWeight( " bold " ).text( " Cute.Animals " ), color : " white " , gravity : " west " , x : 10 , startOffset : " 2 " }, { overlay : new cloudinary.Layer().publicId( " video:funny_dog " ), width : 200 , gravity : " south_east " , y : 10 , x : 10 , startOffset : " 2 " } ]}).toHtml(); jQuery: Copy to clipboard $ .cloudinary.video( " sea_turtle " , { transformation : [ { aspect_ratio : " 21:9 " , width : 500 , audio_codec : " none " , crop : " fill " }, { effect : " saturation:-50 " }, { overlay : new cloudinary.Layer().publicId( " cloudinary_icon " ), gravity : " north_east " , effect : " brightness:200 " , opacity : 40 , x : 5 , y : 5 , width : 120 }, { overlay : new cloudinary.TextLayer().fontFamily( " Roboto " ).fontSize( 34 ).fontWeight( " bold " ).text( " Cute.Animals " ), color : " white " , gravity : " west " , x : 10 , start_offset : " 2 " }, { overlay : new cloudinary.Layer().publicId( " video:funny_dog " ), width : 200 , gravity : " south_east " , y : 10 , x : 10 , start_offset : " 2 " } ]}) React: Copy to clipboard <Video publicId = " sea_turtle " > <Transformation aspectRatio = " 21:9 " width = " 500 " audioCodec = " none " crop = " fill " /> <Transformation effect = " saturation:-50 " /> <Transformation overlay = " cloudinary_icon " gravity = " north_east " effect = " brightness:200 " opacity = " 40 " x = " 5 " y = " 5 " width = " 120 " /> <Transformation overlay = { { fontFamily: " Roboto " , fontSize: 34 , fontWeight: " bold " , text: " Cute.Animals " } } color = " white " gravity = " west " x = " 10 " startOffset = " 2 " /> <Transformation overlay = " video:funny_dog " width = " 200 " gravity = " south_east " y = " 10 " x = " 10 " startOffset = " 2 " /> </Video> Vue.js: Copy to clipboard <cld-video publicId = " sea_turtle " > <cld-transformation aspectRatio = " 21:9 " width = " 500 " audioCodec = " none " crop = " fill " /> <cld-transformation effect = " saturation:-50 " /> <cld-transformation overlay = " cloudinary_icon " gravity = " north_east " effect = " brightness:200 " opacity = " 40 " x = " 5 " y = " 5 " width = " 120 " /> <cld-transformation overlay = { { fontFamily: " Roboto " , fontSize: 34 , fontWeight: " bold " , text: " Cute.Animals " } } color = " white " gravity = " west " x = " 10 " startOffset = " 2 " /> <cld-transformation overlay = " video:funny_dog " width = " 200 " gravity = " south_east " y = " 10 " x = " 10 " startOffset = " 2 " /> </cld-video> Angular: Copy to clipboard <cl-video public-id = " sea_turtle " > <cl-transformation aspect-ratio = " 21:9 " width = " 500 " audio-codec = " none " crop = " fill " > </cl-transformation> <cl-transformation effect = " saturation:-50 " > </cl-transformation> <cl-transformation overlay = " cloudinary_icon " gravity = " north_east " effect = " brightness:200 " opacity = " 40 " x = " 5 " y = " 5 " width = " 120 " > </cl-transformation> <cl-transformation overlay = " text:Roboto_34px_bold:Cute.Animals " color = " white " gravity = " west " x = " 10 " start-offset = " 2 " > </cl-transformation> <cl-transformation overlay = " video:funny_dog " width = " 200 " gravity = " south_east " y = " 10 " x = " 10 " start-offset = " 2 " > </cl-transformation> </cl-video> .Net: Copy to clipboard cloudinary.Api.UrlVideoUp.Transform( new Transformation() .AspectRatio( " 21:9 " ).Width( 500 ).AudioCodec( " none " ).Crop( " fill " ).Chain() .Effect( " saturation:-50 " ).Chain() .Overlay( new Layer().PublicId( " cloudinary_icon " )).Gravity( " north_east " ).Effect( " brightness:200 " ).Opacity( 40 ).X( 5 ).Y( 5 ).Width( 120 ).Chain() .Overlay( new TextLayer().FontFamily( " Roboto " ).FontSize( 34 ).FontWeight( " bold " ).Text( " Cute.Animals " )).Color( " white " ).Gravity( " west " ).X( 10 ).StartOffset( " 2 " ).Chain() .Overlay( new Layer().PublicId( " video:funny_dog " )).Width( 200 ).Gravity( " south_east " ).Y( 10 ).X( 10 ).StartOffset( " 2 " )).BuildVideoTag( " sea_turtle " ) Android: Copy to clipboard MediaManager.get().url().transformation( new Transformation() .aspectRatio( " 21:9 " ).width( 500 ).audioCodec( " none " ).crop( " fill " ).chain() .effect( " saturation:-50 " ).chain() .overlay( new Layer().publicId( " cloudinary_icon " )).gravity( " north_east " ).effect( " brightness:200 " ).opacity( 40 ).x( 5 ).y( 5 ).width( 120 ).chain() .overlay( new TextLayer().fontFamily( " Roboto " ).fontSize( 34 ).fontWeight( " bold " ).text( " Cute.Animals " )).color( " white " ).gravity( " west " ).x( 10 ).startOffset( " 2 " ).chain() .overlay( new Layer().publicId( " video:funny_dog " )).width( 200 ).gravity( " south_east " ).y( 10 ).x( 10 ).startOffset( " 2 " )).resourceType( " video " ).generate( " sea_turtle.mp4 " ); iOS: Copy to clipboard cloudinary.createUrl().setResourceType( " video " ).setTransformation(CLDTransformation() .setAspectRatio( " 21:9 " ).setWidth( 500 ).setAudioCodec( " none " ).setCrop( " fill " ).chain() .setEffect( " saturation:-50 " ).chain() .setOverlay( " cloudinary_icon " ).setGravity( " north_east " ).setEffect( " brightness:200 " ).setOpacity( 40 ).setX( 5 ).setY( 5 ).setWidth( 120 ).chain() .setOverlay( " text:Roboto_34px_bold:Cute.Animals " ).setColor( " white " ).setGravity( " west " ).setX( 10 ).setStartOffset( " 2 " ).chain() .setOverlay( " video:funny_dog " ).setWidth( 200 ).setGravity( " south_east " ).setY( 10 ).setX( 10 ).setStartOffset( " 2 " )).generate( " sea_turtle.mp4 " )

Videos can be converted to different formats simply by modifying the file extension. For example, changing the extension to '.m3u8' will automatically generate all the index files required for our built-in HLS and MPEG-DASH adaptive bitrate streaming. You can see more online video transcoding examples in the following demo:

https://demo.cloudinary.com/video/

The examples above demonstrated URL-based back-end techniques that you can use to generate and deliver videos. But we wanted to take it further and provide developers with a complete, yet simple solution for addressing the front-end video playing experience as well.

A new Cloudinary Video Player is now publicly available. The player can be initiated with a single line of code that accepts a video ID and automatically builds video manipulation and delivery URLs. Web friendly video formats such as MP4 are used and HLS & MPEG-DASH adaptive bitrate streaming is automatically set-up.

The video player can be initiated either using HTML markup or programmatically using JavaScript:

Copy to clipboard var vplayer = cld.videoPlayer( " demo-player " , { publicId : ' rafting ' , loop : true , controls : true , autoplayMode : ' on-scroll ' , transformation : { width : 400 , crop : ' limit ' }, posterOptions : { publicId : ' mypic ' , transformation { effect : [ ' sepia ' ]}}, sourceTypes : [ " hls " , " mp4 " ], })

The player has two built-in look & feel themes that can be further customized. It supports recommended videos suggestions and automatic playlist creation for a given tag assigned to multiple videos. You can track user engagement by monitoring events that can be automatically sent directly to analysis systems such as Google Analytics. See our video player documentation for more details.

The video player is an open source project based on the popular VideoJS open source video player, with its large ecosystem of plugins and customizations.

Interactive examples of the video player can be found in our video player demo page:

https://demo.cloudinary.com/video-player/

The common flow of first uploading videos and when done, delivering them to users is gradually clearing the way to a more advanced flow of live video streaming. Cloudinary now offers (beta) support for live streaming of video content directly from web sites and applications.

Video transcoding and manipulation is done in real-time on the live stream exactly in the same way it is done on pre-uploaded videos - simultaneously generating multiple different versions out of the original video - different resolutions, cropping modes, encoding quality levels, watermarks, effects, personalized text overlays and more.

Live streaming is based on the WebRTC protocol, and you can instruct Cloudinary to automatically stream the videos directly to Facebook or YouTube using the RTMP protocol.

You can try out the full live streaming experience via the following mobile web demo application:

https://demo.cloudinary.com/live/

If your web application has many videos or supports user-generated video content, smart video content management automation would make your life easier and might improve user engagement.

Auto-playing muted video became very popular in news sites and social networks such as Facebook. New versions of web browsers even limit the auto playing capabilities and prevent auto-playing with sound. To make verbal videos effective even when muted, subtitles are necessary. And if you want to support uploading videos to a social feed with muted auto-play, you probably need the videos to have the subtitles already embedded in them.

AI-based video transcript is now available as a fully integrated add-on powered by Google's Cloud Speech API. By setting Cloudinary's raw_convert upload API parameter to google_speech , the audio channel of the video is automatically processed and a transcript file is generated in your media library.

Copy to clipboard Cloudinary :: Uploader .upload( " lincoln.mp4 " , :resource_type => :video , :raw_convert => " google_speech " )

Generating a video with embedded subtitles based on automatic transcription is as simple as adding another parameter to your dynamic video delivery URL (in the example below, adding l_subtitles:lincoln.transcript ). You can even enhance the subtitles with additional options such as your choice of font, font size, color, etc. The original video (which didn't include any subtitles), now includes automatically generated captions based on Google's speech to text AI engine.

URL: Copy to clipboard https://res.cloudinary.com/demo/ video/upload/ l_subtitles:arial_20:lincoln.transcript,co_yellow/ lincoln.mp4 Ruby: Copy to clipboard cl_video_tag( " lincoln " , :overlay =>{ :font_family => " arial " , :font_size => 20 , :public_id => " lincoln.transcript " }, :color => " yellow " ) PHP: Copy to clipboard cl_video_tag( " lincoln " , array ( " overlay " => array ( " font_family " => " arial " , " font_size " => 20 , " public_id " => " lincoln.transcript " ), " color " => " yellow " )) Python: Copy to clipboard CloudinaryVideo( " lincoln " ).video(overlay={ ' font_family ' : " arial " , ' font_size ' : 20 , ' public_id ' : " lincoln.transcript " }, color= " yellow " ) Node.js: Copy to clipboard cloudinary.video( " lincoln " , { overlay : { font_family : " arial " , font_size : 20 , public_id : " lincoln.transcript " }, color : " yellow " }) Java: Copy to clipboard cloudinary.url().transformation( new Transformation().overlay( new SubtitlesLayer().fontFamily( " arial " ).fontSize( 20 ).publicId( " lincoln.transcript " )).color( " yellow " )).videoTag( " lincoln " ); JS: Copy to clipboard cloudinary.videoTag( ' lincoln ' , { overlay : new cloudinary.SubtitlesLayer().fontFamily( " arial " ).fontSize( 20 ).publicId( " lincoln.transcript " ), color : " yellow " }).toHtml(); jQuery: Copy to clipboard $ .cloudinary.video( " lincoln " , { overlay : new cloudinary.SubtitlesLayer().fontFamily( " arial " ).fontSize( 20 ).publicId( " lincoln.transcript " ), color : " yellow " }) React: Copy to clipboard <Video publicId = " lincoln " > <Transformation overlay = { { fontFamily: " arial " , fontSize: 20 , publicId: " lincoln.transcript " } } color = " yellow " /> </Video> Vue.js: Copy to clipboard <cld-video publicId = " lincoln " > <cld-transformation overlay = { { fontFamily: " arial " , fontSize: 20 , publicId: " lincoln.transcript " } } color = " yellow " /> </cld-video> Angular: Copy to clipboard <cl-video public-id = " lincoln " > <cl-transformation overlay = " subtitles:arial_20:lincoln.transcript " color = " yellow " > </cl-transformation> </cl-video> .Net: Copy to clipboard cloudinary.Api.UrlVideoUp.Transform( new Transformation().Overlay( new SubtitlesLayer().FontFamily( " arial " ).FontSize( 20 ).PublicId( " lincoln.transcript " )).Color( " yellow " )).BuildVideoTag( " lincoln " ) Android: Copy to clipboard MediaManager.get().url().transformation( new Transformation().overlay( new SubtitlesLayer().fontFamily( " arial " ).fontSize( 20 ).publicId( " lincoln.transcript " )).color( " yellow " )).resourceType( " video " ).generate( " lincoln.mp4 " ); iOS: Copy to clipboard cloudinary.createUrl().setResourceType( " video " ).setTransformation(CLDTransformation().setOverlay( " subtitles:arial_20:lincoln.transcript " ).setColor( " yellow " )).generate( " lincoln.mp4 " )

It's a common practice to organize your media database or eCommerce product catalog by categorizing and tagging your images and videos to better match uploaded content to your users. Cloudinary now supports automatic AI-based tagging of uploaded videos.

The automatic tagging is available as a fully integrated add-on powered by Google's Cloud Video Intelligence. By setting Cloudinary's categorization upload API parameter to google_video_tagging , the video is automatically analyzed, and a list of detected tag categories is included in the response. If you also set an auto-tagging level, then any category that exceeds the requested confidence level automatically gets added to the resource's tag list.

Copy to clipboard Cloudinary :: Uploader .upload( " turtle.mp4 " , :resource_type => :video , :categorization => " google_video_tagging " , :auto_tagging => 0.7 )

Below is a sample response from the automatic tagging. Categories with a confidence level above the given threshold are automatically assigned. Following that, you can see the full list of all detected categories and the time segment that each suggested tag applies to. You can list, browse, delete and search images and videos by the automatically assigned tags, either via API or our interactive UI.

Copy to clipboard " tags " : [ " turtle " , " animal " ...], " data " : [ { " tag " : " turtle " , " start_time_offset " => 0.0 , " end_time_offset " => 13.44 , " confidence " : 0.93 }, { " tag " : " animal " , " start_time_offset " => 0.0 , " end_time_offset " => 13.44 , " confidence " : 0.93 } ... ]

In the first couple of years after publicly launching Cloudinary in 2012, I wrote most of the technical blog posts that we published. But we've grown, and it's been quite a while since I've written one. When I decided to write this one introducing the next generation of our video solution, I thought that it would be a quick task...

Well, I was quite wrong - it was not quick at all. As you can see, trying to cover the highlights of the existing components and the new features of our video solution resulted in this longer-than-expected blog post, yet I still feel that I skipped so many cool features and use cases.

As you probably already understand, we are proud of our enhanced Image and Video content Management service and its new capabilities. We even made a slight yet significant update on our home page to clearly show where video fits within our complete solution:

↓

We invite you to try out the video solution with its new capabilities and share your feedback (community page or forums). And for our part, we'll keep working to further build and enhance it according to your feature requests and suggestions.

All video content management features are available now in all our plans including the free plan. You can create your free account here.