Some videos can be never downloaded. Why? #91

Closed
opened 2026-02-20 22:25:18 -05:00 by deekerman · 2 comments
Owner

Originally created by @Jimmm on GitHub (Aug 5, 2011).

http://www.youtube.com/watch?v=pZZ60jrw6cg

There is no program or website, which can download this video.

Originally created by @Jimmm on GitHub (Aug 5, 2011). http://www.youtube.com/watch?v=pZZ60jrw6cg There is no program or website, which can download this video.
Author
Owner

@phihag commented on GitHub (Aug 6, 2011):

This is an rtmp video, so it's not as easy, but possible. Here's a step-by-step to download it:

First, I'm afraid I broke youtube rtmp downloading in the newest version. Either download my updated fork or apply this patch
(@rg3, could you cherry-pick it, minus the print? Looks like youtube sends a useless url_encoded_fmt_stream_map for rtmp streams. We need tests for that ;) ).

Then, download, compile and install the newest rtmpdump:

git clone git://git.ffmpeg.org/rtmpdump
(cd rtmpdump && make && sudo make install)

Check that everything worked by typing rtmpdump. This should say RTMPDump v2.4. Now, go ahead and download the video with youtube-dl. There won't be a download status output (something we should work on), but in traditional UNIX fashion, no output is a good sign in this case.

One more caveat: If this fails with a Segmentation Fault, you have librtmp installed on your system. Instead of overwriting it, you can also use

LD_PRELOAD=rtmpdump/librtmp/librtmp.so.0 youtube-dl -t 'http://www.youtube.com/watch?v=pZZ60jrw6cg'

to prefer the librtmpdump.so.0 file from the downloaded development version over your distribution's one.

@phihag commented on GitHub (Aug 6, 2011): This is an rtmp video, so it's not as easy, but possible. Here's a step-by-step to download it: First, I'm afraid I broke youtube rtmp downloading in the newest version. Either download my [updated fork](https://raw.github.com/phihag/youtube-dl/master/youtube-dl) or apply [this patch](https://github.com/phihag/youtube-dl/commit/f137bef973729bf1da0f8dfe244d5ff24cb2ad23#diff-0) <sub>(@rg3, could you cherry-pick it, minus the print? Looks like youtube sends a useless url_encoded_fmt_stream_map for rtmp streams. We need tests for that ;) )</sub>. Then, download, compile and install the newest rtmpdump: ``` git clone git://git.ffmpeg.org/rtmpdump (cd rtmpdump && make && sudo make install) ``` Check that everything worked by typing `rtmpdump`. This should say `RTMPDump v2.4`. Now, go ahead and download the video with youtube-dl. There won't be a download status output (something we should work on), but in traditional UNIX fashion, no output is a good sign in this case. One more caveat: If this fails with a `Segmentation Fault`, you have librtmp installed on your system. Instead of overwriting it, you can also use ``` LD_PRELOAD=rtmpdump/librtmp/librtmp.so.0 youtube-dl -t 'http://www.youtube.com/watch?v=pZZ60jrw6cg' ``` to prefer the librtmpdump.so.0 file from the downloaded development version over your distribution's one.
Author
Owner

@Jimmm commented on GitHub (Aug 24, 2011):

that was really helpful, thanks

@Jimmm commented on GitHub (Aug 24, 2011): that was really helpful, thanks
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl-ytdl-org#91
No description provided.