Greasy Fork is available in English.

YouTube Links

Show the available video links.

您查看的为 2014-10-10 提交的版本。查看 最新版本

脚本作者
nhyone
得分
0 0 0
版本
1.64
创建日期
2014-10-07
最近更新
2014-10-10
许可证
暂无
应用到

Tags every video link on a YouTube page so that they can be downloaded easily, using the title as the filename. On the watch page, it also shows all the available video formats at the top of the page.




On DASH videos (Adaptive Video Streaming)

YouTube now uses adaptive video streaming for 480p and 1080p videos (Oct 2013). What this means is that the video and audio streams are now separate.

They are indicated as M4V and M4A. They have to be downloaded separately and mux'ed before playing. If using ffmpeg:

ffmpeg -i vid.m4v -i vid.m4a -vcodec copy -acodec copy vid.mp4

The filename is always videoplayback. Before saving, select and copy the page title first. Then right-click on the video link, save-as and paste the title. Set the extension to either m4v or m4a to distinguish between video and audio.


On VEVO videos

When a VEVO video is first accessed, the video links will not be shown because the de-obfuscated code is gotten too late. You need to manually refresh to see the links. This should happen just once — until YouTube changes the de-obfuscated code again.

If the video links are still not shown, it could be because the script does not recognize the new de-obfuscated code anymore. This happens once every few months; it is a cat-and-mouse game. Post in the forum so that I know about it. :-D


Known Issues

Check for update does not work in Firefox. (Since FF 29)


Changes

1.64 (Oct 2014)

  • Fixed event handling on Firefox
  • Use video size from page if available
  • Remove small videos completely so that we don't query their size

1.63 (Oct 2014)

  • Change link to Greasy Fork.
  • Fixed video thumbnail text; broken after YouTube update.
  • Improved support for obfuscated-sig videos; broken after YouTube update.
  • Hide 144v and 240v if 720p/1080p are present.
  • Checks for updates every 5 days (not tested on Greasy Fork).

1.62 (Mar 2014)

Taken directly from http://userscripts-mirror.org/scripts/show/110007.html