Commit Graph

32 Commits

Author SHA1 Message Date
Carsten Haitzler 7d7c825ecd video smart - we dont need to handle the move func - smart clipped does 2021-07-09 11:35:34 +01:00
Carsten Haitzler 69cab3e815 video + videothumb - fix leak
fix leak on delete of obj

@fix
2021-03-18 12:12:25 +00:00
Carsten Haitzler af99a9ea5c remove build warnings to get a clean build
no actual functional changes
2020-08-25 15:21:02 +01:00
Carsten Haitzler cf2b383f0c fix up album art if it's in the music file itself and not fetched 2020-04-03 23:36:23 +01:00
Carsten Haitzler 34ba280149 fix album art gen/fetch for vido list to update as found 2020-04-03 21:26:09 +01:00
Carsten Haitzler 65a614e5e2 remove emotion obj init as its pretty pointless these days 2020-03-03 20:21:20 +00:00
Carsten Haitzler da7589ede8 remove redudnant video smart cb 2020-01-24 14:07:18 +00:00
Alastair Poole b21d5d0239 video: keep track of volume setting.
Ensure we retain volume setting between audio/video.
gstreamer was resetting the volume on video change.
2020-01-24 12:41:25 +00:00
Carsten Haitzler 940e789772 video - remove debug printfs 2020-01-17 14:58:59 +00:00
Carsten Haitzler fe95c8db8b rags - allow urls like rtsp://. http:// etc. streams again 2020-01-16 21:39:11 +00:00
Carsten Haitzler 466fce74f0 add volume gui controls and level indicator 2020-01-16 18:49:11 +00:00
Carsten Haitzler b24a22ba6f video - handle null file sets nicely
makes coverity happy
2019-08-06 10:25:17 +01:00
Alastair Poole d7227a74d3 Fix crash: file can be NULL here. 2018-06-19 17:21:43 +01:00
Carsten Haitzler 8d07759869 implement metadata for mpris so evene thumbs work for non-thumbed files
this allows us to port to artfiles always too... this way
music-control displays the albumart. music-control is a bit broken in
that it doesnt keep aspect ratio etc. of these. need to fix that over
there.... but... it's coming together.
2017-11-28 14:32:59 +09:00
Al Poole 2340469f42 add support for video thumbnails from meta data and album artwork for audio files.
Summary:
Generally these images are better quality than those
from the Interwebz and local so let's use em!

For now using emotion_object_meta_preview_get()
as Apple stores them in this tag.

emotion_object_meta_image_get() is also available
and I've heard also it is used similarly, but
am yet to find a file that does that.

Reviewers: raster

Differential Revision: https://phab.enlightenment.org/D4555

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2017-01-12 14:37:39 -08:00
Carsten Haitzler 313dda5f2d albumart - fix albumart display if paths are uri's
@fix
2016-10-02 00:34:52 +09:00
Carsten Haitzler 88677dfb11 fix subtitle auto-load for when filenames have 2 dots (or more) in file
this fixes T3660
2016-05-27 12:24:42 +09:00
Carsten Haitzler 1ea14a8477 rage - display metadata on title change event
printf the metdata so we have some debug
2015-12-21 14:50:50 +09:00
Carsten Haitzler 18b174d822 rage - ensure art is gone when swithing to a video after art display 2015-12-13 16:12:24 +09:00
Carsten Haitzler b4b380ce1f rage - add "browser" when run with no args - index ~/Videos
this adds a video browser that indexes everything in ~/Videos
flattening subdirs into categories. It also will handle music and
fetch album art. browser can be mouse or key controlled. makes rage
almost media-centerey. not intended as a replacement tho, but just
that it's handy to throw in.
2015-10-10 16:51:49 +09:00
Thomas Guillem 9018a76b7b fix emotion lib leak
Summary:
Emotion lib ref count is incremented by video_add and by emotion_object_add.
This ref count should be also decremented when the object returned by video_add is
destroyed.

An other way to fix this leak is to remove emotion_init from video_add since
it's already initialised by emotion_object_add.

Projects: #rage

Differential Revision: https://phab.enlightenment.org/D3060

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-09-22 01:25:44 +02:00
Carsten Haitzler b78bffcf1a and for 0.1.3 - fix albumart thumbnail list 2015-04-22 12:33:40 +09:00
Carsten Haitzler c2472804f9 add subtitle support into rage on cmdline as well as automatic 2014-08-23 19:29:10 +09:00
Carsten Haitzler a77abd4f74 instead fo blank black boxes in video list for music files use art
use albumart if already cached/found for video list thumbs for known
music files... at least until a video frame is decoded.
2014-08-15 19:35:38 +09:00
Carsten Haitzler 271711e2b4 sue proper vid obj 2014-08-07 19:39:32 +09:00
Tom Hacohen e695940240 Fix some emotion calls to be called on the emotion object.
They were being called on the wrong object (the video smart instead of the emotion object),
now all the functions get called on the emotion object as they should.
2014-08-07 10:18:13 +01:00
Carsten Haitzler e3bb0420c1 rage - add album art fetching for audio only stuff.
if the track is audio only, it'll look in a cache of albumart, if not,
request the big google in the sky for an image with some search terms
guessed from id3/metadata/filename and then use that. tak'es the first
thing found. not very smart, but pretty damned good most of the time.
2014-08-05 18:57:26 +09:00
Carsten Haitzler 706e4948d7 add video thumbnails on timeline/dragable/seeker at the bottom
these thumbnails are generated in the bg by rage_thumb and will appear
once generated (or already found cached). it'll generate new thumbs if
modified dates are equal or newer on tthe src vs the thumbnail cache.
the caches store 160xN thumbs (keep aspect) with 70% lossy jpeg
quality in an eet file with one thumb per 10 second interval. so it
has limited accuracy.
2014-08-04 17:15:30 +09:00
Carsten Haitzler 8f126343af add engine config (save/load and cmdline option) - no gui though 2014-03-09 16:09:05 +09:00
Carsten Haitzler f3418a540d add lowquality option for video 2014-01-28 14:52:03 +09:00
Carsten Haitzler b8be71db0c remove commented out code in video wrapper 2014-01-28 14:06:03 +09:00
Carsten Haitzler 86a4a3704a rage - initial import of working code 2014-01-20 20:34:48 +09:00