2010-10-16 19:43:20 +00:00
|
|
|
= Media detail browser =
|
|
|
|
The package contains a UI for browsing media files and showing details of the
|
|
|
|
files.
|
|
|
|
|
|
|
|
= Browsing =
|
|
|
|
- in the preview hook of the file browser we run discover and update the details
|
|
|
|
- if one has grillo installed we could use grillo sources in addition to local files
|
|
|
|
- there should be a "open url" menu entry in addition
|
|
|
|
|
|
|
|
= Details =
|
|
|
|
- show container, video-tracks, audio-track, subtitle-trackes, metadata and
|
|
|
|
parsing messages
|
|
|
|
- auto-play after updating the details
|
|
|
|
have a menu command to turn auto-play off
|
|
|
|
- offer several commands in addition (see below)
|
|
|
|
|
2010-10-17 19:35:50 +00:00
|
|
|
example output from commandline tool:
|
|
|
|
> gst-discoverer -v /home/ensonic/Musik/xotox-hypnocat.mp3
|
|
|
|
|
|
|
|
Topology:
|
|
|
|
audio: audio/mpeg, mpegversion=(int)1, mpegaudioversion=(int)1, layer=(int)3, rate=(int)44100, channels=(int)2, parsed=(boolean)true
|
|
|
|
Codec:
|
|
|
|
audio/mpeg, mpegversion=(int)1, mpegaudioversion=(int)1, layer=(int)3, rate=(int)44100, channels=(int)2, parsed=(boolean)true
|
|
|
|
Additional info:
|
|
|
|
None
|
|
|
|
Channels: 2
|
|
|
|
Sample rate: 44100
|
|
|
|
Depth: 16
|
|
|
|
Bitrate: 128000
|
|
|
|
Max bitrate: 0
|
|
|
|
Tags:
|
|
|
|
taglist, audio-codec=(string)"MPEG\ 1\ Audio\,\ Layer\ 3\ \(MP3\)", has-crc=(boolean)false, channel-mode=(string)stereo, bitrate=(uint)128000;
|
|
|
|
|
|
|
|
Duration:
|
|
|
|
0:04:00.039125000
|
|
|
|
|
|
|
|
|
2010-10-16 19:43:20 +00:00
|
|
|
== compare ==
|
|
|
|
- dup detail pane and allow to pick a new file
|
|
|
|
- show differing entries in red
|
|
|
|
- add a narrow vertical bar between the two details panes and mark blocks with a
|
|
|
|
delta red
|
2010-10-25 07:54:07 +00:00
|
|
|
- diffing one (broken) file against several known working files would be nice
|
|
|
|
- it would build ranges for the group of files (e.g. for the video width)
|
|
|
|
- it would highlight fields that the are different to any of the working files
|
2010-10-16 19:43:20 +00:00
|
|
|
|
|
|
|
== analyse ==
|
|
|
|
- play the file by using fakesinks and gather statistics:
|
|
|
|
- bitrate profiles for each a/mediainfo/v track
|
2010-10-25 07:54:07 +00:00
|
|
|
- media specific:
|
|
|
|
- audio: volume profile
|
|
|
|
- video: contrast profile
|
|
|
|
- show disconts as vertical bars
|
2010-10-16 19:43:20 +00:00
|
|
|
|
2010-10-25 07:54:07 +00:00
|
|
|
== structural view/hex view ==
|
|
|
|
- make parsing elements post structural messages (if enabled via property)
|
|
|
|
- message would contain:
|
|
|
|
- stream offset in bytes
|
|
|
|
- block identifier (e.g. fourcc)
|
|
|
|
- human readable description (if available)
|
|
|
|
- flags (e.g. if the block is used or skipped)
|
|
|
|
- indentation depth
|
|
|
|
- we would need a way to indicate that e.g. h264parse would be indented below
|
|
|
|
the containing container block
|
2010-10-16 19:43:20 +00:00
|
|
|
- a structured hex view would be nice
|
|
|
|
(somehow align the parse tree with the hexdump)
|
|
|
|
|
2010-10-25 07:54:07 +00:00
|
|
|
== unsorted ==
|
|
|
|
- handle chapters
|
|
|
|
|
2010-11-03 08:34:57 +00:00
|
|
|
= TODO for discoverer =
|
|
|
|
- get caps for container
|
|
|
|
- get duration per stream
|
|
|
|
|