einstein95 / crunchy-xml-decoder

GNU General Public License v2.0
35 stars 14 forks source link

issue with some links #16

Closed sickness0666 closed 9 years ago

sickness0666 commented 9 years ago

issue with some video links, namely the ones ive found sofar are: Subtitles from: http://www.crunchyroll.com/hunter-x-hunter/episode-72-chase-x-and-x-chance-615499 info from cmd:


--------------------------
---- Start New Export ----
--------------------------

CrunchyRoll Downloader Toolkit DX v0.98

This script downloads just the subtitles, for purposes nefarious or otherwise.

----------

Please Enter CrunchyRoll Video URL
http://www.crunchyroll.com/hunter-x-hunter/episode-72-chase-x-and-x-chance-61549
9
Extracting subtitles from http://www.crunchyroll.com/hunter-x-hunter/episode-72-
chase-x-and-x-chance-615499
  File "C:\Python34\Lib\site.py", line 176
    file=sys.stderr)
        ^
SyntaxError: invalid syntax

----------

****** Job completed successfully *****

Press any key to continue . . .

Video From: http://www.crunchyroll.com/hunter-x-hunter/episode-102-power-x-and-x-games-646047, gets to about 60-70% (note that it is in 1080p that im downloading), and then quits out, info from cmd:

Booting up...
Downloading video...
RTMPDump v2.5 GIT-2012-03-31 (Handshake 10 support by Xeebo)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: HandShake: Type mismatch: client sent 6, server answered 10
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO:   duration              1417.18
INFO:   moovPosition          32.00
INFO:   width                 1920.00
INFO:   height                1080.00
INFO:   videocodecid          avc1
INFO:   audiocodecid          mp4a
INFO:   avcprofile            100.00
INFO:   avclevel              40.00
INFO:   aacaot                2.00
INFO:   videoframerate        23.98
INFO:   audiosamplerate       44100.00
INFO:   audiochannels         2.00
INFO: trackinfo:
INFO:   length                16988500.00
INFO:   timescale             11988.00
INFO:   language              und
INFO: sampledescription:
INFO:   sampletype            avc1
INFO:   length                62497792.00
INFO:   timescale             44100.00
INFO:   language              und
INFO: sampledescription:
INFO:   sampletype            mp4a
328058.231 kB / 880.46 sec (62.1%)
Download may be incomplete (downloaded about 62.10%), try resuming

Video download is incomplete, resuming. (1/3)
RTMPDump v2.5 GIT-2012-03-31 (Handshake 10 support by Xeebo)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: HandShake: Type mismatch: client sent 6, server answered 10
INFO: Connected...
Resuming download at: 325936.658 kB / 872.206 sec (61.5%)
INFO: Metadata:
INFO:   duration              1417.18
INFO:   moovPosition          32.00
INFO:   width                 1920.00
INFO:   height                1080.00
INFO:   videocodecid          avc1
INFO:   audiocodecid          mp4a
INFO:   avcprofile            100.00
INFO:   avclevel              40.00
INFO:   aacaot                2.00
INFO:   videoframerate        23.98
INFO:   audiosamplerate       44100.00
INFO:   audiochannels         2.00
INFO: trackinfo:
INFO:   length                16988500.00
INFO:   timescale             11988.00
INFO:   language              und
INFO: sampledescription:
INFO:   sampletype            avc1
INFO:   length                62497792.00
INFO:   timescale             44100.00
INFO:   language              und
INFO: sampledescription:
INFO:   sampletype            mp4a
WARNING: Stream does not start with requested frame, ignoring data...
WARNING: Stream does not start with requested frame, ignoring data...
328058.231 kB / 880.46 sec (62.1%)
Download may be incomplete (downloaded about 62.10%), try resuming

Video download is incomplete, resuming. (2/3)
RTMPDump v2.5 GIT-2012-03-31 (Handshake 10 support by Xeebo)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: HandShake: Type mismatch: client sent 6, server answered 10
INFO: Connected...
Resuming download at: 325936.658 kB / 872.206 sec (61.5%)
INFO: Metadata:
INFO:   duration              1417.18
INFO:   moovPosition          32.00
INFO:   width                 1920.00
INFO:   height                1080.00
INFO:   videocodecid          avc1
INFO:   audiocodecid          mp4a
INFO:   avcprofile            100.00
INFO:   avclevel              40.00
INFO:   aacaot                2.00
INFO:   videoframerate        23.98
INFO:   audiosamplerate       44100.00
INFO:   audiochannels         2.00
INFO: trackinfo:
INFO:   length                16988500.00
INFO:   timescale             11988.00
INFO:   language              und
INFO: sampledescription:
INFO:   sampletype            avc1
INFO:   length                62497792.00
INFO:   timescale             44100.00
INFO:   language              und
INFO: sampledescription:
INFO:   sampletype            mp4a
WARNING: Stream does not start with requested frame, ignoring data...
WARNING: Stream does not start with requested frame, ignoring data...
328058.231 kB / 880.46 sec (62.1%)
Download may be incomplete (downloaded about 62.10%), try resuming

Video download is incomplete, resuming. (3/3)
RTMPDump v2.5 GIT-2012-03-31 (Handshake 10 support by Xeebo)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: HandShake: Type mismatch: client sent 6, server answered 10
INFO: Connected...
Resuming download at: 325936.658 kB / 872.206 sec (61.5%)
INFO: Metadata:
INFO:   duration              1417.18
INFO:   moovPosition          32.00
INFO:   width                 1920.00
INFO:   height                1080.00
INFO:   videocodecid          avc1
INFO:   audiocodecid          mp4a
INFO:   avcprofile            100.00
INFO:   avclevel              40.00
INFO:   aacaot                2.00
INFO:   videoframerate        23.98
INFO:   audiosamplerate       44100.00
INFO:   audiochannels         2.00
INFO: trackinfo:
INFO:   length                16988500.00
INFO:   timescale             11988.00
INFO:   language              und
INFO: sampledescription:
INFO:   sampletype            avc1
INFO:   length                62497792.00
INFO:   timescale             44100.00
INFO:   language              und
INFO: sampledescription:
INFO:   sampletype            mp4a
WARNING: Stream does not start with requested frame, ignoring data...
WARNING: Stream does not start with requested frame, ignoring data...
328058.231 kB / 880.46 sec (62.1%)
Download may be incomplete (downloaded about 62.10%), try resuming

Video failed to download. Writing error...
Traceback (most recent call last):
  File "C:\Users\sickness\Desktop\crunchy_anime\Highest\crunchy-xml-decoder\ulti
mate.py", line 202, in <module>
    video()
  File "C:\Users\sickness\Desktop\crunchy_anime\Highest\crunchy-xml-decoder\ulti
mate.py", line 154, in video
    os.remove('.\\' + title + '.flv"')
WindowsError: [Error 123] The filename, directory name, or volume label syntax i
s incorrect: '.\\Hunter x Hunter Episode 102 - Power X And X Games.flv"'
****** Job completed successfully *****
einstein95 commented 9 years ago

crunchy-xml-decoder does not work on Python 3, only Python 2.

sickness0666 commented 9 years ago

ahh, that would be why the subtitle download didnt work on my desktop comp, tried to do it manually, server is located in france, and when i tried to start the subs only, it said they were region locked and wouldnt download, so i tried on desktop comp.

but the video download info is from server which only has python 2.7 installed, every other episode of Hunter x Hunter worked perfectly, only that one kept messing up

einstein95 commented 9 years ago

Seems like it works fine for me. No idea why it keeps cutting out for you at the same filesize. Could this be related to disk space?

Booting up...
Downloading video...
RTMPDump v2.5 GIT-2012-03-31 (Handshake 10 support by Xeebo)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: HandShake: Type mismatch: client sent 6, server answered 10
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO:   duration              1417.18
INFO:   moovPosition          32.00
INFO:   width                 1920.00
INFO:   height                1080.00
INFO:   videocodecid          avc1
INFO:   audiocodecid          mp4a
INFO:   avcprofile            100.00
INFO:   avclevel              40.00
INFO:   aacaot                2.00
INFO:   videoframerate        23.98
INFO:   audiosamplerate       44100.00
INFO:   audiochannels         2.00
INFO: trackinfo:
INFO:   length                16988500.00
INFO:   timescale             11988.00
INFO:   language              und
INFO: sampledescription:
INFO:   sampletype            avc1
INFO:   length                62497792.00
INFO:   timescale             44100.00
INFO:   language              und
INFO: sampledescription:
INFO:   sampletype            mp4a
553442.189 kB / 1417.16 sec (99.9%)
Download complete
Attempting to decrypt subtitles...
Success!  Subtitles decrypted.
Starting mkv merge
mkvmerge v7.0.0 ('Where We Going') 32bit built on Jun  9 2014 15:08:34
'.\export\Hunter x Hunter Episode 102 - Power X And X Games.ass': Using the demu
ltiplexer for the format 'SSA/ASS subtitles'.
'.\export\Hunter x Hunter Episode 102 - Power X And X Games.flv' track 0: Using
the output module for the format 'AVC/h.264'.
'.\export\Hunter x Hunter Episode 102 - Power X And X Games.flv' track 1: Using
the output module for the format 'AAC'.
'.\export\Hunter x Hunter Episode 102 - Power X And X Games.ass' track 0: Using
the output module for the format 'text subtitles'.
The file '.\export\Hunter x Hunter Episode 102 - Power X And X Games.mkv' has be
en opened for writing.
'.\export\Hunter x Hunter Episode 102 - Power X And X Games.flv' track 0: Extrac
ted the aspect ratio information from the MPEG-4 layer 10 (AVC) video data and s
et the display dimensions to 1920/1080.
Progress: 100%
The cue entries (the index) are being written...
Muxing took 43 seconds.
Merge process complete

----------

Starting Final Cleanup
Cleanup Complete
****** Job completed successfully *****
sickness0666 commented 9 years ago

not related to diskspace, i tried it a couple hours later, and it worked perfectly fine with no issues.

also, is there a way to make the start subs only use the crunblocker portion? because if you want to get subs only and use the subs_only bat file, you still get region locked error

einstein95 commented 9 years ago

Done.