Maurizio Caloro | 2 May 2012 14:49
Picon
Picon

MPlayer to run Daemon mode?

Hello
Please i wan't to play with Mplayer any possible Radio Stream but don't find any possibilites to run only for
Deamon mode.

possible switches found running -loop 0 or 1 and -quite, 

	mplayer -loop 0 | -quite http://www.radioswissjazz.ch/live/mp3.m3u | cat >/dev/null &
nohup	mplayer -loop 0 | -quite http://www.radioswissjazz.ch/live/mp3.m3u | cat >/dev/null &

but this are not that what i think.... 
for possible help switches i'am Happy

MPlayer SVN-r32219-snapshot-4.1.3 (C) 2000-2010 MPlayer Team 159 audio & 348 video codecs

run happy with NetBSD 5.0.1
Thanks for any Help
Mauri
--

-- 
NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!                                  
Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a
Krzysztof Duchnowski | 2 May 2012 19:03
Picon

Re: MPlayer to run Daemon mode?

On 02.05.2012 14:49, Maurizio Caloro wrote:
> Hello
> Please i wan't to play with Mplayer any possible Radio Stream but don't find any possibilites to run only
for Deamon mode.
> 
> possible switches found running -loop 0 or 1 and -quite, 
> 
> 	mplayer -loop 0 | -quite http://www.radioswissjazz.ch/live/mp3.m3u | cat >/dev/null &
> nohup	mplayer -loop 0 | -quite http://www.radioswissjazz.ch/live/mp3.m3u | cat >/dev/null &
> 
> but this are not that what i think.... 
> for possible help switches i'am Happy
> 
> MPlayer SVN-r32219-snapshot-4.1.3 (C) 2000-2010 MPlayer Team 159 audio & 348 video codecs
> 
> run happy with NetBSD 5.0.1
> Thanks for any Help
> Mauri

mkfifo /tmp/mplayer.fifo && mplayer -idle -slave -input
file=/tmp/mplayer.fifo 1&>/dev/null &
will start MPlayer in slave mode

after that whatever you write to /tmp/mplayer.fifo it will be passed as
command by mplayer, so:

echo "loadfile http://www.radioswissjazz.ch/live/mp3.m3u" >/tmp/mplayer.fifo
will start radio playback (if it broadcasting, since it didn't done it
for me - others did), and

(Continue reading)

Ilja Sekler | 2 May 2012 22:26
Picon
Picon

gnome-terminal window doesn't get focus back when mplayer video window closes

Hello,

before I file a bug for gnome-terminal, mutter or whatsoever I'd like to
get some guidance on the issue: when MPlayer video playback is launched
from gnome-terminal, hitting 'Q' while the video window is focused or
just closing the video window doesn't return focus back to gnome-terminal.

This is specific to GNOME 3.4 across different distributions and didn't
happen with GNOME 3.2, so this is likely a GNOME bug, but is there
anything MPlayer could do about it? Is it the business of gnome-terminal
or of mutter to grab focus back after a window opened by a child process
closes? I mean, when e.g. gnome-calculator is launched from
gnome-terminal, hitting Ctrl+Q terminates the calculator and the
gnome-terminal window is automagically focused again, which stopped to
work with MPlayer.

MPlayer r34879

Thanks,

--

-- 
Regards

Ilja
Ron Johnson | 2 May 2012 22:54
Picon
Gravatar

Re: gnome-terminal window doesn't get focus back when mplayer video window closes

On 05/02/2012 03:26 PM, Ilja Sekler wrote:
> Hello,
>
> before I file a bug for gnome-terminal, mutter or whatsoever I'd like to
> get some guidance on the issue: when MPlayer video playback is launched
> from gnome-terminal, hitting 'Q' while the video window is focused or
> just closing the video window doesn't return focus back to gnome-terminal.
>
> This is specific to GNOME 3.4 across different distributions and didn't
> happen with GNOME 3.2, so this is likely a GNOME bug, but is there
> anything MPlayer could do about it? Is it the business of gnome-terminal
> or of mutter to grab focus back after a window opened by a child process
> closes? I mean, when e.g. gnome-calculator is launched from
> gnome-terminal, hitting Ctrl+Q terminates the calculator and the
> gnome-terminal window is automagically focused again, which stopped to
> work with MPlayer.
>
> MPlayer r34879
>

In Ubuntu 12.04, can't replicate using r34540 and gnome-terminal 3.4.1.

--

-- 
"There is usually only a limited amount of damage that can be
done by dull or stupid people. For creating a truly monumental
disaster, you need people with high IQs."
Thomas Sowell
Ilja Sekler | 2 May 2012 23:31
Picon
Picon

Re: gnome-terminal window doesn't get focus back when mplayer video window closes

On 02.05.2012 22:54, Ron Johnson wrote:

> On 05/02/2012 03:26 PM, Ilja Sekler wrote:
> 
>> [...] when MPlayer video playback is launched from gnome-terminal,
>> hitting 'Q' while the video window is focused or just closing the
>> video window doesn't return focus back to gnome-terminal.
>> 
>> This is specific to GNOME 3.4 across different distributions and
>> didn't happen with GNOME 3.2, so this is likely a GNOME bug, but is
>> there anything MPlayer could do about it? [...]
>> 
>> MPlayer r34879
> 
> In Ubuntu 12.04, can't replicate using r34540 and gnome-terminal
> 3.4.1.

Strange, on Ubuntu, I can reproduce this both with r34540 from Ubuntu
repositories and with the current svn trunk.

gnome-shell 3.4.1-0ubuntu2

--

-- 
Regards

Ilja
Ron Johnson | 3 May 2012 00:17
Picon
Gravatar

Re: gnome-terminal window doesn't get focus back when mplayer video window closes

On 05/02/2012 04:31 PM, Ilja Sekler wrote:
> On 02.05.2012 22:54, Ron Johnson wrote:
>
>> On 05/02/2012 03:26 PM, Ilja Sekler wrote:
>>
>>> [...] when MPlayer video playback is launched from gnome-terminal,
>>> hitting 'Q' while the video window is focused or just closing the
>>> video window doesn't return focus back to gnome-terminal.
>>>
>>> This is specific to GNOME 3.4 across different distributions and
>>> didn't happen with GNOME 3.2, so this is likely a GNOME bug, but is
>>> there anything MPlayer could do about it? [...]
>>>
>>> MPlayer r34879
>>
>> In Ubuntu 12.04, can't replicate using r34540 and gnome-terminal
>> 3.4.1.
>
> Strange, on Ubuntu, I can reproduce this both with r34540 from Ubuntu
> repositories and with the current svn trunk.
>
> gnome-shell 3.4.1-0ubuntu2
>

I use GNOME Classic (gnome-session-fallback).  Is that a variant of 
GNOME Shell?

--

-- 
"There is usually only a limited amount of damage that can be
done by dull or stupid people. For creating a truly monumental
(Continue reading)

Ilja Sekler | 3 May 2012 08:03
Picon
Picon

Re: gnome-terminal window doesn't get focus back when mplayer video window closes

On 03.05.2012 00:17, Ron Johnson wrote:

> On 05/02/2012 04:31 PM, Ilja Sekler wrote:
> 
>> On 02.05.2012 22:54, Ron Johnson wrote:
>> 
>>> On 05/02/2012 03:26 PM, Ilja Sekler wrote:
>>> 
>>>> [...] when MPlayer video playback is launched from
>>>> gnome-terminal, hitting 'Q' while the video window is focused
>>>> or just closing the video window doesn't return focus back to
>>>> gnome-terminal.
>>>> 
>>>> This is specific to GNOME 3.4 across different distributions
>>>> and didn't happen with GNOME 3.2, so this is likely a GNOME
>>>> bug, but is there anything MPlayer could do about it? [...]
>>>> 
>>>> MPlayer r34879
>>> 
>>> In Ubuntu 12.04, can't replicate using r34540 and gnome-terminal 
>>> 3.4.1.
>> 
>> Strange, on Ubuntu, I can reproduce this both with r34540 from
>> Ubuntu repositories and with the current svn trunk.
>> 
>> gnome-shell 3.4.1-0ubuntu2
> 
> I use GNOME Classic (gnome-session-fallback).  Is that a variant of 
> GNOME Shell?

(Continue reading)

Antonio Olivares | 3 May 2012 15:04
Picon
Favicon

compile error in mplayer svn

Dear folks, 

I am getting a compiling error with latest svn for mplayer:

libavcodec/proresenc_anatoliy.c: In function 'prores_encode_frame':
libavcodec/proresenc_anatoliy.c:501:13: warning: passing argument 2 of 'prores_encode_picture'
discards 'const' qualifier from pointer target type [enabled by default]
libavcodec/proresenc_anatoliy.c:439:12: note: expected 'struct AVFrame *' but argument is of type
'const struct AVFrame *'
CC	libavcodec/proresenc_kostya.o
libavcodec/proresenc_kostya.c: In function 'find_quant_thread':
libavcodec/proresenc_kostya.c:650:35: warning: 'bits' may be used uninitialized in this function [-Wmaybe-uninitialized]
libavcodec/proresenc_kostya.c:570:16: note: 'bits' was declared here
CC	libavcodec/psymodel.o
CC	libavcodec/pthread.o
libavcodec/pthread.c:34:5: warning: "HAVE_SCHED_GETAFFINITY" is not defined [-Wundef]
libavcodec/pthread.c:38:5: warning: "HAVE_GETPROCESSAFFINITYMASK" is not defined [-Wundef]
libavcodec/pthread.c:41:5: warning: "HAVE_SYSCTL" is not defined [-Wundef]
libavcodec/pthread.c:49:5: warning: "HAVE_SYSCONF" is not defined [-Wundef]
libavcodec/pthread.c:166:5: warning: "HAVE_SCHED_GETAFFINITY" is not defined [-Wundef]
libavcodec/pthread.c:175:7: warning: "HAVE_GETPROCESSAFFINITYMASK" is not defined [-Wundef]
libavcodec/pthread.c:180:7: warning: "HAVE_SYSCTL" is not defined [-Wundef]
libavcodec/pthread.c:187:7: warning: "HAVE_SYSCONF" is not defined [-Wundef]
libavcodec/pthread.c:189:7: warning: "HAVE_SYSCONF" is not defined [-Wundef]
libavcodec/pthread.c: In function 'get_logical_cpus':
libavcodec/pthread.c:165:9: warning: unused variable 'ret' [-Wunused-variable]
CC	libavcodec/ptx.o
libavcodec/ptx.c: In function 'ptx_decode_frame':
libavcodec/ptx.c:61:22: error: 'PIX_FMT_REB555' undeclared (first use in this function)
libavcodec/ptx.c:61:22: note: each undeclared identifier is reported only once for each function it
(Continue reading)

Alex Bennee | 3 May 2012 23:53

Why does a -dumpstream dump not play when mplayer can play the DVD directly fine?

Hi,

I'm having some problems ripping some of the DVDs in my collection.
The DVD plays fine with a normal command line, e.g.:

22:51 alex <at> danny/x86_64 [tmp] >mplayer dvd://2
MPlayer SVN-r34840 (Gentoo)-4.5.3 (C) 2000-2012 MPlayer Team
MMX2 supported but disabled

Playing dvd://2.
libdvdread: Using libdvdcss version 1.2.11 for DVD access
There are 4 titles on this DVD.
There are 1 angles in this DVD title.

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000128
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00000192
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00000330
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x0000415f
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x000041b6
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x001e4b08
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x001e4b5f
(Continue reading)

Ron Johnson | 4 May 2012 06:31
Picon
Gravatar

Re: Why does a -dumpstream dump not play when mplayer can play the DVD directly fine?

On 05/03/2012 04:53 PM, Alex Bennee wrote:
> Hi,
>
> I'm having some problems ripping some of the DVDs in my collection.
> The DVD plays fine with a normal command line, e.g.:
>
[snip]

Can't reproduce with s/w from the Ubuntu "Precise" motumedia ppa 
(MPlayer SVN-r34707 and it's built-in libavcodec 54.0.0) and the dumped 
mpeg files from the Mamma Mia! and Van Helsing DVDs.

$ mplayer mamma_mia.mpeg
MPlayer SVN-r34707-4.6 (C) 2000-2012 MPlayer Team

Playing mamma_mia.mpeg.
libavformat version 54.0.0 (internal)
MPEG-PS file format detected.
VIDEO:  MPEG2  720x480  (aspect 3)  29.970 fps  9800.0 kbps (1225.0 kbyte/s)
Load subtitles in ./
==========================================================================
Forced video codec: ffmpeg12vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 54.0.0 (internal)
Selected video codec: [ffmpeg12vdpau] vfm: ffmpeg (FFmpeg MPEG-1/2 (VDPAU))
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
(Continue reading)


Gmane