Cedric BAIL
534acda075
emotion: work with older version of gstreamer.
...
SVN revision: 64058
2011-10-14 04:01:43 +00:00
Cedric BAIL
7e30dac83a
emotion: use Ecore_X Video Atoms.
...
SVN revision: 64048
2011-10-13 09:24:45 +00:00
Cedric BAIL
69a70ef632
emotion: FPS tracking.
...
SVN revision: 63830
2011-10-05 09:39:32 +00:00
Cedric BAIL
a3d4b58959
emotion: forgotten svn add...
...
SVN revision: 63816
2011-10-04 22:46:54 +00:00
Cedric BAIL
35c9a8f56c
emotion: make Xv work.
...
NOTE: we need the help of the window manager to make this
really work. So for the moment, it half work. As soon as I
hack E17, the Xv fast path for Emotion will only work when
used with E17 and it will fallback to canvas inlined rendering
in other case.
SVN revision: 63802
2011-10-04 11:14:58 +00:00
Rafael Antognolli
b437af7bd5
emotion/generic: Remove warnings.
...
Remove unused functions, variables and fix a "return" on a non-void
returning function.
SVN revision: 63780
2011-10-03 18:39:20 +00:00
Cedric BAIL
a57395a623
emotion: first try with xv.
...
SVN revision: 63759
2011-10-03 03:30:39 +00:00
Cedric BAIL
9eb6ef192e
emotion: don't crash on empty video stream.
...
SVN revision: 63725
2011-09-30 15:39:16 +00:00
Cedric BAIL
d3c4e4fa00
emotion: add some space around.
...
SVN revision: 63724
2011-09-30 15:37:28 +00:00
Cedric BAIL
796600d1a5
emotion: make it possible to dump the complete pipeline not only on failure, but also when it worked.
...
SVN revision: 63637
2011-09-28 05:34:30 +00:00
Cedric BAIL
c07415b8bd
emotion: don't use the pipeline anymore when it's not needed.
...
SVN revision: 63497
2011-09-20 11:04:54 +00:00
Cedric BAIL
7a591915b1
emotion: add basic xoverlay infrastructure to emotion. not ready at all yet.
...
SVN revision: 63482
2011-09-19 15:33:02 +00:00
Cedric BAIL
aed1ed1666
emotion: disable tricky surface destruction and remove useless lock.
...
SVN revision: 63480
2011-09-19 12:49:20 +00:00
Cedric BAIL
8cc23a119e
emotion: correctly destroy buffer.
...
SVN revision: 63399
2011-09-14 22:33:41 +00:00
Rafael Antognolli
47c39e976c
emotion/generic: Non-blocking meta info retrieval.
...
SVN revision: 63238
2011-09-06 21:15:53 +00:00
Rafael Antognolli
7779d54fe4
emotion/generic: Non-blocking track info retrieval.
...
SVN revision: 63237
2011-09-06 21:15:50 +00:00
Rafael Antognolli
cfed99689b
emotion/generic: Non-blocking event reading from player.
...
Temporarily disabled fetching/sending of channel and meta info. Will
enable it with the next commit, to simplify code.
SVN revision: 63236
2011-09-06 21:15:46 +00:00
Rafael Antognolli
b786a519be
emotion/generic: Small fixes.
...
Update enum doc, and return 1 on success for getting shm_data.
SVN revision: 63235
2011-09-06 21:15:42 +00:00
Rafael Antognolli
636e78ee2f
emotion/generic: Postpone setting some options to after open_done.
...
These options must be set on the player even if there's no file opened
yet. Thus, just postpone the related commands to when the player has
opened the file already.
SVN revision: 63234
2011-09-06 21:15:39 +00:00
Rafael Antognolli
2650c9d349
emotion/generic: There's no need to check the standard output.
...
The player stdout is not used anymore to read commands from.
SVN revision: 63233
2011-09-06 21:15:36 +00:00
Rafael Antognolli
87ff8ea15c
emotion/generic: Should reset meta_info and channels on file_close.
...
SVN revision: 63232
2011-09-06 21:15:32 +00:00
Rafael Antognolli
4be7a99b94
emotion/generic: Fix frame dropping.
...
Move the frame drop counter to the shared memory object, so the player
can check its value and not send new frames if we didn't "consume" the
previous one.
Also move the triple buffering pointer changing to the display function,
so it will only lock once when accessing the critical region.
SVN revision: 63220
2011-09-05 21:52:18 +00:00
Rafael Antognolli
0d7da38f05
emotion/generic: Add support for fetching meta info.
...
SVN revision: 63219
2011-09-05 21:52:14 +00:00
Rafael Antognolli
bed7fa1c6a
emotion/generic: Add audio/video/spu channel set/get/count.
...
SVN revision: 63218
2011-09-05 21:52:11 +00:00
Rafael Antognolli
a31e5f2b24
emotion/generic - Set filename to NULL on file_close.
...
Otherwise if we try to call file_set(<some file>) after file_set(NULL),
it will send a close command to the player for an already closed file.
Also make the example cycle through the list of movies, but still
passing through a NULL file when reaching one of the ends of the list.
SVN revision: 63208
2011-09-05 16:37:20 +00:00
Rafael Antognolli
c6ca436e79
emotion/generic: formatting.
...
SVN revision: 63206
2011-09-05 16:07:10 +00:00
Rafael Antognolli
93b310e15c
emotion/generic: Reset initial values on file_set.
...
These values need to be reset as soon as a new file is set, otherwise
they can give wrong information to evas about the size of pixels to
render.
SVN revision: 63205
2011-09-05 16:07:06 +00:00
Rafael Antognolli
10621a8c15
emotion/generic: Make sure no new_frame is sent while opening or closing files.
...
This wasn't happening anyway, but let's make sure it won't ever happen.
SVN revision: 63204
2011-09-05 16:07:04 +00:00
Rafael Antognolli
dca7c873b2
emotion/generic - Don't start opening new file when another one is being open.
...
SVN revision: 63203
2011-09-05 16:07:00 +00:00
Rafael Antognolli
d04377d4d2
emotion/generic - Use pipes instead of stdin/stdout for communication.
...
Now the player will have the stdin and stdout available for anything
else, and there's no need to make line-buffering with ecore_exe anymore.
SVN revision: 63198
2011-09-05 13:12:17 +00:00
Rafael Antognolli
733fe1d444
emotion/generic: Add return value to EM_RESULT_FILE_SET_DONE.
...
It now checks if was possible to get the shared memory, and returns true
or false. This will command will also be used later to return false for
file opening no matter what was the problem, and maybe the int parameter
will indicate the type of error.
SVN revision: 63197
2011-09-05 13:11:53 +00:00
Cedric BAIL
d7d4603f0c
emotion: remove useless broken check.
...
SVN revision: 63190
2011-09-05 11:08:15 +00:00
Cedric BAIL
568df526af
emotion: properly delay buffer destruction.
...
SVN revision: 63189
2011-09-05 10:57:39 +00:00
Cedric BAIL
e2e66fb1ce
emotion: better error message.
...
SVN revision: 63173
2011-09-04 21:13:49 +00:00
Cedric BAIL
d6c8e07236
emotion: better handling of gstreamer samsung backend.
...
SVN revision: 63172
2011-09-04 21:12:34 +00:00
Gustavo Sverzut Barbieri
e83e1ea1fc
generic module can now be built-in as static module.
...
also removed sole left-overs of previous disable of vlc engine.
SVN revision: 63141
2011-09-04 00:17:06 +00:00
Gustavo Sverzut Barbieri
999e3bf306
remove old vlc, fix build bugs and introduce m4 for generic players.
...
Previous commit to disable VLC messed everything, so this one fixes it doing:
- remove old src/modules/vlc and related.
- add EMOTION_CHECK_GENERIC_PLAYER() m4 macro
- change previous EMOTION_BUILD_VLC to EMOTION_BUILD_GENERIC_VLC
SVN revision: 63140
2011-09-04 00:07:41 +00:00
Sebastian Dransfeld
b96bd7ff8f
Emotion: Remove unused variables
...
SVN revision: 63138
2011-09-03 21:09:39 +00:00
Sebastian Dransfeld
6e4c33d8f7
Emotion: Add __UNUSED__ where needed
...
SVN revision: 63137
2011-09-03 21:09:35 +00:00
Sebastian Dransfeld
02b73860a2
Emotion: Fix memleak
...
Remove weird buffer which never gets used or free'd
SVN revision: 63136
2011-09-03 21:09:31 +00:00
Sebastian Dransfeld
9a282958c9
Emotion: Fix signed warnings
...
SVN revision: 63135
2011-09-03 21:09:28 +00:00
Sebastian Dransfeld
5c8e0ea66b
Emotion: Add __UNUSED__ where needed
...
SVN revision: 63134
2011-09-03 21:09:24 +00:00
Cedric BAIL
565b2542a2
emotion: remove useless warning.
...
SVN revision: 63120
2011-09-03 12:54:06 +00:00
Cedric BAIL
64906f8485
emotion: protection against bad decoder.
...
SVN revision: 63118
2011-09-03 12:36:04 +00:00
Gustavo Sverzut Barbieri
f567f91b7b
emotion installs no AUTHORS, thus do not check it as magic file.
...
SVN revision: 63109
2011-09-03 05:32:00 +00:00
Cedric BAIL
4f844f63f5
emotion: resize only when needed and fix typo.
...
SVN revision: 63089
2011-09-02 13:10:22 +00:00
Gustavo Sverzut Barbieri
e26e9df5b2
emotion/generic: eina module functions can be static.
...
SVN revision: 63081
2011-09-02 01:35:16 +00:00
Gustavo Sverzut Barbieri
acda54440e
emotion/generic: make log variable static.
...
yeah, I'm paranoid ;-)
SVN revision: 63079
2011-09-01 23:47:53 +00:00
Gustavo Sverzut Barbieri
3bd43e9809
emotion: just try vlc if it was compiled.
...
not that big optimization, but does not hurt either.
SVN revision: 63078
2011-09-01 23:46:39 +00:00
Gustavo Sverzut Barbieri
3ed350c887
emotion: use eina_prefix to determine player location.
...
Move players from $bindir to $libdir/emotion/utils and find them with
eina_prefix. I was willing to play with this prefix thing, quite nice
;-)
SVN revision: 63077
2011-09-01 23:45:18 +00:00
Cedric BAIL
e5b7c25792
emotion: handle Samsung S5PC110 and S5PC210.
...
SVN revision: 63076
2011-09-01 23:11:36 +00:00
Rafael Antognolli
a7ae4566b8
Add generic player backend (with vlc player).
...
This generic player backend executes a separate player in another
process. It receives the bytes to be drawn on the emotion object through
a shared memory, and communicates with the player through a pipe, using
the player standard input/output.
The player must communicate with emotion using the defined commands
specified in the Emotion_Generic_Plugin.h. It doesn't need to link
against emotion, just include this file for easier implementation.
This implementation was sponsored by Zodiac Aerospace.
SVN revision: 63062
2011-09-01 19:04:15 +00:00
Cedric BAIL
5586b1ed11
emotion: better debug infrastructure.
...
SVN revision: 63039
2011-08-31 15:51:50 +00:00
Cedric BAIL
e1e28d7ba4
emotion: evas is going to support more video format than ffmpeg...
...
SVN revision: 63038
2011-08-31 15:48:47 +00:00
Cedric BAIL
0fbe1f15a3
emotion: better debugging.
...
SVN revision: 63012
2011-08-30 22:40:01 +00:00
Cedric BAIL
bc3979229f
emotion: correctly setup the pipeline for non standard colorspace.
...
SVN revision: 62986
2011-08-30 14:05:49 +00:00
Cedric BAIL
85fd7e36bf
emotion: fix typo.
...
SVN revision: 62971
2011-08-29 21:23:26 +00:00
Cedric BAIL
1a1b9bc52b
emotion: handle evas NV12 and MT12 colorspace format.
...
SVN revision: 62969
2011-08-29 21:00:08 +00:00
Cedric BAIL
4d7ca99b4a
emotion: better handling of asynchronous audio file opening.
...
SVN revision: 62955
2011-08-29 16:07:01 +00:00
Lucas De Marchi
00b797e50b
emotion: g_free already checks if pointer is NULL
...
semantic patch:
@r1@
expression E1;
@@
- if (E1)
- g_free(E1);
+ g_free(E1);
SVN revision: 62834
2011-08-25 21:09:42 +00:00
Cedric BAIL
6245940483
emotion: remove g stuff and make it safer.
...
SVN revision: 62514
2011-08-16 16:11:50 +00:00
Cedric BAIL
236000fefa
emotion: fix some race condition.
...
SVN revision: 62355
2011-08-11 16:16:10 +00:00
Cedric BAIL
126c3d5cec
emotion: fix memory leak.
...
SVN revision: 62350
2011-08-11 12:13:51 +00:00
Cedric BAIL
917b167399
emotion: fix some uninitialized value.
...
SVN revision: 62140
2011-08-05 15:52:27 +00:00
Cedric BAIL
c81a932b68
emotion: fix some memory leak.
...
SVN revision: 62128
2011-08-05 08:51:10 +00:00
Cedric BAIL
1812ce8a2f
emotion: add a way to retrieve pixels.
...
SVN revision: 62092
2011-08-04 10:24:32 +00:00
Cedric BAIL
e786ef0268
emotion: and now live streaming are also working.
...
SVN revision: 62014
2011-08-02 16:44:47 +00:00
Cedric BAIL
828b67374e
emotion: make gstreamer backend async and handle it correctly every where.
...
SVN revision: 62010
2011-08-02 16:22:30 +00:00
Cedric BAIL
ef29ee414d
emotion: use better infra for reading GstBus.
...
SVN revision: 61999
2011-08-02 14:04:08 +00:00
Cedric BAIL
6e011beb8d
emotion: forgotten file.
...
SVN revision: 61950
2011-08-01 12:42:16 +00:00
Cedric BAIL
ecadef9ee9
emotion: use new ecore infrastructure and remove some race condition.
...
SVN revision: 61949
2011-08-01 12:21:14 +00:00
Cedric BAIL
ecf52189ca
emotion: don't use pipeline if not set.
...
SVN revision: 61886
2011-07-29 09:24:14 +00:00
Cedric BAIL
619332f0c0
emotion: correctly close pipeline on file close, plus minor fix.
...
SVN revision: 61675
2011-07-25 09:10:44 +00:00
Cedric BAIL
9910cd4d3e
emotion: fix buggies, add YUY2 support.
...
Note: almost working webcam support. Need to detect
when the pipeline need to be playing to know what is in the
stream. Or maybe do that later...
SVN revision: 61550
2011-07-21 10:46:54 +00:00
Cedric BAIL
b79ff92fe9
emotion: improve debugging.
...
SVN revision: 61456
2011-07-18 00:17:21 +00:00
Cedric BAIL
dad10a507f
emotion: add webcam detection, cleanup code and add timing detection.
...
SVN revision: 61452
2011-07-17 21:38:54 +00:00
Lucas De Marchi
84f0c4de1d
emotion: fix common misspellings
...
Misspellings detected by codespell.
SVN revision: 61406
2011-07-15 14:34:02 +00:00
Cedric BAIL
186e0807ee
emotion: properly handle some race condition.
...
SVN revision: 61395
2011-07-15 09:12:24 +00:00
Cedric BAIL
865761672e
emotion: fix race condition and never call fill_set in the backend.
...
SVN revision: 61051
2011-07-05 13:25:38 +00:00
Cedric BAIL
605d57325f
emotion: add some help to debug the pipeline.
...
SVN revision: 60826
2011-06-29 17:45:13 +00:00
Cedric BAIL
fe112b738d
emotion: this file are now useless.
...
SVN revision: 60730
2011-06-27 11:47:18 +00:00
Cedric BAIL
332e51fb90
emotion: keep last gstreamer buffer around as YUV data are not copied inside evas.
...
SVN revision: 60667
2011-06-24 16:13:29 +00:00
Cedric BAIL
f31326c6c1
emotion: fix shutdown of gstreamer plugin.
...
SVN revision: 60666
2011-06-24 14:52:59 +00:00
Cedric BAIL
1724785989
emotion: advertise only on frame size change.
...
SVN revision: 60665
2011-06-24 14:11:24 +00:00
Cedric BAIL
923bff4e1c
emotion: advertise native resolution.
...
SVN revision: 60664
2011-06-24 12:26:29 +00:00
Cedric BAIL
dadaf6f420
emotion: make preroll work and try to really turn off audio when mutted.
...
SVN revision: 60663
2011-06-24 12:25:15 +00:00
Cedric BAIL
46d3cd2c29
emotion: forgottent strange Windows rules.
...
SVN revision: 60638
2011-06-23 15:33:34 +00:00
Cedric BAIL
3c8eb1b62b
emotion: add a way to test if a file could be played by emotion.
...
SVN revision: 60637
2011-06-23 14:58:11 +00:00
Cedric BAIL
6f7044b93d
emotion: oops forgotten file.
...
SVN revision: 60541
2011-06-21 07:58:34 +00:00
Cedric BAIL
c1f20d3e6b
emotion: add a gstreamer sink.
...
This work was first started by Vincent Torri and Nicolas Aguirre.
I took the necessary time to make it work and included inside
emotion with Samsung sponsorship.
This code is not yet completly clean and fast, but it work and
make it possible to add more speed improvement later. This was
a needed infrastructure work.
SVN revision: 60532
2011-06-20 17:36:13 +00:00
Cedric BAIL
1dd3a72b94
emotion: temporary fix gstreamer uri to match other engine behaviour.
...
SVN revision: 60398
2011-06-16 15:29:29 +00:00
Vincent Torri
439a53bdbd
tabs --> spaces
...
SVN revision: 60375
2011-06-16 06:24:25 +00:00
Vincent Torri
dfd0299f5d
Emotion : gstreamer backend
...
Fix gstreamer assertion when the creation of the pipeline fails
Improve error message when the pipeline can not pause (usually,
the media file can not be found)
SVN revision: 60374
2011-06-16 06:20:46 +00:00
Boris Faure
e6119fa4d9
remove .cvsignore files
...
SVN revision: 60246
2011-06-12 21:38:37 +00:00
Mike Blumenkrantz
b49b3676ec
re-disable vlc
...
SVN revision: 58053
2011-03-24 02:29:55 +00:00
Mike Blumenkrantz
35d2b567bc
fix vlc module loading, disable slow vmem options, begin work on fast render output
...
SVN revision: 58049
2011-03-23 22:54:45 +00:00
Mike Blumenkrantz
208980dcb6
fix and reenable vlc backend
...
question: is emotion_test supposed to show the video in only a small part of the window?
SVN revision: 58044
2011-03-23 20:19:59 +00:00
Gustavo Sverzut Barbieri
6cbd3d09f4
warning cleanup.
...
there are still warnings from write(2) calls, they should be handled,
but no time now.
SVN revision: 54710
2010-11-19 02:51:46 +00:00
Carsten Haitzler
4579813efe
disable vlc module in emotion. that will get rid of the problem.
...
SVN revision: 54070
2010-11-01 01:53:16 +00:00
Vincent Torri
3382c0d596
the gstreamer backend uses now gstreamer playbin2 element to
...
create automatically the pipeline. The code is simpler and
there is no need of the specific pipelines anymore.
SVN revision: 53649
2010-10-20 07:59:20 +00:00