Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1tv] Add support for hls #11786

Closed
nmr50 opened this issue Jan 19, 2017 · 1 comment
Closed

[1tv] Add support for hls #11786

nmr50 opened this issue Jan 19, 2017 · 1 comment

Comments

@nmr50
Copy link

@nmr50 nmr50 commented Jan 19, 2017

Hello coders, as soon previous request was a bit postponed here, I want to rise up another 1tv.ru issue, please pay attention, people.

R:>youtube-dl -v -F http://www.1tv.ru/shows/vremya-pokazhet/vypuski/ukraina-bez-rossii-vremya-pokazhet-vypusk-ot-19-01-2017
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '-F', 'http://www.1tv.ru/shows/vremya-pokazhet/vypuski/ukraina-bez-rossii-vremya-pokazhet-vypusk-ot-19-01-2017']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2017.01.18
[debug] Python version 3.4.4 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg 3.2.2
[debug] Proxy map: {}
[1tv] ukraina-bez-rossii-vremya-pokazhet-vypusk-ot-19-01-2017: Downloading webpage
[1tv] ukraina-bez-rossii-vremya-pokazhet-vypusk-ot-19-01-2017: Downloading JSON metadata
[download] Downloading playlist: Украина без России. Время покажет. Выпуск от 19.01.2017
[1tv] playlist Украина без России. Время покажет. Выпуск от 19.01.2017: Collected 1 video ids (downloading 1 of them)
[download] Downloading video 1 of 1
[info] Available formats for 401872:
format code extension resolution note
ld mp4 unknown 350k
sd mp4 unknown 950k
hd mp4 unknown 3800k (best)
[download] Finished downloading playlist: Украина без России. Время покажет. Выпуск от 19.01.2017

What do we see here ? Usual picture, ld is low quality 640x360 video, sd is standard quality in the same res, yet hd that was 1280x720, now when I try to get 'hd' version of video I still get SD one.

It would've been ok to understand if I did not use netvideohunter plugin for firefox's fork named Seamonkey, and this NVH is ABLE to get separated .TS chunks those ARE in 1280x720 res (when NVH is saving those .tses to disk they're renamed to .mp4, as it shown here):
C:>ffprobe.exe "Украина без России Время покажет Выпуск от 19012017.mp4"
ffprobe version 3.2.2 Copyright (c) 2007-2016 the FFmpeg developers
built with gcc 5.4.0 (GCC)
[skip]
Duration: 00:00:10.07, start: 10.106333, bitrate: 4068 kb/s
Program 1
Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1280
x720 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc

Stream #0:1[0x101]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 130 kb/s
Stream #0:2[0x102]: Data: timed_id3 (ID3 / 0x20334449)

I.e., we see here that YDL is being "cheated" by direct url pointing, yet 1tv.ru is able to give out (half)HD videos, so I am asking - could someone put his/her hands on this case to fix YDL to get (half)HD res videos from 1tv.ru along with others - ld and sd ? THANKS IN ADVANCE!!!
-t

@dstftw dstftw changed the title [1tv.ru] No HD for YDL... [1tv] Add support for hls Jan 19, 2017
@dstftw dstftw closed this in 1fe84be Jan 19, 2017
@nmr50
Copy link
Author

@nmr50 nmr50 commented Jan 31, 2017

Now YDL works fine, thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.