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

how to specify quality format with dailymotion video #14118

Closed
kiranbulley opened this issue Sep 5, 2017 · 1 comment
Closed

how to specify quality format with dailymotion video #14118

kiranbulley opened this issue Sep 5, 2017 · 1 comment

Comments

@kiranbulley
Copy link

@kiranbulley kiranbulley commented Sep 5, 2017

youtube-dl -v --list-formats http://www.dailymotion.com/video/x5yzn9o

i have run above command for that i got following result

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'--list-formats', u'http://www.dailymotion.com/video/x5yzn9o']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.06.18
[debug] Python version 2.7.13 - Darwin-15.4.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 3.3.2, ffprobe 3.3.2
[debug] Proxy map: {}
[dailymotion] x5yzn9o: Downloading webpage
[dailymotion] x5yzn9o: Downloading m3u8 information
[dailymotion] x5yzn9o: Downloading m3u8 information
[dailymotion] x5yzn9o: Downloading m3u8 information
[dailymotion] x5yzn9o: Downloading m3u8 information
[dailymotion] x5yzn9o: Downloading m3u8 information
[dailymotion] x5yzn9o: Downloading m3u8 information
[dailymotion] x5yzn9o: Downloading m3u8 information
[info] Available formats for x5yzn9o:
format code extension resolution note
hls-144-0 mp4 176x96 105k , avc1.42000b, mp4a.40.5
hls-144-1 mp4 176x96 105k , avc1.42000b, mp4a.40.5
hls-144-2 mp4 176x96 105k , avc1.42000b, mp4a.40.5
hls-144-3 mp4 176x96 105k , avc1.42000b, mp4a.40.5
hls-240-0 mp4 320x184 246k , avc1.42000d, mp4a.40.5
hls-240-1 mp4 320x184 246k , avc1.42000d, mp4a.40.5
hls-240-2 mp4 320x184 246k , avc1.42000d, mp4a.40.5
hls-240-3 mp4 320x184 246k , avc1.42000d, mp4a.40.5
hls-380-0 mp4 512x288 460k , avc1.420016, mp4a.40.5
hls-380-1 mp4 512x288 460k , avc1.420016, mp4a.40.5
hls-380-2 mp4 512x288 460k , avc1.420016, mp4a.40.5
hls-380-3 mp4 512x288 460k , avc1.420016, mp4a.40.5
hls-480-0 mp4 848x480 836k , avc1.64001f, mp4a.40.2
hls-480-1 mp4 848x480 836k , avc1.64001f, mp4a.40.2
hls-480-2 mp4 848x480 836k , avc1.64001f, mp4a.40.2
hls-480-3 mp4 848x480 836k , avc1.64001f, mp4a.40.2
hls-720-0 mp4 1280x720 2149k , avc1.64001f, mp4a.40.2
hls-720-1 mp4 1280x720 2149k , avc1.64001f, mp4a.40.2
hls-720-2 mp4 1280x720 2149k , avc1.64001f, mp4a.40.2
hls-720-3 mp4 1280x720 2149k , avc1.64001f, mp4a.40.2
hls-1080-0 mp4 1920x1080 6221k , avc1.640028, mp4a.40.2
hls-1080-1 mp4 1920x1080 6221k , avc1.640028, mp4a.40.2
hls-1080-2 mp4 1920x1080 6221k , avc1.640028, mp4a.40.2
hls-1080-3 mp4 1920x1080 6221k , avc1.640028, mp4a.40.2
http-144 mp4 176x144
http-240 mp4 320x240
http-380 mp4 512x384
http-480 mp4 848x480
http-720 mp4 1280x720
http-1080 mp4 1920x1080 (best)

after that i have run following command to download video with specific format
youtube-dl -v -f 1280*720 http://www.dailymotion.com/video/x3hnk8x

youtube-dl -v -f hls-720-0 http://www.dailymotion.com/video/x5yzn9o

but i am getting error

ERROR: ffmpeg exited with code 1
File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/bin/youtube-dl/main.py", line 19, in
youtube_dl.main()
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 465, in main
_real_main(argv)
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 455, in _real_main
retcode = ydl.download(all_urls)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1919, in download
url, force_generic_extractor=self.params.get('force_generic_extractor', False))
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 773, in extract_info
return self.process_ie_result(ie_result, download, extra_info)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 827, in process_ie_result
return self.process_video_result(ie_result, download=download)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1562, in process_video_result
self.process_info(new_info)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1826, in process_info
success = dl(filename, info_dict)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1768, in dl
return fd.download(name, info)
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 361, in download
return self.real_download(filename, info_dict)
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/external.py", line 57, in real_download
self.get_basename(), retval))
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 163, in report_error
self.ydl.report_error(*args, **kargs)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 602, in report_error
self.trouble(error_message, tb)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 564, in trouble
tb_data = traceback.format_list(traceback.extract_stack())

so i want know how could i specify quality format code with dailymotion as well as with vimeo

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Sep 5, 2017

Carefully read new issue template and provide all requested information.

@dstftw dstftw closed this Sep 5, 2017
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
2 participants
You can’t perform that action at this time.