Commit graph

131 commits

Author SHA1 Message Date
Stefan Sauer
98148dea9d mi-info: basic subtitle support 2013-09-15 19:50:32 +02:00
Stefan Sauer
7b9d0c9cba video-area: improve resizing of the video area
The browser pane does not expand by default. Track aspect-ration for the
currently displayed object. Use an aspect frame as a container for the
drawing-area.
2013-09-15 19:50:32 +02:00
Stefan Sauer
2a322ab168 mi-app: use the newer gtk api with orientation 2013-09-15 19:50:32 +02:00
Stefan Sauer
d9fff12865 mi-info: improve wikilink mapping
Try codecname and then caps name to get wiki links. Also show caps for the container.
2013-09-15 19:50:32 +02:00
Stefan Sauer
000c172df6 mi: port to gst-1.0 and gtk+3 2013-09-15 19:50:32 +02:00
Stefan Sauer
06bba05143 cleanup. update name and year, queue a redraw for album art 2013-09-15 19:50:32 +02:00
Stefan Sauer
7b3e72ad9d porting: update on vala changes 2013-09-15 19:50:32 +02:00
Stefan Sauer
3a6e0484ee info: add wikilinks for two more codecs 2013-09-15 19:50:31 +02:00
Stefan Sauer
46ecfa08ae info: reset container and duration fields if file is not discoverable
Before the previous text was left.
2013-09-15 19:50:31 +02:00
Stefan Sauer
a6a1ae2f63 info: change the order of asyn disco calls
Starting disco before enqueueuing uris seems to make it work.
2013-09-15 19:50:31 +02:00
Stefan Sauer
0cfb4aa000 mi-info: prepare for async discovery
The async api usage is not yet activated due to some uncertanty in the api use.
2013-09-15 19:50:31 +02:00
Stefan Sauer
f52cdd922c comments: planning and code comments 2013-09-15 19:50:31 +02:00
Stefan Sauer
3aad26cbcb Makefile: indenting 2013-09-15 19:50:31 +02:00
Stefan Sauer
fe59ce2a38 info: add more wikilinks 2013-09-15 19:50:31 +02:00
Stefan Sauer
423afa7c7d build: fix distcheck 2013-09-15 19:50:31 +02:00
Stefan Sauer
99979be5c5 app: add idea for stream-open dialog 2013-09-15 19:50:31 +02:00
Stefan Sauer
edc72ea10e desktop: add a desktop file 2013-09-15 19:50:31 +02:00
Stefan Sauer
1820645be8 icon: add an application icon
Set as default icons, so that it it used for windows and in about dialog.
2013-09-15 19:50:31 +02:00
Stefan Sauer
87da121a23 info: enable double buffering when displaying album art 2013-09-15 19:50:31 +02:00
Stefan Sauer
605e217942 info: handle album-art
Decode and draw the album art into the video window.
2013-09-15 19:50:31 +02:00
Stefan Sauer
328c9e7aab info: filter buffers from tags and add some planning comments 2013-09-15 19:50:31 +02:00
Stefan Sauer
13cf579f94 info: add comment with wikipedia alternative for links 2013-09-15 19:50:30 +02:00
Stefan Sauer
0265bc834f app: add about dialog 2013-09-15 19:50:30 +02:00
Stefan Sauer
7a69341f03 vapi: no more need for patching the vapi file 2013-09-15 19:50:30 +02:00
Stefan Sauer
173dd47bbb info: switch stream callback for compact layout 2013-09-15 19:50:30 +02:00
Stefan Sauer
f89638f5b0 info: verified link 2013-09-15 19:50:30 +02:00
Stefan Sauer
7a21721a75 info: add compact_layout mode
For screen-heights <= 600 pixels use a single notebook for all streams.
2013-09-15 19:50:30 +02:00
Stefan Sauer
a74e1597ce info: add more wikilinks and use it for streams too 2013-09-15 19:50:30 +02:00
Stefan Sauer
47d22deff7 info: add a hashmap with wiki links and start using them
The container description will be turned into a link if we have a known
wikipedia article for it.
2013-09-15 19:50:30 +02:00
Stefan Sauer
5e2ad304eb mi-info: more ui layout planning 2013-09-15 19:50:30 +02:00
Stefan Sauer
793b1a02ef menu: use alternative way to get the key number 2013-09-15 19:50:30 +02:00
Stefan Sauer
571b504be4 menu: add F11 accelerator for fullscreen 2013-09-15 19:50:30 +02:00
Stefan Sauer
e7144d27b5 info: blacklist "norminal-bitrate" too
We show that above already.
2013-09-15 19:50:30 +02:00
Stefan Sauer
ff0b99ecbf menu: add View menu with fullscreen item 2013-09-15 19:50:30 +02:00
Stefan Sauer
ab4afec78b layout: improve the layout on small screens
Pack the info view info a scrolled window. Use an extra paned to allow resizing
the video pane. Minimize padding on paned widgets.
2013-09-15 19:50:30 +02:00
Stefan Sauer
7af6c2078e info: show the fps as a double
23.97 fps is easier to read that 10000000 / 417083.
2013-09-15 19:50:30 +02:00
Stefan Sauer
24f9916daa info: make urls in tags clickable 2013-09-15 19:50:30 +02:00
Stefan Sauer
b70b3d67de info: make labels selectable for copy'n'paste 2013-09-15 19:50:30 +02:00
Stefan Sauer
0a93f2923f planning: comments and todos 2013-09-15 19:50:30 +02:00
Stefan Sauer
0b6303a667 info: improve tag filtering
Hide duration as well. Also skip all tags where the name starts with "private-".
2013-09-15 19:50:30 +02:00
Stefan Sauer
fa4693f2e0 info: redo tag list formatting
Loop over tags and serialize items. Skip some already shown info.
2013-09-15 19:50:29 +02:00
Stefan Sauer
abe637f399 maintenance: code cleanups and addition TODO: comments 2013-09-15 19:50:29 +02:00
Stefan Sauer
8c015b0207 info: add named video resolutions
Use a gee hashmap for named video resolutions (e.g. VGA) and show those in the
info.
2013-09-15 19:50:29 +02:00
Stefan Sauer
3b3a5273e5 info: show human readable container format name
Update the patch for vala bindings. Update README as getting the contaienr caps
is already possible.
2013-09-15 19:50:29 +02:00
Stefan Sauer
b652b0c2f8 info: show stream tags as multiline label 2013-09-15 19:50:29 +02:00
Stefan Sauer
1d389b9724 info: show misc stream info, if available 2013-09-15 19:50:29 +02:00
Stefan Sauer
d3a0351bd2 app: add directory property and use it as default location for browsing
Allow passing a directory as a commandline arg. If given use that as the default
location, otherwise use current working dir.
2013-09-15 19:50:29 +02:00
Stefan Sauer
03f32a222c mi: we need to open the default display
The ui was crashing otherwise. Opening the default display seems to be the
default behaviour for gtk_init().
2013-09-15 19:50:29 +02:00
Stefan Sauer
08701eba94 mi: add basic goption usage
Only --version works right now.
2013-09-15 19:50:29 +02:00
Stefan Sauer
ab8087fa1b info: handle video area expose also if we have no video 2013-09-15 19:50:29 +02:00
Stefan Sauer
86c78244ca info: use File.query to get file info
Use the file info to query content-type and icon. Show file-type icon in the UI.
2013-09-15 19:50:29 +02:00
Stefan Sauer
aa67702a68 info: prepare to show human readable container format info
gst-discoverer does not yet provide it unfortunately.
2013-09-15 19:50:29 +02:00
Stefan Sauer
373f343eb7 info: add more TODO 2013-09-15 19:50:29 +02:00
Stefan Sauer
12aab9f618 info: switch streams when switching tabs 2013-09-15 19:50:29 +02:00
Stefan Sauer
4d817e158d info: whitespace fix 2013-09-15 19:50:29 +02:00
Stefan Sauer
11730cfbe2 info: add human readable code info 2013-09-15 19:50:29 +02:00
Stefan Sauer
8e006976a8 info: improve resolution
Orint it as "w x h" and add idea to convert to human readable string
2013-09-15 19:50:29 +02:00
Stefan Sauer
3af608e760 info: add remaining audio/video info fields 2013-09-15 19:50:29 +02:00
Stefan Sauer
b63d7c3495 info: turn stream widgets into tables and add bitrate 2013-09-15 19:50:29 +02:00
Stefan Sauer
569999bb10 info: initialy paint video area black 2013-09-15 19:50:29 +02:00
Stefan Sauer
c3675e5ce1 info: ellipsize labels to avoid horzontal window growth 2013-09-15 19:50:29 +02:00
Stefan Sauer
5f689af851 info: stop playback on unrealize
Prevent "BadDrawable" errors.
2013-09-15 19:50:28 +02:00
Stefan Sauer
520518b660 info: ensure we have a native widnow for the drawing_area
Fixes BadID x errors.
2013-09-15 19:50:28 +02:00
Stefan Sauer
6bed29623b info: add vapi info for ubuntu 2013-09-15 19:50:28 +02:00
Stefan Sauer
fd1fdb9802 info: get a/mediainfo/v streams and show caps 2013-09-15 19:50:28 +02:00
Stefan Sauer
2855b1f24f app: use a hpane instead of the file-chooser preview widget
This allows the user to modify the size.
2013-09-15 19:50:28 +02:00
Stefan Sauer
869499423c app: only run discover for files 2013-09-15 19:50:28 +02:00
Stefan Sauer
80be4db45d info: start to use discoverer and improve the ui
Organize the info pane as a table. Add mime type and duration fields to
container section.
2013-09-15 19:50:28 +02:00
Stefan Sauer
76fb0eafff info: add more ui boilerplate and fixme comments 2013-09-15 19:50:28 +02:00
Stefan Sauer
2448bf8b80 info: enable discovered
Add comment telling how to regenerate the vapi files.
2013-09-15 19:50:28 +02:00
Stefan Sauer
0fdfd4d0af info: make the overlay iface work and activate playback 2013-09-15 19:50:28 +02:00
Stefan Sauer
2e24a0b565 app: configure the filechooser more.
Go to home dir (maybe annoying feature). Don't show hidden files.
2013-09-15 19:50:28 +02:00
Stefan Sauer
d65cc2036e build: fix libraryname 2013-09-15 19:50:28 +02:00
Stefan Sauer
e20d4504d3 info: add missing libs and enable the overlay code 2013-09-15 19:50:28 +02:00
Stefan Sauer
6368796abb info: add playbin2 and overlay iface handling 2013-09-15 19:50:28 +02:00
Stefan Sauer
49759e8177 mi: init gst 2013-09-15 19:50:28 +02:00
Stefan Sauer
cd1f50a971 info: start adding gstreamer discoverer 2013-09-15 19:50:28 +02:00
Stefan Sauer
076bfdceb6 mi: code style 2013-09-15 19:50:28 +02:00
Stefan Sauer
c10728a7a9 info,app: move label to separate info class
Info class will run discover and have the detailed UI.
2013-09-15 19:50:28 +02:00
Stefan Sauer
83de6725a2 app: add basic widget and do basic preview
Add a menu bar and a file browser. Set up a preview callback.
2013-09-15 19:50:28 +02:00
Stefan Sauer
4c1567a368 *: initial boilerplate 2013-09-15 19:50:27 +02:00