MynaG's Bits n Bytes

There are many great non-English foreign films and movies available on Dailymotion especially when it comes with English subtitle. Some of you might want to download these films or movies to your tablet or smartphone for offline viewing using browser plugins such as the Video DownloadHelper or softwares such as the FLV Downloader. However the problem is that when you played these videos offline, the subtitle is not showing at all! These FLV online video download tools as at this moment, unfortunately do not automatically download the subtitles that appeared alongside the video when you watched it at the Dailymotion website.

Here, I am going to show you how you can manually download and get these Dailymotion subtitles (usually in the SRT format) using Chrome. You can also get the subtitles from Dailymotion using other browsers such as Firefox using other tools like the Firebug. The methods are pretty similar as the below.
*Note that this will only work for videos where the subtitles are uploaded to the Dailymotion and will not work for videos with subtitles already embedded into the video itself, which is kinda pointless anyway.

  1. Open the Chrome browser and go the video page where you want to download the subtitles.
  2. Open the Chrome Developer Tools by right clicking on the page and select Inspect Element.
    Or you can select the Chrome Menu at the top right of the browser, then select More Tools > Developer Tools.
    Or simply press CTRL + SHIFT + I.

  3. At top right corner of the Developer tools console, click on the (Magnifying glass) icon in order to select an element on the page to inspect it.

  4.  Select the video on the page which will be highlighted in blue and click on it. Once you done that, you should be seeing a portion of the scripts highlighted in gray in the Developer tools console.

  5. Select the highlighted grey portion of the scripts which should read <object type=”application/x-showckwave-flash” data=”https…….> and right click on it and select <Edit as HTML> on the pop up menu.

  6. Select the whole HTML script or text within the box by pressing CTRL + A and then pressing CTRL + C  for copy.

  7. Open Notepad or any text editing software and paste the text into it. You will see a chunk of unreadable text like the one shown below. Don’t worry, it will make sense very soon.

  8. Now, do a search on the text “.srt”  .  Select from the end of .srt all the way from the back until the word https. Refer to the diagram below to see how it is selected. Copy the text using CTRL + C.

  9. The text that you have copied would look something like this.

    Now, you just need to search internet for an online URL decoder or click here in order to decode the text.
    For example:

  10. After you have decoded the text, you will realize that text looks something like a URL. One last step to do is to replace character “\/” with “/” in the decoded URL.
    Your URL should now look something like the one shown below and with that you should now be able to get the URL to the subtitle SRT file. Paste it the browser and save the it as an SRT file.

Copying images from a PDF page to clipboard using Adobe Reader

You can use Adobe Reader to easily copy images from a PDF file to clipboard. This steps were tested in Adobe Reader ver XI for Windows. This part addresses images that have dimensions smaller than the page’s dimension or otherwise non-background images.

Launch Adobe Reader and open your PDF file, then go to the page with image you wish to copy.

  1. Make sure that you have the Select Tool currently selected.  To do this right-click and choose “Select Tool” from the pop-up menu. Your cursor should turn into a hairline cross once you roll it over the image.
  2. Click once on the image to select it (it will be highlighted in a different color). Right-click on the selected image and select Copy Image from the pop-up menu. Alternatively you can just press Ctrl+C once the image is selected. The image is now copied to your clipboard.
  3. You can now paste the copied image into your application (e.g. Photoshop or Word document) by using the program’s paste function or by pressing Ctrl+V.

Copying a background image from a PDF page to clipboard using Adobe Reader

If the image you wish to copy is set as a background image, you may find that your cursor remains as a pointer despite having the Select tool on. Go to the page with the background image.

  1. Make sure that you have the Select Tool currently selected. Your cursor is now a pointer.
  2. Press the Ctrl button and move your cursor over the background image. Notice that the cursor has turn into a hairline cross.
  3. With Ctrl key still pressed and the cursor a hairline cross, click once on the image to select it. Do not click drag your mouse while pressing the Ctrl key as this brings out the Marquee-copy* option.
  4. Once the background image is selected, right-click Copy Image or Ctrl+C to copy it to the clipboard.
  5. You can now paste the copied image into your application (e.g. Photoshop or Word document) by using the program’s paste function or by pressing Ctrl+V.

*using the Marquee copy option is useful you want to copy only the selected (highlighted) part of the image instead of the entire image.

Tags: , ,

The following command shows you how you can start and stop a print spooler on another computer remotely on the same network. Start by running CMD or in Windows.

First you will need to know the name of the remote computer. Example, if the computer name is RemoteComputer.

To stop the print spooler on RemoteComputer, at the command prompt type :

sc.exe \\RemoteComputer stop spooler


To start the print spooler on RemoteComputer, at the command prompt type:

sc.exe \\RemoteComputer start spooler




Welcome to MynaG's Bits and Bytes. My little journal containing bits and bytes of the internet, web programming and etcetera