Vous êtes sur la page 1sur 11

Transcribing Video to Text with the

Close Caption (CC) Built In Video.


There are two types of videos:
1. With CC built-in
2. Without CC built-in [Google close captions]
We will first look at videos that have close captions built in. In this part we focus
on the first option which is videos that have built in close captions.
Lets go to YouTube.
Search for lecture mobile content development.
When you get the results, click on the filter tab on the left side and click closed
captions.
Now this is the results display that you will see:

Figure 1

So, we have found 21,400 videos about mobile content development that we can
transcribe to text.
Can you imagine that much of content we can get and work on them? And do you
know that every day there is more and more new videos that been uploaded to
YouTube about mobile content development.
Now you can apply the method that I will share with you in every niche you want.
Therefore, content is not at all a problem to look for.
Now before we start, there is 2 important points to remember:
1. If you want to do manually, you must use chrome browser for the browser. (If
you use the automatic transcribeing software, you can use any
browser).
2. After you have manage to get the text transcribed from the video, you need to
do some editing and proof reading to make it more readable quality.
The following are the steps to transcribe YouTube videos to text (only after
filtering):
Step 1: Use chrome browser (if you have the transcribing software, any browser
will work).
Step 2: Search on YouTube the keywords for the video you want to you want to
find. When the results are display, click on the filter button and choose under
Features, CC (close captions) [as shown in Figure 1].
Step 3
Then, select and click the video that you want to transcribe to text. When the
video is selected, watch out at the URL and copy the video URL right on the top.
For example this video- http://www.youtube.com/watch?v= aRcbf3jv4o&list=PLkB3phqR3X43Vf-beFFLzR-XZ7qXMkfY8
Now, we will only need the URL that highlighted in red as above. It is the video
identification i.e. in this case, aRcb-f3jv4o&list=PLkB3phqR3X43Vf-beFFLzRXZ7qXMkfY8 which is often called the VIDEO_ID.
The next step is to use this URL
http://video.google.com/timedtext?lang=en&v=VIDEO_ID.
Replace the VIDEO_ID in the above URL with our specific YouTube Video ID =
aRcb-f3jv4o&list=PLkB3phqR3X43Vf-beFFLzR-XZ7qXMkfY8 For example, the final
URL you want here is http://video.google.com/timedtext?lang=en&v= aRcbf3jv4o&list=PLkB3phqR3X43Vf-beFFLzR-XZ7qXMkfY8
Now put that newly created URL in a new tab or browser window and you will see
2

a page quite similar to the one below.

Step 4
You get to this page:

Youll want to copy the entire page.


Go to this site - http://www.nicertutor.com/xml.cgi

And click paste, to paste the copied page in the box.

Click go.
Boom..
You have the text of that video.

Now, there's something very important- if you do research on the internet about
converting audio to text you wont find any solutions. The only way you can do it
is by paying people to write every word, and pausing the video all the time and it
will cost you money for every minute of the video. So, to save your money and
help you to get more content ideas, the above steps is introduce.

Appendix

In this demo we are going to look at some Android essentials. We are going to first take a look at the Andrew Android
SDK media manager and create some virtual devices with specific characteristics that we want to test for. Then we
are going to take a look at how to create a new Android project in Eclipse. We will explore the various files better in
the project rectory that the tools create for us. Then we are going to explore how to create the various image assets
we need in camp in order to you ensure density independence in the application that we want to publish. Then we are
also going to a take a first look at the Linear Layout and we are going to at our image to it and look at how we send a
written so forth and we are going to you also take a look at how we can support multiple languages in our application
independent the application's code . Then we are going to run the application that we from outside and show you
how We are run in the emulator and confirm that the appropriate resources are being used but let's begin by creating
a few Android emulator devices so We are going to go in the Eclipse here in a meeting to go to the window menu .
Then down to investigate the manager and I've already got a few created a but let's just go through and create a new
one so not a real inventive name here but um We are going to go to Google API level 2.2 and give it a SD card to
enable a snapshot. Let's do a normal H DPI in the skin for that one will give us a normal on HTP iDevice by default.
So we will met our density here's to 40 DPI which puts us in the eye a category. Let's go ahead and create that rights
and now is get my test device here and its going to be a normal size screen with high-density and I can start this
page click Insert button and want things that's useful here is when you start to get into these let um larger screens
error in higher densities sometimes a while necessarily fit well in your will pay notebook or netbook special you
hooked up to 12 hours projector like I am see get this capability to actually scale it so I can scale it down to about you
know called percentiles a skill down by 12 percent before I launch it . Then I know they'll actually fit on this particular
well not quite sure what else polar a so is now it's booting this device up and its going to have those properties they
just gave it so well that's going I'll let's go ahead and create a new Android project sonya close the cell so to create a
project aims going to go to New and in Eclipse and go to Android project and give it a name and We are going to you
once again target you'll API level a to get to you in package name thought it I'll where's my package there's yeah I
guess fill-in and package senior you want to mean these you know just like you to cleaning your packages in Java so
whatever organization structure using out issues grand finale and We are going to go he here as well and once I do
this now it has created a kind of skeleton project for me it's put on all the essential pieces that we talked about tonight
we did the in britain at me so that my source directory where all my Java source code is going to be in if we go down
and open it up you see there is an actual activity there that doesn't do much we'll talk about the inside this next week
but it's essentially just sets the you on one of those
layouts that's been declared it we defined in my research hierarchy but notice the reference herein will talk about this
next week in detail but it doesn't say anything about you know LDP I HD right it just says you want to use the main
layout . Then based on what device it's and it's going to go off to the particular directory of interest in find the layout
it once K but look at that next week jen is where all the generated stuffies and we'll talk about that next week as well
I assets is just an empty directory right now to have no assets in and the Research Directorate which has I'll
subdirectories for HTTP HTP I LDP I in Mt PI any a lotus there is a PNG in each of these okay so it use its the fall I
can when it created this this is the launcher i can. by default is just a little Android guy so here's the I double click it
there's the HDP I version a there's the MTBI We are sorry the LDP and this one should be some somewhere in
between those two SE can see the difference sizes are so it is generous obviously in my ass up I'd want to create my

own I can in there some guidelines and you know how you want to do that stylistically how you want to do tonight
want to put those in myself arm what I want to do is I want to go in and tinker a little bit with the layout now want to
change
the application a so by default this is up and running now so by default what it's doing we look at the layout said only
got a single layout it's in the default directory called layout if I click that and I look at it in XML for you here you can
see it's really simple it's got a LinearLayout so get a single LinearLayout . Then within that I get a single text view
and it simply displaying subtext I love you it's a family at one text you know the layout really doesn't make much
difference here at this point and the text you itself is displaying something and I've got this funky string a low here it
turns out that that's a reference to in other resource so I've got a bunch of strains that I can define and they are down
in my researched rectory undervalues so get the style called strings XML and sure enough I've got a string in there
called hello that has the they are you saying hello world my kitty so this is kind of what this kind of scaffolding if you
well as just some generic stuff that a created come a scale threw it in there so if I run this app it's just going to put this
string up on the screen that's all it's going to do so it's quickly check that so I can right click running as Android app
and what it will do is it will just install it right on the same you later that was already running in all run it paid more than
one device attach more than one emulator running or more than one physical devices public plan to me in say which
these devices want us to run a so they're at all my app does so it was just compiled and installed on the device
it just puts up that text rain so let's go into that layout in let's change the UI little bit something exit near the back
button back to the home screen here and let's go into the layout and change things around a little bit in initially you
might want to be doing this with the gooey facility that's built into Eclipse here just as you get familiar with the for
attributes that are available their values so that's what up Demel all want to things in my version of Eclipse it does is
for some reason

over here platform wise it's been defaulting to enter 83


which gives me problems face which this back every to 2.2 which I tell you
everything's fine
in a few notice a problem in your environment but you should have
a little display here a mock-up love your UI
in if it was blank like mine was you might want to make sure your
platform level you're on the right %uh
right here is set correctly alright
and there's some things we can play with here this in control not here so I can
switch lanes
from landscape to portrait so it's yes not running right now it's just
processing
layout file in giving me kind of an approximation of what it might look like
in the mobile devices let's go I can be in yet
when we are developing so let's any image
its own to put an image under the screams so I can do is go over here to
May
to a panel just grab an ImageView Andrey get up there
K now it put my image underneath
but I want to be in the top right think there's a way to do this ago it

this kind of grabbing


Drake these things around in in a range them however I want to
notice the image it put in there put in
its the only image that's in the project
and so what it did was it set my a it set by
image to my I can image to see only drawable I got in there right now
I can see this bike going over here to the outline a double clicking it
. Then all the properties on that particular UI element are down here so
if we go down to the source element
that's all we are gonna tell it what image asset to use
you'll see that it used it drawable
I can that saying take the I can resource
and its gonna grab whichever one matches the current density X 838 them and their
its gonna put it in there so I wanna change that I wanna add another
image I wanna put a nice image in there
%uh myself so what We are gonna do is We are gonna put a a
a dog picture up there and I get this K
I grabbed of Google Image Search and so
I want to put this image and i wanna center it
on the screen and have the tech center need that but i wanna create myself
several different versions up this I'll
for the various densities susteren lol let me just
open this up in my image editor and We are using give appear which is a freebie
it's the new image editor so if you don't have already have Photoshop for
something really fancy get works just fine is all the basic functionality you
need
on and so this one is
a size why days
I am 300 by four hundred
and that'll work for an HDPE ice cream
We are so let's do one more thing just so we can prove to ourselves
is using the right image We are gonna drop some text and this image
so We are gonna go over here angry at Mike text tool
and We are gonna put down here HDP I
so I know that when this thing displays on my mobile devices at you wouldn't
normally do this but We are doing this just so I can prove to you that it's grabbing
the right image
I am so let's save this
and we are gonna go over to my a workspace that project I just created
in under resources here's my HDB I'd rectory something to save
my pup image rate there
in this is kinda

duty because
okay so there's that one . Then I want to create a
up
a scaled-down version at less to Mt PI next
and some in a scale it down sums gonna go near scale
and let's see here read three hundred
on cell the base sign
we are gonna wanna go down by a third so I think go to 200 I keep my aspect
ratios can automatically scale the other dimension for me
so let's save that one
in we are gonna put that one in the medium density directory
and will do one more a
LDP I
in moscow the scale down to
I'll another quarter right so we are gonna wanna be a
one 50
and this goes into you LDP
okay so there are called pup J pay but they're all different sizes
K and now ninja back to eclipse
and were things I gotta do I guess edit those resources but I gotta
tell eclipse to refreshing though those
I get a hit f5 my Mac I think I get it you AF function f by
and so when they do they're it picks up those new pup images
now it's very important that eclipse does that refresh because
what's happening in eclipse is there's a packaging tool
part of the Android tool kit that's running right now behind the scenes
and whenever a new image pops into that directory its gonna generate some new
code
under the agenda rectory that I can use
programmatically to reference these things case of eclipse doesn't know
about
these assets that We are adding another resource directory then
when I go into my coordinate you know tried a reference in its up its gonna be
like they're not there so be sure you explicitly
you know when you add stuff the other thing I could have done is if they are
my filesystem
an explicitly dragged him into these folders then eclipse knows cuz you're
actually
giving it the draft that but if you're kinda behind the scenes
you know at the command line or in the folder pulling it in your workspace make
sure eclipse
gets an update knows about it so let's go back into that lay out now

and let's go down to this: K let's tell them to use


that new image they just added so go to the source attribute once again
in when I selected there's all that that that will be on the right
right click it no to sell is now it knows that resource in the directory and
gives me the option to pick it
72 picked up here K
and notice it picked the LDP I version other
well that's because We are in this QVGA display years
i switch over to hear
a
okay now We are in an NDP I
in and so forth so I can simulate their arm but let's do some more things here
let's
a let's go to
let's send her some things so let's
let's get this image to center vertically
so if I select the image there's an attribute for that as well so they go
down to
a miscellaneous in then layout gravity
click in it tells me all the action so I want to you
Center horizontally k know what to do the same thing with the text
so I select the text
and We are gonna go to you same thing
center horizontally it
no notice it didn't Center K what's going on here
is and the wit
is set to fill parent we said Phil Pierce St everything you got
K and so it's here is the layout in its parrot
layout with this still cared as well so what I need to do here
is say don't take everything Rep can't it just take what you need
any and it should be centered
K now one less thing
is I'd like all the stuff to be centered vertically
as well on so one other things
I should do is go back to you
here
actually can do this in the layouts a good layout
and say
instead of hi phil carret
We are gonna tell it to wrap can't answer just take what you need
. Then in gravity We are going to tell it
to center vertically

big now centers vertically


now one last little detail they wanna do
is let's say 1 us that's a text from thing let's say
I want to support other languages so
I let's go into the string file here
and for small exchange lol
yes hello
as I go back to my main says hello
and let's say I want you support
the Dutch language which is the closest thing I have to a second language
so what We are gonna do years creating altered center resources
a for that language so We are just gonna go here and copy this folder
. Then . Then copy and paste it
and We are gonna name it they all use dash
NL
for the Dutch language . Then We are gonna go down here
and open it go to this training in a book by translation in here
now to go back to my layout it still
displaying English but I should be able to you
switch my language here and now it's picking
another resource K so if we run this on the emulator itself
so let's say running as an Android application
and this could get areas have them away devices that on the screen here
okay so there it is running in HD PI in English
so I things I can do here We are gonna hit
and get the run this smaller
so let me go back and start a different emulator
a let's do you a
Sudan d/b/a
and that's their tits and this 1 We are gonna take
in them what gets me
are so let's brand and this K
okay so now it's running in NDP I and this one but let's kill
and going to our settings here
and let's see if that language
thing is working so if I go to the language and keyboard
settings and choose a different language so let's go and pick
in El a
in effect back back belt in my app is installed so
should be able to get okay
. Then notice seemed kinda hard to see in the back there but notice down there
that string is actually translated Knox

10

devices running with the dipper language setting okay


now the one trip there is you gotta make sure if you don't speak the language
a you know you're going to make sure when you go back and your menus to turn
it
back and you you know you gotta
you gotta know enough for the language to be able to go back
and a find the settings again
okay so make sure you
gonna make a mental note the number clicks or
gotten their language

11

Vous aimerez peut-être aussi