diff --git a/mediainfo/TODO b/mediainfo/TODO index e355ac92a5..26eb299fa9 100644 --- a/mediainfo/TODO +++ b/mediainfo/TODO @@ -59,7 +59,11 @@ http://www.headbands.com/gspot/v26x/index.htm - encoded_size = duration * bitrate; - bitrate = encoded_size / duration; - needed in: quicktime, ogg/theora - +- we'd like to have some transport-info (from sources) + - http-source can post a taglist of http-header fields (e.g. mime-type) + - we can have wiki-links for the protocol + - we can get the file-size for remote content + == deep scan mode == - could be done in gst_devtools/validate - play the file by using fakesinks and gather statistics: diff --git a/mediainfo/src/mi-info.vala b/mediainfo/src/mi-info.vala index 6af6138ac3..e8a17e0001 100644 --- a/mediainfo/src/mi-info.vala +++ b/mediainfo/src/mi-info.vala @@ -66,6 +66,7 @@ public class MediaInfo.Info : Box set_orientation (Gtk.Orientation.VERTICAL); // setup lookup tables + // TODO(ensonic); move to a data class // video resolutions: http://upload.wikimedia.org/wikipedia/mediainfo/commons/e/e5/Vector_Video_Standards2.svg // FIXME: these are only for PAR = 1:1 // we could have another list for CIF (http://en.wikipedia.org/wiki/Common_Intermediate_Format) @@ -175,6 +176,11 @@ public class MediaInfo.Info : Box table = new Table (8, 3, false); info_area.add_with_viewport (table); + + /* TODO(ensonic): add a 'Source' box ? maybe only for streams? + Transport: {file, http, rtsp, ....} as wikilink + Size: (in bytes) + */ label = new Label (null); label.set_markup("Container"); @@ -312,6 +318,7 @@ public class MediaInfo.Info : Box album_art = null; try { + // TODO(ensonic): this does not work for streams FileInfo finfo = file.query_info ("standard::*", FileQueryInfoFlags.NONE, null); mime_type.set_text (finfo.get_attribute_string (FileAttribute.STANDARD_CONTENT_TYPE)); icon_image.set_from_gicon ((Icon) finfo.get_attribute_object (FileAttribute.STANDARD_ICON), IconSize.DIALOG);