Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > Video stream recording
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 09-07-2016, 11:02 AM
julie.bella julie.bella is offline
Junior Member
 
Join Date: Aug 2015
Posts: 14
julie.bella is on a distinguished road
Default

closed captions CBS


Hi everyone,

Can you tell me how i can download subtitles (closed captions) from CBS please?
I want to learn english
http://www.cbs.com/
http://www.cbs.com/shows/late-late-s...dgar-ramirez-/


Thank you so much

Julie
Reply With Quote
  #2  
Old 09-07-2016, 04:30 PM
julie.bella julie.bella is offline
Junior Member
 
Join Date: Aug 2015
Posts: 14
julie.bella is on a distinguished road
Default

Re: closed captions CBS


Please help
Reply With Quote
  #3  
Old 09-07-2016, 08:07 PM
ehurdler ehurdler is offline
Senior Member
 
Join Date: Feb 2014
Location: NY
Posts: 126
ehurdler is on a distinguished road
Default

Re: closed captions CBS


Are you capturing the stream? Because if you are just watching this on the web page you can turn on CC. I am sure you knew that, I am just making sure. If you are capturing the stream, I figured out how to get and convert the CC file .xml and convert to .srt.

The quick answer would be, using AdBlock Plus. Open Blockable Items. Search for the .xml In the case of the video you posted I found
Code:
http://www.cbsstatic.com/closedcaption/Current/LateNight/DFXP/CBS_CORDEN_0226_CONTENT_CIAN_caption_DFXP.xml
Copy the url for this .xml, paste into new tab (firefox). When the .xml file/code is showing in the browser window. Go to File -> Save Page As... Format Web, xml Only.

Once you have this .xml file saved on your machine. I renamed it to corden.xml (simply to make it easier).

I now followed the instructions here:
https://github.com/isaacbernat/netflix-to-srt

Code:
Convert them into .srt

    Get python (tested under both 2.7 and 3.3). If you have mac or linux you may skip this step
    Clone this repository or download to_srt.py
    Run the script in the terminal (python to_srt.py)
        Input and output files default to sample.xml and sample.xml.srt in the same directory this is run
        Use -i INPUT_PATH and -o OUTPUT_PATH for custom file locations
    Enjoy!
I have a Macintosh, and already have Python setup, etc. So I simply ran code:
Code:
python to_srt.py -i corden.xml -o corden.srt
This gave me the .srt file for the video you posted. Now you can use it however you want. I don't need the subtitles and was just curious myself. This all worked for me. But I had to merge the video and .srt file together to get the subtitles to work. I was unable to load video in vlc and add the subtitle track. Just didn't work for me. But using mkvtoolnix and merging together resulted in a video file now with full working subtitles.

Good luck!
Reply With Quote
  #4  
Old 09-08-2016, 06:49 AM
julie.bella julie.bella is offline
Junior Member
 
Join Date: Aug 2015
Posts: 14
julie.bella is on a distinguished road
Default

Re: closed captions CBS


Thank you very much Ehurdler
this is exactly what i was looking for.
I know that i can turn on the subtitles when the video is running, the problem is that there is a gap between the subtitles and the audio.
The subtitles appear earlier or later soemtimes, it's hard to follow

Julie
Reply With Quote
Reply Post New Thread
Tags:



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 03:38 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons