Re: [gentoo-user] mpv startup times...is this guy waiting for soemthing ?

2017-03-19 Thread Stroller

> On 18 Mar 2017, at 18:44, tu...@posteo.de wrote:
> 
> Starting mpv as root "fixes" the problem...so it is 
> a permission problem (see my second mail).

Can't find your second mail, but a different user has a different 
_environment_, as well as different permissions.

Stroller.




Re: [gentoo-user] mpv startup times...is this guy waiting for soemthing ?

2017-03-18 Thread J. Roeleveld
On March 18, 2017 7:44:59 PM GMT+01:00, tu...@posteo.de wrote:
>No.
>Starting mpv as root "fixes" the problem...so it is 
>a permission problem (see my second mail). But mpv
>does not complain about missing permissions and plays
>the fileafter 5 seconds (when used as unpriveledged
>user).
>
>I am member of group "video" though and -- for example -- Blender
>gets full access to video infrastructure without problems...
>
>
>
>On 03/18 12:35, Maxim Wexler wrote:
>> Do the files repose on a on a big(terabytes!) outboard drive? This
>> could cause a delay on account of the OS having to read the thing
>> first.
>> 
>> On 3/18/17, tu...@posteo.de  wrote:
>> > Hi,
>> >
>> > very often I use mpv to watch videos.
>> >
>> > On my old root, the start of that tool
>> > was nearly instantly.
>> >
>> > With my new root, it seems, that mpv
>> > is waiting for something. For example:
>> >
>> > Playing: 
>> > [ffmpeg/demuxer] flv: video stream discovered after head already
>parsed
>> > [ffmpeg/demuxer] flv: audio stream discovered after head already
>parsed
>> >  (+) Video --vid=1 (h264)
>> >  (+) Audio --aid=1 (aac)
>> > AO: [alsa] 48000Hz stereo 2ch float
>> > VO: [opengl] 480x360 yuv420p
>> >
>> > The above is printed instantly onto the console...than it waits
>> > ~5 seconds, then the video is started and this is printed
>> > and updated:
>> >
>> > AV: 00:00:00 / 01:25:09 (0%) A-V:  0.000
>> >
>> >
>> > . This happens with flv, mp4 but it happens to pure audio
>> > files like ogg and wav also.
>> >
>> > I have no idea, for what mpv is waiting for --  but it annoys me.
>> >
>> >
>> > Is it fixable...and
>> > if( true )
>> > then
>> > how( "?" )
>> > fi
>> >
>> > :)
>> >
>> > Cheers
>> > Meino
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> 

If it also happens with pure audio files, I would suspect an issue with the 
audio subsystem.
Maybe it tries direct access. Doesn't work, so it switches to something else 
(maybe pulseaudio)
Root being allowed direct access, doesn't suffer from this?

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] mpv startup times...is this guy waiting for soemthing ?

2017-03-18 Thread tuxic
No.
Starting mpv as root "fixes" the problem...so it is 
a permission problem (see my second mail). But mpv
does not complain about missing permissions and plays
the fileafter 5 seconds (when used as unpriveledged
user).

I am member of group "video" though and -- for example -- Blender
gets full access to video infrastructure without problems...



On 03/18 12:35, Maxim Wexler wrote:
> Do the files repose on a on a big(terabytes!) outboard drive? This
> could cause a delay on account of the OS having to read the thing
> first.
> 
> On 3/18/17, tu...@posteo.de  wrote:
> > Hi,
> >
> > very often I use mpv to watch videos.
> >
> > On my old root, the start of that tool
> > was nearly instantly.
> >
> > With my new root, it seems, that mpv
> > is waiting for something. For example:
> >
> > Playing: 
> > [ffmpeg/demuxer] flv: video stream discovered after head already parsed
> > [ffmpeg/demuxer] flv: audio stream discovered after head already parsed
> >  (+) Video --vid=1 (h264)
> >  (+) Audio --aid=1 (aac)
> > AO: [alsa] 48000Hz stereo 2ch float
> > VO: [opengl] 480x360 yuv420p
> >
> > The above is printed instantly onto the console...than it waits
> > ~5 seconds, then the video is started and this is printed
> > and updated:
> >
> > AV: 00:00:00 / 01:25:09 (0%) A-V:  0.000
> >
> >
> > . This happens with flv, mp4 but it happens to pure audio
> > files like ogg and wav also.
> >
> > I have no idea, for what mpv is waiting for --  but it annoys me.
> >
> >
> > Is it fixable...and
> > if( true )
> > then
> > how( "?" )
> > fi
> >
> > :)
> >
> > Cheers
> > Meino
> >
> >
> >
> >
> >
> >
> >
> 



Re: [gentoo-user] mpv startup times...is this guy waiting for soemthing ?

2017-03-18 Thread Maxim Wexler
Do the files repose on a on a big(terabytes!) outboard drive? This
could cause a delay on account of the OS having to read the thing
first.

On 3/18/17, tu...@posteo.de  wrote:
> Hi,
>
> very often I use mpv to watch videos.
>
> On my old root, the start of that tool
> was nearly instantly.
>
> With my new root, it seems, that mpv
> is waiting for something. For example:
>
> Playing: 
> [ffmpeg/demuxer] flv: video stream discovered after head already parsed
> [ffmpeg/demuxer] flv: audio stream discovered after head already parsed
>  (+) Video --vid=1 (h264)
>  (+) Audio --aid=1 (aac)
> AO: [alsa] 48000Hz stereo 2ch float
> VO: [opengl] 480x360 yuv420p
>
> The above is printed instantly onto the console...than it waits
> ~5 seconds, then the video is started and this is printed
> and updated:
>
> AV: 00:00:00 / 01:25:09 (0%) A-V:  0.000
>
>
> . This happens with flv, mp4 but it happens to pure audio
> files like ogg and wav also.
>
> I have no idea, for what mpv is waiting for --  but it annoys me.
>
>
> Is it fixable...and
> if( true )
> then
> how( "?" )
> fi
>
> :)
>
> Cheers
> Meino
>
>
>
>
>
>
>



[gentoo-user] mpv startup times...is this guy waiting for soemthing ?

2017-03-18 Thread tuxic
Hi,

very often I use mpv to watch videos.

On my old root, the start of that tool
was nearly instantly.

With my new root, it seems, that mpv
is waiting for something. For example:

Playing: 
[ffmpeg/demuxer] flv: video stream discovered after head already parsed
[ffmpeg/demuxer] flv: audio stream discovered after head already parsed
 (+) Video --vid=1 (h264)
 (+) Audio --aid=1 (aac)
AO: [alsa] 48000Hz stereo 2ch float
VO: [opengl] 480x360 yuv420p

The above is printed instantly onto the console...than it waits
~5 seconds, then the video is started and this is printed
and updated:

AV: 00:00:00 / 01:25:09 (0%) A-V:  0.000


. This happens with flv, mp4 but it happens to pure audio
files like ogg and wav also.

I have no idea, for what mpv is waiting for --  but it annoys me.


Is it fixable...and 
if( true ) 
then 
how( "?" )
fi

:)

Cheers
Meino