TEST a1-capture-flaming.html (DOWNLOAD FILE)



From (sec)

Wait a few seconds while this page is loading.
- Tap the button "Begin"
Please watch the video carefully.
- Whenever you see a new subtitle line appear in the aqua color frame, immediately tap the "Capture" button
Note: do not move the aqua color frame to another place



Press each image to save it to Photos


A- HOW TO PLAY VIDEO WITH SUBTITLES ON IPAD

First of all you should read my post PROGRAM JAVASCRIPT ON IPAD at the following address
https://phanhung20.blogspot.com/2022/11/program-javascript-on-ipad.html

Then you need to install on your ipad the following apps:
    Apps for html and javascript editing
  • Koder code editor
  • Web play grounds
  • Text scanner app
  • Photo Translator (by Tiemei Yan)
  • Translator app
  • Google translate (133 languages)
  • DeepL translate (29 languages)
NOTE:
1- Using the App Store you can find a lot of Text scanners and Translators. But it is necessary to exclude apps that are only free to use for a few days and apps that cause errors when scanning and translating documents. After trying some apps, I found the above apps should be selected for use.
2- When the text is too long (more than 5000 characters), don't use translator apps but use https://translate.google.com service online
3- In one of my posts
https://phanhung20.blogspot.com/2022/11/test-a3-play-flaming.html
show how to display English (or other) subtitles and Chinese text with pinyin simultaneously. For this you need to use the site:
https://www.chineseconverter.com/en/convert/chinese-to-pinyin


After creating html file to play video with subtitle on ipad. You can use screen record function to turn html into mp4 video with open subtitles and then upload this video to youtube.com.

STEPS TO MAKE SUBTITLE TEXT

- Open "Koder" app
- Create a folder for the specific video. For example folder "FLAMING SUB" for the video "Flaming mountain"
- Open "Safari browser". Open youtube.com.
- Search for "西游记连环画" (that means "Picture story book Journey to the West"
- You can find the video clip
https://youtu.be/Vjd4NSiYikk (西游记连环画 火焰山 Flame Mountain)

- Copy the video adress https://youtu.be/Vjd4NSiYikk, open the webpage "y2mate.com", paste this adress and dowload Flame Mountain video to your ipad.
- Rename this video as "flaming-mountain.mp4"
- Copy or move the video "flaming-mountain.mp4" to the folder "FLAMING SUB"
- In this folder create a new (empty) html file named as "a1-capture-sub-flame.html"
- Return to this post, scroll down to see SOURCE CODE of a1-capture-flaming.html, tap button "Copy code to clipboard"
- Return to the empty new file in Koder editor, paste the code there. (Koder automatically saves this file).
- Tap the name of this html to open it by using the Koder local browser

The following video show you how to use "a1-capture-sub-flame.html" to take a picture of the subtitle's text.
+ Type the number of seconds from which the video must to play
+ Tap the button "Begin"
Please watch the video carefully.
+ Whenever you see the subtitle line appear, immediately tap the "Capture" button
+ After tapping the "Capture" button 14 times, the video automatically stops.
+ Tap the button "Make last canvas" then tap "To image"
+ Now you can see that an image is created. Press this image then choose "Add to Photos".


The following video show you how to use the app "Photo Translator (by Tiemei Yan)" to convert our image to text


The following video show you how to use the app "Google translate"; to translate the above text into other language


The following video show you how to use the file "a3-play-sub-flame.html" to play the embedded video "Flame Mountain" with the subtitles just made by us

B- RE-READ AND CORRECT THE MACHINE TRANSLATION

In part A above we used machine translation. Machine translation needs to be reviewed to correct words or sentences that are confusing, incorrect, or sound unnatural. This job is difficult because the number of people who are fluent in both languages, the source language and the target language are very few.
Nor can we spend money to hire experts to translate (Le jeu n'en vaut pas la chandelle). So you should try to do this yourself.

You should have some dictionary apps or use online dictonaries.

You should also download to your ipad and read ebooks like “Journey to the West” (english language), or Tây du ký (vietnamese language) …

Sometimes you need to use “Ask google for the meaning” for example let ask "what mean 西天”.
One of the answers is:
https://www.wordsense.eu/西天/
where we see
Noun
西天
(Buddhism) the western skies; ancient India
(Buddhism) Western Paradise; Sukhavati
(euphemism) heaven, the place that a person goes to after death

And in the ebook "Journey to the West", 西天 is translated as Western Heaven (they pressed on toward the Western Heaven).

C- SOURCE CODE OF HTML FILES

I will publish the code of html files in next post

SOURCE CODE of a1-capture-flaming.html


Download

Popular posts from this blog

PHP JQUERY PROXY DEMO

WEB PROGRAMMING ON IPAD. Search yt videos by keyword and load js file to play