qashairy
06-03-2009, 07:05 AM
How to download the soft subtitle script from crunchyroll?
qashairy
06-07-2009, 11:44 AM
Nevermind about that. Now, how do i take the subtitle from this link? rtmpe://65.49.43.107/sub/
Stream Recorder
06-07-2009, 10:46 PM
I saw the XML file that is delivered through HTTP that seems to be used for subtitles. The problem is that it is encoded. May be it is a simple encoding that doesn't need any passwords, but I don't really know how to get subtitles from this web-site.
any ANONYMOUS forum user
07-09-2009, 06:35 AM
How to get subtitles from crunchyroll.com:
http://horriblesubs.org/
http://sh1zuka.wordpress.com/2009/02/08/dumping-101-by-popular-demand/
seph1985
07-10-2009, 08:40 PM
http://sh1zuka.wordpress.com/2009/02/08/dumping-101-by-popular-demand/
It also mentions in the blog that that method no longer works as far as the subs go, tbh ripping from CR is pointless unless you can get both the subs and the video so i guess i'll have to resort to either downloading it via torrent from a subbing group or screencapping it :(
nividia
08-21-2009, 04:33 PM
is there any program can rip the subtitle from crunchyroll ?
how about " GetFLV (http://all-streaming-media.com/record-video-stream/GetFLV-Download-and-convert-flash-video-streaming.htm) " ?
qashairy
09-20-2009, 01:42 AM
Any plans to make getFLV (http://all-streaming-media.com/record-video-stream/GetFLV-Download-and-convert-flash-video-streaming.htm) capture soft subtitle on rtmp stream? Like one at Crunchyroll? thanks.
any ANONYMOUS forum user
10-13-2009, 09:43 AM
HorribleSubsLeader Says:
Having reversed RTMPE fully i can tell you the subtitle are still loaded in the memory at the very beginning (encrypted) and they’re only decoded for display and then removed from memory directly.
The subtitles are decoded by function in swf, so you need to decrypted swf after that by function in swf hack it.
nividia
12-30-2009, 01:16 PM
could GetFLV (http://all-streaming-media.com/record-video-stream/GetFLV-Download-and-convert-flash-video-streaming.htm) devlop a tool can rip subtitle from crunchyroll ?
i will pay 100$ for ...
hope you reply :)
kira2100
02-23-2011, 10:45 AM
How can tell me how to download crunchyroll's subtitles?
wongsta
02-24-2011, 04:49 AM
Some of the fansubbing groups (horrible subs, crunchysubs...) have been releasing using crunchyroll subtitles, so a method must already exist to extract the subs from crunchyroll...maybe investigate over there?
kira2100
02-24-2011, 05:56 AM
i very hope someone can tell me how to get subtitles.
shen0978
04-11-2011, 12:57 AM
i very hope someone can tell me how to get subtitles.
I very hope, too
Hi everyone,
I've been investigating how to get their subtitle files and have made good progress. From what I've read online people have been able to get the raw encrypted xml subtitle file. With some googling I found someone's code which contains the algorithm to decrypt the xml file into a regular .ass subtitle file. Attached is a zip file of the xml and ass files. They are the subtitle files for Bleach episode 284.
If there is still interest in this topic I can provide more information after tidy up the code that was used etc.
tRon
any ANONYMOUS forum user
08-25-2011, 09:13 AM
Hi everyone,
I've been investigating how to get their subtitle files and have made good progress. From what I've read online people have been able to get the raw encrypted xml subtitle file. With some googling I found someone's code which contains the algorithm to decrypt the xml file into a regular .ass subtitle file. Attached is a zip file of the xml and ass files. They are the subtitle files for Bleach episode 284.
If there is still interest in this topic I can provide more information after tidy up the code that was used etc.
tRon
tRon, please do share how to download subtitles from crunchyroll.com. Thanks!
Zero3K
08-25-2011, 09:46 AM
I just tried downloading a video from Crunchyroll.com using the latest version of GetFLV (http://all-streaming-media.com/record-video-stream/GetFLV-Download-and-convert-flash-video-streaming.htm). The resulting file had no subtitle.
It looks like my method is no longer needed. Keepvid.com now supports crunchyroll videos.
More details here: http://stream-recorder.com/forum/www-crunchyroll-com-help-downloading-rtmpe-mp4-p31964.html#post31964
any ANONYMOUS forum user
08-26-2011, 04:24 AM
It looks like my method is no longer needed.
Could you please share it anyway?
Sure.
So what I did was just use a decryption algorithm that I stumbled across on google. All the credit belongs to the author of this code and its related libraries: http://xbmc-addon-repository.googlecode.com/svn/trunk/plugin.video.crunchyroll/resources/lib/crunchyDec.py . The author's xbmc-addon-repository project has all this other code which looks like it's used to pull the video and subtitle files from crunchyroll as well. I didn't use nor will I refer to any of it since it's already well-established on these forums on how to pull those files.
Since it was written in python I wrote a script in python (my first one, hehe) to invoke crunchyDec.py. All the decryption code is by the original author. My only contribution is decode.py which is very crude and basic.
A .zip file containing all the code is available here: http://tron.orconhosting.net.nz/crunchy/crunchy_xml_decoder.zip
You will need python installed on your computer to run the script. I use Windows 7 64-bit so I installed the "Python 2.7.2 Windows X86-64 Installer" (from http://python.org/download/). The correct installation and configuration of python is beyond the scope of what I'll cover.
The steps below work as at 2011-08-27 07:30am NZT
Once you've got python set up, to run the script with python:
Extract the contents of the zip file into any folder.
Open a windows command prompt and change the directory (cd) to the folder containing the unzipped files.
The easiest way to do this in Win7/Vista is to open the folder, click on the "address bar" and type "cmd" (without the quotes) and press enter. This should open a command prompt in the right directory/folder.
Type in: python decode.py input.xml output.ass
and press enter to start the script.
"input.xml" is a required parameter; it is the name of your xml file containing the encrypted subtitles.
"output.ass" is a required parameter; it is the name of the .ass subtitle file to be created.
If you don't know your way around windows command prompt make sure none of your file names contain spaces.
If everything executes correctly the command prompt should display[your unzipped folder location]>python decode.py sample.xml sample.ass
CRUNCHYROLL: --> Attempting to decrypt subtitles...
CRUNCHYROLL: --> Success! Subtitles decrypted. and you should have a new .ass file in the same folder.
Notes: i) The script contains no error checking or handling whatsoever. If you get errors or are otherwise unable to successfully decrypt the xml file it likely means you didn't provide the correct parameters, or crunchyroll has changed their encryption algorithm.
ii) So long as the keepvid method works I don't intend on making any changes/improvements to this script.
Here are the steps to download the raw (encrypted) xml subtitle files.
Find the id number of the subtitle file for your video. I know of at least 3 methods
Following Steven's method to grep the plugin-container.exe dump: http://stream-recorder.com/forum/use-rtmpsrv-windows-t8808.html . Grep for /xml/ and that should show you the id number somewhere.
When playing the video from crunchyroll right-click on the video. The subtitle id will be number next to the name of the subtitle track, but less one. E.g. if the subtitle track is "[57051] English", then the id is 57050.
Display the page source of the page with the video and look for something like this:<div>Subtitles: <span><img src="http://static.lln.crunchyroll.com/i/country_flags/us.gif" /> <a href="/naruto-shippuden/episode-225-the-cursed-ghost-ship-580904?ssid=57050" title="English (US)">English (US)</a></span></div>The 'ssid=57050' part tells you the id is 57050.
Download the xml file at this url: http://www.crunchyroll.com/xml/?req=RpcApiSubtitle_GetXml&subtitle_script_id=idNumberHere
where idNumberHere is the id number you found above.
In my example I would have used http://www.crunchyroll.com/xml/?req=RpcApiSubtitle_GetXml&subtitle_script_id=57050
Note: I have only tested these steps with the Bleach series on crunchyroll but I assume all non-member videos use the same structure.
I hope that helps and that I haven't left out anything obvious.
Thanks,
tRon
Randomhouse
10-03-2011, 10:20 PM
Hey tRon, first thanks for the guide. I know you said you aren't going to explain the python part in your last post but since I haven't worked with it before I'm having a hard time figuring it out. I've installed the windows 64bit version and I've tried running the command in the GUI and cmd both and neither can recognize the command. Can you give a lil bit more help?
getflv
10-03-2011, 10:46 PM
Latest GetFLV (http://all-streaming-media.com/record-video-stream/GetFLV-Download-and-convert-flash-video-streaming.htm) can also help you download crunchyroll videos and subtitles. :cool:
Randomhouse
10-03-2011, 11:45 PM
actually I have problem with GetFLV (http://all-streaming-media.com/record-video-stream/GetFLV-Download-and-convert-flash-video-streaming.htm). I tried the trial version to check and see if it works but after the first time I tried to DL something from CR i haven't been able to load any videos on CR. and the first time it crashed after trying to DL the file.
I use vista 64 bit
getflv
10-04-2011, 12:17 AM
actually I have problem with getflv. I tried the trial version to check and see if it works but after the first time I tried to DL something from CR i haven't been able to load any videos on CR. and the first time it crashed after trying to DL the file.
I use vista 64 bit
Please install flash player WIN 10,3,183,10 for Internet Explorer (no for firefox or chrome) and check your problem again.
Randomhouse
10-04-2011, 02:02 AM
I installed that version and GetFLV (http://all-streaming-media.com/record-video-stream/GetFLV-Download-and-convert-flash-video-streaming.htm) said it can't work well with that version and I have to installed the latest version which took me to flash player download for version 11
but it could load the player fine now. Although now I don't see any links to download
EDIT: So it played the video once again but when I exit the program and reopen it. I can't play videos anymore
getflv
10-04-2011, 03:26 AM
I installed that version and getflv said it can't work well with that version and I have to installed the latest version which took me to flash player download for version 11
but it could load the player fine now. Although now I don't see any links to download
EDIT: So it played the video once again but when I exit the program and reopen it. I can't play videos anymore
Please download and install latest GetFLV (http://all-streaming-media.com/record-video-stream/GetFLV-Download-and-convert-flash-video-streaming.htm) 9.0.5.0 to check your problem.:cool:
Randomhouse
10-05-2011, 09:55 AM
At last I got it to work. Btw is there an easy way to turn those .srts to .ass? Cuz I can't open them in aegisubs.
Hey tRon, first thanks for the guide. I know you said you aren't going to explain the python part in your last post but since I haven't worked with it before I'm having a hard time figuring it out. I've installed the windows 64bit version and I've tried running the command in the GUI and cmd both and neither can recognize the command. Can you give a lil bit more help?
There's not much I can say beyond the instructions already given. If you're having problems correctly setting up python then the python support page/forums would be the best place to ask. Python discussion wouldn't be relevant for this thread.
As far as downloading crunchyroll videos and subtitles goes, using keepvid.com is still my (free) method of choice.
tRon
Randomhouse
10-08-2011, 10:11 AM
But keepvid's links don't work for me. none of them.
Randomhouse
10-11-2011, 09:01 PM
OMG FFS. Ok I don't know what happened but my Harddrive is not responding anymore. I'm using my laptop. Please can someone help me? I can't turn on my computer anymore.
Are you sure this is safe to use?
any ANONYMOUS forum user
10-12-2011, 12:33 AM
I got it to work. Thanks a lot.
How did you make it work?
any ANONYMOUS forum user
10-12-2011, 07:45 PM
Yea. How did you make it work Random? Please share
Vaxtor76
04-15-2012, 02:33 PM
Anyone know if keepvid will support other language subtitles? For example: http://www.crunchyroll.com/time-of-eve/episode-1-akiko-452708
shinji257
04-22-2012, 07:05 PM
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: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: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: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: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.
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.
shinji257
04-23-2012, 10:44 PM
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
vBulletin® , Copyright ©2000-2025, Jelsoft Enterprises Ltd.