[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Original]
[MPlayer-users] Embedding videos into documents of a word processor
|
To: |
mplayer-users@xxxxxxxxxxxx |
|
Subject: |
[MPlayer-users] Embedding videos into documents of a word processor |
|
From: |
Joris van der Hoeven <vdhoeven@xxxxxxxxxxx> |
|
Date: |
Tue, 28 Jun 2005 10:08:36 +0200 |
|
Delivered-to: |
itdp@localhost |
|
Delivered-to: |
mplayer-users@mplayerhq.hu |
|
User-agent: |
Mutt/1.5.9i |
Hi all,
I would like to embed videos into the GNU TeXmacs word processor,
so as to improve the presentation mode (http://www.texmacs.org).
For the moment, I would be happy with an interface which works under X11.
Ideally speaking, I would like to use mplayer in a command-line
fashion. This would require two things:
1) The ability to play the video to a X Pixmap (and possibly receive
notifications of new frames, using slave mode, for instance).
2) The possibility to retrieve the length of a video/audio beforehand.
I have been playing around many hours with the command line options,
but could not find an answer to my first question. I tried the following:
1) Specify a Pixmap ID instead of a Window ID for the -wid parameter.
Ghostscript provides an option for doing this (very handy).
Maybe that this is not possible for Mplayer because of hardware
acceleration. Yet, even when playback becomes slower, such an option
would be very useful. Indeed, I typically want to write stuff
on top of the video, crop it (when scrolling) or apply effects to it.
2) Try to use the -geometry, -vf, -x, -y, etc. options and directly
display to the window (so as to get at least the cropping and
size correct). Unfortunately, the options don't really work
as advertised, neither for the x11 nor xv driver. I installed
mplayer using an rpm (as typical users would):
------------
[vdhoeven@xxxxxxx vdhoeven]$ mplayer
MPlayer 1.0pre6-RPM-3.2.2 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
...
------------
Anyone can help me?
Thanks, Joris
_______________________________________________
MPlayer-users mailing list
MPlayer-users@xxxxxxxxxxxx
http://mplayerhq.hu/mailman/listinfo/mplayer-users
| [Prev in Thread] |
Current Thread |
[Next in Thread] |
- [MPlayer-users] Embedding videos into documents of a word processor,
Joris van der Hoeven <=