Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
ERROR: rtmpdump exited with code 1 #11
Comments
|
Thanks for reporting the issue. An example is needed, though. |
|
Originally by anonymous: If you want an example video then it fails with this: http://www.youtube.com/watch?v=ULtNWlvI3Uc |
|
I get "this video is not available" when I visit YouTube's webpage. |
|
Originally by anonymous: Oh, right, that video is UK only. |
|
Originally by anonymous: I am the original submitter and the video I was referring to was UK only also. |
|
I had the same problem, and have worked out a fix. The parsing for the SWF url is wrong (the "//" are now escaped and the initial .*match needs to be 'ungreedy'), so the -W setting to rtmpdump is not set, causing the decryption of the video to be wrong. I also suggest only setting "-q" to rtmpdump if "-q" is sent to youtube-dl Here's a patch against 2010.10.24 --- youtube-dl.orig 2010-11-16 16:30:42.000000000 +0000
|
|
Thanks for working on this. The patch format is causing me some trouble. Could you simply fork the current repository, apply the patch and issue a pull request? That way would be much easier and we're on github.com after all. Thanks in advance. |
|
Ok, I'll do that, but give me time I'm new to github - only signed up for this post! |
|
ok, I've done it, let me know if i've done it correctly or not! cheers, |
|
Correctly parse the player URL in RTMP downloads (closed by b620a5f) Fixed several problems courtesy of jamiejones: The parsing for the SWF url was wrong (the "//" are now escaped and the Finally, add "&has_verified=1" to the fetch of the HMTL page to |
|
Hi, Yes, you've done it correctly. I just merged your changes, but rewrote history a little bit, so feel free to delete your master branch and fork again to fix other problems if you want. Why I rewrote history: I combined both commits in one, as one was a fix for a mistake in the other commit. I also removed the part about the -q flag for rtmpdump. This is my choice, I prefer not to view the rtmpdump output and would like the program to always call it with -q. Also, I fixed the commit message to contain a header line and a further explanation, and I also wrapped the commit text at around 80 characters. Please, feel free to submit any more fixes and specially about rtmp downloads. Most complaints about it seem to come from users in the UK and I can't reproduce the problem here. Thanks again! |
|
No problem with the change. And yes, I'll refork if I see any other changes. Yes, a faulty commit.. I couldn't manage to get git locally to upload the changed files, so ended up editting the changes in again via the website! Yes, 2 of the major TV channels in the UK offer all their content "on demand" via the youtube rtmp method, so it's a popular service here! Thanks for the feedback, |
|
I use version 2012.01.05 from Macports and I have the issue of: ERROR: rtmpdump exited with code 1 with movies at comedy central. For example this one: http://www.thedailyshow.com/full-episodes/thu-january-5-2012-craig-shirley I see the same problem both using the MacPorts version as well as using in with ubuntu (custom package) |
|
@feranick What version of rtmpdump are you using? Downloading :tds (or the mentioned longer URL ;) ) works fine on my machine, with rtmpdump |
|
The problem is both with version 2.3-2 and 2.4~20110711.gitc28f1bab-1 (the versions currently available in Ubuntu and Debian), which I recompiled on Ubuntu Oneiric and Lucid. I'll test the patch, but without it, for sure, it's not working.
|
|
I think that we can close this issue, as @feranick reported the issue on Debian bugtracker and I already reassigned the problem from youtube-dl to rtmpdump. He told me on http://bugs.debian.org/655038#19 that now things work for him. |
|
@HamedMP This seems to be a problem when installing rtmpdump, if it's a problem with youtube-dl open a new issue and paste the output when running youtube-dl with the option |

Was: http://bitbucket.org/rg3/youtube-dl/issue/173/
On any video with rtmpe youtube-dl correctly identifies:
[youtube] RTMP download detected
However the download will always stop at about the same place with:
[rtmpdump] 93716588 bytes ERROR: rtmpdump exited with code 1
Using option -c results in rtmpdump exiting immediately.