Matthew McConaughey sees the world in terms of Red Lights (things that stop us), Yellow Light (things that slow us down), and Greenlights (things that allow us to move forward) and explains how he has been able to convert Red and Yellow lights into Greenlights. Greenlights is, of course, the title of McConaughey's 2020 autobiography.
The book is a series of anecdotes, mostly about overcoming adversity and turning negatives into positives. He grew up in a dysfunctional family with an overbearing, sometimes violent, redneck father, but he learned some valuable lessons about self-reliance from that father.
While a high school exchange student, he was assigned to live with a crazy Australian family who tried to control all his actions, but he asserted himself and was able to maintain his independence and move to a more normal home.
He was a film student struggling to find his first break when he won his first movie role, playing Wooderson in Richard Linklater's "Dazed and Confused" - a small part, but a memorable character in a movie that would later become a cult favourite.
When confused about his next step, he took a sabbatical to travel along the Amazon River or through central Africa or across America - in each case returning with greater clarity.
After establishing himself as a bankable leading man in romantic comedy films, he decided he needed new challenges and refused to accept any more rom-com roles. After a few months, the phone stopped ringing; but he eventually landed the lead in "The Dallas Buyers Club", which earned him his first and only Academy Award.
In each case, McConaughey was able to create a positive (or "Greenlight") through a combination of talent, positive thinking, hard work, cleverness, and perseverance. McConaughey comes across as an eternal optimist who lives life on his own terms. He was blessed with looks and talent, but he did not rely solely on that. He also comes across as a bit of an oddball, as he describes his drug use and his wet dreams.
Each chapter includes at least one poem or a philosophical statement or a "Note to Self" or a clever bumper sticker that relates to the coming or preceding story. It is a bit cheesy, but it works.
One wonders about the veracity of his stories: Did he really fight a champion wrestler to a draw in remote Mali? Was teenage McConaughey as successful at outwitting adults as he claims?
But we cannot doubt the entertainment value. McConaughey speaks with an engaging humor and his stories are fun.
Consultant and trainer Matthew Renze describes the different categories of Artificial Intelligence and Machine Learning, as well as appropriate tools for each category.
In Jack Kerouac's On the Road, narrator Sal Paradise and his friends crisscross the United States, searching for America, God, and themselves. Along the way, they also search for jazz, booze, drugs, girls, and adventure.
Although Sal narrates, this is really the story of his friend Dean Moriarity. Dean constantly lives in the moment - experiencing life to the fullest and searching for thrills and satisfaction at each turn. He falls in love and marries and fathers children with no sense of responsibility and no thought of the future. Sal follows along, soaking in the energy that Dean exudes.
They live fast and they observe the sights and sounds and smells of all they encounter; they connect with people; they drink in jazz clubs and feel the music flowing through them. It all sounds great, but there are consequences. Dean is self-absorbed and, although charming and fun, feels no responsibility to others. The ex-wives and children he leaves behind suffer the consequences of his abandonment; and the drug use eventually take a heavy toll on Dean's health.
This was the novel that defined the "Beat Generation" - that inspired millions to dream of freedom from social mores. It is entirely impractical, but it is a wonderful ride.
When poet John Shade died, he left behind his just-completed epic poem "Pale Fire", which was snatched up by his neighbor and colleague Charles Kinbote, who planned to write an analysis of the poem. Kinbote - an immigrant from the northern European country of Zembla - expected the poem to be about Zembla's ousted king Charles the Beloved, as Kinbote had been relaying stories of Zembla and its king to Shade for months and assumed this would serve as inspiration for his epic poem. He is disappointed to learn the poem is about Shade's impressions on life and death - particularly the death of his daughter Hazel.
Kinbote analyzes the poem anyway, but quickly turns his focus away from Shade's words toward himself, his relationship with Shade, his conflicts with Shade's wife, and the escape of King Charles from Zembla. He begins by describing (and likely inflating) his close kinship with the author; then describes his stalking of the author during the writing of the poem; followed by a detailed description of the ouster of the King Charles. Frequently, Kinbote follows a sentence fragment of the poem with a multi-page monologue completely unrelated to that fragment. On rare occasions when the analysis focuses on the poem itself, Kinbote admits that he cannot be bothered to look up any references.
In Pale Fire, Vladimir Nabokov weaves a great deal of humour into his work. Kinbote suffers from extreme hubris - exaggerating the influence he had over Shade's work and underestimating the contempt in which he is held by everyone around him. Of course, everything is imaginary - the poet, the narrator, the king, and Zembla. The unreliable narrator provides his own absurd story, weaving together fact, fiction, personal prejudices, and narcissistic rants about himself. In the end, it is impossible for the reader to identify exactly what is real.
Cloud Solution Architect Dave Hoerster describes how to use Azure Active Directory B2C to manage identity and security for a Business-to-Consumer application.
Margaret Mitchell's Gone with the Wind has two major characters: Scarlett O'Hara and the American South.
Scarlett was a feminist almost before "feminism" was a word. She was pretty and intelligent and every boy in the county wanted her and she knew it. But she was also selfish and entitled and arrogant and manipulative and racist. 900 pages and 12 years later, Scarlett is still all these things; but she is one more thing: she is a survivor. The Civil War, the invasion of Atlanta, the defeat of the Confederacy, the occupation of Georgia by Northerners and carpetbaggers, and the dismantling of the lifestyle enjoyed by Southern aristocracy broke many of her friends and neighbors. But Scarlett rose up and managed to rebuild a life for herself and her family. She saved her family home and became a successful businesswoman. She did so through intelligence and determination and sometimes through unethical behavior.
Scarlett grew up among the landed gentry of the antebellum South, surrounded by people who welcomed Civil War as an opportunity to prove their superiority over the invading Yankees. Of course, they were wrong. The war killed many of their young men, destroyed their homes and fortunes, freed their slaves, and dismantled their way of life. Their reaction to this upheaval is a major theme of this epic story. When the war ends, Scarlett's contemporaries are ill-equipped to handle the changing times. They cling to the old ways, despite the changing world. Scarlett is one of the few who adapts. No one questioned the institutions they had always known. Nor did they doubt these institutions would last forever.
The book's love triangle is well-known. As a teenager, Scarlett was in love with Ashley Wilkes, who married Melanie and was honor-bound to remain faithful. Meanwhile, the handsome but roguish Rhett Butler pursued Scarlett for years. Rhett assumes that he and Scarlett are destined for one another because they are so much alike, but their similarities lead to most of their conflicts.
When discussing this novel, one cannot ignore the topic of race. A caste system existed in the American South before and after the Civil War. Plantation owners, small farmers, white trash, house slaves, and field slaves each had their place in this society and that place was often enforced by the law and sometimes it was enforced with violence. When the North won the war and sought to punish the Confederacy, white southerners were resentful of the unfairness, but were unwilling to consider the generations of injustices they themselves had inflicted on people of color. And although the novel is full of racial stereotypes and the dialogue is rife with ethnic slurs, one must recognize that it was written by a white southerner over 80 years ago and covers a period in which ownership of non-white human beings was legal in this country. The plantation owners of Mitchell's novel do not chain their slave or physically abuse them (much); but they do look upon them as children incapable of fending for themselves; and they convince themselves that slavery is a better life for a negro than emancipation under Yankee rule; and they are surprised when most of their slaves escape as soon as the invading army provides the opportunity. Mitchell shows these sides of southern society; but she also points out the hypocrisy of northern women who looked down on black people; and she shows many example of the second-class treatment of women in nineteenth century society. Although Mitchell seems to paint the best negroes as those who are most loyal to their masters, she also provides us with strong and intelligent black characters like Mammy, Dilcey, Pork, and Uncle Peter. It is a complex topic in a complex novel filled with complex characters.
Scarlett is the most complex of them all. She lacks the kindness of Melanie and the intelligence of Mammy and the sensitivity of Ashley and the humor of Rhett; but her strength and her flaws make her one of the most fascinating heroines in literature. She rebels against the expectations that society has for a woman in her quest to become self-sufficient.
GWTW is a story of survival in the face of adversity and of doomed love and of retaining a culture that is no longer relevant. It is ab=n adventure story, a love story, a war story, and a coming-of-age story.
Margaret Mitchell wrote only one book in her life, but she made it count.
As a young man, Ernest Hemingway worked as a newspaper reporter and as a wartime ambulance driver in Spain. Hemingway draws on both experiences in his first novel: The Sun Also Rises. The story is set mostly in 1920s Spain and is told with the directness and conciseness of a newspaper article.
Narrator Jake Barnes is an American journalist living in Paris in the 1920s. He and his friends decide to travel to Spain - first to go fishing in the mountains; then to attend a festival in Pamplona, featuring bullfighting and the famous Running of the Bulls. Among Jake's friend is Britt - known as "Lady Ashley". Britt is having an affair or has had an affair with most of the group. In Pamplona, the group drinks heavily and Britt hooks up with a local matador.
This book lacks a strong plot, but focuses more on defining the characters through their dialogue and their actions. Hemingway writes with a refreshing simplicity - without wasted words or flowery language. His description of the bullfights paints a picture for the reader as if we were present in the ring.
The Sun Also Rises is a story of sexual liberation and doomed relationships and the endless pursuit of pleasure by the so-called "Lost Generation" - damaged by the first World War and drifting through life without purpose.
Kevin Ashley has a new book titled "Awesome Artificial Intelligence: Design, Art, Games", which shows how to use AI to create and enhance artwork. He talks about the theory behind this and how to get started.
Cassie Bowden is a flight attendant who makes very bad choices.
She frequently drinks until she blacks out and she often has sex with random strangers during these blackouts.
Surprisingly, she has suffered few long-term consequences for her choices; but that changes one morning in Dubai, when she wakes up next to a naked man with a slit throat.
Chris Bohjalian's 2018 novel The Flight Attendant follows Cassie as she flees the crime scene in Dubai, through the suspicion cast on her, and her chronic self-destructive behavior.
The action switches from the Middle East to New York to Rome and we get a peek inside Cassie and her pursuers, building both the action and the characters. Bohjalian does a good job developing the backgrounds and flaws of his main characters, particularly the title character and the assassin who lurks in the background. Each is plagued with daddy issues that contributed to the life they are currently leading.
I enjoyed the flawed protagonist and the espionage mixed throughout the book. The ending felt a bit rushed as some of the twists came a little too suddenly, but I can forgive this.
Azure Media Services can analyze an audio or video file and transcribe speech into text. You can then take the generated files and provide synchronized captioning for your video.
Microsoft Identity Platform is a set of authentication service, open-source libraries, and application management tools. Christos Matskas describes these tools and how to use them to make your application more secure.
Fragile Things is a collection of 25 short stories and 7 poems written by Neil Gaiman.
Most of the stories have dark - even macabre - themes. One tells how demons are created in Hell; in another, a man discovers that he has been living his entire life in a computer simulation; still another involves a boy's sexual enslavement by an ultra-rich man.
Some are more fully fleshed out than others, as if Gaiman began a longer novel before giving up; but these are worth including because Gaiman has such a gift for language and knows how to tell a story, even if it is a partial story.
Each story is independent of the others, but some exist in the same universe. For example, the wealthy Mr. Alice and his employee Mr. Smith appear in two different stories.
A couple satires or homages to the writings of other authors - C.S. Lewis's The Chronicles of Narnia and Arthur Conan Doyle's Sherlock Holmes; and a few are inspired by art and music heard by Gaiman.
My favourite entry was the longest and final story in the collection - The Monarch of the Glen, which featured Shadow of American Gods and takes place a couple years after that novel.
Nearly everything in this book has appeared elsewhere and I had already read a few of the stories, but I enjoyed them again this time around.
Learn how to use Azure Media Services to apply Artificial Intelligence and Machine Learning to a video, analyzing such things as face detection, speech-to-text, object detection, and optical character recognition
Richard Taylor is working on a system to process revenue received by tech giant Microsoft. He discusses the challenge in building and maintaining a large system like this and in migrating it to Azure.
Tommy James and the Shondells turned out hit after hit in the 1960s. But James saw very little of the royalties generated by sales of his records. That money was controlled by crime boss Morris Levy, who signed a teenage James to a deal with his Roulette Records in 1966. The band went on to release two #1 records and a dozen Top 40 singles over the next 5 years.
But Levy was notorious for non-payment of debts including tens of millions of royalties owed to James. James was forced to earn his money through constant touring and profited very little off the sale of his records.
Despite this betrayal, James and Levy maintained a close relationship throughout much of their lives. Levy was excellent at promoting James's music and James enjoyed a great deal of artistic freedom as Roulette's biggest star. James's career also benefited from Levy's strong-arm tactics: He would often bully songwriters into saving their best work for his artists.
Me, the Mob, and the Music: One Helluva Ride with Tommy James and the Shondells is Tommy James's story of life in the spotlight. It contains the usual anecdotes about women and booze and drugs that seem to be part of every rocker's life. But these stories are secondary to his interactions with Roulette and Levy.
The story climaxes in a gang war that sees Levy fleeing the country and James fearing for his life.
One wonders why James continued his relationship with Levy when he was treated so unfairly. Did he feel it was unsafe for him to leave? Was he a victim of Stockholm Syndrome? Did the career advantages of associating with Roulette outweighed the financial disadvantages?
One wonders if the corruption at Roulette was a microcosm of the corruption in the entire music industry in the 1960s; and if that corruption continues today.
One wonders if Tommy James ever received all the royalties he was due.
Despite the unanswered questions, this book was an enjoyable read about an unlikely hitmaker and his adventures with the underbelly of the industry.
An overprotective mother left him straddled with guilt and an Oedipal complex. His childhood memories are dominated by unpleasant bodily functions - his father complaining of persistent constipation; his mother accidentally spilling a drop of menstrual blood on the kitchen floor; his own inability to wipe himself completely or to control his masturbation.
Portnoy was raised by Jewish parents, grew up in a Jewish neighborhood, attended a Jewish school, and all his friends were Jewish. As an adult, he became obsessed with seducing attractive non-Jewish women ("shikses", as he calls them). But Portnoy has no interest in a real relationship. When referring to his past lovers, he is more likely to call them by a nickname than to use their real name. He calls his latest lover "The Monkey" after a past sexual incident she confessed to him. This is just one way in which he dehumanizes women, treating them only as sex objects. The Monkey is absurdly ignorant, but Portnoy stays with her because she is beautiful and good in bed; Portnoy is overtly misogynistic, but The Monkey stays with him because she hopes that he will marry her.
Portnoy's Complaint by Philip Roth is a satirical confession of a 33-year-old sex addict, who recognizes his self-destructive behavior and feels extreme guilt over it; but is powerless to correct these flaws. Despite his numerous faults and our very different upbringings, I was able to relate to his life.
The story is humorous, but crude. It is crude, but humorous.
In previous articles, I showed how to use Azure Media Services (AMS) to work with video that you upload. In this article, I will show how to broadcast a live event using AMS.
Before you get started, you will need some streaming software. For the demo in this article, I used Wirecast from Telestream. Telestream offers a free version, which is good for learning and demos but not for production, as it places a watermark on all streaming videos.
You will need to create an Azure Media Services account, as described in this article.
After the Media Service is created, navigate to the Azure Portal and to your Azure Media Services account, as shown in Fig. 1.
Fig. 1
Then, select "Live streaming" from the left menu to open the "Live streaming" blade, as shown in Fig. 2.
Fig. 2
Click the [Add live event] button (Fig. 3) to open the "Create live event dialog", as shown in Fig. 4.
Fig. 3
Fig. 4
At the "Live event name" field, enter a name for your event.
You may optionally enter a description and change the Encoding, Input protocol, Input ID, or Static hostname prefix.
Check the "I have all the rights..." checkbox to indicate you are not streaming content owned by anyone other than yourself.
Click the [Review + create] button to display the summary page, as shown in Fig. 5.
Fig. 5
If any validation errors display, return to the "Basics" page, and correct them.
Click the [Create] button to create the live event.
When the event is created, you will return to the "Live streaming" blade with your event listed, as shown in Fig. 6.
Fig. 6
Click the event name link to display the event details, as shown in Fig. 7.
Fig. 7
Click the [Start] button (Fig. 8) and click [Start] on the confirmation popup (Fig. 9) to start the event.
Fig. 8
Fig. 9
When the event is started, the event details page will show information about the input, as shown in Fig. 10.
Fig. 10
The "Input URL" textbox (Fig 11) displays a URL that you will need in your streaming software. Copy this URL and save it somewhere. You will need it in your streaming software.
Fig. 11
For the next part, you will need some streaming software. I used Wirecast from Telestream. The user interface of the free demo version is shown in Fig. 12.
Fig. 12
The following steps are specific to Wirecast, but other streaming software will have similar steps.
Click the [+] button on the first layer (Fig. 13) to open the "Add Shot" dialog, as shown in Fig. 14.
Fig. 13
Fig. 14
I chose to share the image captured by my webcam, but you can share screen captures or videos, if you like. The image you are capturing will be set as a "preview". Make this same layer broadcast live by clicking the "Live" button (Fig. 15).
Fig. 15
Now, configure your streaming software to send its live video to your AMS Live Streaming event. Select Output | Output Settings... from the menu to open the Output dialog, as shown in Fig. 16.
Fig. 16
Select "RTMP Server" from the "Destination" dropdown and click the [OK] button to open the "Output settings" dialog, as shown in Fig. 17.
Fig. 17
In the "Address" text box, paste the Input URL that you copied from the AMS Live Stream event. Click the [OK] button to close the dialog.
Your UI should look similar to the following.
To begin streaming, select Output | Start / Stop Broadcasting | Start All from the menu, as shown in Fig. 18.
Fig. 18
Your UI should look similar to Fig. 19.
Fig. 19
Return to the Azure Media Services live event. You should see a preview of what you are broadcasting from your streaming software, as shown in Fig. 20. Refresh the page if you do not see it. There may be a few seconds delay between what is captured and what is displayed.
Fig. 20
Click the [+ Create an output] button (Fig. 21) to open the "Create an output" dialog with the "Create output" tab selected, as shown in Fig. 22.
Fig. 21
Fig. 22
Verify the information on this tab; then, click the [Next: Add streaming locator] button to advance to the "Add streaming locator" tab, as shown in Fig. 23.
Fig. 23
Verify the information on this tab; then, click the [Create] button to create a streaming locator and endpoint. You will return to the live event blades, as shown in Fig. 24.
Fig. 24
Click the [Start streaming endpoint] button, then click the confirmation [Start] button, as shown in Fig. 25.
Fig. 25
After the streaming endpoint is started, copy the "Streaming URL" textbox contents (Fig. 26). You will need this to create an output page for viewers to watch your live event.
Fig. 26
Create and launch a web page with the HTML in Listing 1.
Listing 1:
lang="en">Azure Media Services Demo
href="https://amp.azure.net/libs/amp/2.3.6/skins/amp-default/azuremediaplayer.min.css"rel="stylesheet">Video
where STREAMING_URL is the Streaming URL you copied from the live event textbox above.
Listing 2 shows an example with the URL filled in.
Listing 2:
lang="en">Azure Media Services Demo
href="https://amp.azure.net/libs/amp/2.3.6/skins/amp-default/azuremediaplayer.min.css"rel="stylesheet">Video
With the live event running, your web page should display something similar to Fig. 27.
Fig. 27
If this is published on the web, viewers will be able to watch your live stream from just about anywhere.
Be sure to stop your live event when you finish broadcasting in order to avoid unnecessary charges.
In this article, I showed you how to create a live streaming event using Azure Media Services.
Kevin Pilch describes gRPC - an open source system for making remote calls across processes and/or machines - and the .NET Core implementation of this system.
2/7 Today I am grateful for the imagination of Jon Favreau.
2/6 Today I am grateful to learn from my teammates.
2/5 Today I am grateful to watch yesterday's snowstorm from my warm safe home.
2/4 Today I am grateful for a productive day yesterday.
2/3 Today I am grateful for: -a chance to catch up with J for the first time in months -Christina, who answered my questions about Photoshop and Lightroom
2/2 Today I am grateful for 3 years in my current home.
2/1 Today I am grateful to go to the gym yesterday for the first time in months.
1/31 Today I am grateful for online Mass.
1/30 Today I am grateful for home-cooked meals.
1/29 Today I am grateful to deliver my first presentation of the year last night.
1/28 Today I am grateful for technical support from co-workers.
1/27 Today I am grateful to be a guest yesterday on the Visual Studio Toolbox show.
1/26 Today I am grateful for all the interviews with interesting people I've scheduled for #TechnologyAndFriends
1/25 Today I am grateful for a visit to the Indianapolis Art Museum yesterday.
1/24 Today I am grateful for a walk around Zionsville and Carmel yesterday.
1/23 Today I am grateful for an upgraded hotel room.
1/22 Today I am grateful for funny memes.
1/21 Today I am grateful to see so much hope and optimism expressed by so many people about yesterday's historic events.
1/20 Today I am grateful for a call from my cousin Kevin last night.
1/19 Today I am grateful for my new drone.
1/18 Today I am grateful for the legacy of Rev. Dr. Martin Luther King, Jr, who understood that non-violence was not a weakness.
1/17 Today I am grateful for a much-needed mid-afternoon nap yesterday.
1/16 Today I am grateful to everyone who shared photos of their dogs yesterday.
1/15 Today I am grateful for dogs.
1/14 Today I am grateful to spend the past few evenings sorting through photographs and papers of my late mother.
1/13 Today I am grateful for lots of advice yesterday on how to cook pasta.
1/12 Today I am grateful to restaurants who have worked to make outdoor dining safer in Chicago winter.
1/11 Today I am grateful for my new cabinet/end table.
1/10 Today I am grateful for Indian food.
1/9 Today I am grateful for good health.
1/8 Today I am grateful for my new laptop.
1/7 Today I am grateful for dinner with Tim and Natale last night before they drive to Austin tomorrow.
1/6 Today I am grateful for a virtual lunch with Annie yesterday.
1/5 Today I am grateful for a regular exercise routine.
1/4 Today I am grateful to return to work after an extended vacation.
Learn the capabilities of Azure Media Services, how to create an Azure Media Services account, and how to add audio and video files as Assets in that account.
In a previous article, I showed how to embed into a web page a video encoded with Azure Media Services (AMS).
In this article, I will show you how to add captions to that video.
In my last article, I showed you how to perform audio transcription with Azure Media Services using an Audio Transcription Job. Among other things, this generates a transcript.vtt file with speech-to-text data, listing anything spoken in the video, along with the time at which the words were spoken.
You can also generate this data by using the "Video and Audio Analyzer" job, as described in this article.
For this work, the transcript.vtt file must be in the same folder as the video(s) playing on your web page. A simple way to do this is to download the file from its current container and upload it into the Encoded Video container.
Navigate to the Azure Portal and to your Azure Media Services account, as shown in Fig. 1.
Fig. 1
Then, select "Assets" from the left menu to open the "Assets" blade, as shown in Fig. 2.
Fig. 2
Select the Output Asset containing Audio Transcription or Analyzer data to display the Asset details page, as shown in Fig. 3.
Fig. 3
Click the link next to the "Storage container" label (Fig. 4) to open the Storage Blob container associated with this asset, as shown in Fig. 5. This container should open in a new browser tab.
Fig. 4
Fig. 5
Click the "transcript.vtt" row to open the blob blade showing details of the transcript.vtt blob, as shown in Fig. 6.
Fig. 6
Click the download button (Fig. 7) in the top toolbar and save the transcript.vtt file on your local disc. Note where you save this file.
Fig. 7
Listing 1 shows a sample VTT file.
Listing 1
WEBVTT
NOTE duration:"00:00:11.0290000"
NOTE language:en-us
NOTE Confidence: 0.90088177
00:00:00.000 --> 00:00:04.956
This video is about Azure Media Services
NOTE Confidence: 0.90088177
00:00:04.956 --> 00:00:11.029
and Azure Media Services are. Awesome.
Navigate again to the "Assets" blade, as shown in Fig. 8.
Fig. 8
In the row of the Analyzer or Audio Transcription asset, click the link in the "Storage link" column to open the container associated with this asset, as shown in Fig. 9.
Fig. 9
Click the upload button (Fig. 10) to open the "Upload blob" dialog, as shown in Fig. 11.
Fig. 10
Fig. 11
Click the "Select a file" field to open a file navigation dialog. Navigate to the older where you stored transcript.vtt and select this file. Then, click the [Upload]
When the dialog closes, you should return to the Container blade and transcript.vtt should now be listed, as shown in Fig. 12.
Fig. 12
Click to open the asset containing the video(s) used to generate the VTT file, as shown in Fig. 13.
Fig. 13
Start the Streaming Locator, if it is not already started. If you have not yet created a Streaming Locator, this article walks you through it.
Copy the Streaming URL and save it somewhere. It should begin with "https://" and end with "manifest".
As a reminder, Listing 2 shows the HTML to embed an AMS video in a web page. This is the code shown in this article.
where VTT_URL is replaced with a URL consisting of the same domain and folder as in the src attribute of the source tag, but with "transcript.vtt" as the file name.
Listing 4shows an example using an Azure Media Services account that I have since deleted.
Listing 4:
lang="en">Azure Media Services Demo
href="https://amp.azure.net/libs/amp/2.3.6/skins/amp-default/azuremediaplayer.min.css"rel="stylesheet">Video
Add this HTML file to any web server and navigate to its URL using a web browser. You should see a page with your video embedded and with captions displaying at the bottom of the video, as shown in Fig. 14.
Fig. 14
In this article, I showed you how to include captions in an Azure Media Services video embedded in a web page.
In a previous article, I showed you how to use Azure Media Services (AMS) to analyze a video. Among other things, this analysis performs audio transcription to perform text to speech on your video. This outputs 2 files with the spoken text in the audio track of your video.
You may want to only do audio transcription. If you are not interested in the other analysis output, it does not make sense to spend the time or compute on analyzing a video for the other features. AMS allows you to perform only Audio Transcription and eschew the other analysis.
Navigate to the Azure Portal and to your Azure Media Services account, as shown in Fig. 1.
Fig. 1
Then, select "Assets" from the left menu to open the "Assets" blade, as shown in Fig. 2.
Fig. 2
Select the Input Asset you uploaded to display the Asset details page, as shown in Fig. 3.
Fig. 3
Click the [Add job] button (Fig. 4) to display the "Create a job" dialog, as shown in Fig. 5.
Fig. 4
Fig. 5
At the "Transform" field, select the "Create new" radio button.
At the "Transform name" textbox, enter a name to help you identify this Transform.
At the "Description" field, you may optionally enter some text to describe what this transform will do.
At the "Transform type" field, select the "Audio transcription" radio button.
At the "Analysis type" field, select the "Video and audio" radio button.
The "Automatic language detection" section allows you to either specify the audio language or allow AMS to figure this out. If you know the language, select the "No" radio button and select the language from the dropdown list. If you are unsure of the language, select the "Yes" radio button to allow AMS to infer it.
The "Configure Output" section allows you to specify where the generated output assets will be stored.
At the "Output asset name" field, enter a descriptive name for the output asset. AMS will suggest a name, but I prefer the name of the Input Asset, followed by "_AudioTranscription" or something more descriptive.
At the "Asset storage account" dropdown, select the Azure Storage Account in which to save a container and the blob files associated with the output asset.
At the job name, enter a descriptive name for this job. A descriptive name is helpful if you have many jobs running and want to identify this one.
At the "Job priority" dropdown, select the priority in which this job should run. The options are "High", "Low", and "Normal". I generally leave this as "Normal" unless I have a reason to change it. A High priority job will run before a Normal priority job, which will run before a Low priority job.
Click the [Create] button to create the job and queue it to be run.
You can check the status of the job by selecting "Transforms + jobs" from the left menu to open the "Transforms + jobs" blade (Fig. 6) and expanding the job you just created (Fig. 7).
Fig. 6
Fig. 7
The state column tells you whether the job is queued, running, or finished.
Click the name of the job to display details about the job, as shown in Fig. 8.
Fig. 8
After the job finishes, when you return to the "Assets" blade, you will see the new output Asset listed, as shown in Fig. 9.
Fig. 9
Click the name of the asset you just created to display the Asset Details blade, as shown in Fig. 10.
Fig. 10
Click the link to the left of "Storage container" to view the files in Blob storage, as shown in Fig. 11.
Fig. 11
The speech-to-text output can be found in the files transcript.ttml and transcript.vtt. These two files contain the same information - words spoken in the video and times they were spoken - but they are in different standard formats.
Listing 1 shows a sample TTML file for a short video, while Listing 2 shows a VTT file for the same video.
Listing 1:
xml:lang="en-US"xmlns="http://www.w3.org/ns/ttml"xmlns:tts="http://www.w3.org/ns/ttml#styling"xmlns:ttm="http://www.w3.org/ns/ttml#metadata">Copyright (c) 2013 Microsoft Corporation. All rights reserved.