The 'format' field now defaults to '{format_id} - {width}x{height}{format_note}'

Following the YoutubeIE format. The 'format_note' gives additional info about the format, for example '3D' or 'DASH video'.
This commit is contained in:
Jaime Marquínez Ferrándiz 2013-10-21 14:09:38 +02:00
parent 3fd39e37f2
commit 8c51aa6506
2 changed files with 31 additions and 16 deletions

View file

@ -61,9 +61,12 @@ class InfoExtractor(object):
* ext Will be calculated from url if missing
* format A human-readable description of the format
("mp4 container with h264/opus").
Calculated from width and height if missing.
Calculated from the format_id, width, height
and format_note fields if missing.
* format_id A short description of the format
("mp4_h264_opus" or "19")
* format_note Additional info about the format
("3D" or "DASH video")
* width Width of the video, if known
* height Height of the video, if known