synology download station下載YouTube影片問題

toomy wrote:
我的顯示安裝pyth...(恕刪)


DSM 5.0 DOWNLOAD STATION youtube download module 需要用到 python, 但 DSM 4.x 舊版的不需要, 用 DSM 4.x 的 user 必須等原廠更新此下載模組程式後, 下載功能才會正常. 不然就升級到 dsm 5.0 囉.
FB: Pctine
DSM 4.3, 升級download station至3.4-2485後, 已經可以下載先前不能下載的youtube連結了
(其實也不是不能, 而是youtube把影跟音分開, 原有的下載方式不適用)

不過, 在download station的設定界面中的檔案空間服務, 已經沒有youtube專用的描述檔了
用 qnap happyget就都可以用,好像軟體不再是s牌強項。可以支援happyget嗎
doguluskaien wrote:
用 qnap happyget就都可以用,好像軟體不再是s牌強項。可以支援happyget嗎...(恕刪)


有時候 youtube 改版造成 youtube download 模組無法正常 work, 這在其他 youtube 下載程式也是會發生的, Happyget 不也是隨著 youtube 改版而不斷更新? 待原廠程式更新就好, 現 DSM 5.0 已經沒有問題了, 至於 playlist 的下載也有支援了.

Synology 當然不支援 happyget(應該說 happyget 不支援 DS NAS), 畢竟 happyget 是 qnap 推出的程式. 怎可能去支援別家的產品?
FB: Pctine
我昨天試了一下用DSM 5.0的DOWMLOAD STATION下載YOUTUBE的影片,可以正常下載,很方便.
但下載回來的影片的解析度都是720P而不是1080P的,同樣的影片,我用YOUTUBE DOWNLOADER HD下載的, 就是1080P,請問是那裡要設定嗎?

雨田水人 wrote:
但下載回來的影片的解析度都是720P而不是1080P的...(恕刪)


試了一下, 果真是如此, 但 synology youtube download module 應該是 call 3rd party youtube-dl (click here) 程式,

剛才直接用 youtube-dl.exe 程式去抓一個 1080P 影片(未下額外參數), 下載回來也是 720P, 小弟再來去問問原作者好了.

解決方案
在原作者網站 FAQ 有提到:
Can you please put the -b option back?

Most people asking this question are not aware that youtube-dl now defaults to downloading the highest available quality as reported by YouTube, which will be 1080p or 720p in some cases, so you no longer need the -b option. For some specific videos, maybe YouTube does not report them to be available in a specific high quality format you're interested in. In that case, simply request it with the -f option and youtube-dl will try to download it.

剛才用 youtube-dl.exe 又試了一下, 這次改下一個參數 -f bestvideo, 結果它就抓回 1080P 的影片了, 所以 Synology 工程師應該只要去做個小修改, 例如讓 user 選擇是不是每次都用最佳的解析度下載, 這樣就解決了.

另外有一點蠻有趣的, youtube-dl 支援的影音網站不止 youtube, 還有相當多其他的網站都支援(click here), 像 niconico/vimeo..., 如果這些都能加進來就太完美了.

建議將 download station 現在的 audio/video download 功能從 http/ftp/... 獨立開來, 這樣就能好好利用 youtube-dl 模組為數眾多 a/v 網站下載的功能.
FB: Pctine
謝謝pctine大大的回應,真是太專業了
現在問題原因是找到了,但還是要等SYNOLOGY的工程師們修正後,再更新程式才真的有解.

雨田水人 wrote:
現在問題原因是找到了,但還是要等SYNOLOGY的工程師們修正後,再更新程式才真的有解....(恕刪)


有關於你之前提的問題, 前面小弟有大致解釋過, 之後也 email 詢問 youtube-dl 原作者此一相關問題. 回覆如下:


YouTube does not generally offer videos >720p in a single file anymore.
What they do offer is DASH/HLS files. However, these only contain audio
or video, so you'll have to combine multiple files. That's somewhat
tricky (you'll need ffmpeg, and many other things can go wrong), and
that's the reason why it isn't the default in youtube-dl yet. However,
we're working on providing support.

In the meantime, you can use the -F flag to see the available formats
for a video:

$ youtube-dl -F https://www.youtube.com/watch?v=Qk52ypnGs68
[youtube] Setting language
[youtube] Qk52ypnGs68: Downloading webpage
[youtube] Qk52ypnGs68: Downloading video info webpage
[youtube] Qk52ypnGs68: Extracting video information
[info] Available formats for Qk52ypnGs68:
format code extension resolution note
171 webm audio only DASH webm audio , audio@ 48k (worst)
140 m4a audio only DASH audio , audio@128k
160 mp4 144p DASH video , video only
133 mp4 240p DASH video , video only
134 mp4 360p DASH video , video only
135 mp4 480p DASH video , video only
136 mp4 720p DASH video , video only
137 mp4 1080p DASH video , video only
17 3gp 176x144
36 3gp 320x240
5 flv 400x240
43 webm 640x360
18 mp4 640x360
22 mp4 1280x720 (best)

You can then use -f to select the desired quality. For example,

-f 138+140/264+140/137+140/best

will merge when the HD (or Ultra HD) formats are available, and use the
single video file otherwise. You may want to add that to your
configuration file ~/.config/youtube-dl.conf . As I wrote above, we're
working on making that the default.

Best,

Philipp


如同上面所言, 小弟昨天在測試時也發現強制要求擷取 1080P 時, 雖然抓回來檔案為 1080P, 但只有影像, 沒有聲音, 所以 download station 抓回來的 720P 是有聲有影裡面品質最好的.

要解決就必須 audio & video 分兩次擷取再合併, 此一相關訊息小弟也會直接 email 給 synology 他們參考, 希望日後可以改進此一問題.
FB: Pctine

pctine wrote:
要解決就必須 audio & video 分兩次擷取再合併, 此一相關訊息小弟也會直接 email 給 synology 他們參考, 希望日後可以改進此一問題.


不知群暉對於此問題後來是否給了 P 大回應?
感覺上群暉對影像處理這塊不是太在意,包括 XBMC 解碼。

是說,在 01 上爬文,有關 XBMC 的問題好像都與 HDMI 輸出有關,
小弟不太懂這方面問題,
因為去年 4.3 Beta 發表會時曾經討論過,
好幾位大大對群暉不出 HDMI 輸出的機種似乎不太諒解....

eugenelu wrote:
不知群暉對於此問題後來是否給了 P 大回應?
感覺上群暉對影像處理這塊不是太在意,包括 XBMC 解碼。...(恕刪)


忘了回你了, 之前那只是建議而已.

不過 download station youtube 下載的功能, 它仍然只會抓回包含 audio&video 的最佳影片回來, 而在 youtube 上面好像大多數 1080P 的影片在存放時, 都只是 video only, 所以造成 download station 抓回來的都只有 720P 而已. (雖然用 browser 上 youtube 可以選到 1080P)
FB: Pctine
文章分享
評分
評分
複製連結

今日熱門文章 網友點擊推薦!