PDA

View Full Version : how to get video and subtitles from this site with rtmpdump


mirax2
11-02-2013, 10:25 AM
Hello !

Video: http://animedigitalnetwork.fr/video/coppelion/3602-episode-1-coppelion
It's a 5-minutes preview for non-premium members but the video mechanics seem to be the sames as for premium members.

1) I can't find a way to download this video with rtmpdump. I always got an error. (the rtmpdump command has been generated with rtmpsrv)
rtmpdump -r "rtmpe://streaming4.anidn.fr/vod" -a "vod" -f "WIN 11,9,900,117" -W "http://animedigitalnetwork.fr/components/com_vodvideo/mediaplayer/player-licensed.swf" -p "http://animedigitalnetwork.fr/video/coppelion/3602-episode-1-coppelion" -y "mp4:JAwzzcI8ynV6xf9rTWIrzQYN4SqO3QmYNmLqkzSAbuQiQf w9oOgpjMuLgpizeEpz5bthhZmwzOvNq3qWa1L3TfhjRwFW2jc9 DOjDQAM%2B2cY%3D-QV8z0qpE9HEd60CuO8en3g%3D%3D.mp4?audioindex=0" -o "2013-11-02_05-14-43_va05800.flv"

RTMPDump v2.4 GIT-2013-10-07 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: Trying different position for server digest!
INFO: Connected...
ERROR: RTMP_ReadPacket, failed to read RTMP packet header

Any ideas why it does not work with rtmpdump ?


2) I would also like to get the video subtitles which are not included in the file generated. The video is not hardsubbed.
But I can't find how to get them.

Any ideas how to get the subtitles ?


Thanks

hasomaso
11-02-2013, 05:15 PM
the stream used secureToken
PM me

mirax2
11-02-2013, 06:39 PM
1)Thanks to hasomaso's help i have almost solved my rtmpdump download problem.

Edit: Everything now works for the download part since i have added the "-v" option (-R also work).
Before it always fails around 10-15% since the server does not seem to support the Pause/Unpause trick done by rtmpdump to speed up downloading as explained in an other thread


2) for the subtitle part:
The player does not seem to make http requests to an external xml, srt, whatever url.
But the subtitles must be somewhere since the video is not hardsubed.
May they be embedded with the video in RTMP protocol ?
If so how to get them ?

mirax2
11-05-2013, 07:41 AM
I finally found the subtitles hidden in a png file.
The file content-type was "plain/text" instead of "image/png".
I should have noticed it sooner :rolleyes:

I then found how to decrypt and decode the file through a function in a swf file loaded as an addon with the player.

I now got the subtitles in a .ass format


So now i'll just have to automate it through a script to get the videos + subtitles and then mux them

Facy5
04-24-2014, 05:12 AM
Hello, I'd like to know mirax2 did to "decrypt and decode the file through a function in a swf file loaded as an addon with the player", because I also try to search and get the subtitle from ADN.

Thanks by advance ! :)

Jelven
07-13-2014, 04:39 PM
Hi !

I try too to download subtitle video by anime digital network. But I find no solution. Apparently you have found one. Could you help me if you like me ? Please

PS: I'm french, sorry for my bad english