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
  #31  
Old 10-12-2011, 08:45 PM
any ANONYMOUS forum user any ANONYMOUS forum user is offline
any user of the forum who preferred to post anonymously
 
Join Date: Aug 2011
Location: Server of stream-recorder.com
Posts: 211
any ANONYMOUS forum user is on a distinguished road
Default

Re: www.crunchyroll.com: How to download/capture/save/get/copy subtitles from Crunchy


Yea. How did you make it work Random? Please share
Reply With Quote
  #32  
Old 04-15-2012, 03:33 PM
Vaxtor76
 
Posts: n/a
Default

Re: www.crunchyroll.com: How to download/capture/save/get/copy subtitles from Crunchy


Anyone know if keepvid will support other language subtitles? For example: http://www.crunchyroll.com/time-of-e...1-akiko-452708
Reply With Quote
  #33  
Old 04-22-2012, 08:05 PM
shinji257 shinji257 is offline
Junior Member
 
Join Date: Apr 2012
Posts: 2
shinji257 is on a distinguished road
Default

Re: www.crunchyroll.com: How to download/capture/save/get/copy subtitles from Crunchy


Thanks very much for how to dump those subs tRon. It worked perfectly and I actually use the 3rd method to get the subtitle id. Still works to this day. The subtitle url is also good. This is getting me the original ass format subs and works fine.

The only things I had to do was make a couple of edits to crunchyDec.py. First change V4 to V4+ (line 40) then change all references to ", " so it shows as ",". Basically remove the space. That will be on line 46. It will make the output file actually work. This may be a change from previously though so I don't know how well it would work from older subs but I tested it on decoded subs for Saki Episode of Side A and it worked great. Aegisubs loads it well and it renders properly in my media players.

I also compiled it using py2exe (Py2.7 x64) to remove the need to call python directly (just a convenience).

Here is the code lines original vs changed so you can see it better.

Line 40
original:
Code:
styles = "[V4 Styles]\nFormat: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding\n";
changed:
Code:
styles = "[V4+ Styles]\nFormat: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding\n";
Line 46
original:
Code:
styles += "Style: " + style['name'] + ", " + style['font_name'] + ", " + style['font_size'] + ", " + style['primary_colour'] + ", " + style['secondary_colour'] + ", " + style['outline_colour'] + ", " + style['back_colour'] + ", " + style['bold'] + ", " + style['italic'] + ", " + style['underline'] + ", " + style['strikeout'] + ", " + style['scale_x'] + ", " + style['scale_y'] + ", " + style['spacing'] + ", " + style['angle'] + ", " + style['border_style'] + ", " + style['outline'] + ", " + style['shadow'] + ", " + style['alignment'] + ", " + style['margin_l'] + ", " + style['margin_r'] + ", " + style['margin_v'] + ", " + style['encoding'] + "\n"
changed:
Code:
styles += "Style: " + style['name'] + "," + style['font_name'] + "," + style['font_size'] + "," + style['primary_colour'] + "," + style['secondary_colour'] + "," + style['outline_colour'] + "," + style['back_colour'] + "," + style['bold'] + "," + style['italic'] + "," + style['underline'] + "," + style['strikeout'] + "," + style['scale_x'] + "," + style['scale_y'] + "," + style['spacing'] + "," + style['angle'] + "," + style['border_style'] + "," + style['outline'] + "," + style['shadow'] + "," + style['alignment'] + "," + style['margin_l'] + "," + style['margin_r'] + "," + style['margin_v'] + "," + style['encoding'] + "\n"
If you want to build a exe file from the original script files you can do it with any python version that can run this script directly. You also need the appropriate py2exe version already installed. I'm not going to walk you through on that part as it's pretty straight forward.

Here is the setup.py file. Drop it in the same folder as where you have all the other .py files from the script.
Code:
from distutils.core import setup
import py2exe

setup(console=['decode.py'])
Run it as: python setup.py py2exe

This should create a dist folder with the resulting files in it. It will also print out any dll dependencies that have resulted. The compiled files can be run on any computer without the need to have python running on it.
Reply With Quote
  #34  
Old 04-23-2012, 11:44 PM
shinji257 shinji257 is offline
Junior Member
 
Join Date: Apr 2012
Posts: 2
shinji257 is on a distinguished road
Default

Re: www.crunchyroll.com: How to download/capture/save/get/copy subtitles from Crunchy


I made a modified version of the crunchyroll subtitle decryptor on page 2. My version automatically determines the subtitle id (english subs only) and pulls it. Save file is automatically determined from the episode title (series + episode #) but if the file exists gives an opportunity to rename. It will not overwrite pre-existing files.

Use it like this:
python decode.py url

Where url is the actual streaming url. This works to grab subtitles for episodes that are member only as well without having to login (the page still gives the subtitle id).

http://dl.dropbox.com/u/1078975/crunchy_xml_decoder.zip
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 09:07 PM.


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