Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

Inquiry about video extraction #27

Open
yyms3275 opened this issue Jun 1, 2020 · 6 comments
Open

Inquiry about video extraction #27

yyms3275 opened this issue Jun 1, 2020 · 6 comments

Comments

@yyms3275
Copy link

yyms3275 commented Jun 1, 2020

https://www.youtube.com/watch?v=-szPlUSfP04

itag : 133, 135, 160

I need the video extraction of the quality of itag below.
However, the extracted url is an address that does not exist, but does not connect.

I tried compiling with the original source of the library, but with the same result.

Some videos come out normally, but some videos are not accessible to the extraction url.

@hhyeok1026
Copy link
Contributor

hhyeok1026 commented Jun 1, 2020

한국사람인가요??

I tested your url,
All the tags you want are coming out of adativeStream.

Perhaps you did not apply #24 . Please update directly.

@yyms3275
Copy link
Author

yyms3275 commented Jun 1, 2020

한국사람인가요??

I tested your url,
All the tags you want are coming out of adativeStream.

Perhaps you did not apply #24 . Please update directly.

네 한국사람입니다. 여기서 한국분을 보니 반갑네여 ^^'
혹시 테스트 하셨을때 480p, 240p, 144p가 재생이 되시던가요? 주소는 추출하지만 해당 주소를 가면 r8---sn-3u-bh2sr.googlevideo.com 페이지를 찾을 수 없음 이라고 페이지가 뜨더라구요. 말씀하신 대로변경된건 적용한거 같은데요.. 음
//
Did you play 480p, 240p, 144p when you tested it? The address is extracted, but when I go to that address, the page says r8---sn-3u-bh2sr.googlevideo.com page not found. As you said, I think it's applied ...

@hhyeok1026
Copy link
Contributor

저는 다운로드를 하는거를 만들었는데, 확실히 올려주신 태그들이 다운로드가 안되는것 같네요,,
저는 140번 태그가 필요해서 140은 당연히 다운이 되길래 되는줄 알았는데,,,
뭔가 수정이 더 필요한듯 하네요..
//
I made a download, but the tags you uploaded do not seem to be downloaded,
I needed tag 140, so I thought 140 would be down,
It seems like something needs to be modified ...

@hhyeok1026
Copy link
Contributor

hhyeok1026 commented Jun 1, 2020

I did some more testing,
I don't know what the condition was before the #24 problem occurred.

This is the test situation after the #24 problem occurred.

-CASE1: Songs on copyrighted channels (official channel of sound source)
Before editing #24, the tags were all null in the source code.
After the #24 modification, the above tags (133,135,160) are downloaded.,

-CASE2: For channels without copyright, it seems that the above tags can not download all the source code before #24 and the source code after #24 .

//
좀 더 테스트를 해봤는데,
#24의 문제가 일어나기 전의 상태는 어떤지 모르겠네요.

#24의 문제가 일어난 이후의 테스트상황입니다.

@yyms3275
Copy link
Author

yyms3275 commented Jun 1, 2020

I am developing mainly for regeneration. Basically, in order to support various quality videos through muxedStream and adativeStream, we have implemented playback by mixing with audio through extraction. There was a problem a while ago, and other videos were resolved after updating to # 24 method. Only this video can extract addresses, but it is blocked from access. If you get stuck in ah address extraction, I would rather exclude it from the list, so I am looking for a solution now.

//
저는 재생 위주로 개발 하고있는데요. 기본적으로 muxedStream과 adativeStream을 통해 다양한 품질 영상을 지원하고자 추출을 통해 오디오와 믹싱을 해서 재생을 구현해 왔는데요. 얼마전 문제가 있어 #24 방법으로 업데이트이후 다른 영상들은 해결 되었는데 유독 이 영상만 주소 추출은 되지만 접근에서 막혀버리네요. 아에 주소 추출에서 막히면 차라리 목록에서 제외라도 하는데 안되서 지금 해결 방법을 찾고 있습니다.

@yyms3275
Copy link
Author

yyms3275 commented Jun 1, 2020

As a temporary method, in the parseUrls function of the YoutubeStreamExtractor.java file, items without video playback information were filtered. It seems to be necessary to correct the extraction information in the future.

if (media.getApproxDurationMs() == 0.0)
{
// no duration ms...
}
else
{
media.setUrl(FinalUrl);
links.add(media);
}

//
임시 방법으로 YoutubeStreamExtractor.java 파일의 parseUrls 함수에서 영상 재생 정보가 없는 항목은 필터 처리하였습니다. 향후 추출 정보에 대한 수정이 필요할 거 같습니다.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants